Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

manual-seal with instant seal mode doesn't work with pallet-democracy or system.setCode #9892

Open
xlc opened this issue Sep 29, 2021 · 0 comments

Comments

@xlc
Copy link
Contributor

xlc commented Sep 29, 2021

if proposal.block.extrinsics().len() == inherents_len && !create_empty {
return Err(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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant