[Feature Request]: Update Core::initialize_block
Closed this issue · 0 comments
kamilsa commented
Component
Runtime
Feature Description
Introduces breaking changes to the Core runtime API by letting Core::initialize_block return an enum:
fn initialize_block(header: &<Block as BlockT>::Header)
+ -> ExtrinsicInclusionMode;
enum ExtrinsicInclusionMode {
/// All extrinsics are allowed in this block.
AllExtrinsics,
/// Only inherents are allowed in this block.
OnlyInherents,
}