-
Notifications
You must be signed in to change notification settings - Fork 622
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[stateless_validation] Broadcast chunk endrosement to next 5 block pr…
…oducers (#10449) In the current implementation, we only send the chunk endorsements to the next block producer. As discussed in [this Zulip thread](https://near.zulipchat.com/#narrow/stream/407237-pagoda.2Fcore.2Fstateless-validation/topic/chunk.20endorsements.20with.20missing.20chunks.2Fblocks/near/416015998), it's possible for a chunk to be included in a block at a height different from that it was created for. This leads to the situation where this new block producer hasn't received the chunk endorsements for this chunk. The solution here is to broadcast the chunk endorsement message to the next 5 block producers and hope that the chunk would get included in any one of them in cases of skipped blocks. Note that this also means we are always going to use the chunk_validators as of the `chunk.height_created` and NOT `chunk.height_included`
- Loading branch information
Shreyan Gupta
authored
Jan 17, 2024
1 parent
25c71c1
commit 0fcd21f
Showing
1 changed file
with
26 additions
and
23 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