Custom extra (#89)

* Run rustfmt.

* Make extra customizable.

* Update to alpha 6.
This commit is contained in:
David Craven authored and GitHub committed 2020-04-15 08:21:19 +01:00
1 parent bb465782dc
commit 8cf652605f
5 files changed
+101 -86

No files matched your search

+6 -2
View File
@@ -40,6 +40,7 @@ use sp_runtime::{
MaybeSerialize,
MaybeSerializeDeserialize,
Member,
SignedExtension,
SimpleBitOps,
},
RuntimeDebug,
@@ -51,6 +52,7 @@ use std::{
use crate::{
error::Error,
extrinsic::SignedExtra,
frame::{
balances::Balances,
Call,
@@ -157,8 +159,10 @@ pub trait SystemStore {
) -> Pin<Box<dyn Future<Output = Result<AccountInfo<Self::System>, Error>> + Send>>;
}
impl<T: System + Balances + Sync + Send + 'static, S: 'static> SystemStore
for Client<T, S>
impl<T: System + Balances + Sync + Send + 'static, S: 'static, E> SystemStore
for Client<T, S, E>
where
E: SignedExtra<T> + SignedExtension + 'static,
{
type System = T;