-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* statesync: improve e2e test outcomes (backport #6378) (#6380) (cherry picked from commit d36a5905a67db1ed7afb09f371b3ea3910afb6eb) Co-authored-by: Sam Kleinman <[email protected]> * Fix codecov: `statesync: improve e2e test outcomes (backport #6378) (#6380)` * evidence: fix bug with hashes (backport #6375) (#6381) * Fix codecov: `evidence: fix bug with hashes (backport #6375) (#6381)` * libs/os: avoid CopyFile truncating destination before checking if regular file (backport: #6428) (#6436) Co-authored-by: Callum Waters <[email protected]> * Fix lint: `libs/os: avoid CopyFile truncating destination before checking if regular file (backport: #6428) (#6436)` * p2p/conn: check for channel id overflow before processing receive msg (backport #6522) (#6528) * p2p/conn: check for channel id overflow before processing receive msg (#6522) Per tendermint spec, each Channel has a globally unique byte id, which is mapped to uint8 in Go. However, the proto PacketMsg.ChannelID field is declared as int32, and when receive the packet, we cast it to a byte without checking for possible overflow. That leads to a malform packet with invalid channel id is sent successfully. To fix it, we just add a check for possible overflow, and return invalid channel id error. Fixed #6521 (cherry picked from commit 1f46a4c90e268def505037a5d42627942f605ef4) * state sync: tune request timeout and chunkers (backport #6566) (#6581) * state sync: tune request timeout and chunkers (#6566) (cherry picked from commit 7d961b55b2132d53ccf7ee8d6c86b84fc7fc9ddc) * fix build * fix config * fix config Co-authored-by: Aleksandr Bezobchuk <[email protected]> Co-authored-by: Aleksandr Bezobchuk <[email protected]> * statesync: increase chunk priority and robustness (#6582) Co-authored-by: Callum Waters <[email protected]> Co-authored-by: Sam Kleinman <[email protected]> Co-authored-by: Callum Waters <[email protected]> Co-authored-by: Aleksandr Bezobchuk <[email protected]> Co-authored-by: Aleksandr Bezobchuk <[email protected]>
- Loading branch information
1 parent
fb1b65d
commit 7320ceb
Showing
30 changed files
with
1,008 additions
and
461 deletions.
There are no files selected for viewing
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
Oops, something went wrong.