Skip to content

Commit

Permalink
legacy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gumb0 committed Oct 5, 2021
1 parent 538fd3f commit 67822bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/unittests/evm_eof_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,10 @@ TEST_P(evm, eof2_rjumpi_0_offset)

TEST_P(evm, relative_jumps_undefined_in_legacy)
{
// Relative jumps are not implemented in Advanced.
if (isAdvanced())
return;

rev = EVMC_SHANGHAI;
auto code = rjump(1) + OP_INVALID + mstore8(0, 1) + ret(0, 1);

Expand Down

0 comments on commit 67822bf

Please sign in to comment.