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

Transcript trait #477

Merged
merged 10 commits into from
Oct 22, 2024
Merged

Transcript trait #477

merged 10 commits into from
Oct 22, 2024

Conversation

imikushin
Copy link
Contributor

ProofTranscript is now a type parameter everywhere.

This is necessary for in-circuit Jolt verification (Keccak is very expensive in R1CS), also for anyone who might want to use their own transcript implementation.

It was just a wrapper with no added meaning.
What used to be called ProofTranscript is now DefaultTranscript.
We will make ProofTranscript a type parameter to minimize code changes.
@imikushin
Copy link
Contributor Author

@moodlezoup Would you be able to take a quick look? It'd help before investing effort into fixing the macros and onchain verifier tests.

@imikushin imikushin marked this pull request as ready for review October 16, 2024 21:34
@imikushin
Copy link
Contributor Author

@moodlezoup this is ready for review

Copy link
Collaborator

@moodlezoup moodlezoup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nit: can we rename DefaultTranscript to KeccakTranscript?
Otherwise, looks good to me!

@imikushin
Copy link
Contributor Author

@moodlezoup Done.

@moodlezoup moodlezoup merged commit 99aaab2 into a16z:main Oct 22, 2024
4 checks passed
@imikushin imikushin deleted the transcript-trait branch October 22, 2024 18:59
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