diff --git a/substrate/frame/parameters/src/lib.rs b/substrate/frame/parameters/src/lib.rs index 50a3d7219138..c170d4e270b3 100644 --- a/substrate/frame/parameters/src/lib.rs +++ b/substrate/frame/parameters/src/lib.rs @@ -179,9 +179,8 @@ pub mod pallet { let proof_size_diff = proof_size_after.saturating_sub(proof_size_before); - Weight::zero() + Weight::from_parts(0, proof_size_diff) .saturating_add(T::DbWeight::get().reads(items)) - .saturating_add(Weight::from_parts(0, proof_size_diff)) } }