diff --git a/cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs b/cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs index 30af25690521..ef745f982b15 100644 --- a/cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs +++ b/cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs @@ -1087,7 +1087,8 @@ impl EthExtra for EthExtraImpl { frame_system::CheckWeight::::new(), pallet_asset_conversion_tx_payment::ChargeAssetTxPayment::::from(tip, None), frame_metadata_hash_extension::CheckMetadataHash::::new(false), - ).into() + ) + .into() } } diff --git a/substrate/frame/system/src/extensions/check_weight.rs b/substrate/frame/system/src/extensions/check_weight.rs index d44a8d84bbb4..e8fa846710a5 100644 --- a/substrate/frame/system/src/extensions/check_weight.rs +++ b/substrate/frame/system/src/extensions/check_weight.rs @@ -845,7 +845,10 @@ mod tests { )); // Ensure the accurate refund from benchmark is used - assert_eq!(crate::ExtrinsicWeightRefunded::::get(), post_info.calc_unspent(&info)); + assert_eq!( + crate::ExtrinsicWeightRefunded::::get(), + post_info.calc_unspent(&info) + ); assert_eq!( BlockWeight::::get().total(), post_info.actual_weight.unwrap() + prior_block_weight + base_extrinsic