Skip to content

Commit

Permalink
Fix json name for deposit contract address (#11466)
Browse files Browse the repository at this point in the history
The community seems to be using `depositContractAddress` in the standard
format for importing genesis.json, as seen in pectra-devnet-2
(This was mandated in EIP-6110)
  • Loading branch information
somnathb1 authored and yperbasis committed Oct 2, 2024
1 parent e8f12eb commit 64e6550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erigon-lib/chain/chain_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ type Config struct {

// (Optional) deposit contract of PoS chains
// See also EIP-6110: Supply validator deposits on chain
DepositContract common.Address `json:"depositContract,omitempty"`
DepositContract common.Address `json:"depositContractAddress,omitempty"`

// Various consensus engines
Ethash *EthashConfig `json:"ethash,omitempty"`
Expand Down

0 comments on commit 64e6550

Please sign in to comment.