Skip to content

EIP-7951 - ECDSA signature verification over the secp256r1 elliptic curve#2837

Draft
anvacaru wants to merge 10 commits into
masterfrom
eip-7951
Draft

EIP-7951 - ECDSA signature verification over the secp256r1 elliptic curve#2837
anvacaru wants to merge 10 commits into
masterfrom
eip-7951

Conversation

@anvacaru

@anvacaru anvacaru commented Jan 14, 2026

Copy link
Copy Markdown
Contributor

Implementing EIP-7951 and adding a new P256Verify precompiled account at address 0x100.

blocked on runtimeverification/blockchain-k-plugin#219.

@anvacaru
anvacaru marked this pull request as ready for review July 13, 2026 06:44
@anvacaru
anvacaru marked this pull request as draft July 21, 2026 13:46
anvacaru and others added 2 commits July 24, 2026 15:22
…gate #isPrecompiledAccount fallback with owise so P256VERIFY dispatches

The general #isPrecompiledAccount rule overlapped the schedule-specific
[isPrecompiledAccountOsaka] rule and won for (256, OSAKA), returning
256 <=Int 17 = false. CALL/tx to 0x100 was therefore treated as an empty
account: the precompile never dispatched, so no gas was charged and
insufficient-gas calls wrongly succeeded. Marking the fallback [owise]
lets the specific rule take priority, matching the sibling
#precompiledAccountsSet definition. Unmask the 12 eip7951 fixtures that
now pass; test_precompile_before_fork stays masked (transition fixture,
single-schedule harness limitation).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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