Skip to content

Commit 6652477

Browse files
fix(pectra): Support ELECTRA_FORK_VERSION in mev-boost-relay (#34)
1 parent 2462499 commit 6652477

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mev-boost-relay/mev-boost-relay.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ func generateEthNetworkDetails(spec *Spec, info *beaconclient.GetGenesisResponse
212212
"BELLATRIX_FORK_VERSION": spec.BellatrixForkVersion,
213213
"CAPELLA_FORK_VERSION": spec.CapellaForkVersion,
214214
"DENEB_FORK_VERSION": spec.DenebForkVersion,
215+
"ELECTRA_FORK_VERSION": spec.ElectraForkVersion,
215216
}
216217
for k, v := range envs {
217218
if err := os.Setenv(k, v); err != nil {
@@ -430,6 +431,7 @@ type Spec struct {
430431
BellatrixForkVersion string `json:"BELLATRIX_FORK_VERSION"` //nolint:tagliatelle
431432
CapellaForkVersion string `json:"CAPELLA_FORK_VERSION"` //nolint:tagliatelle
432433
DenebForkVersion string `json:"DENEB_FORK_VERSION"` //nolint:tagliatelle
434+
ElectraForkVersion string `json:"ELECTRA_FORK_VERSION"` //nolint:tagliatelle
433435
}
434436

435437
func getSpec(beaconURL string) (*Spec, error) {

0 commit comments

Comments
 (0)