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

Fix mint-lock context pinning of limit #297

Merged
merged 1 commit into from
Jan 17, 2024
Merged

Fix mint-lock context pinning of limit #297

merged 1 commit into from
Jan 17, 2024

Conversation

leighmcculloch
Copy link
Member

What

Change the scope of the data stored for a minter so that the scope includes the token the minting limit applies to.

Why

When the admin sets a minting limit it is not associated with a token, meaning that the minter can consume the limit via any other contract they write. The limit is intended to be tied to the minting of a single token.

Close #295

@leighmcculloch leighmcculloch merged commit 758f65d into main Jan 17, 2024
106 checks passed
@leighmcculloch leighmcculloch deleted the i295 branch January 17, 2024 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mint-lock contract allows minters to bypass their epoch limit.
2 participants