Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
test/testeth -t GeneralStateTests/stCallCodes -- --testpath /home/ewasm/hugo-dc/cpp-ethereum/test/jsontests --singlenet "Byzantium" --singletest callcodeInInitcodeToEmptyContract --jsontrace ''
Running tests using path: "/home/ewasm/hugo-dc/cpp-ethereum/test/jsontests"
Running 1 test case...
Test Case "stCallCodes":
100%
[{"depth":"0","gas":"432081","gasCost":"3","memory":[],"op":"PUSHC","pc":"0","stack":[],"storage":{}},
{"depth":"0","gas":"432078","gasCost":"3","op":"PUSH1","pc":"33","stack":["0x6040600060406000600073945304eb96065b2a98b57a48a06ae28d285a71b562"]},
{"depth":"0","gas":"432075","gasCost":"3","op":"MSTORE","pc":"35","stack":["0x6040600060406000600073945304eb96065b2a98b57a48a06ae28d285a71b562","0x00"]},
{"depth":"0","gas":"432069","gasCost":"3","memory":["6040600060406000600073945304eb96065b2a98b57a48a06ae28d285a71b562"],"op":"PUSHC","pc":"36","stack":[]},
{"depth":"0","gas":"432066","gasCost":"3","op":"PUSH1","pc":"69","stack":["0x0186a0f260005500000000000000000000000000000000000000000000000000"]},
{"depth":"0","gas":"432063","gasCost":"3","op":"MSTORE","pc":"71","stack":["0x0186a0f260005500000000000000000000000000000000000000000000000000","0x20"]},
{"depth":"0","gas":"432057","gasCost":"3","memory":["6040600060406000600073945304eb96065b2a98b57a48a06ae28d285a71b562","0186a0f260005500000000000000000000000000000000000000000000000000"],"op":"PUSH1","pc":"72","stack":[]},
{"depth":"0","gas":"432054","gasCost":"3","op":"PUSH1","pc":"74","stack":["0x40"]},
{"depth":"0","gas":"432051","gasCost":"3","op":"PUSH1","pc":"76","stack":["0x40","0x00"]},
{"depth":"0","gas":"432048","gasCost":"0","op":"CREATE","pc":"78","stack":["0x40","0x00","0x01"]},
{"depth":"1","gas":"393798","gasCost":"3","memory":[],"op":"PUSH1","pc":"0","stack":[],"storage":{}},
{"depth":"1","gas":"393795","gasCost":"3","op":"PUSH1","pc":"2","stack":["0x40"]},
{"depth":"1","gas":"393792","gasCost":"3","op":"PUSH1","pc":"4","stack":["0x40","0x00"]},
{"depth":"1","gas":"393789","gasCost":"3","op":"PUSH1","pc":"6","stack":["0x40","0x00","0x40"]},
{"depth":"1","gas":"393786","gasCost":"3","op":"PUSH1","pc":"8","stack":["0x40","0x00","0x40","0x00"]},
{"depth":"1","gas":"393783","gasCost":"3","op":"PUSHC","pc":"10","stack":["0x40","0x00","0x40","0x00","0x00"]},
{"depth":"1","gas":"393780","gasCost":"3","op":"PUSH3","pc":"31","stack":["0x40","0x00","0x40","0x00","0x00","0x945304eb96065b2a98b57a48a06ae28d285a71b5"]},
{"depth":"1","gas":"393777","gasCost":"0","op":"CALLCODE","pc":"35","stack":["0x40","0x00","0x40","0x00","0x00","0x945304eb96065b2a98b57a48a06ae28d285a71b5","0x0186a0"]},
{"depth":"1","gas":"393071","gasCost":"3","memory":["0000000000000000000000000000000000000000000000000000000000000000","0000000000000000000000000000000000000000000000000000000000000000"],"op":"PUSH1","pc":"36","stack":["0x01"]},
{"depth":"1","gas":"393068","gasCost":"0","op":"SSTORE","pc":"38","stack":["0x01","0x00"]},
{"depth":"1","gas":"373068","gasCost":"0","op":"STOP","pc":"39","stack":[],"storage":{"0x00":"0x01"}},
{"depth":"0","gas":"379318","gasCost":"0","memory":["6040600060406000600073945304eb96065b2a98b57a48a06ae28d285a71b562","0186a0f260005500000000000000000000000000000000000000000000000000"],"op":"STOP","pc":"79","stack":["0x13136008b64ff592819b2fa6d43f2835c452020e"]}]
{"stateRoot": "be3b36e7cf22ba2ac86dcac37b66b60ef96e0d28616df36251cb7de9aa2500aa"}postState:
--- be3b36e7cf22ba2ac86dcac37b66b60ef96e0d28616df36251cb7de9aa2500aa
1000000000000000000000000000000000000000: 1 #:9999 @:56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421 $6cf800cc29ef5a45717674f4b4556edfadf1f61e02fea333168738eb5435f3f9
13136008b64ff592819b2fa6d43f2835c452020e: 1 #:1 [SIMPLE]
2adc25665018aa1fe0e6bc666dac8fc2697ff9ba: 0 #:73763 [SIMPLE]
a94f5374fce5edbc8e2a8697c15331677e6ebf0b: 1 #:9999999999926237 [SIMPLE]
*** No errors detected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.