Skip to content

Weight refunds for staking extrinsics potentially using SortedListProvider #305

@emostov

Description

@emostov

paritytech/substrate#9507 introduced the SortedListProvider for keeping an ordered list of nominators. For extrinsics using the SortedListProvider this dramatically increased their worst case weight; in some cases though certain logic paths have dramatically less weight. Benchmarks should be updated to document less expensive code paths and give relevant refunds.

(rel: paritytech/polkadot#3872 (comment))

Metadata

Metadata

Assignees

No one assigned

    Labels

    C1-mentorA task where a mentor is available. Please indicate in the issue who the mentor could be.D1-mediumCan be fixed by a coder with good Rust knowledge but little knowledge of the codebase.T1-FRAMEThis PR/Issue is related to core FRAME, the framework.

    Type

    No type

    Projects

    Status

    ⌛️ Sometime-soon

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions