aboutsummaryrefslogtreecommitdiffstats
path: root/core/genesis_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/genesis_test.go')
-rw-r--r--core/genesis_test.go20
1 files changed, 0 insertions, 20 deletions
diff --git a/core/genesis_test.go b/core/genesis_test.go
index b02c0fa83..826a42c22 100644
--- a/core/genesis_test.go
+++ b/core/genesis_test.go
@@ -105,26 +105,6 @@ func TestSetupGenesis(t *testing.T) {
wantConfig: params.TestnetChainConfig,
},
{
- name: "custom block in DB, genesis == taipei",
- fn: func(db ethdb.Database) (*params.ChainConfig, common.Hash, error) {
- customg.MustCommit(db)
- return SetupGenesisBlock(db, DefaultTaipeiGenesisBlock())
- },
- wantErr: &GenesisMismatchError{Stored: customghash, New: params.TaipeiGenesisHash},
- wantHash: params.TaipeiGenesisHash,
- wantConfig: params.TaipeiChainConfig,
- },
- {
- name: "custom block in DB, genesis == yilan",
- fn: func(db ethdb.Database) (*params.ChainConfig, common.Hash, error) {
- customg.MustCommit(db)
- return SetupGenesisBlock(db, DefaultYilanGenesisBlock())
- },
- wantErr: &GenesisMismatchError{Stored: customghash, New: params.YilanGenesisHash},
- wantHash: params.YilanGenesisHash,
- wantConfig: params.YilanChainConfig,
- },
- {
name: "compatible config in DB",
fn: func(db ethdb.Database) (*params.ChainConfig, common.Hash, error) {
oldcustomg.MustCommit(db)