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

Includes difficulty tests for EIP2384 aka MuirGlacier.
pull/20752/head
meowsbits 5 years ago committed by GitHub
parent 556888c4a9
commit 0bdb21f0cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      tests/difficulty_test.go
  2. 2
      tests/testdata

@ -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
Loading…
Cancel
Save