Skip to content

Commit f3f028f

Browse files
committed
Remove the test for runtime check in RETURNCONTRACT
1 parent 83be8e0 commit f3f028f

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

test/unittests/evm_eof_test.cpp

-15
Original file line numberDiff line numberDiff line change
@@ -319,21 +319,6 @@ TEST_P(evm, returncontract_undefined_in_legacy)
319319
EXPECT_STATUS(EVMC_UNDEFINED_INSTRUCTION);
320320
}
321321

322-
TEST_P(evm, returncontract_not_in_initcode)
323-
{
324-
if (is_advanced())
325-
return;
326-
327-
rev = EVMC_PRAGUE;
328-
const auto code = eof_bytecode(
329-
calldatacopy(0, 0, OP_CALLDATASIZE) + OP_CALLDATASIZE + 0 + OP_RETURNCONTRACT + Opcode{0},
330-
3)
331-
.container(eof_bytecode(OP_INVALID));
332-
333-
execute(code);
334-
EXPECT_STATUS(EVMC_UNDEFINED_INSTRUCTION);
335-
}
336-
337322
TEST_P(evm, eofcreate_staticmode)
338323
{
339324
if (is_advanced())

0 commit comments

Comments
 (0)