Make pallets use construct_runtime (#7950)

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
Co-authored-by: David <dvdplm@gmail.com>
This commit is contained in:
Guillaume Thiolliere
2021-01-25 13:20:47 +01:00
committed by GitHub
parent 703c263079
commit 48810cd75b
19 changed files with 66 additions and 37 deletions
+1
View File
@@ -75,6 +75,7 @@ macro_rules! impl_outer_inherent {
fn check_extrinsics(&self, block: &$block) -> $crate::inherent::CheckInherentsResult {
use $crate::inherent::{ProvideInherent, IsFatalError};
use $crate::traits::IsSubType;
use $crate::sp_runtime::traits::Block as _;
let mut result = $crate::inherent::CheckInherentsResult::new();
for xt in block.extrinsics() {