Skip to content
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

Fix misplaced overflow check in wcopy #661

Merged
merged 1 commit into from
Sep 26, 2024
Merged

Conversation

Nashtare
Copy link
Collaborator

The u32 overflow check should be happening after we check for too large offsets, as these are valid cases that would otherwise trigger a fault_exception.

Caught by some regression on the Ethereum test suite (calldatacopy_d7g0v0_Cancun notably).

@Nashtare Nashtare added the bug Something isn't working label Sep 25, 2024
@Nashtare Nashtare added this to the Testing and Validation milestone Sep 25, 2024
@Nashtare Nashtare self-assigned this Sep 25, 2024
@github-actions github-actions bot added the crate: evm_arithmetization Anything related to the evm_arithmetization crate. label Sep 25, 2024
Copy link
Contributor

@hratoanina hratoanina left a comment

Choose a reason for hiding this comment

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

LGTM

@Nashtare Nashtare merged commit c9caaa1 into develop Sep 26, 2024
16 checks passed
@Nashtare Nashtare deleted the fix/overflow_check branch September 26, 2024 13:47
4l0n50 added a commit that referenced this pull request Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working crate: evm_arithmetization Anything related to the evm_arithmetization crate.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants