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 has been 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.
The text was updated successfully, but these errors were encountered:
substrate/client/consensus/manual-seal/src/seal_block.rs
Lines 139 to 141 in c11a0bf
If
create_empty
is false, it will refuse to create block with transaction. But pallet-democracy and some other pallets will consume all weights inon_initialize
and resulting no transaction be included. This results a deadlock and break dev chain.The text was updated successfully, but these errors were encountered: