mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-14 23:45:44 +00:00
* validator discovery: use incremental updates for priority_group * validator discovery: fix compilation * validator discovery: remove Sync bound on Net * "Update Substrate" Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -840,8 +840,13 @@ mod tests {
|
||||
}
|
||||
}
|
||||
|
||||
#[async_trait]
|
||||
impl validator_discovery::Network for TestNetwork {
|
||||
fn set_priority_group(&self, _group_id: String, _multiaddresses: HashSet<Multiaddr>) -> Result<(), String> {
|
||||
async fn add_to_priority_group(&mut self, _group_id: String, _multiaddresses: HashSet<Multiaddr>) -> Result<(), String> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
async fn remove_from_priority_group(&mut self, _group_id: String, _multiaddresses: HashSet<Multiaddr>) -> Result<(), String> {
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user