Skip to content

Properly benchmark on_initize hook weight #184

@xlc

Description

@xlc

Observed it is not possible to include some transaction on some block, which doesn't really make sense.

Need to do proper benchmark and return the real weight.

https://github.com/paritytech/substrate/blob/c0793b58c509f352b6006e402350ac9ad8017823/frame/session/src/lib.rs#L571

https://github.com/paritytech/substrate/blob/c0793b58c509f352b6006e402350ac9ad8017823/frame/democracy/src/lib.rs#L1625-L1626

Metadata

Metadata

Assignees

No one assigned

    Labels

    C3-og-rust-bountyA task rewarded by the OG Rust bounty for successful completion. See https://ogrust.com/I5-enhancementAn additional feature request.T1-FRAMEThis PR/Issue is related to core FRAME, the framework.

    Type

    No type

    Projects

    Status

    Backlog

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions