diff --git a/changelog.md b/changelog.md index 618e0f1187..611cc7054c 100644 --- a/changelog.md +++ b/changelog.md @@ -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) diff --git a/ignite/templates/app/files-consumer/cmd/{{binaryNamePrefix}}d/cmd/root.go.plush b/ignite/templates/app/files-consumer/cmd/{{binaryNamePrefix}}d/cmd/root.go.plush index b54a5b5395..c32d8a41a9 100644 --- a/ignite/templates/app/files-consumer/cmd/{{binaryNamePrefix}}d/cmd/root.go.plush +++ b/ignite/templates/app/files-consumer/cmd/{{binaryNamePrefix}}d/cmd/root.go.plush @@ -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() diff --git a/ignite/templates/app/files/cmd/{{binaryNamePrefix}}d/cmd/root.go.plush b/ignite/templates/app/files/cmd/{{binaryNamePrefix}}d/cmd/root.go.plush index 1d16f1fd02..74c3218ae1 100644 --- a/ignite/templates/app/files/cmd/{{binaryNamePrefix}}d/cmd/root.go.plush +++ b/ignite/templates/app/files/cmd/{{binaryNamePrefix}}d/cmd/root.go.plush @@ -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()