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] Fix range proof transcript seed typo #34468

Merged
merged 1 commit into from
Dec 14, 2023
Merged

[zk-token-sdk] Fix range proof transcript seed typo #34468

merged 1 commit into from
Dec 14, 2023

Conversation

samkim-crypto
Copy link
Contributor

@samkim-crypto samkim-crypto commented Dec 14, 2023

Problem

As pointed out in #34459 (review), there is a typo when calculating the hash of the merlin transcript in the range proof calculation. This should be fixed, but it does break compatibility with 1.17 and hence, must be backported to 1.17.

Summary of Changes

This PR is a one-line fix for the typo that should be backported to 1.17.

Note: The zk-token-proof program is not yet activated on any of the clusters.

Fixes #

@samkim-crypto samkim-crypto added the work in progress This isn't quite right yet label Dec 14, 2023
@CriesofCarrots CriesofCarrots mentioned this pull request Dec 14, 2023
@samkim-crypto samkim-crypto added v1.17 PRs that should be backported to v1.17 and removed work in progress This isn't quite right yet labels Dec 14, 2023
Copy link
Contributor

mergify bot commented Dec 14, 2023

Backports to the beta branch are to be avoided unless absolutely necessary for fixing bugs, security issues, and perf regressions. Changes intended for backport should be structured such that a minimum effective diff can be committed separately from any refactoring, plumbing, cleanup, etc that are not strictly necessary to achieve the goal. Any of the latter should go only into master and ride the normal stabilization schedule. Exceptions include CI/metrics changes, CLI improvements and documentation updates on a case by case basis.

Copy link

codecov bot commented Dec 14, 2023

Codecov Report

Merging #34468 (5d67354) into master (c7a5767) will increase coverage by 0.0%.
Report is 4 commits behind head on master.
The diff coverage is 100.0%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #34468   +/-   ##
=======================================
  Coverage    81.8%    81.8%           
=======================================
  Files         819      819           
  Lines      220919   220919           
=======================================
+ Hits       180853   180865   +12     
+ Misses      40066    40054   -12     

@samkim-crypto samkim-crypto merged commit aaccbdd into solana-labs:master Dec 14, 2023
37 checks passed
mergify bot pushed a commit that referenced this pull request Dec 14, 2023
fix range proof transcript seed typo

(cherry picked from commit aaccbdd)
samkim-crypto added a commit that referenced this pull request Dec 14, 2023
#34468) (#34470)

[zk-token-sdk] Fix range proof transcript seed typo (#34468)

fix range proof transcript seed typo

(cherry picked from commit aaccbdd)

Co-authored-by: samkim-crypto <skim13@cs.stanford.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v1.17 PRs that should be backported to v1.17
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants