Unverified Commit 86d49a45 authored by Pierre Krieger's avatar Pierre Krieger Committed by GitHub
Browse files

Redefine RequetsId instead of using it from Substrate (#857)

parent 8c5642fd
Pipeline #80098 passed with stages
in 23 minutes and 41 seconds
......@@ -34,7 +34,7 @@ use polkadot_primitives::parachain::{
ValidatorId, ErasureChunk,
};
use sc_network::{
PeerId, RequestId, Context, StatusMessage as GenericFullStatus,
PeerId, Context, StatusMessage as GenericFullStatus,
specialization::NetworkSpecialization as Specialization,
};
use sc_network_gossip::TopicNotification;
......@@ -54,6 +54,7 @@ use crate::{cost, benefit};
mod tests;
type FullStatus = GenericFullStatus<Block>;
type RequestId = u64;
/// Specialization of the network service for the polkadot protocol.
pub type PolkadotNetworkService = sc_network::NetworkService<Block, PolkadotProtocol, Hash>;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment