Skip to content

Commit

Permalink
POS-15 Remove building Heimdall for each chain CR revert root and mai…
Browse files Browse the repository at this point in the history
…ncli to master versions
  • Loading branch information
igorcrevar committed Nov 4, 2021
1 parent 48c22b5 commit 0f86b2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bridge/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ func InitTendermintViperConfig(cmd *cobra.Command) {
viper.Set(helper.WithHeimdallConfigFlag, withHeimdallConfigValue)
viper.Set(bridgeDBFlag, bridgeDBValue)
viper.Set(borChainIDFlag, borChainIDValue)

// start heimdall config
helper.InitHeimdallConfig("")
}
Expand All @@ -67,7 +68,6 @@ func init() {
"",
"Heimdall config file path (default <home>/config/heimdall-config.json)",
)

// bridge storage db
rootCmd.PersistentFlags().String(
bridgeDBFlag,
Expand Down
2 changes: 1 addition & 1 deletion cmd/heimdallcli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func main() {
ApproveCmd(cliCtx),
)

// bind with-heimdall-config config and chain flag with root cmd
// bind with-heimdall-config config with root cmd
if err := viper.BindPFlag(helper.WithHeimdallConfigFlag, rootCmd.Flags().Lookup(helper.WithHeimdallConfigFlag)); err != nil {
logger.Error("main | BindPFlag | helper.WithHeimdallConfigFlag", "Error", err)
}
Expand Down

0 comments on commit 0f86b2c

Please sign in to comment.