From 515caa4e6ef63d0614ee32963fc0ae36e1df9427 Mon Sep 17 00:00:00 2001 From: Manav Darji Date: Wed, 21 May 2025 13:59:02 +0530 Subject: [PATCH] core: set test chain config in genesis for tests --- core/genesis.go | 1 + 1 file changed, 1 insertion(+) 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), }