From a0dd6f6f6efce445a109e71380dbc272d4b91666 Mon Sep 17 00:00:00 2001 From: artemijspavlovs <19916123+artemijspavlovs@users.noreply.github.com> Date: Mon, 12 Aug 2024 16:09:04 +0300 Subject: [PATCH] fix: celestia namespace retrieval --- cmd/rollapp/run/run.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/rollapp/run/run.go b/cmd/rollapp/run/run.go index 11384efe..ad8d1c03 100644 --- a/cmd/rollapp/run/run.go +++ b/cmd/rollapp/run/run.go @@ -399,8 +399,6 @@ func Cmd() *cobra.Command { } var daConfig string - dymintConfigPath := sequencer.GetDymintFilePath(home) - daNamespace := damanager.DataLayer.GetNamespaceID() switch nodeType { case "sequencer": @@ -427,6 +425,9 @@ func Cmd() *cobra.Command { } + dymintConfigPath := sequencer.GetDymintFilePath(home) + daNamespace := damanager.DataLayer.GetNamespaceID() + pterm.Info.Println("updating dymint configuration") _ = globalutils.UpdateFieldInToml( dymintConfigPath,