mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
tests: use non-constantinople ropsten for difficulty tests
This commit is contained in:
parent
58e868b759
commit
259a4ccb08
1 changed files with 16 additions and 1 deletions
|
|
@ -37,6 +37,21 @@ var (
|
|||
EIP158Block: big.NewInt(2675000),
|
||||
ByzantiumBlock: big.NewInt(4370000),
|
||||
}
|
||||
|
||||
// Ropsten without the Constantinople bump in bomb delay
|
||||
RopstenNoConstantinople = params.ChainConfig{
|
||||
ChainID: big.NewInt(3),
|
||||
HomesteadBlock: big.NewInt(0),
|
||||
DAOForkBlock: nil,
|
||||
DAOForkSupport: true,
|
||||
EIP150Block: big.NewInt(0),
|
||||
EIP150Hash: common.HexToHash("0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d"),
|
||||
EIP155Block: big.NewInt(10),
|
||||
EIP158Block: big.NewInt(10),
|
||||
ByzantiumBlock: big.NewInt(1700000),
|
||||
ConstantinopleBlock: nil,
|
||||
}
|
||||
|
||||
)
|
||||
|
||||
func TestDifficulty(t *testing.T) {
|
||||
|
|
@ -56,7 +71,7 @@ func TestDifficulty(t *testing.T) {
|
|||
dt.skipLoad("difficultyMorden\\.json")
|
||||
dt.skipLoad("difficultyOlimpic\\.json")
|
||||
|
||||
dt.config("Ropsten", *params.TestnetChainConfig)
|
||||
dt.config("Ropsten", RopstenNoConstantinople)
|
||||
dt.config("Morden", *params.TestnetChainConfig)
|
||||
dt.config("Frontier", params.ChainConfig{})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue