mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 10:01:17 +00:00
adding srml_system::CheckVersion to SignedExtra in tests in lib.rs. (#11)
Signed-off-by: daogangtang <daogangtang@gmail.com>
This commit is contained in:
committed by
Andrew Jones
parent
d46b6a975e
commit
8a338f6c3f
@@ -413,6 +413,7 @@ mod tests {
|
||||
type Event = <node_runtime::Runtime as srml_system::Trait>::Event;
|
||||
|
||||
type SignedExtra = (
|
||||
srml_system::CheckVersion<node_runtime::Runtime>,
|
||||
srml_system::CheckGenesis<node_runtime::Runtime>,
|
||||
srml_system::CheckEra<node_runtime::Runtime>,
|
||||
srml_system::CheckNonce<node_runtime::Runtime>,
|
||||
@@ -421,6 +422,7 @@ mod tests {
|
||||
);
|
||||
fn extra(nonce: Self::Index) -> Self::SignedExtra {
|
||||
(
|
||||
srml_system::CheckVersion::<node_runtime::Runtime>::new(),
|
||||
srml_system::CheckGenesis::<node_runtime::Runtime>::new(),
|
||||
srml_system::CheckEra::<node_runtime::Runtime>::from(Era::Immortal),
|
||||
srml_system::CheckNonce::<node_runtime::Runtime>::from(nonce),
|
||||
|
||||
Reference in New Issue
Block a user