You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
if proposal.block.extrinsics().len() == inherents_len && !create_empty {
returnErr(Error::EmptyTransactionPool)
}
If create_empty is false, it will refuse to create block with transaction. But pallet-democracy and some other pallets will consume all weights in on_initialize and resulting no transaction be included. This results a deadlock and break dev chain.
substrate/client/consensus/manual-seal/src/seal_block.rs
Lines 139 to 141 in c11a0bf
If
create_emptyis false, it will refuse to create block with transaction. But pallet-democracy and some other pallets will consume all weights inon_initializeand resulting no transaction be included. This results a deadlock and break dev chain.