Skip to content

Conversation

ivokub
Copy link
Collaborator

@ivokub ivokub commented Aug 7, 2025

Description

This PR adds a circuit which allows to assert that some inputs to the POINTEVAL precompile input are invalid. It checks:

  • compressed input mask
  • mask correspondence with x coord
  • subgroup and curve membership
  • hash version
  • hash value
  • pairing value
  • compressed x overflow

It will be used in Linea alongside the POINTEVAL precompile for valid inputs.

Type of change

  • New feature (non-breaking change which adds functionality)

How has this been tested?

Corresponding isolated test cases. Larger test suite in linea-monorepo.

Checklist:

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I did not modify files generated from templates
  • golangci-lint does not output errors locally
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@ivokub ivokub self-assigned this Aug 7, 2025
@ivokub ivokub force-pushed the feat/pointeval-failure-circuit branch from 36a2a77 to 1116a24 Compare August 27, 2025 10:33
@ivokub ivokub force-pushed the feat/pointeval-failure-circuit branch from db2c506 to affffd8 Compare August 29, 2025 10:42
@ivokub ivokub requested a review from ThomasPiellard August 29, 2025 10:46
@ivokub ivokub marked this pull request as ready for review August 29, 2025 10:46
cursor[bot]

This comment was marked as outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant