diff --git a/changelog.md b/changelog.md index 9449fa8c62..1dc05857c0 100644 --- a/changelog.md +++ b/changelog.md @@ -17,6 +17,7 @@ - [#4062](https://github.com/ignite/cli/pull/4062) Avoid nil `scopedKeeper` in `TransmitXXX` functions - [#3969](https://github.com/ignite/cli/pull/3969) Get first config validator using a getter to avoid index errors - [#4086](https://github.com/ignite/cli/pull/4086) Retry to get the IBC balance if it fails the first time +- [#4112](https://github.com/ignite/cli/pull/4112) Remove duplicate SetCmdClientContextHandler ## [`v28.3.0`](https://github.com/ignite/cli/releases/tag/v28.3.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()