Skip to content

Commit 897e7eb

Browse files
joeabbeycrodriguezvegacolin-axner
authored
fix: "acknowledgement written" logs unsupported type (cosmos#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>
1 parent 68bedb7 commit 897e7eb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
129129
* (light-clients/solomachine) [#1839](https://github.com/cosmos/ibc-go/issues/1839) Fixed usage of the new diversifier in validation of changing diversifiers for the solo machine. The current diversifier must sign over the new diversifier.
130130
* (light-clients/07-tendermint) [\#1674](https://github.com/cosmos/ibc-go/pull/1674) Submitted ClientState is zeroed out before checking the proof in order to prevent the proposal from containing information governance is not actually voting on.
131131
* (modules/core/02-client)[\#1676](https://github.com/cosmos/ibc-go/pull/1676) ClientState must be zeroed out for `UpgradeProposals` to pass validation. This prevents a proposal containing information governance is not actually voting on.
132+
* (modules/core/04-channel)[\#1919](https://github.com/cosmos/ibc-go/pull/1919) Fixed formatting of sequence for packet "acknowledgement written" logs.
132133

133134
## [v3.1.1](https://github.com/cosmos/ibc-go/releases/tag/v3.1.1) - 2022-08-02
134135

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ func (k Keeper) WriteAcknowledgement(
352352
// log that a packet acknowledgement has been written
353353
k.Logger(ctx).Info(
354354
"acknowledgement written",
355-
"sequence", packet.GetSequence(),
355+
"sequence", strconv.FormatUint(packet.GetSequence(), 10),
356356
"src_port", packet.GetSourcePort(),
357357
"src_channel", packet.GetSourceChannel(),
358358
"dst_port", packet.GetDestPort(),

0 commit comments

Comments
 (0)