Skip to content

Commit 17ed054

Browse files
authored
Add support for hoodi (#698)
* Add support for hoodi Ref: https://github.com/eth-clients/hoodi https://github.com/eth-clients/hoodi/blob/main/metadata/config.yaml * Remove goerli reference from readme
1 parent 83c2d74 commit 17ed054

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ MEV-Boost Relay for Ethereum proposer/builder separation (PBS).
88

99
Currently live at:
1010

11-
* [boost-relay.flashbots.net](https://boost-relay.flashbots.net) (also on [Goerli](https://boost-relay-goerli.flashbots.net), [Sepolia](https://boost-relay-sepolia.flashbots.net) and [Holesky](https://boost-relay-holesky.flashbots.net))
11+
* [boost-relay.flashbots.net](https://boost-relay.flashbots.net) (also on [Sepolia](https://boost-relay-sepolia.flashbots.net), [Holesky](https://boost-relay-holesky.flashbots.net) and [Hoodi](https://boost-relay-hoodi.flashbots.net))
1212
* [relay.ultrasound.money](https://relay.ultrasound.money), [agnostic-relay.net](https://agnostic-relay.net), bloXroute relays ([light fork](https://github.com/bloXroute-Labs/mev-relay))
1313
* [mainnet.aestus.live](https://mainnet.aestus.live), [relay.edennetwork.io/info](https://relay.edennetwork.io/info), [mainnet-relay.securerpc.com](https://mainnet-relay.securerpc.com)
1414

common/types.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,37 +25,44 @@ var (
2525
EthNetworkHolesky = "holesky"
2626
EthNetworkSepolia = "sepolia"
2727
EthNetworkGoerli = "goerli"
28+
EthNetworkHoodi = "hoodi"
2829
EthNetworkMainnet = "mainnet"
2930
EthNetworkCustom = "custom"
3031

3132
GenesisForkVersionHolesky = "0x01017000"
3233
GenesisForkVersionSepolia = "0x90000069"
3334
GenesisForkVersionGoerli = "0x00001020"
35+
GenesisForkVersionHoodi = "0x10000910"
3436
GenesisForkVersionMainnet = "0x00000000"
3537

3638
GenesisValidatorsRootHolesky = "0x9143aa7c615a7f7115e2b6aac319c03529df8242ae705fba9df39b79c59fa8b1"
3739
GenesisValidatorsRootSepolia = "0xd8ea171f3c94aea21ebc42a1ed61052acf3f9209c00e4efbaaddac09ed9b8078"
3840
GenesisValidatorsRootGoerli = "0x043db0d9a83813551ee2f33450d23797757d430911a9320530ad8a0eabc43efb"
41+
GenesisValidatorsRootHoodi = "0x212f13fc4df078b6cb7db228f1c8307566dcecf900867401a92023d7ba99cb5f"
3942
GenesisValidatorsRootMainnet = "0x4b363db94e286120d76eb905340fdd4e54bfe9f06bf33ff6cf5ad27f511bfe95"
4043

4144
BellatrixForkVersionHolesky = "0x03017000"
4245
BellatrixForkVersionSepolia = "0x90000071"
4346
BellatrixForkVersionGoerli = "0x02001020"
47+
BellatrixForkVersionHoodi = "0x30000910"
4448
BellatrixForkVersionMainnet = "0x02000000"
4549

4650
CapellaForkVersionHolesky = "0x04017000"
4751
CapellaForkVersionSepolia = "0x90000072"
4852
CapellaForkVersionGoerli = "0x03001020"
53+
CapellaForkVersionHoodi = "0x40000910"
4954
CapellaForkVersionMainnet = "0x03000000"
5055

5156
DenebForkVersionHolesky = "0x05017000"
5257
DenebForkVersionSepolia = "0x90000073"
5358
DenebForkVersionGoerli = "0x04001020"
59+
DenebForkVersionHoodi = "0x50000910"
5460
DenebForkVersionMainnet = "0x04000000"
5561

5662
ElectraForkVersionHolesky = "0x06017000"
5763
ElectraForkVersionSepolia = "0x90000074"
5864
ElectraForkVersionGoerli = "0x05001020"
65+
ElectraForkVersionHoodi = "0x60000910"
5966
ElectraForkVersionMainnet = "0x05000000"
6067

6168
ForkVersionStringBellatrix = "bellatrix"
@@ -115,6 +122,13 @@ func NewEthNetworkDetails(networkName string) (ret *EthNetworkDetails, err error
115122
capellaForkVersion = CapellaForkVersionGoerli
116123
denebForkVersion = DenebForkVersionGoerli
117124
electraForkVersion = ElectraForkVersionGoerli
125+
case EthNetworkHoodi:
126+
genesisForkVersion = GenesisForkVersionHoodi
127+
genesisValidatorsRoot = GenesisValidatorsRootHoodi
128+
bellatrixForkVersion = BellatrixForkVersionHoodi
129+
capellaForkVersion = CapellaForkVersionHoodi
130+
denebForkVersion = DenebForkVersionHoodi
131+
electraForkVersion = ElectraForkVersionHoodi
118132
case EthNetworkMainnet:
119133
genesisForkVersion = GenesisForkVersionMainnet
120134
genesisValidatorsRoot = GenesisValidatorsRootMainnet

0 commit comments

Comments
 (0)