Skip to content

Commit

Permalink
refactor: remove deprecated sdk.MustSortJSON (#4219)
Browse files Browse the repository at this point in the history
* remove deprecated sort

* add changelog
  • Loading branch information
Pantani committed Jun 28, 2024
1 parent b25ec31 commit e3221df
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
- [#4086](https://github.com/ignite/cli/pull/4086) Retry to get the IBC balance if it fails the first time
- [#4096](https://github.com/ignite/cli/pull/4096) Add new reserved names module and remove duplicated genesis order
- [#4112](https://github.com/ignite/cli/pull/4112) Remove duplicate SetCmdClientContextHandler
- [#4219](https://github.com/ignite/cli/pull/4219) Remove deprecated `sdk.MustSortJSON`

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

Expand Down
2 changes: 1 addition & 1 deletion ignite/templates/ibc/packet.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func moduleModify(replacer placeholder.Replacer, opts *PacketOptions) genny.RunF
if err != nil {
return channeltypes.NewErrorAcknowledgement(errorsmod.Wrap(sdkerrors.ErrJSONMarshal, err.Error()))
}
ack = channeltypes.NewResultAcknowledgement(sdk.MustSortJSON(packetAckBytes))
ack = channeltypes.NewResultAcknowledgement(packetAckBytes)
}
ctx.EventManager().EmitEvent(
sdk.NewEvent(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ var (
_ appmodule.AppModule = (*AppModule)(nil)
_ appmodule.HasBeginBlocker = (*AppModule)(nil)
_ appmodule.HasEndBlocker = (*AppModule)(nil)
<%= if (isIBC) { %>_ porttypes.IBCModule = IBCModule{}<% } %>
<%= if (isIBC) { %>_ porttypes.IBCModule = (*IBCModule)(nil)<% } %>
)

// ----------------------------------------------------------------------------
Expand Down

0 comments on commit e3221df

Please sign in to comment.