From 08679a4d997527dcb7462338f716cc07959dfbc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Colin=20Axn=C3=A9r?= <25233464+colin-axner@users.noreply.github.com> Date: Wed, 2 Nov 2022 11:52:27 +0100 Subject: [PATCH] nit: fix spelling --- CHANGELOG.md | 2 +- modules/apps/transfer/types/codec.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b9732b0c0eb..8ea0f084d09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -70,7 +70,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ ### State Machine Breaking -* (apps/transfer) [\#2651](https://github.com/cosmos/ibc-go/pull/2651) Introduce `mustProtoMarshalJSON` for ics20 packet data marshaling which will skip emission (marshaling) of the memo field if unpopulated (empty). +* (apps/transfer) [\#2651](https://github.com/cosmos/ibc-go/pull/2651) Introduce `mustProtoMarshalJSON` for ics20 packet data marshalling which will skip emission (marshalling) of the memo field if unpopulated (empty). * (27-interchain-accounts) [\#2580](https://github.com/cosmos/ibc-go/issues/2580) Removing port prefix requirement from the ICA host channel handshake * (transfer) [\#2377](https://github.com/cosmos/ibc-go/pull/2377) Adding `sequence` to `MsgTransferResponse`. * (light-clients/07-tendermint) [\#2554](https://github.com/cosmos/ibc-go/pull/2554) Forbid negative values for `TrustingPeriod`, `UnbondingPeriod` and `MaxClockDrift` (as specified in ICS-07). diff --git a/modules/apps/transfer/types/codec.go b/modules/apps/transfer/types/codec.go index b3cf0de3201..3067cf8dc9d 100644 --- a/modules/apps/transfer/types/codec.go +++ b/modules/apps/transfer/types/codec.go @@ -47,12 +47,12 @@ func init() { // mustProtoMarshalJSON provides an auxiliary function to return Proto3 JSON encoded // bytes of a message. // NOTE: Copied from https://github.com/cosmos/cosmos-sdk/blob/971c542453e0972ef1dfc5a80159ad5049c7211c/codec/json.go -// and modified in order to allow `EmitDefaults` to be set to false for ics20 packet marshaling. +// and modified in order to allow `EmitDefaults` to be set to false for ics20 packet marshalling. // This allows for the introduction of the memo field to be backwards compatible. func mustProtoMarshalJSON(msg proto.Message) []byte { anyResolver := codectypes.NewInterfaceRegistry() - // EmitDefaults is set to false to prevent marshaling of unpopulated fields (memo) + // EmitDefaults is set to false to prevent marshalling of unpopulated fields (memo) // OrigName and the anyResovler match the fields the original SDK function would expect // in order to minimize changes.