I stubbled on an issue while testing v0.1.1-eip1559 against a client that doesn't support the London fork.
From my understanding, the config "forks" section lists the supported fork versions of the client under testing.
When "London" is not present, launching retesteth ends up with the following error:
➜ retesteth ./dretesteth.sh -t BlockchainTests/ValidBlocks/bcGasPricerTest -- --testpath ~/tools/retesteth/tests --datadir /tests/config --verbosity 6 --singletest RPC_API_Test --nodes redacted.client.address --clients besu --singlenet Istanbul
Running 1 test case...
Running tests using path: /tests
Active client configurations: 'besu '
Checking test filler hashes for BlockchainTests/ValidBlocks/bcGasPricerTest
Filter: 'RPC_API_Test Istanbul'
Running tests for config 'Hyperledger Besu on TCP' 2
Test Case "bcGasPricerTest":
100%
Run new connection session for `8525014079904741544`
addr: 192.168.65.2:8546
New instance started
Running RPC_API_Test: (8525014079904741544)
Parse test
Parse test done
Running RPC_API_Test_Istanbul
Finishing retesteth run
/retesteth/retesteth/TestOutputHelper.cpp(208): error: in "BlockchainTests/ValidBlocks/bcGasPricerTest":
*** Total Tests Run: 0
Error: Fork name `London` not found in current config! (bcGasPricerTest/RPC_API_Test_Istanbul, fork: Istanbul, block: 0)
--------
TestOutputHelper detected 1 errors during test execution!
*** 1 failure is detected in the test module "Master Test Suite"
Error: Fork name `London` not found in current config! (bcGasPricerTest/RPC_API_Test_Istanbul, fork: Istanbul, block: 0)
even when explicitely specifying a version with --singlenet.
How to reproduce:
- remove the London entry in the fork section of the config file (see attached sample config, taken from default besu config)
config.txt
Expected behaviour:
- retesteth starts and run the tests according to parameters
Observed behaviour:
- retesteth fails to init due to missing london fork in config file
I stubbled on an issue while testing v0.1.1-eip1559 against a client that doesn't support the London fork.
From my understanding, the config "forks" section lists the supported fork versions of the client under testing.
When "London" is not present, launching retesteth ends up with the following error:
even when explicitely specifying a version with --singlenet.
How to reproduce:
config.txt
Expected behaviour:
Observed behaviour: