Skip to content

✨ feat(tests): EIP-8141 extend secp r coverage - #3956

Open
raxhvl wants to merge 1 commit into
ethereum:eips/bogota/eip-8141from
raxhvl:8141/sig-r-check
Open

raxhvl wants to merge 1 commit into
ethereum:eips/bogota/eip-8141from
raxhvl:8141/sig-r-check

Conversation

@raxhvl

@raxhvl raxhvl commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

ℹ️ Review effort: 🟢 Easy · ⏱️ ~ 5 min

Adds two extensions:

  • secp256k1_r_not_on_curve: N-1 is not on the curve, so no signer is recovered. The test fails with invalid sig.
  • secp256k1_r_recovers_stranger: N-2 is on the curve, random signer is recovered. The test fails with invalid frame.

Question: When the recovered signer != singer, it throws TYPE_6_INVALID_FRAME_FORMAT instead of TYPE_6_INVALID_SIGNATURE. Is that expected behavior?

This branch has not been deployed

No deployments
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