Skip to content

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaslopezf committed Mar 30, 2024
1 parent 8179af2 commit fde3134
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ Every module contains its own CHANGELOG.md. Please refer to the module you are i

### Improvements

* (client) [#19905](https://github.com/cosmos/cosmos-sdk/pull/19905) Enhanced configuration template customization mechanism to use a placeholder-based approach, ensuring proper categorization and scalability of custom settings within the configuration file.
* (types) [#19869](https://github.com/cosmos/cosmos-sdk/pull/19869) Removed `Any` type from `codec/types` and replaced it with an alias for `cosmos/gogoproto/types/any`.
* (server) [#19854](https://github.com/cosmos/cosmos-sdk/pull/19854) Add customizability to start command.
* Add `StartCmdOptions` in `server.AddCommands` instead of `servertypes.ModuleInitFlags`. To set custom flags set them in the `StartCmdOptions` struct on the `AddFlags` field.
Expand Down
2 changes: 1 addition & 1 deletion client/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func CreateClientConfig(ctx client.Context, customClientTemplate string, customC
// CustomizeConfigTemplate inserts custom configuration settings into the default config template by replacing a predefined placeholder
// This approach prevents issues that could arise from direct concatenation, such as incorrect section categorization of custom settings.
func CustomizeConfigTemplate(customConfig string) string {
return strings.Replace(DefaultClientConfigTemplate, CustomConfigKey, customConfig, -1)
return strings.ReplaceAll(DefaultClientConfigTemplate, CustomConfigKey, customConfig)
}

// getGRPCClient creates and returns a new gRPC client connection based on the GRPCConfig.
Expand Down

0 comments on commit fde3134

Please sign in to comment.