-
Notifications
You must be signed in to change notification settings - Fork 76
Retesteth commands
Download the test repo: https://github.com/ethereum/tests
By default retesteth
reads path to the test repo from env variable ETHEREUM_TEST_PATH
This could be overwritten with --testpath
option:
./retesteth -- --testpath "/path/to/the/test/repo"
Check default client config:
https://github.com/ethereum/tests/tree/develop/Retesteth/default
And create a config folder for you client.
https://github.com/ethereum/retesteth/wiki/Add-client-configuration-to-Retesteth
./retesteth -t GeneralStateTests -- --clients "default"
Replace "default"
with your newly created client config folder. If you configured the client to work via TCP socket, make sure that specified port is open and listening for connections by the instance of a client.
The basic tests suites to run:
GeneralStateTests - minimum EVM coverage of one transaction call execution testing opcode execution scenarios.
./retesteth -t GeneralStateTests --
BlockchainTests - tests with many blocks each block could have many transactions. including malicious blocks.
./retesteth -t BlockchainTests --