diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-29 16:49:08 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:19 +0800 |
commit | 23bdf9c7ef66f38dc5b50c849c83a3e8780b7b4f (patch) | |
tree | 98156b7bbd215da6632c3fb7e14062b7d694a1a0 /cmd | |
parent | 3fce54cf3115d44ba6397d1e780d2f1951c8a1d6 (diff) | |
download | go-tangerine-23bdf9c7ef66f38dc5b50c849c83a3e8780b7b4f.tar.gz go-tangerine-23bdf9c7ef66f38dc5b50c849c83a3e8780b7b4f.tar.zst go-tangerine-23bdf9c7ef66f38dc5b50c849c83a3e8780b7b4f.zip |
core: fix tests (#65)
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/gdex/dao_test.go | 2 | ||||
-rw-r--r-- | cmd/gdex/genesis_test.go | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/cmd/gdex/dao_test.go b/cmd/gdex/dao_test.go index c4d3d0cc2..26572762c 100644 --- a/cmd/gdex/dao_test.go +++ b/cmd/gdex/dao_test.go @@ -127,7 +127,7 @@ func testDAOForkBlockNewChain(t *testing.T, test int, genesis string, expectBloc } defer db.Close() - genesisHash := common.HexToHash("0x52b1459248252fcec3e9429362bdbc576c09515cfac0a87b278b2bf98d640c42") + genesisHash := common.HexToHash("0xc8e4d0c33d92b7751fe3747f778aa27600508c8c922be1dbbc7db6ee967f4e6c") if genesis != "" { genesisHash = daoGenesisHash } diff --git a/cmd/gdex/genesis_test.go b/cmd/gdex/genesis_test.go index 38db9e0c4..9187a68bf 100644 --- a/cmd/gdex/genesis_test.go +++ b/cmd/gdex/genesis_test.go @@ -57,10 +57,10 @@ var customGenesisTests = []struct { "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", "timestamp" : "0x00", "config" : { - "dexcon": { - "lambdaBA": 250, - }, - }, + "dexcon": { + "lambdaBA": 250, + }, + }, }`, query: "eth.getBlock(0).nonce", result: "0x0000000000000042", @@ -81,9 +81,9 @@ var customGenesisTests = []struct { "homesteadBlock" : 314, "daoForkBlock" : 141, "daoForkSupport" : true, - "dexcon": { - "lambdaBA": 250, - }, + "dexcon": { + "lambdaBA": 250, + }, }, }`, query: "eth.getBlock(0).nonce", |