Skip to content

Commit

Permalink
fix(templates): remove duplicate SetCmdClientContextHandler (#4112)
Browse files Browse the repository at this point in the history
there are two `client.SetCmdClientContextHandler(clientCtx, cmd)`
  • Loading branch information
islishude authored Apr 29, 2024
1 parent 9c8ccb0 commit a2903dc
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
- [#3995](https://github.com/ignite/cli/pull/3995) Fix interface check for ibc modules
- [#3953](https://github.com/ignite/cli/pull/3953) Fix apps `Stdout` is redirected to `Stderr`
- [#3863](https://github.com/ignite/cli/pull/3963) Fix breaking issue for app client API when reading app chain info
- [#4112](https://github.com/ignite/cli/pull/4112) Remove duplicate SetCmdClientContextHandler

## [`v28.2.0`](https://github.com/ignite/cli/releases/tag/v28.2.0)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,6 @@ func NewRootCmd() *cobra.Command {
return err
}

if err := client.SetCmdClientContextHandler(clientCtx, cmd); err != nil {
return err
}

customAppTemplate, customAppConfig := initAppConfig()
customCMTConfig := initCometBFTConfig()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,6 @@ func NewRootCmd() *cobra.Command {
return err
}

if err := client.SetCmdClientContextHandler(clientCtx, cmd); err != nil {
return err
}

customAppTemplate, customAppConfig := initAppConfig()
customCMTConfig := initCometBFTConfig()

Expand Down

0 comments on commit a2903dc

Please sign in to comment.