diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-08-05 02:53:39 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-08-05 02:53:39 +0800 |
commit | 56219a5e7a9ed4762870a891bf962558ee846b74 (patch) | |
tree | e2bac06257d04188dcf34b18363756639176e01b /eth | |
parent | b01f2c29ae48dba0ba4a90a4c6dbbadfc313f5b1 (diff) | |
parent | 26c6e3b206bcf95b6b042ab529522ab7f2bc6f08 (diff) | |
download | dexon-56219a5e7a9ed4762870a891bf962558ee846b74.tar dexon-56219a5e7a9ed4762870a891bf962558ee846b74.tar.gz dexon-56219a5e7a9ed4762870a891bf962558ee846b74.tar.bz2 dexon-56219a5e7a9ed4762870a891bf962558ee846b74.tar.lz dexon-56219a5e7a9ed4762870a891bf962558ee846b74.tar.xz dexon-56219a5e7a9ed4762870a891bf962558ee846b74.tar.zst dexon-56219a5e7a9ed4762870a891bf962558ee846b74.zip |
Merge pull request #1578 from Gustav-Simonsson/frontier_thawing
miner: gas limit strategy, target 3141592 & def gas price 50 Shannon
Diffstat (limited to 'eth')
-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. |