Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was 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

@xlc

Description

@xlc

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions