diff options
author | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-08-03 08:46:34 +0800 |
---|---|---|
committer | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-08-04 21:20:28 +0800 |
commit | 26c6e3b206bcf95b6b042ab529522ab7f2bc6f08 (patch) | |
tree | 1eaa6d5e07c1286f2d432ed178666ba4f401e105 /eth/fetcher | |
parent | ff66e8fa2935d59d5104e324861d9e1bb517ffaa (diff) | |
download | dexon-26c6e3b206bcf95b6b042ab529522ab7f2bc6f08.tar.gz dexon-26c6e3b206bcf95b6b042ab529522ab7f2bc6f08.tar.zst dexon-26c6e3b206bcf95b6b042ab529522ab7f2bc6f08.zip |
miner: gas limit strategy, target 3141592 & def gas price 50 Shannon
Diffstat (limited to 'eth/fetcher')
-rw-r--r-- | eth/fetcher/fetcher_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/eth/fetcher/fetcher_test.go b/eth/fetcher/fetcher_test.go index 499d6d546..ecbb3f868 100644 --- a/eth/fetcher/fetcher_test.go +++ b/eth/fetcher/fetcher_test.go @@ -28,12 +28,13 @@ import ( "github.com/ethereum/go-ethereum/core" "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/ethdb" + "github.com/ethereum/go-ethereum/params" ) var ( testdb, _ = ethdb.NewMemDatabase() genesis = core.GenesisBlockForTesting(testdb, common.Address{}, big.NewInt(0)) - unknownBlock = types.NewBlock(&types.Header{}, nil, nil, nil) + unknownBlock = types.NewBlock(&types.Header{GasLimit: params.GenesisGasLimit}, nil, nil, nil) ) // makeChain creates a chain of n blocks starting at and including parent. |