Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions polkadot/runtime/parachains/src/inclusion/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -615,8 +615,12 @@ impl<T: Config> Pallet<T> {
}
});
}

(weight, freed_cores)
// For relay chain blocks, we're (ab)using the proof size
// to limit the raw transaction size of `ParaInherent` and
// there's no state proof (aka PoV) associated with it.
// Since we already accounted for bitfields size, we should
// not include `enact_candidate` PoV impact here.
(weight.set_proof_size(0), freed_cores)
}

/// Process candidates that have been backed. Provide a set of
Expand Down
10 changes: 10 additions & 0 deletions prdoc/pr_8861.prdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
title: "paras_inherent: fix overweight warn"

doc:
- audience: Runtime Dev
description: |
This fixes an incorrect warning in the relay chain runtime

crates:
- name: polkadot-runtime-parachains
bump: patch
Loading