diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-10-29 18:33:57 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-10-29 22:07:07 +0800 |
commit | f0dbec0c93a772b0f3553399126d8c49bfcc85d4 (patch) | |
tree | a3ced3d61ef6a5569752d549da6c13d27c344c48 /cmd/geth | |
parent | 8639b0fae975a5e65dea16fe5321168ac0aef128 (diff) | |
download | go-tangerine-f0dbec0c93a772b0f3553399126d8c49bfcc85d4.tar.gz go-tangerine-f0dbec0c93a772b0f3553399126d8c49bfcc85d4.tar.zst go-tangerine-f0dbec0c93a772b0f3553399126d8c49bfcc85d4.zip |
cmd, params: only set default fork configs for test and mainnet
Diffstat (limited to 'cmd/geth')
-rw-r--r-- | cmd/geth/dao_test.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cmd/geth/dao_test.go b/cmd/geth/dao_test.go index 59730b17f..56e77ba0b 100644 --- a/cmd/geth/dao_test.go +++ b/cmd/geth/dao_test.go @@ -116,19 +116,19 @@ func TestDAOInitOldPrivnet(t *testing.T) { testDAOForkBlockNewChain(t, false, daoOldGenesis, [][2]bool{}, nil, false) } func TestDAODefaultOldPrivnet(t *testing.T) { - testDAOForkBlockNewChain(t, false, daoOldGenesis, [][2]bool{{false, false}}, params.MainNetDAOForkBlock, true) + testDAOForkBlockNewChain(t, false, daoOldGenesis, [][2]bool{{false, false}}, nil, false) } func TestDAOSupportOldPrivnet(t *testing.T) { - testDAOForkBlockNewChain(t, false, daoOldGenesis, [][2]bool{{true, false}}, params.MainNetDAOForkBlock, true) + testDAOForkBlockNewChain(t, false, daoOldGenesis, [][2]bool{{true, false}}, nil, true) } func TestDAOOpposeOldPrivnet(t *testing.T) { - testDAOForkBlockNewChain(t, false, daoOldGenesis, [][2]bool{{false, true}}, params.MainNetDAOForkBlock, false) + testDAOForkBlockNewChain(t, false, daoOldGenesis, [][2]bool{{false, true}}, nil, false) } func TestDAOSwitchToSupportOldPrivnet(t *testing.T) { - testDAOForkBlockNewChain(t, false, daoOldGenesis, [][2]bool{{false, true}, {true, false}}, params.MainNetDAOForkBlock, true) + testDAOForkBlockNewChain(t, false, daoOldGenesis, [][2]bool{{false, true}, {true, false}}, nil, true) } func TestDAOSwitchToOpposeOldPrivnet(t *testing.T) { - testDAOForkBlockNewChain(t, false, daoOldGenesis, [][2]bool{{true, false}, {false, true}}, params.MainNetDAOForkBlock, false) + testDAOForkBlockNewChain(t, false, daoOldGenesis, [][2]bool{{true, false}, {false, true}}, nil, false) } func TestDAOInitNoForkPrivnet(t *testing.T) { testDAOForkBlockNewChain(t, false, daoNoForkGenesis, [][2]bool{}, daoGenesisForkBlock, false) |