Skip to content

Instantly share code, notes, and snippets.

ethereum/tests/test_state.py DEBUG:root running test:'call_OOG_additionalGasCosts1' in '../fixtures/GeneralStateTests/stTest/call_OOG_additionalGasCosts1.json'
Verifying state test
Testing for Byzantium
Checking for values: g 30000 v 0 d 0x (indexes g 0 v 0 d 0)
DEBUG:eth.pb.tx TX NEW txdict={'nonce': 0, 'gasprice': 1, 'startgas': 30000, 'to': '0x1000000000000000000000000000000000000000', 'value': 0, 'data': '0x', 'v': 27, 'r': 50415895627259968624139904459091557242392994223712411832230948435819815598271, 's': 37830658489601452908686572182822234897977935569259462575426534625003775242715, 'sender': '0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b', 'hash': '0xbadb9810523b1f38aa0e06f971483a3d988b60901b72f6053c218f7befb0cb78'}
DEBUG:eth.pb.msg MSG APPLY sender=a94f5374fce5edbc8e2a8697c15331677e6ebf0b to=1000000000000000000000000000000000000000 gas=9000 value=0 codelen=35 data= pre_storage={'balance': '1000000000000000000', 'nonce': '0', 'code': '0x60406000604060006000731000000000000000000000000000000000000001611770f
Running tests using path: "/home/ewasm/hugo-dc/cpp-ethereum/test/jsontests"
Running 1 test case...
Test Case "stCallCodes":
100%
[{"depth":"0","gas":"29979000","gasCost":"3","memory":[],"op":"PUSH1","pc":"0","stack":[],"storage":{}},
{"depth":"0","gas":"29978997","gasCost":"3","op":"PUSH1","pc":"2","stack":["0x40"]},
{"depth":"0","gas":"29978994","gasCost":"3","op":"PUSH1","pc":"4","stack":["0x40","0x00"]},
{"depth":"0","gas":"29978991","gasCost":"3","op":"PUSH1","pc":"6","stack":["0x40","0x00","0x40"]},
{"depth":"0","gas":"29978988","gasCost":"3","op":"PUSH1","pc":"8","stack":["0x40","0x00","0x40","0x00"]},
{"depth":"0","gas":"29978985","gasCost":"3","op":"PUSHC","pc":"10","stack":["0x40","0x00","0x40","0x00","0x00"]},
Running tests using path: "/home/ewasm/hugo-dc/cpp-ethereum/test/jsontests"
Running 1 test case...
Test Case "stCallCodes":
100%
[{"depth":"0","gas":"29979000","gasCost":"3","memory":[],"op":"PUSH1","pc":"0","stack":[],"storage":{}},
{"depth":"0","gas":"29978997","gasCost":"3","op":"PUSH1","pc":"2","stack":["0x40"]},
{"depth":"0","gas":"29978994","gasCost":"3","op":"PUSH1","pc":"4","stack":["0x40","0x00"]},
{"depth":"0","gas":"29978991","gasCost":"3","op":"PUSH1","pc":"6","stack":["0x40","0x00","0x40"]},
{"depth":"0","gas":"29978988","gasCost":"3","op":"PUSH1","pc":"8","stack":["0x40","0x00","0x40","0x00"]},
{"depth":"0","gas":"29978985","gasCost":"3","op":"PUSHC","pc":"10","stack":["0x40","0x00","0x40","0x00","0x00"]},
Running tests using path: "/home/ewasm/hugo-dc/cpp-ethereum/test/jsontests"
Running 1 test case...
Test Case "stCallCodes":
100%
[{"depth":"0","gas":"29979000","gasCost":"3","memory":[],"op":"PUSH1","pc":"0","stack":[],"storage":{}},
{"depth":"0","gas":"29978997","gasCost":"3","op":"PUSH1","pc":"2","stack":["0x40"]},
{"depth":"0","gas":"29978994","gasCost":"3","op":"PUSH1","pc":"4","stack":["0x40","0x00"]},
{"depth":"0","gas":"29978991","gasCost":"3","op":"PUSH1","pc":"6","stack":["0x40","0x00","0x40"]},
{"depth":"0","gas":"29978988","gasCost":"3","op":"PUSH1","pc":"8","stack":["0x40","0x00","0x40","0x00"]},
{"depth":"0","gas":"29978985","gasCost":"3","op":"PUSHC","pc":"10","stack":["0x40","0x00","0x40","0x00","0x00"]},
Running tests using path: "/home/ewasm/hugo-dc/cpp-ethereum/test/jsontests"
Running 1 test case...
Test Case "stCallCodes":
100%
[{"depth":"0","gas":"29979000","gasCost":"3","memory":[],"op":"PUSH1","pc":"0","stack":[],"storage":{}},
{"depth":"0","gas":"29978997","gasCost":"3","op":"PUSH1","pc":"2","stack":["0x40"]},
{"depth":"0","gas":"29978994","gasCost":"3","op":"PUSH1","pc":"4","stack":["0x40","0x00"]},
{"depth":"0","gas":"29978991","gasCost":"3","op":"PUSH1","pc":"6","stack":["0x40","0x00","0x40"]},
{"depth":"0","gas":"29978988","gasCost":"3","op":"PUSH1","pc":"8","stack":["0x40","0x00","0x40","0x00"]},
{"depth":"0","gas":"29978985","gasCost":"3","op":"PUSHC","pc":"10","stack":["0x40","0x00","0x40","0x00","0x00"]},
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":["0x0186a0f26000550000000000000000000000
test/testeth -t GeneralStateTests/stCallCodes -- --testpath /home/ewasm/hugo-dc/cpp-ethereum/test/jsontests --singlenet "Byzantium" --singletest callcodeInInitcodeToExistingContract --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":["0x0186a0f260005500000000000000000000000000000000000000
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":["0x0186a0f260005500000000000000000000000
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":["0x0186a0f2600055000000000000000000000000000000000000000000