aboutsummaryrefslogtreecommitdiffstats
path: root/core/genesis_test.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-11-15 13:29:48 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:54 +0800
commit2ea3e5bc1881de55b6c4a9fe77d735257536d068 (patch)
tree3f92a1ffb0e8df36c8a6e826ad7818c46c045f4e /core/genesis_test.go
parent744cee6920b52f55ba35c1b41ad9aea63afd728f (diff)
downloaddexon-2ea3e5bc1881de55b6c4a9fe77d735257536d068.tar
dexon-2ea3e5bc1881de55b6c4a9fe77d735257536d068.tar.gz
dexon-2ea3e5bc1881de55b6c4a9fe77d735257536d068.tar.bz2
dexon-2ea3e5bc1881de55b6c4a9fe77d735257536d068.tar.lz
dexon-2ea3e5bc1881de55b6c4a9fe77d735257536d068.tar.xz
dexon-2ea3e5bc1881de55b6c4a9fe77d735257536d068.tar.zst
dexon-2ea3e5bc1881de55b6c4a9fe77d735257536d068.zip
core: fix tests
Diffstat (limited to 'core/genesis_test.go')
-rw-r--r--core/genesis_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/genesis_test.go b/core/genesis_test.go
index 288883af2..267086f9b 100644
--- a/core/genesis_test.go
+++ b/core/genesis_test.go
@@ -43,16 +43,16 @@ func TestDefaultGenesisBlock(t *testing.T) {
func TestSetupGenesis(t *testing.T) {
var (
- customghash = common.HexToHash("0xb6ba0591a77fc67883bb23a0463ecacede39e63176ec65fd137466c4cda91af5")
+ customghash = common.HexToHash("0xe19bf9c49cae55e72edfdfa9f4ef867defeb3747de25102740b7cebc5b9cdb1a")
customg = Genesis{
- Config: &params.ChainConfig{HomesteadBlock: big.NewInt(3), Dexcon: params.TestChainConfig.Dexcon},
+ Config: &params.ChainConfig{HomesteadBlock: big.NewInt(3)},
Alloc: GenesisAlloc{
{1}: {Balance: big.NewInt(1), Storage: map[common.Hash]common.Hash{{1}: {1}}},
},
}
oldcustomg = customg
)
- oldcustomg.Config = &params.ChainConfig{HomesteadBlock: big.NewInt(2), Dexcon: params.TestChainConfig.Dexcon}
+ oldcustomg.Config = &params.ChainConfig{HomesteadBlock: big.NewInt(2)}
tests := []struct {
name string
fn func(ethdb.Database) (*params.ChainConfig, common.Hash, error)