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.

Benchmark pallet sudo #13812

@ggwpez

Description

@ggwpez

The sudo pallet does not use correct weight annotations in set_key (and probaly other calls as well):

#[pallet::weight(0)]
pub fn set_key(

Considering that people use Substrate as reference on how to write good pallets, we should probably do a minimal bench to fix it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Z1-easyCan be fixed primarily by duplicating and adapting code by an intermediate coderZ6-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