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

Multiple wl types #261

Merged
merged 99 commits into from
Jun 3, 2024
Merged

Multiple wl types #261

merged 99 commits into from
Jun 3, 2024

Conversation

jason-c-child
Copy link
Contributor

@jason-c-child jason-c-child commented May 13, 2024

Add support for multiple whitelist types.

These changes update the way whitelists are stored and referenced inside the name-minter. I've updated the relevant code to store a struct of {address, whitelist_type} to avoid two different storage locations. This pattern could be used to add additional whitelist types in the future, however I feel like there should be a top-down re-arch of WLs and they should be normalized across all places the functionality is used (such as marketplace).

@jason-c-child jason-c-child marked this pull request as ready for review May 15, 2024 04:59
@jason-c-child jason-c-child merged commit 30b608d into main Jun 3, 2024
6 of 8 checks passed
@MightOfOaks
Copy link
Member

The whitelist on the current name-minter needs to be removed before migration to avoid type mismatches.

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.

4 participants