diff --git a/shared/services/config/mev-boost-config.go b/shared/services/config/mev-boost-config.go index 8c6e059c..c524fae7 100644 --- a/shared/services/config/mev-boost-config.go +++ b/shared/services/config/mev-boost-config.go @@ -548,6 +548,7 @@ func generateProfileParameter(id string, relays []config.MevRelay, regulated boo holeskyRelays = append(holeskyRelays, relay.Name) } } + holeskyDescription += strings.Join(holeskyRelays, ", ") return config.Parameter{ diff --git a/shared/services/config/stader-config.go b/shared/services/config/stader-config.go index ef7b958f..0dff50cc 100644 --- a/shared/services/config/stader-config.go +++ b/shared/services/config/stader-config.go @@ -999,13 +999,14 @@ func (cfg *StaderConfig) GenerateEnvironmentVariables() map[string]string { // MEV-Boost if cfg.EnableMevBoost.Value == true { config.AddParametersToEnvVars(cfg.MevBoost.GetParameters(), envVars) + if cfg.MevBoost.Mode.Value == config.Mode_Local { envVars[mevBoostRelaysEnvVar] = cfg.MevBoost.GetRelayString() envVars[mevBoostUrlEnvVar] = fmt.Sprintf("http://%s:%d", MevBoostContainerName, cfg.MevBoost.Port.Value) // Handle open API port if cfg.MevBoost.OpenRpcPort.Value == true { - port := cfg.MevBoost.Port.Value.(uint16) + port, _ := cfg.MevBoost.Port.Value.(uint16) envVars["MEV_BOOST_OPEN_API_PORT"] = fmt.Sprintf("\"%d:%d/tcp\"", port, port) } } diff --git a/stader-cli/service/migration.go b/stader-cli/service/migration.go index 232ae83c..ef935156 100644 --- a/stader-cli/service/migration.go +++ b/stader-cli/service/migration.go @@ -97,7 +97,7 @@ func migrate(c *cli.Context) (runBeforeUpgrades, rundAfterUpgrades []ConfigUpgra }, { version: v160, - upgradeFunc: func(c *cli.Context) error { return nil }, + upgradeFunc: func(_ *cli.Context) error { return nil }, needInstall: true, }, }