Skip to content

Commit

Permalink
chore: add roller home directory to roller.toml after initialization (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
artemijspavlovs authored Jul 10, 2024
1 parent aa7ff82 commit 3d4e942
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cmd/rollapp/init/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,13 @@ func runInit(cmd *cobra.Command, args []string, configArchivePath string) error
return err
}

rollerConfigFilePath := filepath.Join(utils.GetRollerRootDir(), "roller.toml")
err = global_utils.UpdateFieldInToml(rollerConfigFilePath, "home", utils.GetRollerRootDir())
if err != nil {
fmt.Println("failed to add home to roller.toml: ", err)
return err
}

// 20240607 genesis is generated using the genesis-creator
// err = initializeRollappGenesis(initConfig)
// if err != nil {
Expand Down

0 comments on commit 3d4e942

Please sign in to comment.