-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Confidential mint burn extension: Token program changes #7319
Confidential mint burn extension: Token program changes #7319
Conversation
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 overall! Many of the comments below are minor stylistic suggestions for consistency with the rest of the code base. There have also been some changes to how we deal with proof accounts after your original PR was made, so I made some comments regarding that (I apologize for this 🙏 ). Let me know what you think!
token/program-2022/src/extension/confidential_mint_burn/instruction.rs
Outdated
Show resolved
Hide resolved
token/program-2022/src/extension/confidential_mint_burn/instruction.rs
Outdated
Show resolved
Hide resolved
token/program-2022/src/extension/confidential_mint_burn/instruction.rs
Outdated
Show resolved
Hide resolved
Co-authored-by: samkim-crypto <[email protected]>
…ction.rs Co-authored-by: samkim-crypto <[email protected]>
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.
Looking really good, thanks 🙏 ! Just some comments on some things that I missed on my first pass and also things that have not yet resolved from the previous reviews.
token/program-2022/src/extension/confidential_mint_burn/instruction.rs
Outdated
Show resolved
Hide resolved
token/program-2022/src/extension/confidential_mint_burn/instruction.rs
Outdated
Show resolved
Hide resolved
token/program-2022/src/extension/confidential_mint_burn/instruction.rs
Outdated
Show resolved
Hide resolved
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.
Thanks for your contribution! Mostly small things, and I might have misunderstood some bits, so feel free to ignore things that don't correspond to your discussions with Sam.
token/program-2022/src/extension/confidential_mint_burn/instruction.rs
Outdated
Show resolved
Hide resolved
token/program-2022/src/extension/confidential_mint_burn/instruction.rs
Outdated
Show resolved
Hide resolved
token/program-2022/src/extension/confidential_mint_burn/instruction.rs
Outdated
Show resolved
Hide resolved
token/program-2022/src/extension/confidential_mint_burn/instruction.rs
Outdated
Show resolved
Hide resolved
token/program-2022/src/extension/confidential_mint_burn/processor.rs
Outdated
Show resolved
Hide resolved
token/program-2022/src/extension/confidential_mint_burn/processor.rs
Outdated
Show resolved
Hide resolved
token/program-2022/src/extension/confidential_mint_burn/instruction.rs
Outdated
Show resolved
Hide resolved
Co-authored-by: Jon C <[email protected]>
…ction.rs Co-authored-by: Jon C <[email protected]>
…t_info.rs Co-authored-by: Jon C <[email protected]>
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.
Thanks for integrating all the feedback! This is looking very close to me, just a few more bits
token/program-2022/src/extension/confidential_mint_burn/instruction.rs
Outdated
Show resolved
Hide resolved
token/program-2022/src/extension/confidential_mint_burn/processor.rs
Outdated
Show resolved
Hide resolved
token/program-2022/src/extension/confidential_mint_burn/processor.rs
Outdated
Show resolved
Hide resolved
token/program-2022/src/extension/confidential_mint_burn/processor.rs
Outdated
Show resolved
Hide resolved
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.
Just a few last little bits from me, then this should be ready to go from my side! Thanks for your patience
token/program-2022/src/extension/confidential_mint_burn/processor.rs
Outdated
Show resolved
Hide resolved
token/program-2022/src/extension/confidential_mint_burn/processor.rs
Outdated
Show resolved
Hide resolved
token/program-2022/src/extension/confidential_mint_burn/processor.rs
Outdated
Show resolved
Hide resolved
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.
This looks good to me! I'll @samkim-crypto give the final approval and merge
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.
Thanks so much for your contribution and patience throughout! Everything looks fine on my side. Let's add tests for the extension to program-2022-test
in a follow-up PR to be extra sure! I'll merge this one once CI passes.
PR separating out only the token program changes from #6881 6881