forked from aptos-labs/aptos-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[consensus] extend the number of events leader reputation seeks
It's oversight from the decoupled execution that we don't seek further enough to have all required block events. The target round is current round - exclude_round (was 4 before decoupled execution), and the seek length is window_size + 10. it ends up being the case that all events we fetch have higher round than the target round and being filtered out. This commit takes the exclude_round into consideration when seeking events so hopefully it can get enough events back. Closes: aptos-labs#841
- Loading branch information
Showing
3 changed files
with
18 additions
and
4 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