Skip to content

Commit ff3da35

Browse files
mergify[bot]joeabbeycrodriguezvega
authored
fix: "acknowledgement written" logs unsupported type (backport #1919) (#1956)
* fix: "acknowledgement written" logs unsupported type (#1919) * fix: "acknowledgement written" logs unsupported type * Updating CHANGELOG.md Co-authored-by: Carlos Rodriguez <carlos@interchain.io> Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com> (cherry picked from commit 897e7eb) # Conflicts: # CHANGELOG.md * fix conflict Co-authored-by: Joe Abbey <joe.abbey@gmail.com> Co-authored-by: Carlos Rodriguez <carlos@interchain.io>
1 parent 39d4e16 commit ff3da35

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ Ref: https://keepachangelog.com/en/1.0.0/
4848

4949
### Bug Fixes
5050

51+
* (modules/core/04-channel)[\#1919](https://github.com/cosmos/ibc-go/pull/1919) Fixed formatting of sequence for packet "acknowledgement written" logs.
52+
5153
## [v2.3.1](https://github.com/cosmos/ibc-go/releases/tag/v2.3.1) - 2022-08-02
5254

5355
### Dependencies

modules/core/04-channel/keeper/packet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ func (k Keeper) WriteAcknowledgement(
355355
// log that a packet acknowledgement has been written
356356
k.Logger(ctx).Info(
357357
"acknowledgement written",
358-
"sequence", packet.GetSequence(),
358+
"sequence", strconv.FormatUint(packet.GetSequence(), 10),
359359
"src_port", packet.GetSourcePort(),
360360
"src_channel", packet.GetSourceChannel(),
361361
"dst_port", packet.GetDestPort(),

0 commit comments

Comments
 (0)