Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Feb 18, 2025

Adds support for KZG precompile.
Use of intrinsics for BLS12-381 is:

  • feature gated by "kzg-intrinsics" on guest
  • enabled by cmd line arg --kzg-intrinsics on host

Default behavior: does not turn on "kzg-intrinsics".

On block 21,000,000 where no kzg point eval precompile is called:

On block 21882667 where kzg point eval is called once:

The problem with kzg intrinsics is that the leaf verifier's program code size goes up from 4M to 16M rows because BLS chips have a large number of constraints.

Closes INT-3333

@jonathanpwang jonathanpwang changed the title Update openvm to "91496503cb9a214ce7f8cef3a4a6e35fc6f0d938" feat: use openvm-kzg for KZG point evaluation precompile Feb 18, 2025
@jonathanpwang jonathanpwang force-pushed the update-openvm-20250218223742 branch from bb48d6a to 66cdc7f Compare February 20, 2025 01:50
@jonathanpwang jonathanpwang force-pushed the update-openvm-20250218223742 branch from d8a4152 to ed650ac Compare February 21, 2025 22:49
@jonathanpwang jonathanpwang requested a review from yi-sun February 21, 2025 23:40
@jonathanpwang jonathanpwang merged commit f1b0206 into main Feb 22, 2025
2 checks passed
@jonathanpwang jonathanpwang deleted the update-openvm-20250218223742 branch February 22, 2025 00:01
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.

1 participant