Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save holgerd77/5f2b4d77e8e33a1ed8df8a702c6f4c53 to your computer and use it in GitHub Desktop.
Save holgerd77/5f2b4d77e8e33a1ed8df8a702c6f4c53 to your computer and use it in GitHub Desktop.
pyethereum - Stack Trace for CreateCollisionEmpty - d2g0v0 - 2017-11-10 (failing in ethereumjs)
Checking for values: g 600000 v 0 d 0x0000000000000000000000003000000000000000000000000000000000000000 (indexes g 0 v 0 d 2)
DEBUG:eth.pb.tx TX NEW txdict={'nonce': 0, 'hash': '0x868beab17e801e5beaf68bc9233a5a8bc736daa39aa46da956f9887f1d10416e', 'sender': '0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b', 'startgas': 600000, 'value': 0, 'to': '0x1a00000000000000000000000000000000000000', 's': 10066249554982021582834830964774847325135560337123958209132799759329933227148L, 'r': 60026381854559856462917477462139528776309580871168955053321074866071770826177L, 'v': 27, 'data': '0x0000000000000000000000003000000000000000000000000000000000000000', 'gasprice': 1}
DEBUG:eth.pb.msg MSG APPLY sender=a94f5374fce5edbc8e2a8697c15331677e6ebf0b pre_storage={'nonce': '0', 'balance': '0', 'storage': {}, 'code': '0x6000600060006000600060003562013880f1'} gas=578808 value=0 to=1a00000000000000000000000000000000000000 depth=0 static=False data=0000000000000000000000003000000000000000000000000000000000000000
TRACE:eth.vm.op vm gas=578808 storage={'nonce': '0', 'balance': '0', 'storage': {}, 'code': '0x6000600060006000600060003562013880f1'} pc=0 depth=0 inst=96 pushvalue=0 address= steps=0 stack=[] op=PUSH1
TRACE:eth.vm.op vm gas=578805 pc=2 depth=0 inst=96 pushvalue=0 steps=1 stack=['0'] op=PUSH1
TRACE:eth.vm.op vm gas=578802 pc=4 depth=0 inst=96 pushvalue=0 steps=2 stack=['0', '0'] op=PUSH1
TRACE:eth.vm.op vm gas=578799 pc=6 depth=0 inst=96 pushvalue=0 steps=3 stack=['0', '0', '0'] op=PUSH1
TRACE:eth.vm.op vm gas=578796 pc=8 depth=0 inst=96 pushvalue=0 steps=4 stack=['0', '0', '0', '0'] op=PUSH1
TRACE:eth.vm.op vm gas=578793 pc=10 depth=0 inst=96 pushvalue=0 steps=5 stack=['0', '0', '0', '0', '0'] op=PUSH1
TRACE:eth.vm.op vm gas=578790 pc=12 depth=0 inst=53 steps=6 stack=['0', '0', '0', '0', '0', '0'] op=CALLDATALOAD
TRACE:eth.vm.op vm gas=578787 pc=13 depth=0 inst=98 pushvalue=80000 steps=7 stack=['0', '0', '0', '0', '0', '274031556999544297163190906134303066185487351808'] op=PUSH3
TRACE:eth.vm.op vm gas=578784 pc=17 depth=0 inst=241 steps=8 stack=['0', '0', '0', '0', '0', '274031556999544297163190906134303066185487351808', '80000'] op=CALL
DEBUG:eth.pb.msg MSG APPLY sender=1a00000000000000000000000000000000000000 pre_storage={'nonce': '0', 'balance': '0', 'storage': {}, 'code': '0x6460016001556000526005601b6000f0600155'} gas=80000 value=0 to=3000000000000000000000000000000000000000 depth=1 static=False data=
TRACE:eth.vm.op vm gas=80000 storage={'nonce': '0', 'balance': '0', 'storage': {}, 'code': '0x6460016001556000526005601b6000f0600155'} pc=0 depth=1 inst=100 pushvalue=412339929429 address=0 steps=0 stack=[] op=PUSH5
TRACE:eth.vm.op vm gas=79997 pc=6 depth=1 inst=96 pushvalue=0 steps=1 stack=['412339929429'] op=PUSH1
TRACE:eth.vm.op vm gas=79994 pc=8 depth=1 inst=82 steps=2 stack=['412339929429', '0'] op=MSTORE
TRACE:eth.vm.op vm gas=79988 pc=9 depth=1 inst=96 pushvalue=5 memory=0000000000000000000000000000000000000000000000000000006001600155 steps=3 stack=[] op=PUSH1
TRACE:eth.vm.op vm gas=79985 pc=11 depth=1 inst=96 pushvalue=27 steps=4 stack=['5'] op=PUSH1
TRACE:eth.vm.op vm gas=79982 pc=13 depth=1 inst=96 pushvalue=0 steps=5 stack=['5', '27'] op=PUSH1
TRACE:eth.vm.op vm gas=79979 pc=15 depth=1 inst=240 steps=6 stack=['5', '27', '0'] op=CREATE
DEBUG:eth.pb.msg CONTRACT CREATION
DEBUG:eth.pb.msg CREATING CONTRACT ON TOP OF EXISTING CONTRACT
TRACE:eth.vm.op vm gas=749 pc=16 depth=1 inst=96 pushvalue=1 memory=0000000000000000000000000000000000000000000000000000006001600155 steps=7 stack=['0'] op=PUSH1
TRACE:eth.vm.op vm gas=746 pc=18 depth=1 inst=85 steps=8 stack=['0', '1'] op=SSTORE
TRACE:eth.vm.exit EXCEPTION cause=OUT OF GAS
DEBUG:eth.pb.msg MSG APPLIED post_storage={'nonce': '1', 'balance': '0', 'storage': {'0x01': '0x'}, 'code': '0x6460016001556000526005601b6000f0600155'} to=3000000000000000000000000000000000000000 data=[] gas_remained=0 sender=1a00000000000000000000000000000000000000
DEBUG:eth.pb.msg REVERTING
TRACE:eth.vm.exit EXIT cause=CODE OUT OF RANGE
DEBUG:eth.pb.msg MSG APPLIED post_storage={'nonce': '0', 'balance': '0', 'storage': {}, 'code': '0x6000600060006000600060003562013880f1'} to=1a00000000000000000000000000000000000000 data=[] gas_remained=498084 sender=a94f5374fce5edbc8e2a8697c15331677e6ebf0b
DEBUG:eth.pb.tx TX APPLIED data=[] result=1 gas_remained=498084
DEBUG:eth.pb.tx TX SUCCESS data=[]
Applied tx
Hash matched!: 0x5bfb8ec11eebda3c851a62b9923bac77e93819fa4f09898300c61ed4a7871dee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment