Skip to content

feat(op-reth): add EIP-7951 P256VERIFY Osaka precompile and test#20071

Open
joshklop wants to merge 1 commit intodevelopfrom
joshklop/osaka-7951
Open

feat(op-reth): add EIP-7951 P256VERIFY Osaka precompile and test#20071
joshklop wants to merge 1 commit intodevelopfrom
joshklop/osaka-7951

Conversation

@joshklop
Copy link
Copy Markdown
Contributor

@joshklop joshklop commented Apr 14, 2026

Assert that the P256VERIFY precompile gas cost increases from 3,450 (RIP-7212) to 6,900 (EIP-7951) at Karst activation. Also update the karst() precompile set in op-revm to swap secp256r1::P256VERIFY for secp256r1::P256VERIFY_OSAKA.

Stacked on #20070


For reference https://github.com/ethereum-optimism/design-docs/blob/main/protocol/fusaka-on-l2.md

@joshklop joshklop requested a review from a team as a code owner April 14, 2026 18:40
@joshklop joshklop force-pushed the joshklop/osaka-7951 branch from a084f8f to b99caf4 Compare April 14, 2026 18:48
@joshklop joshklop force-pushed the joshklop/osaka-7825 branch from 7a36732 to 8464b2e Compare April 14, 2026 18:48
@joshklop joshklop changed the title test(op-acceptance-tests): add EIP-7951 P256VERIFY gas cost increase test feat(op-reth): add EIP-7951 P256VERIFY Osaka precompile and test Apr 14, 2026
@joshklop joshklop force-pushed the joshklop/osaka-7825 branch from 8464b2e to 5643266 Compare April 14, 2026 20:21
@joshklop joshklop force-pushed the joshklop/osaka-7951 branch from b99caf4 to 329191e Compare April 14, 2026 20:21
@joshklop joshklop force-pushed the joshklop/osaka-7825 branch from 5643266 to 912c668 Compare April 14, 2026 21:29
@joshklop joshklop force-pushed the joshklop/osaka-7951 branch from 329191e to 78b5559 Compare April 14, 2026 21:29
Comment thread rust/op-revm/src/precompiles.rs
@joshklop joshklop force-pushed the joshklop/osaka-7825 branch from 912c668 to dce1b4e Compare April 15, 2026 20:06
@joshklop joshklop force-pushed the joshklop/osaka-7951 branch 3 times, most recently from 83fa918 to cb1d5bf Compare April 15, 2026 21:17
@joshklop joshklop force-pushed the joshklop/osaka-7825 branch from dce1b4e to c3ade22 Compare April 15, 2026 21:17
@joshklop joshklop force-pushed the joshklop/osaka-7951 branch from cb1d5bf to 88f989f Compare April 16, 2026 01:44
@joshklop joshklop force-pushed the joshklop/osaka-7825 branch from c3ade22 to 20c7144 Compare April 16, 2026 01:44
Base automatically changed from joshklop/osaka-7825 to develop April 16, 2026 02:36
@joshklop joshklop force-pushed the joshklop/osaka-7951 branch from 88f989f to 9a66e4d Compare April 16, 2026 15:18
…test

Assert that the P256VERIFY precompile gas cost increases from 3,450
(RIP-7212) to 6,900 (EIP-7951) at Karst activation. Also update the
karst() precompile set in op-revm to swap secp256r1::P256VERIFY for
secp256r1::P256VERIFY_OSAKA.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@joshklop joshklop force-pushed the joshklop/osaka-7951 branch from 9a66e4d to 3737b44 Compare April 16, 2026 15:18
@joshklop joshklop enabled auto-merge April 16, 2026 15:18
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.

2 participants