Cleanup dependencies + dead code (#2302)

This commit is contained in:
Sebastian Kunert
2023-03-10 17:09:38 +01:00
committed by GitHub
parent ce03148b28
commit 15ba3d666f
15 changed files with 50 additions and 106 deletions
+2 -19
View File
@@ -1957,7 +1957,6 @@ dependencies = [
"cumulus-relay-chain-interface", "cumulus-relay-chain-interface",
"cumulus-relay-chain-minimal-node", "cumulus-relay-chain-minimal-node",
"futures", "futures",
"parking_lot 0.12.1",
"polkadot-primitives", "polkadot-primitives",
"sc-client-api", "sc-client-api",
"sc-consensus", "sc-consensus",
@@ -2255,7 +2254,6 @@ dependencies = [
"sp-blockchain", "sp-blockchain",
"sp-state-machine", "sp-state-machine",
"thiserror", "thiserror",
"tokio",
] ]
[[package]] [[package]]
@@ -2278,15 +2276,10 @@ dependencies = [
"polkadot-service", "polkadot-service",
"sc-authority-discovery", "sc-authority-discovery",
"sc-client-api", "sc-client-api",
"sc-consensus",
"sc-keystore",
"sc-network", "sc-network",
"sc-network-common", "sc-network-common",
"sc-service", "sc-service",
"sc-telemetry",
"sc-tracing", "sc-tracing",
"sc-transaction-pool",
"sc-transaction-pool-api",
"sp-api", "sp-api",
"sp-blockchain", "sp-blockchain",
"sp-consensus", "sp-consensus",
@@ -2294,7 +2287,6 @@ dependencies = [
"sp-runtime", "sp-runtime",
"tokio", "tokio",
"tracing", "tracing",
"url",
] ]
[[package]] [[package]]
@@ -2309,9 +2301,10 @@ dependencies = [
"jsonrpsee", "jsonrpsee",
"lru 0.9.0", "lru 0.9.0",
"parity-scale-codec", "parity-scale-codec",
"polkadot-service", "polkadot-overseer",
"sc-client-api", "sc-client-api",
"sc-rpc-api", "sc-rpc-api",
"sc-service",
"serde", "serde",
"serde_json", "serde_json",
"sp-api", "sp-api",
@@ -2417,7 +2410,6 @@ dependencies = [
"cumulus-client-cli", "cumulus-client-cli",
"cumulus-client-consensus-common", "cumulus-client-consensus-common",
"cumulus-client-consensus-relay-chain", "cumulus-client-consensus-relay-chain",
"cumulus-client-network",
"cumulus-client-pov-recovery", "cumulus-client-pov-recovery",
"cumulus-client-service", "cumulus-client-service",
"cumulus-primitives-core", "cumulus-primitives-core",
@@ -2425,7 +2417,6 @@ dependencies = [
"cumulus-relay-chain-inprocess-interface", "cumulus-relay-chain-inprocess-interface",
"cumulus-relay-chain-interface", "cumulus-relay-chain-interface",
"cumulus-relay-chain-minimal-node", "cumulus-relay-chain-minimal-node",
"cumulus-relay-chain-rpc-interface",
"cumulus-test-relay-validation-worker-provider", "cumulus-test-relay-validation-worker-provider",
"cumulus-test-runtime", "cumulus-test-runtime",
"frame-system", "frame-system",
@@ -7094,7 +7085,6 @@ dependencies = [
"cumulus-client-cli", "cumulus-client-cli",
"cumulus-client-consensus-aura", "cumulus-client-consensus-aura",
"cumulus-client-consensus-common", "cumulus-client-consensus-common",
"cumulus-client-network",
"cumulus-client-service", "cumulus-client-service",
"cumulus-primitives-core", "cumulus-primitives-core",
"cumulus-primitives-parachain-inherent", "cumulus-primitives-parachain-inherent",
@@ -7108,14 +7098,12 @@ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"polkadot-cli", "polkadot-cli",
"polkadot-primitives", "polkadot-primitives",
"polkadot-service",
"sc-basic-authorship", "sc-basic-authorship",
"sc-chain-spec", "sc-chain-spec",
"sc-cli", "sc-cli",
"sc-client-api", "sc-client-api",
"sc-consensus", "sc-consensus",
"sc-executor", "sc-executor",
"sc-network",
"sc-network-common", "sc-network-common",
"sc-network-sync", "sc-network-sync",
"sc-rpc", "sc-rpc",
@@ -7133,11 +7121,8 @@ dependencies = [
"sp-core", "sp-core",
"sp-io", "sp-io",
"sp-keystore", "sp-keystore",
"sp-offchain",
"sp-runtime", "sp-runtime",
"sp-session",
"sp-timestamp", "sp-timestamp",
"sp-transaction-pool",
"substrate-build-script-utils", "substrate-build-script-utils",
"substrate-frame-rpc-system", "substrate-frame-rpc-system",
"substrate-prometheus-endpoint", "substrate-prometheus-endpoint",
@@ -8353,7 +8338,6 @@ dependencies = [
"cumulus-client-consensus-aura", "cumulus-client-consensus-aura",
"cumulus-client-consensus-common", "cumulus-client-consensus-common",
"cumulus-client-consensus-relay-chain", "cumulus-client-consensus-relay-chain",
"cumulus-client-network",
"cumulus-client-service", "cumulus-client-service",
"cumulus-primitives-core", "cumulus-primitives-core",
"cumulus-primitives-parachain-inherent", "cumulus-primitives-parachain-inherent",
@@ -8395,7 +8379,6 @@ dependencies = [
"sp-api", "sp-api",
"sp-block-builder", "sp-block-builder",
"sp-blockchain", "sp-blockchain",
"sp-consensus",
"sp-consensus-aura", "sp-consensus-aura",
"sp-core", "sp-core",
"sp-io", "sp-io",
@@ -14,7 +14,6 @@ sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "mas
sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
tokio = { version = "1.25.0", features = ["sync"] }
futures = "0.3.26" futures = "0.3.26"
async-trait = "0.1.63" async-trait = "0.1.63"
thiserror = "1.0.38" thiserror = "1.0.38"
@@ -17,15 +17,10 @@ polkadot-network-bridge = { git = "https://github.com/paritytech/polkadot", bran
# substrate deps # substrate deps
sc-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-network-common = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-network-common = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" }
@@ -42,5 +37,4 @@ lru = "0.9"
tracing = "0.1.37" tracing = "0.1.37"
async-trait = "0.1.63" async-trait = "0.1.63"
futures = "0.3.26" futures = "0.3.26"
url = "2.2.2"
tokio = { version = "1.25.0", features = ["macros"] } tokio = { version = "1.25.0", features = ["macros"] }
@@ -19,13 +19,12 @@ use std::pin::Pin;
use cumulus_relay_chain_interface::{RelayChainError, RelayChainResult}; use cumulus_relay_chain_interface::{RelayChainError, RelayChainResult};
use cumulus_relay_chain_rpc_interface::RelayChainRpcClient; use cumulus_relay_chain_rpc_interface::RelayChainRpcClient;
use futures::{Future, Stream, StreamExt}; use futures::{Future, Stream, StreamExt};
use polkadot_core_primitives::{Block, Hash, Header}; use polkadot_core_primitives::{Block, BlockNumber, Hash, Header};
use polkadot_overseer::RuntimeApiSubsystemClient; use polkadot_overseer::RuntimeApiSubsystemClient;
use polkadot_service::{AuxStore, HeaderBackend};
use sc_authority_discovery::AuthorityDiscovery; use sc_authority_discovery::AuthorityDiscovery;
use sp_api::{ApiError, RuntimeApiInfo}; use sp_api::{ApiError, RuntimeApiInfo};
use sp_blockchain::Info; use sp_blockchain::{HeaderBackend, Info};
use sp_runtime::traits::{Block as BlockT, Header as HeaderT, NumberFor};
#[derive(Clone)] #[derive(Clone)]
pub struct BlockChainRpcClient { pub struct BlockChainRpcClient {
@@ -46,34 +45,12 @@ impl BlockChainRpcClient {
pub async fn block_get_hash( pub async fn block_get_hash(
&self, &self,
number: Option<polkadot_service::BlockNumber>, number: Option<BlockNumber>,
) -> Result<Option<Hash>, RelayChainError> { ) -> Result<Option<Hash>, RelayChainError> {
self.rpc_client.chain_get_block_hash(number).await self.rpc_client.chain_get_block_hash(number).await
} }
} }
// Implementation required by Availability-Distribution subsystem
// but never called in our case.
impl AuxStore for BlockChainRpcClient {
fn insert_aux<
'a,
'b: 'a,
'c: 'a,
I: IntoIterator<Item = &'a (&'c [u8], &'c [u8])>,
D: IntoIterator<Item = &'a &'b [u8]>,
>(
&self,
_insert: I,
_delete: D,
) -> sp_blockchain::Result<()> {
unimplemented!("Not supported on the RPC collator")
}
fn get_aux(&self, _key: &[u8]) -> sp_blockchain::Result<Option<Vec<u8>>> {
unimplemented!("Not supported on the RPC collator")
}
}
#[async_trait::async_trait] #[async_trait::async_trait]
impl RuntimeApiSubsystemClient for BlockChainRpcClient { impl RuntimeApiSubsystemClient for BlockChainRpcClient {
async fn validators( async fn validators(
@@ -359,8 +336,8 @@ fn block_local<T>(fut: impl Future<Output = T>) -> T {
impl HeaderBackend<Block> for BlockChainRpcClient { impl HeaderBackend<Block> for BlockChainRpcClient {
fn header( fn header(
&self, &self,
hash: <Block as polkadot_service::BlockT>::Hash, hash: <Block as BlockT>::Hash,
) -> sp_blockchain::Result<Option<<Block as polkadot_service::BlockT>::Header>> { ) -> sp_blockchain::Result<Option<<Block as BlockT>::Header>> {
Ok(block_local(self.rpc_client.chain_get_header(Some(hash)))?) Ok(block_local(self.rpc_client.chain_get_header(Some(hash)))?)
} }
@@ -389,7 +366,7 @@ impl HeaderBackend<Block> for BlockChainRpcClient {
fn status( fn status(
&self, &self,
hash: <Block as polkadot_service::BlockT>::Hash, hash: <Block as BlockT>::Hash,
) -> sp_blockchain::Result<sp_blockchain::BlockStatus> { ) -> sp_blockchain::Result<sp_blockchain::BlockStatus> {
if self.header(hash)?.is_some() { if self.header(hash)?.is_some() {
Ok(sc_client_api::blockchain::BlockStatus::InChain) Ok(sc_client_api::blockchain::BlockStatus::InChain)
@@ -400,10 +377,8 @@ impl HeaderBackend<Block> for BlockChainRpcClient {
fn number( fn number(
&self, &self,
hash: <Block as polkadot_service::BlockT>::Hash, hash: <Block as BlockT>::Hash,
) -> sp_blockchain::Result< ) -> sp_blockchain::Result<Option<<<Block as BlockT>::Header as HeaderT>::Number>> {
Option<<<Block as polkadot_service::BlockT>::Header as polkadot_service::HeaderT>::Number>,
> {
let result = block_local(self.rpc_client.chain_get_header(Some(hash)))? let result = block_local(self.rpc_client.chain_get_header(Some(hash)))?
.map(|maybe_header| maybe_header.number); .map(|maybe_header| maybe_header.number);
Ok(result) Ok(result)
@@ -411,8 +386,8 @@ impl HeaderBackend<Block> for BlockChainRpcClient {
fn hash( fn hash(
&self, &self,
number: polkadot_service::NumberFor<Block>, number: NumberFor<Block>,
) -> sp_blockchain::Result<Option<<Block as polkadot_service::BlockT>::Hash>> { ) -> sp_blockchain::Result<Option<<Block as BlockT>::Hash>> {
Ok(block_local(self.rpc_client.chain_get_block_hash(number.into()))?) Ok(block_local(self.rpc_client.chain_get_block_hash(number.into()))?)
} }
} }
@@ -14,8 +14,10 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
use cumulus_relay_chain_interface::RelayChainError; use futures::{select, StreamExt};
use lru::LruCache; use lru::LruCache;
use std::sync::Arc;
use polkadot_node_network_protocol::{ use polkadot_node_network_protocol::{
peer_set::PeerSetProtocolNames, peer_set::PeerSetProtocolNames,
request_response::{ request_response::{
@@ -25,8 +27,8 @@ use polkadot_node_network_protocol::{
}; };
use polkadot_node_subsystem_util::metrics::{prometheus::Registry, Metrics}; use polkadot_node_subsystem_util::metrics::{prometheus::Registry, Metrics};
use polkadot_overseer::{ use polkadot_overseer::{
BlockInfo, DummySubsystem, MetricsTrait, Overseer, OverseerHandle, OverseerMetrics, SpawnGlue, BlockInfo, DummySubsystem, Handle, MetricsTrait, Overseer, OverseerHandle, OverseerMetrics,
KNOWN_LEAVES_CACHE_SIZE, SpawnGlue, KNOWN_LEAVES_CACHE_SIZE,
}; };
use polkadot_primitives::CollatorPair; use polkadot_primitives::CollatorPair;
use polkadot_service::{ use polkadot_service::{
@@ -37,18 +39,16 @@ use polkadot_service::{
}, },
Error, OverseerConnector, Error, OverseerConnector,
}; };
use sc_authority_discovery::Service as AuthorityDiscoveryService; use sc_authority_discovery::Service as AuthorityDiscoveryService;
use sc_network::NetworkStateInfo; use sc_network::NetworkStateInfo;
use sc_service::TaskManager;
use std::sync::Arc; use sp_runtime::traits::Block as BlockT;
use cumulus_primitives_core::relay_chain::{Block, Hash as PHash}; use cumulus_primitives_core::relay_chain::{Block, Hash as PHash};
use cumulus_relay_chain_interface::RelayChainError;
use polkadot_service::{Handle, TaskManager};
use crate::BlockChainRpcClient; use crate::BlockChainRpcClient;
use futures::{select, StreamExt};
use sp_runtime::traits::Block as BlockT;
/// Arguments passed for overseer construction. /// Arguments passed for overseer construction.
pub(crate) struct CollatorOverseerGenArgs<'a> { pub(crate) struct CollatorOverseerGenArgs<'a> {
@@ -30,13 +30,11 @@ use polkadot_primitives::CollatorPair;
use sc_authority_discovery::Service as AuthorityDiscoveryService; use sc_authority_discovery::Service as AuthorityDiscoveryService;
use sc_network::{Event, NetworkService}; use sc_network::{Event, NetworkService};
use sc_network_common::service::NetworkEventStream; use sc_network_common::service::NetworkEventStream;
use std::sync::Arc; use sc_service::{Configuration, TaskManager};
use sp_runtime::{app_crypto::Pair, traits::Block as BlockT};
use polkadot_service::{Configuration, TaskManager};
use futures::StreamExt; use futures::StreamExt;
use std::sync::Arc;
use sp_runtime::{app_crypto::Pair, traits::Block as BlockT};
mod collator_overseer; mod collator_overseer;
@@ -15,7 +15,7 @@
// along with Cumulus. If not, see <http://www.gnu.org/licenses/>. // along with Cumulus. If not, see <http://www.gnu.org/licenses/>.
use polkadot_core_primitives::{Block, Hash}; use polkadot_core_primitives::{Block, Hash};
use polkadot_service::{BlockT, NumberFor}; use sp_runtime::traits::{Block as BlockT, NumberFor};
use sc_network::NetworkService; use sc_network::NetworkService;
@@ -6,7 +6,7 @@ edition = "2021"
[dependencies] [dependencies]
polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "master" } polkadot-overseer = { git = "https://github.com/paritytech/polkadot", branch = "master" }
cumulus-primitives-core = { path = "../../primitives/core" } cumulus-primitives-core = { path = "../../primitives/core" }
cumulus-relay-chain-interface = { path = "../relay-chain-interface" } cumulus-relay-chain-interface = { path = "../relay-chain-interface" }
@@ -19,6 +19,8 @@ sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "
sp-storage = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-storage = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" }
tokio = { version = "1.25.0", features = ["sync"] } tokio = { version = "1.25.0", features = ["sync"] }
futures = "0.3.26" futures = "0.3.26"
@@ -25,7 +25,8 @@ use cumulus_primitives_core::{
}; };
use cumulus_relay_chain_interface::{RelayChainError, RelayChainInterface, RelayChainResult}; use cumulus_relay_chain_interface::{RelayChainError, RelayChainInterface, RelayChainResult};
use futures::{FutureExt, Stream, StreamExt}; use futures::{FutureExt, Stream, StreamExt};
use polkadot_service::Handle; use polkadot_overseer::Handle;
use sc_client_api::StorageProof; use sc_client_api::StorageProof;
use sp_core::sp_std::collections::btree_map::BTreeMap; use sp_core::sp_std::collections::btree_map::BTreeMap;
use sp_state_machine::StorageValue; use sp_state_machine::StorageValue;
@@ -37,7 +37,7 @@ use jsonrpsee::{
ws_client::WsClientBuilder, ws_client::WsClientBuilder,
}; };
use lru::LruCache; use lru::LruCache;
use polkadot_service::TaskManager; use sc_service::TaskManager;
use std::{num::NonZeroUsize, sync::Arc}; use std::{num::NonZeroUsize, sync::Arc};
use tokio::sync::mpsc::{ use tokio::sync::mpsc::{
channel as tokio_channel, Receiver as TokioReceiver, Sender as TokioSender, channel as tokio_channel, Receiver as TokioReceiver, Sender as TokioSender,
@@ -14,10 +14,23 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Cumulus. If not, see <http://www.gnu.org/licenses/>. // along with Cumulus. If not, see <http://www.gnu.org/licenses/>.
use crate::reconnecting_ws_client::ReconnectingWsClient; use futures::channel::mpsc::Receiver;
use jsonrpsee::{core::params::ArrayParams, rpc_params};
use parity_scale_codec::{Decode, Encode};
use serde::de::DeserializeOwned;
pub use url::Url;
use sc_client_api::StorageData;
use sc_rpc_api::{state::ReadProof, system::Health};
use sc_service::TaskManager;
use sp_api::RuntimeVersion;
use sp_consensus_babe::Epoch;
use sp_core::sp_std::collections::btree_map::BTreeMap;
use sp_storage::StorageKey;
use cumulus_primitives_core::{ use cumulus_primitives_core::{
relay_chain::{ relay_chain::{
vstaging::ExecutorParams, CandidateCommitments, CandidateEvent, CandidateHash, vstaging::ExecutorParams, BlockNumber, CandidateCommitments, CandidateEvent, CandidateHash,
CommittedCandidateReceipt, CoreState, DisputeState, GroupRotationInfo, Hash as RelayHash, CommittedCandidateReceipt, CoreState, DisputeState, GroupRotationInfo, Hash as RelayHash,
Header as RelayHeader, InboundHrmpMessage, OccupiedCoreAssumption, PvfCheckStatement, Header as RelayHeader, InboundHrmpMessage, OccupiedCoreAssumption, PvfCheckStatement,
ScrapedOnChainVotes, SessionIndex, SessionInfo, ValidationCode, ValidationCodeHash, ScrapedOnChainVotes, SessionIndex, SessionInfo, ValidationCode, ValidationCodeHash,
@@ -26,18 +39,8 @@ use cumulus_primitives_core::{
InboundDownwardMessage, ParaId, PersistedValidationData, InboundDownwardMessage, ParaId, PersistedValidationData,
}; };
use cumulus_relay_chain_interface::{RelayChainError, RelayChainResult}; use cumulus_relay_chain_interface::{RelayChainError, RelayChainResult};
use futures::channel::mpsc::Receiver;
use jsonrpsee::{core::params::ArrayParams, rpc_params}; use crate::reconnecting_ws_client::ReconnectingWsClient;
use parity_scale_codec::{Decode, Encode};
use polkadot_service::{BlockNumber, TaskManager};
use sc_client_api::StorageData;
use sc_rpc_api::{state::ReadProof, system::Health};
use serde::de::DeserializeOwned;
use sp_api::RuntimeVersion;
use sp_consensus_babe::Epoch;
use sp_core::sp_std::collections::btree_map::BTreeMap;
use sp_storage::StorageKey;
pub use url::Url;
const LOG_TARGET: &str = "relay-chain-rpc-client"; const LOG_TARGET: &str = "relay-chain-rpc-client";
@@ -261,7 +264,7 @@ impl RelayChainRpcClient {
/// Get hash of n-th block. /// Get hash of n-th block.
pub async fn chain_get_block_hash( pub async fn chain_get_block_hash(
&self, &self,
block_number: Option<polkadot_service::BlockNumber>, block_number: Option<BlockNumber>,
) -> Result<Option<RelayHash>, RelayChainError> { ) -> Result<Option<RelayHash>, RelayChainError> {
let params = rpc_params![block_number]; let params = rpc_params![block_number];
self.request("chain_getBlockHash", params).await self.request("chain_getBlockHash", params).await
-1
View File
@@ -5,7 +5,6 @@ authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021" edition = "2021"
[dependencies] [dependencies]
parking_lot = "0.12.1"
futures = "0.3.26" futures = "0.3.26"
# Substrate # Substrate
@@ -29,7 +29,6 @@ sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-network-common = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-network-common = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-network-sync = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-network-sync = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" }
@@ -45,12 +44,9 @@ sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "mas
sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-session = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" }
substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "master" } substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "master" }
substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "master" } substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "master" }
try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
@@ -58,14 +54,12 @@ try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "m
# Polkadot # Polkadot
polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "master" } polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "master" }
polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" } polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" }
polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "master" }
xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
# Cumulus # Cumulus
cumulus-client-cli = { path = "../../client/cli" } cumulus-client-cli = { path = "../../client/cli" }
cumulus-client-consensus-aura = { path = "../../client/consensus/aura" } cumulus-client-consensus-aura = { path = "../../client/consensus/aura" }
cumulus-client-consensus-common = { path = "../../client/consensus/common" } cumulus-client-consensus-common = { path = "../../client/consensus/common" }
cumulus-client-network = { path = "../../client/network" }
cumulus-client-service = { path = "../../client/service" } cumulus-client-service = { path = "../../client/service" }
cumulus-primitives-core = { path = "../../primitives/core" } cumulus-primitives-core = { path = "../../primitives/core" }
cumulus-primitives-parachain-inherent = { path = "../../primitives/parachain-inherent" } cumulus-primitives-parachain-inherent = { path = "../../primitives/parachain-inherent" }
-2
View File
@@ -41,7 +41,6 @@ frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", bran
sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-session = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-session = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" }
@@ -86,7 +85,6 @@ cumulus-client-consensus-aura = { path = "../client/consensus/aura" }
cumulus-client-consensus-relay-chain = { path = "../client/consensus/relay-chain" } cumulus-client-consensus-relay-chain = { path = "../client/consensus/relay-chain" }
cumulus-client-consensus-common = { path = "../client/consensus/common" } cumulus-client-consensus-common = { path = "../client/consensus/common" }
cumulus-client-service = { path = "../client/service" } cumulus-client-service = { path = "../client/service" }
cumulus-client-network = { path = "../client/network" }
cumulus-primitives-core = { path = "../primitives/core" } cumulus-primitives-core = { path = "../primitives/core" }
cumulus-primitives-parachain-inherent = { path = "../primitives/parachain-inherent" } cumulus-primitives-parachain-inherent = { path = "../primitives/parachain-inherent" }
cumulus-relay-chain-interface = { path = "../client/relay-chain-interface" } cumulus-relay-chain-interface = { path = "../client/relay-chain-interface" }
-2
View File
@@ -62,13 +62,11 @@ cumulus-client-cli = { path = "../../client/cli" }
parachains-common = { path = "../../parachains/common" } parachains-common = { path = "../../parachains/common" }
cumulus-client-consensus-common = { path = "../../client/consensus/common" } cumulus-client-consensus-common = { path = "../../client/consensus/common" }
cumulus-client-consensus-relay-chain = { path = "../../client/consensus/relay-chain" } cumulus-client-consensus-relay-chain = { path = "../../client/consensus/relay-chain" }
cumulus-client-network = { path = "../../client/network" }
cumulus-client-service = { path = "../../client/service" } cumulus-client-service = { path = "../../client/service" }
cumulus-primitives-core = { path = "../../primitives/core" } cumulus-primitives-core = { path = "../../primitives/core" }
cumulus-primitives-parachain-inherent = { path = "../../primitives/parachain-inherent" } cumulus-primitives-parachain-inherent = { path = "../../primitives/parachain-inherent" }
cumulus-relay-chain-inprocess-interface = { path = "../../client/relay-chain-inprocess-interface" } cumulus-relay-chain-inprocess-interface = { path = "../../client/relay-chain-inprocess-interface" }
cumulus-relay-chain-interface = { path = "../../client/relay-chain-interface" } cumulus-relay-chain-interface = { path = "../../client/relay-chain-interface" }
cumulus-relay-chain-rpc-interface = { path = "../../client/relay-chain-rpc-interface" }
cumulus-test-relay-validation-worker-provider = { path = "../relay-validation-worker-provider" } cumulus-test-relay-validation-worker-provider = { path = "../relay-validation-worker-provider" }
cumulus-test-runtime = { path = "../runtime" } cumulus-test-runtime = { path = "../runtime" }
cumulus-relay-chain-minimal-node = { path = "../../client/relay-chain-minimal-node" } cumulus-relay-chain-minimal-node = { path = "../../client/relay-chain-minimal-node" }