Skip to content
This repository has been archived by the owner on Oct 4, 2019. It is now read-only.

Commit

Permalink
problem: new chainid implementation requires updated test config
Browse files Browse the repository at this point in the history
solution: include Diehard with features in /core test config
  • Loading branch information
whilei committed May 10, 2017
1 parent f184911 commit 334ec29
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions core/block_validator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,31 @@ func testChainConfig() *ChainConfig {
},
},
},
{
Name: "Diehard",
Block: big.NewInt(5),
Features: []*ForkFeature{
{
ID: "eip155",
Options: ChainFeatureConfigOptions{
"chainID": 62,
},
},
{ // ecip1010 bomb delay
ID: "gastable",
Options: ChainFeatureConfigOptions{
"type": "eip160",
},
},
{ // ecip1010 bomb delay
ID: "difficulty",
Options: ChainFeatureConfigOptions{
"type": "ecip1010",
"length": 2000000,
},
},
},
},
},
}
}
Expand Down

0 comments on commit 334ec29

Please sign in to comment.