Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

Conversation

silathdiir
Copy link

Description

Fix testool case jumpi_d19(not-jump-hyperspace)_g0_v0.

Reference go-ethereum opJumpi function, the destination is not checked with Uint64 overflow if condition is zero.

TODO: may need to update with refactor PR #380.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Could test with testool case jumpi_d19(not-jump-hyperspace)_g0_v0.
And add a new unit-test case jumpi_gadget_with_zero_cond_and_overflow_dest.

@silathdiir silathdiir requested a review from lispc March 8, 2023 08:29
@lispc lispc merged commit 3ebd844 into scroll-stable Mar 8, 2023
@lispc lispc deleted the bug/jumpi-successful-run-with-overflow-dest-for-zero-cond branch March 8, 2023 08:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants