mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 14:01:06 +00:00
Change validation & collation protocol names to include genesis hash & fork id (#5876)
This commit is contained in:
@@ -20,7 +20,8 @@ use bitvec::bitvec;
|
||||
use futures::executor;
|
||||
use maplit::hashmap;
|
||||
use polkadot_node_network_protocol::{
|
||||
grid_topology::SessionBoundGridTopologyStorage, our_view, view, ObservedRole,
|
||||
grid_topology::SessionBoundGridTopologyStorage, our_view, peer_set::ValidationVersion, view,
|
||||
ObservedRole,
|
||||
};
|
||||
use polkadot_node_subsystem::{
|
||||
jaeger,
|
||||
@@ -568,7 +569,12 @@ fn changing_view() {
|
||||
&mut ctx,
|
||||
&mut state,
|
||||
&Default::default(),
|
||||
NetworkBridgeEvent::PeerConnected(peer_b.clone(), ObservedRole::Full, 1, None),
|
||||
NetworkBridgeEvent::PeerConnected(
|
||||
peer_b.clone(),
|
||||
ObservedRole::Full,
|
||||
ValidationVersion::V1.into(),
|
||||
None
|
||||
),
|
||||
&mut rng,
|
||||
));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user