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

Test and debug the basic creation flow #1

Open
dysbulic opened this issue Jun 21, 2022 · 0 comments
Open

Test and debug the basic creation flow #1

dysbulic opened this issue Jun 21, 2022 · 0 comments
Labels
permissions Issues with the token gating system

Comments

@dysbulic
Copy link
Member

A user with a Creator token is able to generate new token types. When a new type is created a maintainer is specified. The maintainer is given Minting, Metadata Configuration, and Limiting permission tokens for the newly generated type.

Currently the permission tokens are not working. The first 32 bits of each token are an id. For vanilla tokens that id is the index of the token in the list of all tokens (and thus unique). For permission tokens, those bits are the id of the token that the token permissions.

My best guess is the permission token isn't being created of dereferenced properly.

What should be done is the creation of a new Chai test stepping through the creation process to use to identify the exact issue.

@dysbulic dysbulic added the permissions Issues with the token gating system label Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
permissions Issues with the token gating system
Projects
None yet
Development

No branches or pull requests

1 participant