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

[zk-token-sdk] Rename FeeSigmaProof to PercentageWithCapProof #748

Conversation

samkim-crypto
Copy link

@samkim-crypto samkim-crypto commented Apr 11, 2024

Problem

The zk-token-sdk and zk-token-proof program use module and instruction names that are unnecessarily specific to the token extension confidential transfer application. The tools for these modules can be used more generally for a wider set of cryptographic and zk applications.

In particualr, the FeeSigmaProof can be more aptly named PercentageWithCapProof, which is more descriptive of what it the proof is actually proving.

Summary of Changes

Update the sigma proof type name from FeeSigmaProof to PercentageWithCapProof. This PR updates only the sigma proof and zk-token-elgamal type names to minimize disruption to the CI. I'll update the instruction names in a follow-up.

This is part of #671.

Fixes #

@samkim-crypto samkim-crypto force-pushed the zk-token-sdk/percentage-with-cap-proof branch from bc72848 to af8d8d8 Compare April 11, 2024 08:20
@samkim-crypto samkim-crypto marked this pull request as ready for review April 11, 2024 12:48
@samkim-crypto
Copy link
Author

Instead of making the name changes in the zk-token-sdk, we will make changes to zk-sdk.

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.

1 participant