Skip to content

feat: implement eip-7951 #1249

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

LouisTsai-Csie
Copy link
Contributor

@LouisTsai-Csie LouisTsai-Csie commented May 23, 2025

What was wrong?

Related to Issue #1244

How was it fixed?

Implement EIP-7212

New python package added: pycryptodome and cryptography

Cute Animal Picture

Cute Animal

@LouisTsai-Csie LouisTsai-Csie marked this pull request as draft May 23, 2025 10:08
@gurukamath gurukamath linked an issue May 23, 2025 that may be closed by this pull request
@@ -54,7 +54,7 @@ def ecrecover(evm: Evm) -> None:

try:
public_key = secp256k1_recover(r, s, v - U256(27), message_hash)
except InvalidSignatureError:
except Exception:
Copy link
Contributor

Choose a reason for hiding this comment

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

I feel like we could use specific exceptions here, given secp256k1_recover method raises a kind of InvalidSignatureError?

@LouisTsai-Csie LouisTsai-Csie changed the title feat: implement eip-7212 feat: implement eip-7951 Jun 10, 2025
@LouisTsai-Csie
Copy link
Contributor Author

This PR could be closed, since there are rebase issue with this branch, we migrate the changes to PR #1291

@gurukamath gurukamath closed this Jun 21, 2025
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.

Implement 7951
3 participants