Skip to content

crypto/bn256/gnark: align marshaling behavior #32065

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

Merged
merged 3 commits into from
Jun 20, 2025

Conversation

MariusVanDerWijden
Copy link
Member

Aligns the marshaling behavior of gnark to google and cloudflare

Co-authored-by: kevaundray [email protected]

xA1Bytes := g.inner.X.A1.Bytes()
copy(output[32:64], xA1Bytes[:])
copy(output[:32], xA1Bytes[:])
Copy link
Contributor

Choose a reason for hiding this comment

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

can you chage the comment above to say [x.1][x.0][y.1][y.0] ?

@fjl fjl added this to the 1.15.12 milestone Jun 20, 2025
@fjl fjl merged commit 6723388 into ethereum:master Jun 20, 2025
3 checks passed
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.

3 participants