core: initialize developer genesis beacon root contract with 0 balance (#29963)

pull/29964/head
jwasinger 5 months ago committed by GitHub
parent 8bda642963
commit db273c8733
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      core/genesis.go

@ -594,7 +594,7 @@ func DeveloperGenesisBlock(gasLimit uint64, faucet *common.Address) *Genesis {
common.BytesToAddress([]byte{8}): {Balance: big.NewInt(1)}, // ECPairing
common.BytesToAddress([]byte{9}): {Balance: big.NewInt(1)}, // BLAKE2b
// Pre-deploy EIP-4788 system contract
params.BeaconRootsAddress: {Nonce: 1, Code: params.BeaconRootsCode},
params.BeaconRootsAddress: {Nonce: 1, Code: params.BeaconRootsCode, Balance: common.Big0},
},
}
if faucet != nil {

Loading…
Cancel
Save