test_push0_contracts()
Tests PUSH0 within various deployed contracts.
Test ID | contract_code | expected_storage |
---|---|---|
key_sstore | nonce=0 balance=0 code=b'' storage=Storage(root={0: 1}) | |
fill_stack | nonce=0 balance=0 code=b'' storage=Storage(root={0: 1}) | |
stack_overflow | nonce=0 balance=0 code=b'' storage=Storage(root={0: 0}) | |
storage_overwrite | nonce=0 balance=0 code=b'' storage=Storage(root={0: 2, 1: 0}) | |
before_jumpdest | nonce=0 balance=0 code=b'' storage=Storage(root={0: 1}) | |
gas_cost | nonce=0 balance=0 code=b'' storage=Storage(root={0: 2}) | |
key_sstore | nonce=0 balance=0 code=b'' storage=Storage(root={0: 1}) | |
fill_stack | nonce=0 balance=0 code=b'' storage=Storage(root={0: 1}) | |
stack_overflow | nonce=0 balance=0 code=b'' storage=Storage(root={0: 0}) | |
storage_overwrite | nonce=0 balance=0 code=b'' storage=Storage(root={0: 2, 1: 0}) | |
before_jumpdest | nonce=0 balance=0 code=b'' storage=Storage(root={0: 1}) | |
gas_cost | nonce=0 balance=0 code=b'' storage=Storage(root={0: 2}) |