-
Notifications
You must be signed in to change notification settings - Fork 618
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[stateless_validation] fix: Pending chunk endorsement cache (#10568)
Issue: #10560 https://near.zulipchat.com/#narrow/stream/407237-pagoda.2Fcore.2Fstateless-validation/topic/StatelessNet.20planning/near/419827117 > * add pending_chunk_endorsements cache to ChunkEndorsementTracker > * if we have an error on get_chunk, add endorsements to pending cache > * on on_chunk_completed, process all pending endorsements for chunk hash We discussed previously that full chunk may not be needed. But this solution aligns well with the existing design
- Loading branch information
Showing
2 changed files
with
71 additions
and
8 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