mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-30 22:39:57 +00:00
sc-consensus-beefy: restart voter on pallet reset (#14821)
When detecting pallet-beefy consensus reset, just reinitialize the worker and continue without bringing down the task (and possibly the node). Signed-off-by: Adrian Catangiu <adrian@parity.io>
This commit is contained in:
1 parent
3710edfedc
commit
32541bde15
7 files changed
+129
-101
No files matched your search
@@ -75,7 +75,7 @@ pub struct JustificationRequest<B: Block> {
|
||||
}
|
||||
|
||||
#[derive(Debug, thiserror::Error)]
|
||||
pub(crate) enum Error {
|
||||
pub enum Error {
|
||||
#[error(transparent)]
|
||||
Client(#[from] sp_blockchain::Error),
|
||||
|
||||
@@ -102,4 +102,7 @@ pub(crate) enum Error {
|
||||
|
||||
#[error("Internal error while getting response.")]
|
||||
ResponseError,
|
||||
|
||||
#[error("On-demand requests receiver stream terminated.")]
|
||||
RequestsReceiverStreamClosed,
|
||||
}
|
||||
Reference in new issue
Block a user