Skip to content

Change how ExtrinsicBaseWeight is calculated #9981

@bkchr

Description

@bkchr

Right now the ExtrinsicBaseWeight is calculated by taking no-op transactions:

With the introduction of transaction extensions, each extension already exposes their own weight. So, right now we are including the transaction extension weight two times. Once in the ExtrinsicBaseWeight and once via the extensions itself.

To solve this we need to have a benchmark that only benchmarks the extrinsic part that isn't included by the transaction extensions. So, probably just benchmarking the extrinsic with an empty set of extensions should do the trick.

CC @ggwpez

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions