-
Notifications
You must be signed in to change notification settings - Fork 17
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
fix halo2 verifier guest code #1137
fix halo2 verifier guest code #1137
Conversation
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
After we merge main I think workspace halo2curves-axiom will also be 0.5.3
impl EcPointLoader<G1Affine> for OpenVmLoader { | ||
type LoadedEcPoint = OpenVmEcPoint<G1Affine, EcPoint>; | ||
|
||
fn ec_point_load_const(&self, value: &G1Affine) -> Self::LoadedEcPoint { | ||
let point = EcPoint { | ||
x: Fp::from_be_bytes(&value.x().to_bytes()), | ||
y: Fp::from_be_bytes(&value.y().to_bytes()), | ||
x: Fp::from_le_bytes(&value.x.to_bytes()), |
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.
just noting the halo2curves .to_bytes()
actually does some computation, but with the way snark-verifier traits work, this seems unavoidable
* make msm implementation with blackbox * feat: use msm_serial variant * feat: set up foundations * wip * implement accumulation decider * wip * wip * wip * wip * finish loader * finish decider * finish transcript(?) * add files * verifier code done * rename and clean * fix halo2 verifier guest code (#1137) * fix halo2 verifier guest code * clean * build * switch to workspace snark verifier * add tests for verifier * rename and add files * wip: make integration test * chore: protect EcPoint constructor * feat: add integration test * chore: remove unused * chore: lints --------- Co-authored-by: Zhang Zhuo <[email protected]> Co-authored-by: Jonathan Wang <[email protected]>
No description provided.