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.

Get rid of all the <weight> docs in FRAME #13261

@kianenigma

Description

@kianenigma

as they are all super stale, and don't serve any purpose now that we have benchmarking.

a dispatchable could still expose its complexity as:

/// Docs.
///
/// More docs.
///
/// ## Complexity
/// stuff
fn dispatch(origin: _, ..) -> {

But the current <weight> stuff is really garbage.

Note that this should reduce the size of the metadata and ergo the wasm blob as the consequence, the PR closing this can and should benchmark the difference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Z0-trivialWriting the issue is of the same difficulty as patching the code.Z6-mentorAn easy task where a mentor is available. Please indicate in the issue who the mentor could be.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions