Closed strauss-m closed 3 years ago
yes. even if one fork is selected. test is parsed for all present forks. make sure the London config exist for client besu in your data folder.
in config/besu/config file
"forks" : [
"Frontier",
"Homestead",
"EIP150",
"EIP158",
"Byzantium",
"Constantinople",
"ConstantinopleFix",
"Istanbul",
"Berlin",
"London"
],
in config/besu/genesis/London.json
{
"params" : {
"homesteadForkBlock" : "0x00",
"EIP150ForkBlock" : "0x00",
"EIP158ForkBlock" : "0x00",
"byzantiumForkBlock" : "0x00",
"constantinopleForkBlock" : "0x00",
"constantinopleFixForkBlock" : "0x00",
"istanbulForkBlock" : "0x00",
"berlinForkBlock" : "0x00",
"londonForkBlock" : "0x00",
"chainID" : "0x01"
},
"accounts" : {
}
}
in config/besu/genesis/correctMiningReward.json
{
"//comment" : "State Tests does not calculate mining reward in post conditions, so when filling a blockchain test out of it, the mining reward must be set",
"Frontier": "5000000000000000000",
"Homestead": "5000000000000000000",
"EIP150": "5000000000000000000",
"EIP158": "5000000000000000000",
"Byzantium": "3000000000000000000",
"Constantinople": "2000000000000000000",
"ConstantinopleFix": "2000000000000000000",
"Istanbul": "2000000000000000000",
"Berlin" : "2000000000000000000",
"London" : "2000000000000000000"
}
the latest retesteth develop or spdataobj branch have the London config for besu by default
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:
Expected behaviour:
Observed behaviour: