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 callcall_00_OOGE_valueTransfer --jsontrace ''
Running tests using path: "/home/ewasm/hugo-dc/cpp-ethereum/test/jsontests"
Running 1 test case...
Test Case "stCallCodes":
100%
[{"depth":"0","gas":"150744","gasCost":"3","memory":[],"op":"PUSH1","pc":"0","stack":[],"storage":{}},
{"depth":"0","gas":"150741","gasCost":"3","op":"CALLDATALOAD","pc":"2","stack":["0x00"]},
{"depth":"0","gas":"150738","gasCost":"3","op":"PUSH1","pc":"3","stack":["0x01f4"]},
{"depth":"0","gas":"150735","gasCost":"3","op":"MSTORE","pc":"5","stack":["0x01f4","0x00"]},
{"depth":"0","gas":"150729","gasCost":"3","memory":["00000000000000000000000000000000000000000000000000000000000001f4"],"op":"PUSH1","pc":"6","stack":[]},
{"depth":"0","gas":"150726","gasCost":"3","op":"PUSH1","pc":"8","stack":["0x40"]},
{"depth":"0","gas":"150723","gasCost":"3","op":"PUSH1","pc":"10","stack":["0x40","0x00"]},
{"depth":"0","gas":"150720","gasCost":"3","op":"PUSH1","pc":"12","stack":["0x40","0x00","0x40"]},
{"depth":"0","gas":"150717","gasCost":"3","op":"PUSH1","pc":"14","stack":["0x40","0x00","0x40","0x00"]},
{"depth":"0","gas":"150714","gasCost":"3","op":"PUSHC","pc":"16","stack":["0x40","0x00","0x40","0x00","0x14"]},
{"depth":"0","gas":"150711","gasCost":"3","op":"PUSH3","pc":"37","stack":["0x40","0x00","0x40","0x00","0x14","0x1000000000000000000000000000000000000001"]},
{"depth":"0","gas":"150708","gasCost":"0","op":"CALL","pc":"41","stack":["0x40","0x00","0x40","0x00","0x14","0x1000000000000000000000000000000000000001","0x0249f0"]},
{"depth":"1","gas":"141102","gasCost":"3","memory":[],"op":"PUSH1","pc":"0","stack":[],"storage":{}},
{"depth":"1","gas":"141099","gasCost":"3","op":"PUSH1","pc":"2","stack":["0x40"]},
{"depth":"1","gas":"141096","gasCost":"3","op":"PUSH1","pc":"4","stack":["0x40","0x00"]},
{"depth":"1","gas":"141093","gasCost":"3","op":"PUSH1","pc":"6","stack":["0x40","0x00","0x40"]},
{"depth":"1","gas":"141090","gasCost":"3","op":"PUSH1","pc":"8","stack":["0x40","0x00","0x40","0x00"]},
{"depth":"1","gas":"141087","gasCost":"3","op":"PUSHC","pc":"10","stack":["0x40","0x00","0x40","0x00","0x0a"]},
{"depth":"1","gas":"141084","gasCost":"3","op":"PUSH1","pc":"31","stack":["0x40","0x00","0x40","0x00","0x0a","0x1000000000000000000000000000000000000002"]},
{"depth":"1","gas":"141081","gasCost":"3","op":"CALLDATALOAD","pc":"33","stack":["0x40","0x00","0x40","0x00","0x0a","0x1000000000000000000000000000000000000002","0x00"]},
{"depth":"1","gas":"141078","gasCost":"0","op":"CALL","pc":"34","stack":["0x40","0x00","0x40","0x00","0x0a","0x1000000000000000000000000000000000000002","0x01f4"]},
{"depth":"2","gas":"2800","gasCost":"3","memory":[],"op":"PUSH1","pc":"0","stack":[],"storage":{}},
{"depth":"2","gas":"2797","gasCost":"3","op":"PUSH1","pc":"2","stack":["0x01"]},
{"depth":"2","gas":"2794","gasCost":"0","op":"SSTORE","pc":"4","stack":["0x01","0x02"]},
{"depth":"1","gas":"130872","gasCost":"3","memory":["0000000000000000000000000000000000000000000000000000000000000000","0000000000000000000000000000000000000000000000000000000000000000"],"op":"PUSH1","pc":"35","stack":["0x00"]},
{"depth":"1","gas":"130869","gasCost":"0","memory":["0000000000000000000000000000000000000000000000000000000000000000","0000000000000000000000000000000000000000000000000000000000000000"],"op":"SSTORE","pc":"37","stack":["0x00","0x01"]},
{"depth":"1","gas":"125869","gasCost":"0","op":"STOP","pc":"38","stack":[],"storage":{}},
{"depth":"0","gas":"128072","gasCost":"3","memory":["00000000000000000000000000000000000000000000000000000000000001f4","0000000000000000000000000000000000000000000000000000000000000000"],"op":"PUSH1","pc":"42","stack":["0x01"]},
{"depth":"0","gas":"128069","gasCost":"0","memory":["00000000000000000000000000000000000000000000000000000000000001f4","0000000000000000000000000000000000000000000000000000000000000000"],"op":"SSTORE","pc":"44","stack":["0x01","0x00"]},
{"depth":"0","gas":"108069","gasCost":"0","op":"STOP","pc":"45","stack":[],"storage":{"0x00":"0x01"}}]
{"stateRoot": "a0cd16519becf11ddd65f0aa43e0e4dafdef18d87de8fe4ac3e396758e8fb0a5"}
[{"depth":"0","gas":"150744","gasCost":"3","memory":[],"op":"PUSH1","pc":"0","stack":[],"storage":{}},
{"depth":"0","gas":"150741","gasCost":"3","op":"CALLDATALOAD","pc":"2","stack":["0x00"]},
{"depth":"0","gas":"150738","gasCost":"3","op":"PUSH1","pc":"3","stack":["0x1388"]},
{"depth":"0","gas":"150735","gasCost":"3","op":"MSTORE","pc":"5","stack":["0x1388","0x00"]},
{"depth":"0","gas":"150729","gasCost":"3","memory":["0000000000000000000000000000000000000000000000000000000000001388"],"op":"PUSH1","pc":"6","stack":[]},
{"depth":"0","gas":"150726","gasCost":"3","op":"PUSH1","pc":"8","stack":["0x40"]},
{"depth":"0","gas":"150723","gasCost":"3","op":"PUSH1","pc":"10","stack":["0x40","0x00"]},
{"depth":"0","gas":"150720","gasCost":"3","op":"PUSH1","pc":"12","stack":["0x40","0x00","0x40"]},
{"depth":"0","gas":"150717","gasCost":"3","op":"PUSH1","pc":"14","stack":["0x40","0x00","0x40","0x00"]},
{"depth":"0","gas":"150714","gasCost":"3","op":"PUSHC","pc":"16","stack":["0x40","0x00","0x40","0x00","0x14"]},
{"depth":"0","gas":"150711","gasCost":"3","op":"PUSH3","pc":"37","stack":["0x40","0x00","0x40","0x00","0x14","0x1000000000000000000000000000000000000001"]},
{"depth":"0","gas":"150708","gasCost":"0","op":"CALL","pc":"41","stack":["0x40","0x00","0x40","0x00","0x14","0x1000000000000000000000000000000000000001","0x0249f0"]},
{"depth":"1","gas":"141102","gasCost":"3","memory":[],"op":"PUSH1","pc":"0","stack":[],"storage":{}},
{"depth":"1","gas":"141099","gasCost":"3","op":"PUSH1","pc":"2","stack":["0x40"]},
{"depth":"1","gas":"141096","gasCost":"3","op":"PUSH1","pc":"4","stack":["0x40","0x00"]},
{"depth":"1","gas":"141093","gasCost":"3","op":"PUSH1","pc":"6","stack":["0x40","0x00","0x40"]},
{"depth":"1","gas":"141090","gasCost":"3","op":"PUSH1","pc":"8","stack":["0x40","0x00","0x40","0x00"]},
{"depth":"1","gas":"141087","gasCost":"3","op":"PUSHC","pc":"10","stack":["0x40","0x00","0x40","0x00","0x0a"]},
{"depth":"1","gas":"141084","gasCost":"3","op":"PUSH1","pc":"31","stack":["0x40","0x00","0x40","0x00","0x0a","0x1000000000000000000000000000000000000002"]},
{"depth":"1","gas":"141081","gasCost":"3","op":"CALLDATALOAD","pc":"33","stack":["0x40","0x00","0x40","0x00","0x0a","0x1000000000000000000000000000000000000002","0x00"]},
{"depth":"1","gas":"141078","gasCost":"0","op":"CALL","pc":"34","stack":["0x40","0x00","0x40","0x00","0x0a","0x1000000000000000000000000000000000000002","0x1388"]},
{"depth":"2","gas":"7300","gasCost":"3","memory":[],"op":"PUSH1","pc":"0","stack":[],"storage":{}},
{"depth":"2","gas":"7297","gasCost":"3","op":"PUSH1","pc":"2","stack":["0x01"]},
{"depth":"2","gas":"7294","gasCost":"0","op":"SSTORE","pc":"4","stack":["0x01","0x02"]},
{"depth":"1","gas":"126372","gasCost":"3","memory":["0000000000000000000000000000000000000000000000000000000000000000","0000000000000000000000000000000000000000000000000000000000000000"],"op":"PUSH1","pc":"35","stack":["0x00"]},
{"depth":"1","gas":"126369","gasCost":"0","memory":["0000000000000000000000000000000000000000000000000000000000000000","0000000000000000000000000000000000000000000000000000000000000000"],"op":"SSTORE","pc":"37","stack":["0x00","0x01"]},
{"depth":"1","gas":"121369","gasCost":"0","op":"STOP","pc":"38","stack":[],"storage":{}},
{"depth":"0","gas":"123572","gasCost":"3","memory":["0000000000000000000000000000000000000000000000000000000000001388","0000000000000000000000000000000000000000000000000000000000000000"],"op":"PUSH1","pc":"42","stack":["0x01"]},
{"depth":"0","gas":"123569","gasCost":"0","memory":["0000000000000000000000000000000000000000000000000000000000001388","0000000000000000000000000000000000000000000000000000000000000000"],"op":"SSTORE","pc":"44","stack":["0x01","0x00"]},
{"depth":"0","gas":"103569","gasCost":"0","op":"STOP","pc":"45","stack":[],"storage":{"0x00":"0x01"}}]
{"stateRoot": "18f49ad2f2527eabe4cf24910a048341c7875650f34679a96db8fd6147af702b"}postState:
--- a0cd16519becf11ddd65f0aa43e0e4dafdef18d87de8fe4ac3e396758e8fb0a5
1000000000000000000000000000000000000000: 0 #:999999999999999980 @:821e2556a290c86405f8160a2d662042a431ba456b9db265c79bb837c04be5f0 $03f401891da9adfe419c90b9220ec72a6dc56581784823fcd234d00f1d08fc88
0: 1
1000000000000000000000000000000000000001: 0 #:20 @:56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421 $fcfc275324d56e06162b8cae20c64f1a55cea435a9ad4f0861572a56978cf29e
1000000000000000000000000000000000000002: 0 #:0 @:56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421 $527267c40335b04e1c48819cdd54034f860d3fcad00542d8cbd6a5b96f45b41c
2adc25665018aa1fe0e6bc666dac8fc2697ff9ba: 0 #:63931 [SIMPLE]
a94f5374fce5edbc8e2a8697c15331677e6ebf0b: 1 #:999999999999936069 [SIMPLE]
postState:
--- 18f49ad2f2527eabe4cf24910a048341c7875650f34679a96db8fd6147af702b
1000000000000000000000000000000000000000: 0 #:999999999999999980 @:821e2556a290c86405f8160a2d662042a431ba456b9db265c79bb837c04be5f0 $03f401891da9adfe419c90b9220ec72a6dc56581784823fcd234d00f1d08fc88
0: 1
1000000000000000000000000000000000000001: 0 #:20 @:56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421 $fcfc275324d56e06162b8cae20c64f1a55cea435a9ad4f0861572a56978cf29e
1000000000000000000000000000000000000002: 0 #:0 @:56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421 $527267c40335b04e1c48819cdd54034f860d3fcad00542d8cbd6a5b96f45b41c
2adc25665018aa1fe0e6bc666dac8fc2697ff9ba: 0 #:68431 [SIMPLE]
a94f5374fce5edbc8e2a8697c15331677e6ebf0b: 1 #:999999999999931569 [SIMPLE]
*** No errors detected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment