Skip to content

exec: bump evmone_precompiles to v0.25.0 - #25100

Merged
AskAlexSharov merged 1 commit into
mainfrom
alex/evmone_v025_39
Oct 20, 2026
Merged

AskAlexSharov merged 1 commit into
mainfrom
alex/evmone_v025_39

Conversation

@AskAlexSharov

@AskAlexSharov AskAlexSharov commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

Bumps evmone_precompiles to evmone v0.25.0 (erigontech/evmone_precompiles#7). erigon takes modexp and BN254 ecadd from it.

modexp (EIP-7883 vectors)        main      PR
exp-heavy, even modulus          30.8µs    17.4µs   -43%  (marius-1)
guido-1-even                     30.5µs    11.1µs   -64%
mod-8-exp-896                    14.0µs     5.6µs   -60%
pawel-1-exp-heavy                14.0µs     5.6µs   -60%
pow0x10001 (e = 65537)          116.3µs   128.6µs   +11%  (nagydani-4, same on 1..5: +8..+11%)
square / qube / mod-32           flat
ecadd                            flat
geomean of 63 vectors                               -12%

Exponent-heavy and even-modulus inputs get 1.4-2.8x faster. Inputs with the small exponent 65537 (RSA-style verification) get 8-11% slower; that path is upstream's.

@AskAlexSharov
AskAlexSharov marked this pull request as ready for review October 20, 2026 08:08
@AskAlexSharov AskAlexSharov changed the title go.mod: bump evmone_precompiles to evmone v0.25.0 (faster modexp) exec: bump evmone_precompiles to v0.25.0 Oct 20, 2026
@yperbasis yperbasis added dependencies Pull requests that update a dependency file performance and removed RPC labels Oct 20, 2026
@yperbasis
yperbasis requested a balanced review from Copilot October 20, 2026 08:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

The consensus-critical upstream implementation and runtime compatibility remain unverified.

No open issues 🎉

What changed in this PR

Updates Erigon’s evmone_precompiles dependency to the revision based on evmone v0.25.0, used for modular exponentiation and BN254 addition.

Changes:

  • Advances the dependency revision in go.mod.
  • Updates matching checksums in go.sum.
File Description
go.sum Updates dependency checksums.
go.mod Pins the new precompile dependency revision.

Review effort: Balanced

@AskAlexSharov
AskAlexSharov added this pull request to the merge queue Oct 20, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 20, 2026
@AskAlexSharov
AskAlexSharov added this pull request to the merge queue Oct 20, 2026
Merged via the queue into main with commit d0695be Oct 20, 2026
249 of 257 checks passed
@AskAlexSharov
AskAlexSharov deleted the alex/evmone_v025_39 branch October 20, 2026 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants