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

Stark: Small refactor of StarkTranscript #574

Merged
merged 2 commits into from
Sep 25, 2023

Conversation

schouhy
Copy link
Contributor

@schouhy schouhy commented Sep 25, 2023

Small refactor of StarkTranscript

Description

This PR does as small reorganization of the code of stark/src/transcript.rs adds sample_z_ood to the StarkTranscript trait. It also moves constants only used by StoneProverTranscript to its implementation. And replaces the hasher attribute by a state.

@schouhy schouhy requested review from ajgara and a team as code owners September 25, 2023 12:44
@codecov-commenter
Copy link

Codecov Report

Merging #574 (25b5917) into main (da688cd) will decrease coverage by 0.01%.
The diff coverage is 96.96%.

@@            Coverage Diff             @@
##             main     #574      +/-   ##
==========================================
- Coverage   95.50%   95.50%   -0.01%     
==========================================
  Files         112      112              
  Lines       19006    19003       -3     
==========================================
- Hits        18152    18149       -3     
  Misses        854      854              
Files Changed Coverage Δ
provers/stark/src/transcript.rs 99.73% <96.77%> (-0.01%) ⬇️
provers/stark/src/prover.rs 99.86% <100.00%> (-0.01%) ⬇️
provers/stark/src/verifier.rs 98.87% <100.00%> (-0.01%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@MauroToscano MauroToscano added this pull request to the merge queue Sep 25, 2023
Merged via the queue into main with commit 0a299a7 Sep 25, 2023
@MauroToscano MauroToscano deleted the starktranscript-small-refactor branch September 25, 2023 14:31
PatStiles pushed a commit to PatStiles/lambdaworks that referenced this pull request Sep 26, 2023
* small refactor of starkprovertranscript

* move keccak_hash to StarkProverTranscript impl
PatStiles pushed a commit to PatStiles/lambdaworks that referenced this pull request Oct 6, 2023
* small refactor of starkprovertranscript

* move keccak_hash to StarkProverTranscript impl
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.

5 participants