Skip to content

Commit 56db5d5

Browse files
committed
Enable cancellations
1 parent 6652477 commit 56db5d5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,16 @@ func New(config *Config) (*MevBoostRelay, error) {
6363
beaconclient.NewProdBeaconInstance(log, config.BeaconClientAddr, config.BeaconClientAddr),
6464
})
6565

66+
// enable feature flags
67+
featureFlags := []string{
68+
"ENABLE_BUILDER_CANCELLATIONS",
69+
}
70+
for _, flag := range featureFlags {
71+
if err := os.Setenv(flag, "1"); err != nil {
72+
return nil, fmt.Errorf("failed to feature flag %s: %w", flag, err)
73+
}
74+
}
75+
6676
// wait until the beacon client is ready, otherwise, the api and housekeeper services
6777
// will fail at startup
6878
syncTimeoutCh := time.After(10 * time.Second)

0 commit comments

Comments
 (0)