-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dot/parachain): added overseer signals (#3638)
- Added ActiveLeavesUpdate and BlockFinalized overseer signals. - Connected parachain service with a block state. Using this block state parachain service would be notified when a new relay chain block gets imported or finalized. - On receiving these signals overseer would update its active leaves and broadcast an ActiveLeavesUpdate or/and BlockFinalized signal to all subsystems - Added `ProcessActiveLeavesUpdateSignal` and `ProcessBlockFinalizedSignal` method to the subsystem interface, all subsystems will have to implement this method based on their requirements to react to these signals
- Loading branch information
1 parent
6bbdb40
commit 19f1348
Showing
11 changed files
with
474 additions
and
199 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Copyright 2023 ChainSafe Systems (ON) | ||
// SPDX-License-Identifier: LGPL-3.0-only | ||
|
||
package overseer | ||
|
||
//go:generate mockgen -destination=mocks_test.go -package=$GOPACKAGE . BlockState |
Oops, something went wrong.