--- a/pallets/maintenance/src/benchmarking.rs +++ b/pallets/maintenance/src/benchmarking.rs @@ -36,6 +36,10 @@ ensure!(!>::get(), "didn't disable the MM"); } + #[pov_mode = MaxEncodedLen { + // PoV size is deducted from weight_bound + Preimage::PreimageFor: Measured + }] execute_preimage { let call = ::RuntimeCall::from(frame_system::Call::::remark { remark: 1u32.encode() }); let hash = T::Preimages::note(call.encode().into())?;