diff options
author | bojie <bojie@dexon.org> | 2018-11-27 17:22:56 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:54 +0800 |
commit | 6f016312ed895123d1ace5d4455d878489a4e0c4 (patch) | |
tree | 8e9beac578ab6ac4cd154b72dd290bb07b4ffcfe /cmd/gdex/genesis_test.go | |
parent | c32fad6a98d7276e6b9317e48fed871d2b13959f (diff) | |
download | go-tangerine-6f016312ed895123d1ace5d4455d878489a4e0c4.tar go-tangerine-6f016312ed895123d1ace5d4455d878489a4e0c4.tar.gz go-tangerine-6f016312ed895123d1ace5d4455d878489a4e0c4.tar.bz2 go-tangerine-6f016312ed895123d1ace5d4455d878489a4e0c4.tar.lz go-tangerine-6f016312ed895123d1ace5d4455d878489a4e0c4.tar.xz go-tangerine-6f016312ed895123d1ace5d4455d878489a4e0c4.tar.zst go-tangerine-6f016312ed895123d1ace5d4455d878489a4e0c4.zip |
cmd: fix tests (#55)
Diffstat (limited to 'cmd/gdex/genesis_test.go')
-rw-r--r-- | cmd/gdex/genesis_test.go | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/cmd/gdex/genesis_test.go b/cmd/gdex/genesis_test.go index 05da35563..38db9e0c4 100644 --- a/cmd/gdex/genesis_test.go +++ b/cmd/gdex/genesis_test.go @@ -56,7 +56,11 @@ var customGenesisTests = []struct { "mixhash" : "0x0000000000000000000000000000000000000000000000000000000000000000", "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", "timestamp" : "0x00", - "config" : {} + "config" : { + "dexcon": { + "lambdaBA": 250, + }, + }, }`, query: "eth.getBlock(0).nonce", result: "0x0000000000000042", @@ -76,8 +80,11 @@ var customGenesisTests = []struct { "config" : { "homesteadBlock" : 314, "daoForkBlock" : 141, - "daoForkSupport" : true - } + "daoForkSupport" : true, + "dexcon": { + "lambdaBA": 250, + }, + }, }`, query: "eth.getBlock(0).nonce", result: "0x0000000000000042", |