diff --git a/cmd/eibc/init/init.go b/cmd/eibc/init/init.go index 159b5acf..db8012f2 100644 --- a/cmd/eibc/init/init.go +++ b/cmd/eibc/init/init.go @@ -612,6 +612,7 @@ func updateEibcConfig(eibcConfigPath string, hd consts.HubData) error { updates := map[string]interface{}{ "node_address": hd.RpcUrl, "order_polling.indexer_url": consts.DefaultIndexer, + "order_polling.enabled": true, "operator.account_name": consts.KeysIds.Eibc, "gas.fees": "4000000000000000adym", // "rollapps.example_1234-1": nil, diff --git a/utils/dymint/dymint.go b/utils/dymint/dymint.go index 1d993cdd..9857b7b6 100644 --- a/utils/dymint/dymint.go +++ b/utils/dymint/dymint.go @@ -131,6 +131,7 @@ func UpdateDymintConfigForIBC(home string, t string, forceUpdate bool) error { return err } + spin, _ := pterm.DefaultSpinner.Start("restarting rollapp") if runtime.GOOS == "linux" { err := servicemanager.RestartSystemdService("rollapp") if err != nil { @@ -147,10 +148,10 @@ func UpdateDymintConfigForIBC(home string, t string, forceUpdate bool) error { ", only linux and darwin are supported", ) } - + spin.Success("restart successful") } else { pterm.Info.Println("block time settings already up to date") - pterm.Info.Println("restarting rollapp process to ensure correct block time is applied") + spin, _ := pterm.DefaultSpinner.Start("restarting rollapp process to ensure correct block time is applied") if runtime.GOOS == "linux" { err = servicemanager.RestartSystemdService("rollapp") if err != nil { @@ -167,6 +168,8 @@ func UpdateDymintConfigForIBC(home string, t string, forceUpdate bool) error { ", only linux and darwin are supported", ) } + spin.Success("restart successful") + WaitForHealthyRollApp("http://localhost:26657/health") }