Skip to content
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

Update EIP-2537: Added MSM and pairings precompiles without subgroup checks #8965

Closed

Conversation

Marchhill
Copy link
Contributor

  • Removed redundant MUL operations to minimise increase in precompile count (as in Update EIP-2537: Remove redundant MUL precompiles #8945).
  • Added 'unsafe' MSM and pairings precompiles that do not have subgroup checks.
  • todo: Determine relative pricing of precompiles with and without subgroup checks

@github-actions github-actions bot added c-update Modifies an existing proposal s-review This EIP is in Review t-core labels Oct 15, 2024
@eth-bot
Copy link
Collaborator

eth-bot commented Oct 15, 2024

File EIPS/eip-2537.md

Requires 1 more reviewers from @asanso, @ineffectualproperty, @ralexstokes, @shamatar

@eth-bot eth-bot added the a-review Waiting on author to review label Oct 15, 2024
@GIgako19929
Copy link


@asanso
Copy link
Contributor

asanso commented Oct 15, 2024

@Marchhill may you motivate these proposed changes ?

@Marchhill
Copy link
Contributor Author

@Marchhill may you motivate these proposed changes ?

Added some motivation for unsafe precompiles.

- BLS12_PAIRING_CHECK - to perform a pairing operations between a set of *pairs* of (G1, G2) points a gas cost formula defined in the corresponding section
- BLS12_PAIRING_CHECK_UNSAFE - identical to BLS12_PAIRING_CHECK except that subgroup checks will **not** be performed.
Copy link
Member

Choose a reason for hiding this comment

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

I think this is no-starter. How are you going to define this operation for points outside of the main prime subgroup?

Copy link
Contributor

Choose a reason for hiding this comment

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

totally agree with @chfast here!!

@Marchhill Marchhill closed this Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a-review Waiting on author to review c-update Modifies an existing proposal s-review This EIP is in Review t-core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants