Aleth – Ethereum C++ client, tools and libraries
testeth -t <SUITE_NAME> -- --testfile <PATH>
to run the tests from file at any path. Use testeth -t <SUITE_NAME> -- --testfile <PATH> --singletest <TEST_NAME>
to run only single test from any file.testeth -t BlockchainTests
command now doesn't run the tests for the forks before Istanbul. To run those tests use a separate LegacyTests suite with command testeth -t LegacyTests/Constantinople/BlockchainTests
.testeth --jsontrace
command changed to better match output of geth's evm tool and to integrate with evmlab project.aleth-vm --codefile <PATH>
now reads bytecode file from path and aleth-vm --codefile - <bytecode>
now reads bytecode from standard input.eth_getTransactionByHash
, eth_getBlockByNumber
) return correct v
value.test_setChainParams
correctly initializes custom configuration of precompiled contracts.PUSHC
/JUMPC
/JUMPCI
in VM trace.debug_accountRangeAt
and eth_getTransactionCount
RPC functions to conform to Geth's output.-t
argument is not found.F
precompile.stChainId
, stSLoadTest
, stSelfBalance
tests for Istanbul.--network Istanbul
option.testeth -- --vmtrace
or aleth -v 4 --log-vmtrace
.--all
flag)-DROCKSB=ON
CMake option.BlockChainTests
suite is split into BlockChainTests/ValidBlocks
and BlockChainTests/InvalidBlocks
.testeth -t GeneralStateTests
and testeth -t BCGeneralStateTests
commands now don't run the tests for the forks before Istanbul. To run those tests use a separate LegacyTests
suite with commands testeth -t LegacyTests/Constantinople/GeneralStateTests
and testeth -t LegacyTests/Constantinople/BCGeneralStateTests -- --all
evmc_host_interface::call
callback.EVMC_INVALID_INSTRUCTION
when INVALID
opcode is encountered and EVMC_UNKNOWN_INSTRUCTION
for undefined opcodes.