Skip to content

Commit

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

* add changelog

(cherry picked from commit e3221df)

Co-authored-by: Danilo Pantani <[email protected]>
Co-authored-by: Julien Robert <[email protected]>
  • Loading branch information
3 people authored Jul 3, 2024
1 parent e086628 commit ef44b5a
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 @@ -53,6 +53,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 @@ -120,7 +120,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 @@ -40,7 +40,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 ef44b5a

Please sign in to comment.