Skip to content

Commit

Permalink
feat: PRT - make lavap use config path as default values (#1425)
Browse files Browse the repository at this point in the history
* make lavap use config path as default values

* fix
  • Loading branch information
ranlavanet authored May 9, 2024
1 parent 3f9ff53 commit ca2e106
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions cmd/lavad/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,8 @@ func NewLavaProtocolRootCmd() *cobra.Command {
setLogLevelFieldNameFromFlag(cmd)

customAppTemplate, customAppConfig := initAppConfig()
customConfig := initTendermintConfig()
return server.InterceptConfigsPreRunHandler(
cmd, customAppTemplate, customAppConfig, customConfig,
cmd, customAppTemplate, customAppConfig, tmcfg.DefaultConfig(),
)
},
}
Expand All @@ -155,6 +154,10 @@ func initLavaProtocolRootCmd(
txCommand(),
keys.Commands(app.DefaultNodeHome),
)

rootCmd.AddCommand(
config.Cmd(),
)
}

func NewLavaVisorRootCmd() *cobra.Command {
Expand Down

0 comments on commit ca2e106

Please sign in to comment.