Skip to content

Commit db273c8

Browse files
authored
core: initialize developer genesis beacon root contract with 0 balance (#29963)
1 parent 8bda642 commit db273c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/genesis.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ func DeveloperGenesisBlock(gasLimit uint64, faucet *common.Address) *Genesis {
594594
common.BytesToAddress([]byte{8}): {Balance: big.NewInt(1)}, // ECPairing
595595
common.BytesToAddress([]byte{9}): {Balance: big.NewInt(1)}, // BLAKE2b
596596
// Pre-deploy EIP-4788 system contract
597-
params.BeaconRootsAddress: {Nonce: 1, Code: params.BeaconRootsCode},
597+
params.BeaconRootsAddress: {Nonce: 1, Code: params.BeaconRootsCode, Balance: common.Big0},
598598
},
599599
}
600600
if faucet != nil {

0 commit comments

Comments
 (0)