Skip to content

refactor: modexp exponent_head stricter type #1152

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

Closed

Conversation

obatirou
Copy link
Contributor

What was wrong?

exponent_head can have a stricter type

How was it fixed?

Change from Uint to U256: exponent_head are the first 32 bytes of the exponent given by buffer_read(data, exp_start, min(U256(32), exp_length)). There is no need for an unbound type as it should fit into a U256.

enitrat pushed a commit to kkrt-labs/keth that referenced this pull request Mar 11, 2025
Close #965 
Close #954

Change the execution specs repo to kkrt-labs one waiting on [PR on
execution specs to be
merged](ethereum/execution-specs#1152).
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