Created
July 23, 2017 08:22
-
-
Save jwasinger/65c950fc203ec535820f61e55768ddc6 to your computer and use it in GitHub Desktop.
Pyethereum trace for ZeroValue_CALL_ToOneStorageKey_OOGRevert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ethereum/tests/test_state.py DEBUG:root running test:'ZeroValue_CALL_ToOneStorageKey_OOGRevert' in '../fixtures/GeneralStateTests/ZeroValue_CALL_ToOneStorageKey_OOGRevert.json' | |
Verifying state test | |
Testing for EIP158 | |
Checking for values: g 135000 v 0 d (indexes g 0 v 0 d 0) | |
{'balance': '1000000000000', 'nonce': '0', 'code': '0x', 'storage': {}} | |
{'balance': '0', 'nonce': '0', 'code': '0x', 'storage': {'0x00': '0x01'}} | |
{'balance': '0', 'nonce': '0', 'code': '0x5a6000556000600060006000600073c94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60f1600155600c600255600c600355600c6004555a606455', 'storage': {}} | |
DEBUG:eth.pb.tx TX NEW txdict={'nonce': 0, 'gasprice': 1, 'startgas': 135000, 'to': '0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b', 'value': 0, 'data': '0x', 'v': 27, 'r': 73942451380967095089472681902514471621169943983564005432453481822324203053634, 's': 10338793112310849980114271989097570465192049685413144024875704173556981048295, 'sender': '0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b', 'hash': '0xdaca90c386851641851348db23abbdee16b2e5562a33ce8eb3cff0487498fc3b'} | |
DEBUG:eth.pb.msg MSG APPLY sender=a94f5374fce5edbc8e2a8697c15331677e6ebf0b to=b94f5374fce5edbc8e2a8697c15331677e6ebf0b gas=114000 value=0 data= pre_storage={'balance': '0', 'nonce': '0', 'code': '0x5a6000556000600060006000600073c94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60f1600155600c600255600c600355600c6004555a606455', 'storage': {}} static=False depth=0 | |
TRACE:eth.vm.op vm op=GAS stack=[] storage={'balance': '0', 'nonce': '0', 'code': '0x5a6000556000600060006000600073c94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60f1600155600c600255600c600355600c6004555a606455', 'storage': {}} gas=b'114000' inst=90 pc=b'0' depth=0 address=b'\xb9OSt\xfc\xe5\xed\xbc\x8e*\x86\x97\xc1S1g~n\xbf\x0b' steps=0 | |
TRACE:eth.vm.op vm op=PUSH1 stack=[b'113998'] gas=b'113998' inst=96 pc=b'1' steps=1 depth=0 pushvalue=0 | |
TRACE:eth.vm.op vm op=SSTORE stack=[b'113998', b'0'] gas=b'113995' inst=85 pc=b'3' steps=2 depth=0 | |
TRACE:eth.vm.op vm op=PUSH1 stack=[] storage={'balance': '0', 'nonce': '0', 'code': '0x5a6000556000600060006000600073c94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60f1600155600c600255600c600355600c6004555a606455', 'storage': {'0x00': '0x01bd4e'}} gas=b'93995' inst=96 pc=b'4' steps=3 depth=0 pushvalue=0 | |
TRACE:eth.vm.op vm op=PUSH1 stack=[b'0'] gas=b'93992' inst=96 pc=b'6' steps=4 depth=0 pushvalue=0 | |
TRACE:eth.vm.op vm op=PUSH1 stack=[b'0', b'0'] gas=b'93989' inst=96 pc=b'8' steps=5 depth=0 pushvalue=0 | |
TRACE:eth.vm.op vm op=PUSH1 stack=[b'0', b'0', b'0'] gas=b'93986' inst=96 pc=b'10' steps=6 depth=0 pushvalue=0 | |
TRACE:eth.vm.op vm op=PUSH1 stack=[b'0', b'0', b'0', b'0'] gas=b'93983' inst=96 pc=b'12' steps=7 depth=0 pushvalue=0 | |
TRACE:eth.vm.op vm op=PUSH20 stack=[b'0', b'0', b'0', b'0', b'0'] gas=b'93980' inst=115 pc=b'14' steps=8 depth=0 pushvalue=1149276173934921875316748848217877694681443122955 | |
TRACE:eth.vm.op vm op=PUSH2 stack=[b'0', b'0', b'0', b'0', b'0', b'1149276173934921875316748848217877694681443122955'] gas=b'93977' inst=97 pc=b'35' steps=9 depth=0 pushvalue=60000 | |
TRACE:eth.vm.op vm op=CALL stack=[b'0', b'0', b'0', b'0', b'0', b'1149276173934921875316748848217877694681443122955', b'60000'] gas=b'93974' inst=241 pc=b'38' steps=10 depth=0 | |
DEBUG:eth.pb.msg MSG APPLY sender=b94f5374fce5edbc8e2a8697c15331677e6ebf0b to=c94f5374fce5edbc8e2a8697c15331677e6ebf0b gas=60000 value=0 data= pre_storage={'balance': '0', 'nonce': '0', 'code': '0x', 'storage': {'0x00': '0x01'}} static=False depth=1 | |
TRACE:eth.vm.exit EXIT cause=CODE OUT OF RANGE | |
DEBUG:eth.pb.msg MSG APPLIED gas_remained=60000 sender=b94f5374fce5edbc8e2a8697c15331677e6ebf0b to=c94f5374fce5edbc8e2a8697c15331677e6ebf0b data=[] post_storage={'balance': '0', 'nonce': '0', 'code': '0x', 'storage': {'0x00': '0x01'}} | |
TRACE:eth.vm.op vm op=PUSH1 stack=[b'1'] memory= gas=b'93274' inst=96 pc=b'39' steps=11 depth=0 pushvalue=1 | |
TRACE:eth.vm.op vm op=SSTORE stack=[b'1', b'1'] gas=b'93271' inst=85 pc=b'41' steps=12 depth=0 | |
TRACE:eth.vm.op vm op=PUSH1 stack=[] storage={'balance': '0', 'nonce': '0', 'code': '0x5a6000556000600060006000600073c94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60f1600155600c600255600c600355600c6004555a606455', 'storage': {'0x00': '0x01bd4e', '0x01': '0x01'}} gas=b'73271' inst=96 pc=b'42' steps=13 depth=0 pushvalue=12 | |
TRACE:eth.vm.op vm op=PUSH1 stack=[b'12'] gas=b'73268' inst=96 pc=b'44' steps=14 depth=0 pushvalue=2 | |
TRACE:eth.vm.op vm op=SSTORE stack=[b'12', b'2'] gas=b'73265' inst=85 pc=b'46' steps=15 depth=0 | |
TRACE:eth.vm.op vm op=PUSH1 stack=[] storage={'balance': '0', 'nonce': '0', 'code': '0x5a6000556000600060006000600073c94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60f1600155600c600255600c600355600c6004555a606455', 'storage': {'0x00': '0x01bd4e', '0x01': '0x01', '0x02': '0x0c'}} gas=b'53265' inst=96 pc=b'47' steps=16 depth=0 pushvalue=12 | |
TRACE:eth.vm.op vm op=PUSH1 stack=[b'12'] gas=b'53262' inst=96 pc=b'49' steps=17 depth=0 pushvalue=3 | |
TRACE:eth.vm.op vm op=SSTORE stack=[b'12', b'3'] gas=b'53259' inst=85 pc=b'51' steps=18 depth=0 | |
TRACE:eth.vm.op vm op=PUSH1 stack=[] storage={'balance': '0', 'nonce': '0', 'code': '0x5a6000556000600060006000600073c94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60f1600155600c600255600c600355600c6004555a606455', 'storage': {'0x00': '0x01bd4e', '0x01': '0x01', '0x02': '0x0c', '0x03': '0x0c'}} gas=b'33259' inst=96 pc=b'52' steps=19 depth=0 pushvalue=12 | |
TRACE:eth.vm.op vm op=PUSH1 stack=[b'12'] gas=b'33256' inst=96 pc=b'54' steps=20 depth=0 pushvalue=4 | |
TRACE:eth.vm.op vm op=SSTORE stack=[b'12', b'4'] gas=b'33253' inst=85 pc=b'56' steps=21 depth=0 | |
TRACE:eth.vm.op vm op=GAS stack=[] storage={'balance': '0', 'nonce': '0', 'code': '0x5a6000556000600060006000600073c94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60f1600155600c600255600c600355600c6004555a606455', 'storage': {'0x00': '0x01bd4e', '0x01': '0x01', '0x02': '0x0c', '0x03': '0x0c', '0x04': '0x0c'}} gas=b'13253' inst=90 pc=b'57' steps=22 depth=0 | |
TRACE:eth.vm.op vm op=PUSH1 stack=[b'13251'] gas=b'13251' inst=96 pc=b'58' steps=23 depth=0 pushvalue=100 | |
TRACE:eth.vm.op vm op=SSTORE stack=[b'13251', b'100'] gas=b'13248' inst=85 pc=b'60' steps=24 depth=0 | |
TRACE:eth.vm.exit EXCEPTION cause=OUT OF GAS | |
DEBUG:eth.pb.msg MSG APPLIED gas_remained=0 sender=a94f5374fce5edbc8e2a8697c15331677e6ebf0b to=b94f5374fce5edbc8e2a8697c15331677e6ebf0b data=[] post_storage={'balance': '0', 'nonce': '0', 'code': '0x5a6000556000600060006000600073c94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60f1600155600c600255600c600355600c6004555a606455', 'storage': {'0x00': '0x01bd4e', '0x01': '0x01', '0x02': '0x0c', '0x03': '0x0c', '0x04': '0x0c', '0x64': '0x'}} | |
DEBUG:eth.pb.msg REVERTING | |
DEBUG:eth.pb.tx TX APPLIED result=0 gas_remained=0 data=[] | |
DEBUG:eth.pb.tx TX FAILED reason=out of gas startgas=135000 gas_remained=0 | |
{'balance': '999999865000', 'nonce': '1', 'code': '0x', 'storage': {}} | |
{'balance': '0', 'nonce': '0', 'code': '0x', 'storage': {'0x00': '0x01'}} | |
{'balance': '0', 'nonce': '0', 'code': '0x5a6000556000600060006000600073c94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60f1600155600c600255600c600355600c6004555a606455', 'storage': {'0x00': '0x', '0x01': '0x', '0x02': '0x', '0x03': '0x', '0x04': '0x', '0x64': '0x'}} | |
Applied tx | |
Hash matched!: 0xfc6851b42397111254a685a51d674177f3ed4657d3390b60490eb367a32fda30 | |
. | |
======================================= 1 passed in 0.23 seconds ======================================== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment