We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbcc78d commit 23262e8Copy full SHA for 23262e8
polkadot/runtime/parachains/src/inclusion/mod.rs
@@ -615,8 +615,12 @@ impl<T: Config> Pallet<T> {
615
}
616
});
617
618
-
619
- (weight, freed_cores)
+ // For relay chain blocks, we're (ab)using the proof size
+ // to limit the raw transaction size of `ParaInherent` and
620
+ // there's no state proof (aka PoV) associated with it.
621
+ // Since we already accounted for bitfields size, we should
622
+ // not include `enact_candidate` PoV impact here.
623
+ (weight.set_proof_size(0), freed_cores)
624
625
626
/// Process candidates that have been backed. Provide a set of
0 commit comments