@@ -143,9 +143,8 @@ func TestTrieCleanJournal(t *testing.T) {
143143 // Ensure that key1 has some funds in the genesis block.
144144 genesisBalance := big .NewInt (1000000 )
145145 gspec := & Genesis {
146- Config : & params.ChainConfig {HomesteadBlock : new (big.Int ), FeeConfig : params .DefaultFeeConfig },
147- Alloc : GenesisAlloc {addr1 : {Balance : genesisBalance }},
148- GasLimit : params .DefaultFeeConfig .GasLimit .Uint64 (),
146+ Config : & params.ChainConfig {HomesteadBlock : new (big.Int )},
147+ Alloc : GenesisAlloc {addr1 : {Balance : genesisBalance }},
149148 }
150149
151150 blockchain , err := create (chainDB , gspec , common.Hash {})
@@ -639,9 +638,8 @@ func TestTransactionIndices(t *testing.T) {
639638 addr2 = crypto .PubkeyToAddress (key2 .PublicKey )
640639 funds = big .NewInt (10000000000000 )
641640 gspec = & Genesis {
642- Config : & params.ChainConfig {HomesteadBlock : new (big.Int ), FeeConfig : params .DefaultFeeConfig },
643- Alloc : GenesisAlloc {addr1 : {Balance : funds }},
644- GasLimit : params .DefaultFeeConfig .GasLimit .Uint64 (),
641+ Config : & params.ChainConfig {HomesteadBlock : new (big.Int )},
642+ Alloc : GenesisAlloc {addr1 : {Balance : funds }},
645643 }
646644 signer = types .LatestSigner (gspec .Config )
647645 )
@@ -1077,8 +1075,7 @@ func TestEIP3651(t *testing.T) {
10771075 addr2 = crypto .PubkeyToAddress (key2 .PublicKey )
10781076 funds = new (big.Int ).Mul (common .Big1 , big .NewInt (params .Ether ))
10791077 gspec = & Genesis {
1080- Config : params .TestChainConfig ,
1081- GasLimit : params .TestChainConfig .FeeConfig .GasLimit .Uint64 (),
1078+ Config : params .TestChainConfig ,
10821079 Alloc : GenesisAlloc {
10831080 addr1 : {Balance : funds },
10841081 addr2 : {Balance : funds },
@@ -1110,6 +1107,7 @@ func TestEIP3651(t *testing.T) {
11101107 Balance : big .NewInt (0 ),
11111108 },
11121109 },
1110+ GasLimit : params .TestChainConfig .FeeConfig .GasLimit .Uint64 (),
11131111 }
11141112 )
11151113
0 commit comments