Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport: cleos sorts keys/permission_levels/waits for "cleos set account permission" #454

Closed
linh2931 opened this issue Jun 20, 2022 · 0 comments · Fixed by #696
Closed
Assignees
Labels
3.2 Candidate OCI OCI working this issue...

Comments

@linh2931
Copy link
Member

EOSIO/eos#10911

The keys/permissions/waits to eosio::updateauth action must be ordered. The order is not simply the string order.

At current, cleos can validate the authority data structure. But when there are multiple keys or multiple permission_levels, it is hard to figure out how to order the keys/permissions/waits. There are N! number of combinations to try for N keys/permission_levels.

It will be convenient if cleos set account permission can automatically sort the keys, permission_levels and waits for users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.2 Candidate OCI OCI working this issue...
Projects
Status: Done
2 participants