mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 15:41:02 +00:00
BEEFY: Support compatibility with Warp Sync - Allow Warp Sync for Validators (#2689)
Resolves https://github.com/paritytech/polkadot-sdk/issues/2627 Initializes voter _after_ headers sync finishes in the background. This enables the BEEFY gadget to work with `--sync warp` (GRANDPA warp sync). Co-authored-by: Adrian Catangiu <adrian@parity.io>
This commit is contained in:
@@ -260,7 +260,11 @@ where
|
||||
///
|
||||
/// Only votes for `set_id` and rounds `start <= round <= end` will be accepted.
|
||||
pub(crate) fn update_filter(&self, filter: GossipFilterCfg<B>) {
|
||||
debug!(target: LOG_TARGET, "🥩 New gossip filter {:?}", filter);
|
||||
debug!(
|
||||
target: LOG_TARGET,
|
||||
"🥩 New gossip filter: start {:?}, end {:?}, validator set id {:?}",
|
||||
filter.start, filter.end, filter.validator_set.id()
|
||||
);
|
||||
self.gossip_filter.write().update(filter);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user