mirror of
https://github.com/luxfi/evm.git
synced 2026-09-24 00:27:44 +00:00
chain passing
This commit is contained in:
+1
-1
@@ -221,7 +221,7 @@ func TestChain(t *testing.T) {
|
||||
Nonce: 0,
|
||||
Number: 0,
|
||||
ExtraData: hexutil.MustDecode("0x00"),
|
||||
GasLimit: 100000000,
|
||||
GasLimit: chainConfig.FeeConfig.GasLimit.Uint64(),
|
||||
Difficulty: big.NewInt(0),
|
||||
Alloc: core.GenesisAlloc{genKey.Address: {Balance: genBalance}},
|
||||
}
|
||||
|
||||
+2
-1
@@ -63,6 +63,7 @@ func NewDefaultChain(t *testing.T) (*ETHChain, chan core.NewTxPoolHeadEvent, <-c
|
||||
ConstantinopleBlock: big.NewInt(0),
|
||||
PetersburgBlock: big.NewInt(0),
|
||||
IstanbulBlock: big.NewInt(0),
|
||||
FeeConfig: params.DefaultFeeConfig,
|
||||
}
|
||||
|
||||
config.Genesis = &core.Genesis{
|
||||
@@ -70,7 +71,7 @@ func NewDefaultChain(t *testing.T) (*ETHChain, chan core.NewTxPoolHeadEvent, <-c
|
||||
Nonce: 0,
|
||||
Number: 0,
|
||||
ExtraData: hexutil.MustDecode("0x00"),
|
||||
GasLimit: 100000000,
|
||||
GasLimit: chainConfig.FeeConfig.GasLimit.Uint64(),
|
||||
Difficulty: big.NewInt(0),
|
||||
Alloc: core.GenesisAlloc{fundedKey.Address: core.GenesisAccount{Balance: initialBalance}},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user