Created
May 31, 2018 04:33
-
-
Save lrettig/89bd77db5091e943eb98d31ac612c405 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> PATH=$PATH:~/eth/evm2wasm/bin ~/eth/cpp-ethereum/build/test/testeth -t GeneralStateTests/stCallCodes -- --testpath ~/eth/cpp-ethereum4-evmtrace/test/jsontests --singlenet "Byzantium" --vm ~/eth/hera/build/src/libhera.dylib --evmc evm2wasm.js-trace=true --evmc evm2wasm.js-keepfiles=true --singletest callcodeDynamicCode --vmtrace --jsontrace '' | |
Running tests using path: "/Users/lanerettig/eth/cpp-ethereum4-evmtrace/test/jsontests" | |
Running 1 test case... | |
Test Case "stCallCodes": | |
100% | |
TEST callcodeDynamicCode: | |
Checking jsontrace option | |
jsontrace on | |
2018-05-31 01:28:30 exec Paying 453.08 Kwei from sender for gas (453081 gas at 1 wei) | |
RECEIVED EVM MESSAGE | |
gas: 432081 | |
data length: 0 | |
7f716860016000553360145560005260096017f36000526012600e6001f0600a556000527f6040600060406000600073ffe4ebd2a68c02d9dcb0a17283d13346beb2d8b6626020527f0186a0f2600b5500000000000000000000000000000000000000000000000000604052606060006001f0 | |
Calling evm2wasm.js (input 115 bytes)... | |
Input data: 7f716860016000553360145560005260096017f36000526012600e6001f0600a556000527f6040600060406000600073ffe4ebd2a68c02d9dcb0a17283d13346beb2d8b6626020527f0186a0f2600b5500000000000000000000000000000000000000000000000000604052606060006001f0 | |
(Calling evm2wasm.js with command: evm2wasm.js -e /tmp/hera.evm2wasm.evm.EQFnP8 -o /tmp/hera.evm2wasm.wasm.S7qRih --charge-per-op --trace) | |
(Calling evm2wasm.js for WAST output with command: evm2wasm.js -e /tmp/hera.evm2wasm.evm.EQFnP8 -o /tmp/hera.evm2wasm.wast.OiR0nL --charge-per-op --wast) | |
evm2wasm.js done (output 1533 bytes) | |
Executing... | |
importGlobals | |
evmTrace | |
{"depth":0,"gas":432081,"gasCost":3,"op":PUSH32,"pc":0,"stack":[]} | |
useGas 3 | |
Attempting to take gas: 3 | |
Gas taken, remaining: 432078 | |
evmTrace | |
{"depth":0,"gas":432078,"gasCost":3,"op":PUSH1,"pc":33,"stack":["0x716860016000553360145560005260096017f36000526012600e6001f0600a55"]} | |
useGas 3 | |
Attempting to take gas: 3 | |
Gas taken, remaining: 432075 | |
evmTrace | |
{"depth":0,"gas":432075,"gasCost":3,"op":MSTORE,"pc":35,"stack":["0x716860016000553360145560005260096017f36000526012600e6001f0600a55","0x0000000000000000000000000000000000000000000000000000000000000000"]} | |
useGas 3 | |
Attempting to take gas: 3 | |
Gas taken, remaining: 432072 | |
useGas 3 | |
Attempting to take gas: 3 | |
Gas taken, remaining: 432069 | |
evmTrace | |
{"depth":0,"gas":432069,"gasCost":3,"op":PUSH32,"pc":36,"stack":[]} | |
useGas 3 | |
Attempting to take gas: 3 | |
Gas taken, remaining: 432066 | |
evmTrace | |
{"depth":0,"gas":432066,"gasCost":3,"op":PUSH1,"pc":69,"stack":["0x6040600060406000600073ffe4ebd2a68c02d9dcb0a17283d13346beb2d8b662"]} | |
useGas 3 | |
Attempting to take gas: 3 | |
Gas taken, remaining: 432063 | |
evmTrace | |
{"depth":0,"gas":432063,"gasCost":3,"op":MSTORE,"pc":71,"stack":["0x6040600060406000600073ffe4ebd2a68c02d9dcb0a17283d13346beb2d8b662","0x0000000000000000000000000000000000000000000000000000000000000020"]} | |
useGas 3 | |
Attempting to take gas: 3 | |
Gas taken, remaining: 432060 | |
useGas 3 | |
Attempting to take gas: 3 | |
Gas taken, remaining: 432057 | |
evmTrace | |
{"depth":0,"gas":432057,"gasCost":3,"op":PUSH32,"pc":72,"stack":[]} | |
useGas 3 | |
Attempting to take gas: 3 | |
Gas taken, remaining: 432054 | |
evmTrace | |
{"depth":0,"gas":432054,"gasCost":3,"op":PUSH1,"pc":105,"stack":["0x0186a0f2600b5500000000000000000000000000000000000000000000000000"]} | |
useGas 3 | |
Attempting to take gas: 3 | |
Gas taken, remaining: 432051 | |
evmTrace | |
{"depth":0,"gas":432051,"gasCost":3,"op":MSTORE,"pc":107,"stack":["0x0186a0f2600b5500000000000000000000000000000000000000000000000000","0x0000000000000000000000000000000000000000000000000000000000000040"]} | |
useGas 3 | |
Attempting to take gas: 3 | |
Gas taken, remaining: 432048 | |
useGas 3 | |
Attempting to take gas: 3 | |
Gas taken, remaining: 432045 | |
evmTrace | |
{"depth":0,"gas":432045,"gasCost":3,"op":PUSH1,"pc":108,"stack":[]} | |
useGas 3 | |
Attempting to take gas: 3 | |
Gas taken, remaining: 432042 | |
evmTrace | |
{"depth":0,"gas":432042,"gasCost":3,"op":PUSH1,"pc":110,"stack":["0x0000000000000000000000000000000000000000000000000000000000000060"]} | |
useGas 3 | |
Attempting to take gas: 3 | |
Gas taken, remaining: 432039 | |
evmTrace | |
{"depth":0,"gas":432039,"gasCost":3,"op":PUSH1,"pc":112,"stack":["0x0000000000000000000000000000000000000000000000000000000000000060","0x0000000000000000000000000000000000000000000000000000000000000000"]} | |
useGas 3 | |
Attempting to take gas: 3 | |
Gas taken, remaining: 432036 | |
evmTrace | |
{"depth":0,"gas":432036,"gasCost":0,"op":CREATE,"pc":114,"stack":["0x0000000000000000000000000000000000000000000000000000000000000060","0x0000000000000000000000000000000000000000000000000000000000000000","0x0000000000000000000000000000000000000000000000000000000000000001"]} | |
useGas 0 | |
Attempting to take gas: 0 | |
Gas taken, remaining: 432036 | |
create 40 8428 60 0 | |
Taking GasSchedule::create | |
Attempting to take gas: 32000 | |
Gas taken, remaining: 400036 | |
CREATE message data of length 96: 716860016000553360145560005260096017f36000526012600e6001f0600a556040600060406000600073ffe4ebd2a68c02d9dcb0a17283d13346beb2d8b6620186a0f2600b5500000000000000000000000000000000000000000000000000 | |
serialization: 716860016000553360145560005260096017f36000526012600e6001f0600a556040600060406000600073ffe4ebd2a68c02d9dcb0a17283d13346beb2d8b6620186a0f2600b5500000000000000000000000000000000000000000000000000 | |
Taking create_message.gas | |
Attempting to take gas: 393786 | |
Gas taken, remaining: 6250 | |
Calling CREATE | |
executeCreate _init code: 00acb9110100000060145560005260096017f36000526012600e6001f0600a556040600060406000600073ffe4ebd2a68c02d9dcb0a17283d13346beb2d8b6620186a0f2600b5500000000000000000000000000000000000000000000000000 | |
RECEIVED EVM MESSAGE | |
gas: 393786 | |
data length: 0 | |
00acb9110100000060145560005260096017f36000526012600e6001f0600a556040600060406000600073ffe4ebd2a68c02d9dcb0a17283d13346beb2d8b6620186a0f2600b5500000000000000000000000000000000000000000000000000 | |
Calling evm2wasm.js (input 96 bytes)... | |
Input data: 00acb9110100000060145560005260096017f36000526012600e6001f0600a556040600060406000600073ffe4ebd2a68c02d9dcb0a17283d13346beb2d8b6620186a0f2600b5500000000000000000000000000000000000000000000000000 | |
(Calling evm2wasm.js with command: evm2wasm.js -e /tmp/hera.evm2wasm.evm.K6THyp -o /tmp/hera.evm2wasm.wasm.5KZ0uz --charge-per-op --trace) | |
(Calling evm2wasm.js for WAST output with command: evm2wasm.js -e /tmp/hera.evm2wasm.evm.K6THyp -o /tmp/hera.evm2wasm.wast.QKT068 --charge-per-op --wast) | |
evm2wasm.js done (output 243 bytes) | |
Executing... | |
importGlobals | |
evmTrace | |
{"depth":1,"gas":393786,"gasCost":0,"op":STOP,"pc":0,"stack":[]} | |
useGas 0 | |
Attempting to take gas: 0 | |
Gas taken, remaining: 393786 | |
expected none, seeing i32 from | |
(call $fimport$0 | |
(get_global $global$1) | |
(get_local $0) | |
(get_local $1) | |
(i32.add | |
(get_global $global$1) | |
(i32.const -64) | |
) | |
) | |
Assertion failed: (ret.value.type == curr->type), function visit, file /Users/lanerettig/eth/hera/build/deps/src/binaryen/src/wasm-interpreter.h, line 129. | |
unknown location:0: fatal error: in "GeneralStateTests/stCallCodes": signal: SIGABRT (application abort requested) | |
/Users/lanerettig/wip/eth/cpp-ethereum-10-vmtrace/test/tools/libtesteth/TestHelper.cpp:622: last checkpoint | |
*** 1 failure is detected (5 failures are expected) in the test module "Master Test Suite" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment