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.

Free sudo calls? #7011

@justintim-es

Description

@justintim-es

Dear substrate,
I don't know if it should work this way, but when we use ensure_root and
call our extrinsic

await api.tx.sudo.sudo(api.tx.access.access('5CiKbPQtCW6X6oFpsLLJ8vSUEzqSYnUkWuoqkp41iDevMBK6', [1,2])).signAndSend(pair)

we have to pay some fee eventhough we have the following weigth annotation

#[weight = (100_000, DispatchClass::Normal, Pays::No)]

Is it possible for sudo calls to be free as well?

Metadata

Metadata

Assignees

No one assigned

    Labels

    J2-unconfirmedIssue might be valid, but it’s not yet known.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions