tests: update tests/testdata@develop, include EIP2384 config (#20746)

Includes difficulty tests for EIP2384 aka MuirGlacier.
This commit is contained in:
meowsbits 2020-03-10 04:55:27 -05:00 committed by GitHub
parent 556888c4a9
commit 0bdb21f0cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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