-
Couldn't load subscription status.
- Fork 531
Enforce Collections w/ CM and clean up code #418
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
Conversation
… into stegaBOB/enforce-cm-collections
# Conflicts: # candy-machine/program/Cargo.lock # candy-machine/program/Cargo.toml # candy-machine/program/src/lib.rs # candy-machine/program/src/utils.rs
… into stegaBOB/enforce-cm-collections
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few nits and one validation. but other wise great work
|
We will need to announce the idl change |
|
There's basically no IDL change. What we need to announce more is the enforcement of the collections |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, and all the updates since last CR look good to me. But you may want a second set of eyes, especially on things like updates to solita and generated commands, since I'm still pretty new to this code base overall.
… into stegaBOB/enforce-cm-collections
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reviewed the two latest commits and they looked fine, other than failing CI.
… into stegaBOB/enforce-cm-collections
| - 'core/**' | ||
| package: | ||
| - 'candy-machine/**' | ||
| build-lint-and-test-auction: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you don't need to do all this in one step consider breaking up in the future
| wallet: this.wallet.toBase58(), | ||
| tokenMint: this.tokenMint, | ||
| itemsRedeemed: this.itemsRedeemed, | ||
| itemsRedeemed: (() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is this?
Bumps anchor version, fixes Clippy issues, splits up huge file into multiple byte sized chunks.
Also uses the currently unused UUID as a sentinel to check if a collection has been set.