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/24659b388191dc2be6acd80472f06d06 to your computer and use it in GitHub Desktop.
Save hugo-dc/24659b388191dc2be6acd80472f06d06 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 callcodeInInitcodeToExistingContractWithValueTransfer --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","0x05"]},
{"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":"2","gas":"102300","gasCost":"3","memory":[],"op":"PUSH1","pc":"0","stack":[],"storage":{}},
{"depth":"2","gas":"102297","gasCost":"3","op":"PUSH1","pc":"2","stack":["0x01"]},
{"depth":"2","gas":"102294","gasCost":"0","op":"SSTORE","pc":"4","stack":["0x01","0x02"]},
{"depth":"2","gas":"82294","gasCost":"0","op":"STOP","pc":"5","stack":[],"storage":{"0x02":"0x01"}},
{"depth":"1","gas":"366365","gasCost":"3","memory":["0000000000000000000000000000000000000000000000000000000000000000","0000000000000000000000000000000000000000000000000000000000000000"],"op":"PUSH1","pc":"36","stack":["0x01"]},
{"depth":"1","gas":"366362","gasCost":"0","memory":["0000000000000000000000000000000000000000000000000000000000000000","0000000000000000000000000000000000000000000000000000000000000000"],"op":"SSTORE","pc":"38","stack":["0x01","0x00"]},
{"depth":"1","gas":"346362","gasCost":"0","op":"STOP","pc":"39","stack":[],"storage":{"0x00":"0x01","0x02":"0x01"}},
{"depth":"0","gas":"352612","gasCost":"0","memory":["6040600060406000600573945304eb96065b2a98b57a48a06ae28d285a71b562","0186a0f260005500000000000000000000000000000000000000000000000000"],"op":"STOP","pc":"79","stack":["0x13136008b64ff592819b2fa6d43f2835c452020e"]}]
{"stateRoot": "f98edc3fae7714d4f245414565d74b69a221627c7fdf7783a4cfc2f83951d5fa"}postState:
--- f98edc3fae7714d4f245414565d74b69a221627c7fdf7783a4cfc2f83951d5fa
1000000000000000000000000000000000000000: 1 #:9995 @:56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421 $2293e114eafbca0a28d6590d01bb406d4fd4db714b0c3020e5f7468438cc991b
13136008b64ff592819b2fa6d43f2835c452020e: 1 #:5 [SIMPLE]
2adc25665018aa1fe0e6bc666dac8fc2697ff9ba: 0 #:100469 [SIMPLE]
945304eb96065b2a98b57a48a06ae28d285a71b5: 0 #:0 @:56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421 $bedc266554be93140842bc6046b15b8493f63ab988181ee60ea394e2e78e0545
a94f5374fce5edbc8e2a8697c15331677e6ebf0b: 1 #:9999999999899531 [SIMPLE]
*** No errors detected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment