Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save veox/b8605347f34e0038d029809f1697f6de to your computer and use it in GitHub Desktop.
Save veox/b8605347f34e0038d029809f1697f6de to your computer and use it in GitHub Desktop.
py-evm trace for failing test RevertPrecompiledTouchExactOOG_d7g2v0_Istanbul
Persisting new state root: 0x599ec0e61fc3d0211bd84e94d0122ae078a76f3aba514fbd674e17700a22be62
TRANSACTION: sender: 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b | to: 0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b | value: 0 | gas: 69000 | gas-price: 1 | s: 49866007334426543369019003812479859422538097422032334019063008919630256994192 | r: 28802132639651452550156019155366189981506769780359114535318817073663133211308 | v: 28 | data-hash: 0x299837ff86d4e311fdf5de67b1c760655fdfaf69a5555221730c2ce339e63b6a
COMPUTATION STARTING: gas: 47720 | from: 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b | to: 0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b | value: 0 | depth 0 | static: n
OPCODE: 0x60 (PUSH1) | pc: 0
GAS CONSUMPTION: 47720 - 3 -> 47717 (PUSH1)
OPCODE: 0x60 (PUSH1) | pc: 2
GAS CONSUMPTION: 47717 - 3 -> 47714 (PUSH1)
OPCODE: 0x60 (PUSH1) | pc: 4
GAS CONSUMPTION: 47714 - 3 -> 47711 (PUSH1)
OPCODE: 0x35 (CALLDATALOAD) | pc: 6
GAS CONSUMPTION: 47711 - 3 -> 47708 (CALLDATALOAD)
OPCODE: 0x60 (PUSH1) | pc: 7
GAS CONSUMPTION: 47708 - 3 -> 47705 (PUSH1)
OPCODE: 0x60 (PUSH1) | pc: 9
GAS CONSUMPTION: 47705 - 3 -> 47702 (PUSH1)
OPCODE: 0x60 (PUSH1) | pc: 11
GAS CONSUMPTION: 47702 - 3 -> 47699 (PUSH1)
OPCODE: 0x35 (CALLDATALOAD) | pc: 13
GAS CONSUMPTION: 47699 - 3 -> 47696 (CALLDATALOAD)
OPCODE: 0x5a (GAS) | pc: 14
GAS CONSUMPTION: 47696 - 2 -> 47694 (GAS)
OPCODE: 0xf2 (CALLCODE) | pc: 15
GAS CONSUMPTION: 47694 - 700 -> 46994 (CALLCODE)
MEMORY: size (0 -> 32) | cost (0 -> 3)
GAS CONSUMPTION: 46994 - 3 -> 46991 (Expanding memory 0 -> 32)
MEMORY: size (32 -> 0) | cost (3 -> 0)
GAS CONSUMPTION: 46991 - 46257 -> 734 (CALLCODE)
COMPUTATION STARTING: gas: 46257 | from: 0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b | to: 0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b | value: 0 | depth 1 | static: n
OPCODE: 0x60 (PUSH1) | pc: 0
GAS CONSUMPTION: 46257 - 3 -> 46254 (PUSH1)
OPCODE: 0x60 (PUSH1) | pc: 2
GAS CONSUMPTION: 46254 - 3 -> 46251 (PUSH1)
OPCODE: 0x60 (PUSH1) | pc: 4
GAS CONSUMPTION: 46251 - 3 -> 46248 (PUSH1)
OPCODE: 0x60 (PUSH1) | pc: 6
GAS CONSUMPTION: 46248 - 3 -> 46245 (PUSH1)
OPCODE: 0x60 (PUSH1) | pc: 8
GAS CONSUMPTION: 46245 - 3 -> 46242 (PUSH1)
OPCODE: 0x36 (CALLDATASIZE) | pc: 10
GAS CONSUMPTION: 46242 - 2 -> 46240 (CALLDATASIZE)
OPCODE: 0x5a (GAS) | pc: 11
GAS CONSUMPTION: 46240 - 2 -> 46238 (GAS)
OPCODE: 0xf1 (CALL) | pc: 12
GAS CONSUMPTION: 46238 - 700 -> 45538 (CALL)
MEMORY: size (0 -> 0) | cost (0 -> 0)
MEMORY: size (0 -> 0) | cost (0 -> 0)
GAS CONSUMPTION: 45538 - 44827 -> 711 (CALL)
COMPUTATION STARTING: gas: 44827 | from: 0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b | to: 0x0000000000000000000000000000000000000008 | value: 0 | depth 2 | static: n
COMPUTATION ERROR: gas: 44827 | from: 0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b | to: 0x0000000000000000000000000000000000000008 | value: 0 | depth: 2 | static: n | error: Out of gas: Needed 45000 - Remaining 44827 - Reason: ECPAIRING Precompile
GAS CONSUMPTION: 44827 - 44827 -> 0 (Zeroing gas due to VM Exception: Out of gas: Needed 45000 - Remaining 44827 - Reason: ECPAIRING Precompile)
OPCODE: 0x0 (STOP) | pc: 13
COMPUTATION SUCCESS: from: 0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b | to: 0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b | value: 0 | depth: 1 | static: n | gas-used: 45546 | gas-remaining: 711
GAS RETURNED: 734 + 711 -> 1445
OPCODE: 0x0 (STOP) | pc: 16
COMPUTATION SUCCESS: from: 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b | to: 0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b | value: 0 | depth: 0 | static: n | gas-used: 46275 | gas-remaining: 1445
TRANSACTION REFUND: 1445 -> 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b
TRANSACTION FEE: 67555 -> 0x68795c4aa09d6f4ed3e5deddf8c2ad3049a601da
CLEARING EMPTY ACCOUNT: 0x0000000000000000000000000000000000000008
Deleting all storage in account 0x0000000000000000000000000000000000000008, hashed 0x471703c5eda8644a64cec152c58f5aacec93d72fb0bfa705f0473f9043a8357c
BLOCK REWARD: 2000000000000000000 -> b'hy\\J\xa0\x9doN\xd3\xe5\xde\xdd\xf8\xc2\xad0I\xa6\x01\xda'
Persisting new state root: 0x6484f244ba53be781cb6c4e31de7d648be46febe34aa094dd64b1e29c0813cdc
IMPORTED_BLOCK: number 1 | hash 0xc6ed90269a914b7a81e54af5e21756aa9d220eb91ef9e5aa82df267e0d19a428
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment