Skip to content

Commit

Permalink
tests: tests/testdata merged with ethereum/tests@develop
Browse files Browse the repository at this point in the history
Includes configuration support for new Difficulty tests
with EIP2384.

Signed-off-by: meows <b5c6@protonmail.com>
  • Loading branch information
meowsbits committed Mar 6, 2020
1 parent 6c980bf commit cb7bc59
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions tests/difficulty_test_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,14 @@ var difficultyChainConfigurations = map[string]ctypes.ChainConfigurator{
EIP2200FBlock: big.NewInt(0), // Petersburg
DisposalBlock: big.NewInt(0),
},
"EIP2384": &goethereum.ChainConfig{
Ethash: new(ctypes.EthashConfig),
HomesteadBlock: big.NewInt(0),
ByzantiumBlock: big.NewInt(0),
ConstantinopleBlock: big.NewInt(0),
IstanbulBlock: big.NewInt(0),
MuirGlacierBlock: big.NewInt(0),
},
}

type DifficultyTest struct {
Expand Down
2 changes: 1 addition & 1 deletion tests/testdata
Submodule testdata updated 1323 files

0 comments on commit cb7bc59

Please sign in to comment.