Skip to content

Commit

Permalink
Moar tests fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
gumb0 committed Jun 6, 2024
1 parent 224b436 commit de13ba6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unittests/state_transition_eof_create_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1989,7 +1989,7 @@ TEST_F(state_transition, txcreate_failure_after_txcreate_success)
sstore(0, txcreate().initcode(keccak256(init_container)).salt(Salt)) +
sstore(1, txcreate().initcode(keccak256(init_container)).salt(Salt)) + // address collision
sstore(2, returndatasize()) + sstore(3, 1) + OP_STOP;
const auto factory_container = eof_bytecode(factory_code, 5).container(init_container);
const auto factory_container = eof_bytecode(factory_code, 5);

tx.to = To;

Expand Down Expand Up @@ -2229,7 +2229,7 @@ TEST_F(state_transition, txcreate_call_created_contract)
OP_POP + sstore(2, returndataload(0)) + mstore8(31, 2) +
extcall(create_address).input(0, 32) + // calldata 2
OP_POP + sstore(3, returndataload(0)) + sstore(4, 1) + OP_STOP;
const auto factory_container = eof_bytecode(factory_code, 5).container(init_container);
const auto factory_container = eof_bytecode(factory_code, 5);

tx.to = To;

Expand Down

0 comments on commit de13ba6

Please sign in to comment.