-
Notifications
You must be signed in to change notification settings - Fork 329
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed account seq. nr logic in the error case (#1406)
* Quick fix tentative for #1402. * Better logging * Added additional context in log * Single-line error msg is better for loggers * Fix for #1404 * Consistent logging approach * Apply suggestions from code review Co-authored-by: Shoaib Ahmed <sufialhussaini@gmail.com> * Standardized error code for out of gas * Add .changelog entry * Reverted log-level for clear packets logs Co-authored-by: Shoaib Ahmed <sufialhussaini@gmail.com> Co-authored-by: Romain Ruetschi <romain@informal.systems>
- Loading branch information
1 parent
7f74dc4
commit 3ad4b28
Showing
6 changed files
with
85 additions
and
32 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
.changelog/unreleased/bug-fixes/ibc-relayer/1402-fix-account-seq-error-case.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- Only increase cached account sequence number when `broadcast_tx_sync` fails, | ||
therefore ensuring that the cached sequence number stays in sync with the | ||
node. ([#1402](https://github.com/informalsystems/ibc-rs/issues/1402)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters