diff --git a/core/genesis.go b/core/genesis.go index b105cc7eac..f57fbfeff7 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -603,6 +603,7 @@ func (g *Genesis) MustCommit(db ethdb.Database, triedb *triedb.Database) *types. // GenesisBlockForTesting creates and writes a block in which addr has the given wei balance. func GenesisBlockForTesting(db ethdb.Database, addr common.Address, balance *big.Int) *types.Block { g := Genesis{ + Config: params.BorTestChainConfig, Alloc: GenesisAlloc{addr: {Balance: balance}}, BaseFee: big.NewInt(params.InitialBaseFee), }