Skip to content
This repository was archived by the owner on Aug 30, 2022. It is now read-only.
This repository was archived by the owner on Aug 30, 2022. It is now read-only.

Helpers for adding or removing keys from a permission #88

Description

@brandonfancher

When rekeying a permission on an EOSIO account, an updateauth action must be issued. Newcomers often make the mistake of thinking that an updateauth will add a given key to their permission. They are surprised to find that it actually replaces the entire permission! For example, if you have three keys on the active permission and intend to add a fourth by issuing an updateauth for that permission containing only the new key, the other three keys will be removed!

Usually, developers are trying to add or remove a given key or keys. Any thoughts on adding helpers for these actions to this SDK? Maybe addKeys or removeKeys methods? They would, of course, take parameters as necessary for the target permission, the weight, etc.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood first issueGood for newcomersquestionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions