Skip to content

Instantly share code, notes, and snippets.

@lrettig
Created May 31, 2018 04:34
Show Gist options
  • Save lrettig/17e00c2847d9ca13781aa5c6ff1d2d83 to your computer and use it in GitHub Desktop.
Save lrettig/17e00c2847d9ca13781aa5c6ff1d2d83 to your computer and use it in GitHub Desktop.
> ~/eth/cpp-ethereum-10-vmtrace/build/test/testeth -t GeneralStateTests/stCallCodes -- --testpath ~/eth/cpp-ethereum4-evmtrace/test/jsontests --singlenet "Byzantium" --singletest callcodeDynamicCode --jsontrace ''
Running tests using path: "/Users/lanerettig/eth/cpp-ethereum4-evmtrace/test/jsontests"
Running 1 test case...
Test Case "stCallCodes":
100%
Checking jsontrace option
jsontrace on
{"depth":"0","gas":"432081","gasCost":"3","memory":[],"op":"PUSHC","pc":"0","stack":[],"storage":{}}
{"depth":"0","gas":"432078","gasCost":"3","op":"PUSH1","pc":"33","stack":["0x716860016000553360145560005260096017f36000526012600e6001f0600a55"]}
{"depth":"0","gas":"432075","gasCost":"3","op":"MSTORE","pc":"35","stack":["0x716860016000553360145560005260096017f36000526012600e6001f0600a55","0x00"]}
{"depth":"0","gas":"432069","gasCost":"3","memory":["716860016000553360145560005260096017f36000526012600e6001f0600a55"],"op":"PUSHC","pc":"36","stack":[]}
{"depth":"0","gas":"432066","gasCost":"3","op":"PUSH1","pc":"69","stack":["0x6040600060406000600073ffe4ebd2a68c02d9dcb0a17283d13346beb2d8b662"]}
{"depth":"0","gas":"432063","gasCost":"3","op":"MSTORE","pc":"71","stack":["0x6040600060406000600073ffe4ebd2a68c02d9dcb0a17283d13346beb2d8b662","0x20"]}
{"depth":"0","gas":"432057","gasCost":"3","memory":["716860016000553360145560005260096017f36000526012600e6001f0600a55","6040600060406000600073ffe4ebd2a68c02d9dcb0a17283d13346beb2d8b662"],"op":"PUSHC","pc":"72","stack":[]}
{"depth":"0","gas":"432054","gasCost":"3","op":"PUSH1","pc":"105","stack":["0x0186a0f2600b5500000000000000000000000000000000000000000000000000"]}
{"depth":"0","gas":"432051","gasCost":"3","op":"MSTORE","pc":"107","stack":["0x0186a0f2600b5500000000000000000000000000000000000000000000000000","0x40"]}
{"depth":"0","gas":"432045","gasCost":"3","memory":["716860016000553360145560005260096017f36000526012600e6001f0600a55","6040600060406000600073ffe4ebd2a68c02d9dcb0a17283d13346beb2d8b662","0186a0f2600b5500000000000000000000000000000000000000000000000000"],"op":"PUSH1","pc":"108","stack":[]}
{"depth":"0","gas":"432042","gasCost":"3","op":"PUSH1","pc":"110","stack":["0x60"]}
{"depth":"0","gas":"432039","gasCost":"3","op":"PUSH1","pc":"112","stack":["0x60","0x00"]}
{"depth":"0","gas":"432036","gasCost":"0","op":"CREATE","pc":"114","stack":["0x60","0x00","0x01"]}
{"depth":"1","gas":"393786","gasCost":"3","memory":[],"op":"PUSHC","pc":"0","stack":[],"storage":{}}
{"depth":"1","gas":"393783","gasCost":"3","op":"PUSH1","pc":"19","stack":["0x6860016000553360145560005260096017f3"]}
{"depth":"1","gas":"393780","gasCost":"3","op":"MSTORE","pc":"21","stack":["0x6860016000553360145560005260096017f3","0x00"]}
{"depth":"1","gas":"393774","gasCost":"3","memory":["00000000000000000000000000006860016000553360145560005260096017f3"],"op":"PUSH1","pc":"22","stack":[]}
{"depth":"1","gas":"393771","gasCost":"3","op":"PUSH1","pc":"24","stack":["0x12"]}
{"depth":"1","gas":"393768","gasCost":"3","op":"PUSH1","pc":"26","stack":["0x12","0x0e"]}
{"depth":"1","gas":"393765","gasCost":"0","op":"CREATE","pc":"28","stack":["0x12","0x0e","0x01"]}
{"depth":"2","gas":"356113","gasCost":"3","memory":[],"op":"PUSHC","pc":"0","stack":[],"storage":{}}
{"depth":"2","gas":"356110","gasCost":"3","op":"PUSH1","pc":"10","stack":["0x600160005533601455"]}
{"depth":"2","gas":"356107","gasCost":"3","op":"MSTORE","pc":"12","stack":["0x600160005533601455","0x00"]}
{"depth":"2","gas":"356101","gasCost":"3","memory":["0000000000000000000000000000000000000000000000600160005533601455"],"op":"PUSH1","pc":"13","stack":[]}
{"depth":"2","gas":"356098","gasCost":"3","op":"PUSH1","pc":"15","stack":["0x09"]}
{"depth":"2","gas":"356095","gasCost":"0","op":"RETURN","pc":"17","stack":["0x09","0x17"]}
{"depth":"1","gas":"359947","gasCost":"3","memory":["00000000000000000000000000006860016000553360145560005260096017f3"],"op":"PUSH1","pc":"29","stack":["0x568a95f77b047bece6aa68843d2019332c46a585"]}
{"depth":"1","gas":"359944","gasCost":"0","memory":["00000000000000000000000000006860016000553360145560005260096017f3"],"op":"SSTORE","pc":"31","stack":["0x568a95f77b047bece6aa68843d2019332c46a585","0x0a"]}
{"depth":"1","gas":"339944","gasCost":"3","op":"PUSH1","pc":"32","stack":[],"storage":{"0x0a":"0x568a95f77b047bece6aa68843d2019332c46a585"}}
{"depth":"1","gas":"339941","gasCost":"3","op":"PUSH1","pc":"34","stack":["0x40"]}
{"depth":"1","gas":"339938","gasCost":"3","op":"PUSH1","pc":"36","stack":["0x40","0x00"]}
{"depth":"1","gas":"339935","gasCost":"3","op":"PUSH1","pc":"38","stack":["0x40","0x00","0x40"]}
{"depth":"1","gas":"339932","gasCost":"3","op":"PUSH1","pc":"40","stack":["0x40","0x00","0x40","0x00"]}
{"depth":"1","gas":"339929","gasCost":"3","op":"PUSHC","pc":"42","stack":["0x40","0x00","0x40","0x00","0x00"]}
{"depth":"1","gas":"339926","gasCost":"3","op":"PUSH3","pc":"63","stack":["0x40","0x00","0x40","0x00","0x00","0xffe4ebd2a68c02d9dcb0a17283d13346beb2d8b6"]}
{"depth":"1","gas":"339923","gasCost":"0","op":"CALLCODE","pc":"67","stack":["0x40","0x00","0x40","0x00","0x00","0xffe4ebd2a68c02d9dcb0a17283d13346beb2d8b6","0x0186a0"]}
{"depth":"1","gas":"339220","gasCost":"3","memory":["00000000000000000000000000006860016000553360145560005260096017f3","0000000000000000000000000000000000000000000000000000000000000000"],"op":"PUSH1","pc":"68","stack":["0x01"]}
{"depth":"1","gas":"339217","gasCost":"0","op":"SSTORE","pc":"70","stack":["0x01","0x0b"]}
{"depth":"1","gas":"319217","gasCost":"0","op":"STOP","pc":"71","stack":[],"storage":{"0x0a":"0x568a95f77b047bece6aa68843d2019332c46a585","0x0b":"0x01"}}
{"depth":"0","gas":"325467","gasCost":"0","memory":["716860016000553360145560005260096017f36000526012600e6001f0600a55","6040600060406000600073ffe4ebd2a68c02d9dcb0a17283d13346beb2d8b662","0186a0f2600b5500000000000000000000000000000000000000000000000000"],"op":"STOP","pc":"115","stack":["0x13136008b64ff592819b2fa6d43f2835c452020e"]}
{"stateRoot": "41e3f2ade5c27789716737d703559dd8a53f868baf7a876c408fcdb48d0df9b7"}
*** No errors detected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment