-
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.
refactor: Remove the callback or sending apply-chunks-done message an…
…d explicitly propagate Sender (#11012) We propagate `DoneApplyChunkCallback` throughout the apply-chunks code, the callback is invoked when apply-chunks is finished. This callback today only sends the `ApplyChunksDoneMessage` to the ClientActors. This change removes the indirection by explicitly sending the Sender for the message instead of hiding it behind a callback. In some cases, the callback is no-op (eg. catchup logic), in these cases a no-op function is replaced with None. As part of this change, we move ApplyChunksDoneMessage from client to chain.
- Loading branch information
1 parent
fc55791
commit 73855ff
Showing
16 changed files
with
90 additions
and
141 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
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.