Skip to content

Conversation

@wiasliaw
Copy link

Close #324.

@vercel
Copy link

vercel bot commented Apr 22, 2025

@wiasliaw is attempting to deploy a commit to the Duneanalytics Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Collaborator

@2xic 2xic left a comment

Choose a reason for hiding this comment

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

thank you! Just a minor comment


In the group $G_1$, points on the base field $F_p$ consist of (x, y) coordinates, where each coordinate is encoded as 32 bytes.

In the group $G_2$, points on the extension field $F_{p^2}$ are represented with coordinates (x, y) where `x = c0 + c1 * i` and `y = c0 + c1 * i`, with each component (x_c1, x_c0, y_c1, c_c0) encoded as 32 bytes.
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm not an expert on this precompile or the annotation, but I think there are two typos:

  1. (x_c1, x_c0, y_c1, c_c0) should be (x_c1, x_c0, y_c1, y_c0)
    2.x = c0 + c1 * i and y = c0 + c1 * i should be x = x_c0 + x_c1 * i and y = y_c0 + y_c1 * i

Copy link
Author

Choose a reason for hiding this comment

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

@2xic Yeap, there are two typo. let me fix it

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.

incorrect description about ecPairing

2 participants