--- 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()