Add CheckNonZeroSender to runtime configs (#4493)

* Add CheckNonZeroSender to runtime configs

* cargo fmt

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes
This commit is contained in:
Keith Yeung
2021-12-12 02:22:08 -08:00
committed by GitHub
parent 0755ad39d3
commit 54423f8b8a
13 changed files with 27 additions and 4 deletions
+2
View File
@@ -341,6 +341,7 @@ pub fn construct_extrinsic(
BlockHashCount::get().checked_next_power_of_two().map(|c| c / 2).unwrap_or(2) as u64;
let tip = 0;
let extra: SignedExtra = (
frame_system::CheckNonZeroSender::<Runtime>::new(),
frame_system::CheckSpecVersion::<Runtime>::new(),
frame_system::CheckTxVersion::<Runtime>::new(),
frame_system::CheckGenesis::<Runtime>::new(),
@@ -353,6 +354,7 @@ pub fn construct_extrinsic(
function.clone(),
extra.clone(),
(
(),
VERSION.spec_version,
VERSION.transaction_version,
genesis_block,