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:
Gavin Wood
2019-08-18 18:01:05 +02:00
committed by GitHub
parent 0e56b56a86
commit 6c5fbe64ca
33 changed files with 76 additions and 3 deletions
+5 -1
View File
@@ -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]) {}
}
}