From 845ac6e252fd6df0a32564df71289aaa603c374f Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Thu, 28 Oct 2021 10:17:41 +0000 Subject: [PATCH] fix: use fp checked extrinsic --- --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -899,9 +899,10 @@ //pallet_contract_helpers::ContractHelpersExtension, ); /// Unchecked extrinsic type as expected by this runtime. -pub type UncheckedExtrinsic = generic::UncheckedExtrinsic; +pub type UncheckedExtrinsic = + fp_self_contained::UncheckedExtrinsic; /// Extrinsic type that has already been checked. -pub type CheckedExtrinsic = generic::CheckedExtrinsic; +pub type CheckedExtrinsic = fp_self_contained::CheckedExtrinsic; /// Executive: handles dispatch to the various modules. pub type Executive = frame_executive::Executive< Runtime, @@ -1144,7 +1145,7 @@ } fn extrinsic_filter(xts: Vec<::Extrinsic>) -> Vec { - xts.into_iter().filter_map(|xt| match xt.function { + xts.into_iter().filter_map(|xt| match xt.0.function { Call::Ethereum(pallet_ethereum::Call::transact { transaction }) => Some(transaction), _ => None }).collect() -- gitstuff