Skip to content

Commit 14cc82b

Browse files
mergify[bot]joeabbeycrodriguezvega
authored
fix: "acknowledgement written" logs unsupported type (backport #1919) (#1960)
* fix: "acknowledgement written" logs unsupported type (#1919) * fix: "acknowledgement written" logs unsupported type * Updating CHANGELOG.md Co-authored-by: Carlos Rodriguez <[email protected]> Co-authored-by: colin axnér <[email protected]> (cherry picked from commit 897e7eb) # Conflicts: # CHANGELOG.md * fix conflict Co-authored-by: Joe Abbey <[email protected]> Co-authored-by: Carlos Rodriguez <[email protected]>
1 parent 6461278 commit 14cc82b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

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

6161
### Bug Fixes
6262

63+
* (modules/core/04-channel)[\#1919](https://github.com/cosmos/ibc-go/pull/1919) Fixed formatting of sequence for packet "acknowledgement written" logs.
64+
6365
## [v3.1.0](https://github.com/cosmos/ibc-go/releases/tag/v3.1.0) - 2022-04-16
6466

6567
### Dependencies

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ func (k Keeper) WriteAcknowledgement(
361361
// log that a packet acknowledgement has been written
362362
k.Logger(ctx).Info(
363363
"acknowledgement written",
364-
"sequence", packet.GetSequence(),
364+
"sequence", strconv.FormatUint(packet.GetSequence(), 10),
365365
"src_port", packet.GetSourcePort(),
366366
"src_channel", packet.GetSourceChannel(),
367367
"dst_port", packet.GetDestPort(),

0 commit comments

Comments
 (0)