Skip to content

Commit

Permalink
fix: avoid counterparty recv packet message get removed before open c…
Browse files Browse the repository at this point in the history
…hannel

this change was related to 8b7184b
  • Loading branch information
mmsqe committed May 1, 2024
1 parent 84f610d commit 2b8b45d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
* [\#1326](https://github.com/cosmos/relayer/pull/1326) Avoid sending channel close confirm message after channel get closed successfully.
* [\#1364](https://github.com/cosmos/relayer/pull/1364) Include feegrant message when calculate gas.
* [\#1390](https://github.com/cosmos/relayer/pull/1390) Avoid no concrete type registered for type URL error of EthAccount.
* [\#1455](https://github.com/cosmos/relayer/pull/1455) Avoid counterparty recv packet message get removed before open channel.

## v0.9.3

Expand Down
2 changes: 1 addition & 1 deletion relayer/processor/path_end_runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ func (pathEnd *pathEndRuntime) removePacketRetention(

// delete all packet flow retention history for this sequence
pathEnd.messageCache.PacketFlow[k].DeleteMessages(toDelete)
counterparty.messageCache.PacketFlow[k.Counterparty()].DeleteMessages(toDeleteCounterparty)
counterparty.messageCache.PacketFlow[k].DeleteMessages(toDeleteCounterparty)
}

// shouldSendConnectionMessage determines if the connection handshake message should be sent now.
Expand Down

0 comments on commit 2b8b45d

Please sign in to comment.