-
Notifications
You must be signed in to change notification settings - Fork 231
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
feat: enable rust binding for TwoAdicFriPcs::Open()
#529
feat: enable rust binding for TwoAdicFriPcs::Open()
#529
Conversation
748be00
to
6e67fb2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
6e67fb2
to
b355f40
Compare
BREAKING CHANGE: Updates the C API and Rust binding for `TwoAdicFriPCS` to require the Field Merkle tree vector as a method argument. This ensures that the vector remains alive for the lifetime of `TwoAdicFriPCS`.
Implements necessary traits for `DuplexChallenger`, enabling a seamless replacement of Plonky3's `DuplexChallenger` with Tachyon's version. See below links: - https://github.com/Plonky3/Plonky3/blob/eeb4e37/challenger/src/duplex_challenger.rs#L54-L60 - https://github.com/Plonky3/Plonky3/blob/eeb4e37/challenger/src/duplex_challenger.rs#L93-L104 - https://github.com/Plonky3/Plonky3/blob/eeb4e37/challenger/src/duplex_challenger.rs#L144-L157 - https://github.com/Plonky3/Plonky3/blob/eeb4e37/challenger/src/grinding_challenger.rs#L22-L40
b355f40
to
75b16e7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
9458040
to
d444758
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This utility is helpful for debugging the `OpenedValues` which is an argument of the method `TwoAdicFriPCS::CreateOpeningProof()`
This c API addition introduces support for a 4-dimensional vector of `math::BabyBear4`, aliased as `OpenedValues`. It is used as the return value for `TwoAdicFriPCS::Open()`.
d444758
to
ca456b0
Compare
This c API addition introduces support for a 3-dimensional vector of `math::BabyBear4`, aliased as `OpeningPoints`. It is used as an argument for `TwoAdicFriPCS::Open()`.
Ensure `col` is incremented by `PackedField::N` in each iteration.
ca456b0
to
12388a0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
This PR enables rust binding for
TwoAdicFriPcs::Open()
.