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 hugo-dc/a7719cc57a23769b94258a3eac46eac4 to your computer and use it in GitHub Desktop.
Save hugo-dc/a7719cc57a23769b94258a3eac46eac4 to your computer and use it in GitHub Desktop.
test/testeth -t GeneralStateTests/stCallCodes -- --testpath /home/ewasm/hugo-dc/cpp-ethereum/test/jsontests --singlenet "Byzantium" --singletest callcodeInInitcodeToExisContractWithVTransferNEMoney --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":["0x6040600060406000600573945304eb96065b2a98b57a48a06ae28d285a71b562"]},
{"depth":"0","gas":"432075","gasCost":"3","op":"MSTORE","pc":"35","stack":["0x6040600060406000600573945304eb96065b2a98b57a48a06ae28d285a71b562","0x00"]},
{"depth":"0","gas":"432069","gasCost":"3","memory":["6040600060406000600573945304eb96065b2a98b57a48a06ae28d285a71b562"],"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":["6040600060406000600573945304eb96065b2a98b57a48a06ae28d285a71b562","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","0x05"]},
{"depth":"1","gas":"393780","gasCost":"3","op":"PUSH3","pc":"31","stack":["0x40","0x00","0x40","0x00","0x05","0x945304eb96065b2a98b57a48a06ae28d285a71b5"]},
{"depth":"1","gas":"393777","gasCost":"0","op":"CALLCODE","pc":"35","stack":["0x40","0x00","0x40","0x00","0x05","0x945304eb96065b2a98b57a48a06ae28d285a71b5","0x0186a0"]},
{"depth":"1","gas":"386371","gasCost":"3","memory":["0000000000000000000000000000000000000000000000000000000000000000","0000000000000000000000000000000000000000000000000000000000000000"],"op":"PUSH1","pc":"36","stack":["0x00"]},
{"depth":"1","gas":"386368","gasCost":"0","op":"SSTORE","pc":"38","stack":["0x00","0x00"]},
{"depth":"1","gas":"381368","gasCost":"0","op":"STOP","pc":"39","stack":[],"storage":{}},
{"depth":"0","gas":"387618","gasCost":"0","memory":["6040600060406000600573945304eb96065b2a98b57a48a06ae28d285a71b562","0186a0f260005500000000000000000000000000000000000000000000000000"],"op":"STOP","pc":"79","stack":["0x13136008b64ff592819b2fa6d43f2835c452020e"]}]
{"stateRoot": "5d8fbaea35718275758ade9e78b2d8c64469cff78bd85a8a11a8c4691208b534"}postState:
--- 5d8fbaea35718275758ade9e78b2d8c64469cff78bd85a8a11a8c4691208b534
1000000000000000000000000000000000000000: 1 #:9999 @:56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421 $3c815caae5bd0f20aab8786460b0523436ec5af6f1cd0097066739e2d40c7140
13136008b64ff592819b2fa6d43f2835c452020e: 1 #:1 [SIMPLE]
2adc25665018aa1fe0e6bc666dac8fc2697ff9ba: 0 #:65463 [SIMPLE]
945304eb96065b2a98b57a48a06ae28d285a71b5: 0 #:0 @:56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421 $bedc266554be93140842bc6046b15b8493f63ab988181ee60ea394e2e78e0545
a94f5374fce5edbc8e2a8697c15331677e6ebf0b: 1 #:9999999999934537 [SIMPLE]
*** No errors detected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment