tests: update tests/testdata@develop, include EIP2384 config

Includes difficulty tests for EIP2384 aka MuirGlacier.

Signed-off-by: meows <b5c6@protonmail.com>
This commit is contained in:
meows 2020-03-06 08:56:26 -06:00
parent 556888c4a9
commit f7ed908d4a
No known key found for this signature in database
GPG key ID: 5786AEA5C8D5A520
2 changed files with 4 additions and 1 deletions

View file

@ -73,6 +73,9 @@ func TestDifficulty(t *testing.T) {
dt.config("Constantinople", params.ChainConfig{ dt.config("Constantinople", params.ChainConfig{
ConstantinopleBlock: big.NewInt(0), ConstantinopleBlock: big.NewInt(0),
}) })
dt.config("EIP2384", params.ChainConfig{
MuirGlacierBlock: big.NewInt(0),
})
dt.config("difficulty.json", mainnetChainConfig) dt.config("difficulty.json", mainnetChainConfig)
dt.walk(t, difficultyTestDir, func(t *testing.T, name string, test *DifficultyTest) { dt.walk(t, difficultyTestDir, func(t *testing.T, name string, test *DifficultyTest) {

@ -1 +1 @@
Subproject commit b5eb9900ee2147b40d3e681fe86efa4fd693959a Subproject commit 7497b116a019beb26215cbea4028df068dea06be