mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 06:57:58 +00:00
Signed transactions now have affinity with runtime versions (#3430)
* Signed transactions now has affinity with runtime versions * Bump runtime version
This commit is contained in:
@@ -32,6 +32,10 @@ pub trait Get<T> {
|
||||
fn get() -> T;
|
||||
}
|
||||
|
||||
impl<T: Default> Get<T> for () {
|
||||
fn get() -> T { T::default() }
|
||||
}
|
||||
|
||||
/// A trait for querying whether a type can be said to statically "contain" a value. Similar
|
||||
/// in nature to `Get`, except it is designed to be lazy rather than active (you can't ask it to
|
||||
/// enumerate all values that it contains) and work for multiple values rather than just one.
|
||||
@@ -698,4 +702,4 @@ pub trait InitializeMembers<AccountId> {
|
||||
|
||||
impl<T> InitializeMembers<T> for () {
|
||||
fn initialize_members(_: &[T]) {}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user