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

[program-2022] Make confidential mint/burn function parameters consistent #7570

Merged
merged 5 commits into from
Dec 11, 2024

Conversation

samkim-crypto
Copy link
Contributor

@samkim-crypto samkim-crypto commented Dec 10, 2024

Problem

There are some inconsistencies in the way some parameters for functions are defined in the confidential extensions.

Summary of Changes

253c2d7: Some zk-sdk type parameters to instruction constructor functions are provided as references while other are provided as owned types. For consistency, I updated these to be taken as references for uniformity.

76d1881: The confidential mint and burn proof generation does not support optional auditor, so I added support.

@samkim-crypto samkim-crypto marked this pull request as ready for review December 10, 2024 02:19
Copy link
Contributor

@joncinque joncinque left a 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! We'll just have to remember to do breaking upgrades for token-2022 and proof-generation

@samkim-crypto samkim-crypto merged commit e97bd22 into solana-labs:master Dec 11, 2024
35 checks passed
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.

2 participants