-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add functionality to
Transcript
trait and migrate sumcheck to…
… use it (#159) # Rationale for this change In order to better support WASM, as well as enable solidity support, we need to be able to use a simplified transcript. However, the existing `Transcript` trait does not have the appropriate functionality to be able to only use the trait. # What changes are included in this PR? * The `Transcript::extend_serialize_as_le` method is added in order to be used as a possible replacement for the `<merlin::Transcript as TranscriptProtocol>::append_auto` method. * The `Transcript::extend_canonical_serialize_as_le` method is added in order to be used as a possible replacement for the `<merlin::Transcript as TranscriptProtocol>::append_canonical_serialize` method. * The `Transcript::wrap_transcript` method is added for when a `Transcript` needs to be wrapped in another. * The sumcheck proof is updated to accept `impl Transcript` instead of `merlin::Transcript`. This is technically a breaking change since proofs are not backward compatible. # Are these changes tested? Yes
- Loading branch information
1 parent
0a76f9d
commit f6b0fbe
Showing
5 changed files
with
148 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters