From 62ccc85392478a2631edcaac6454fa6080c0e741 Mon Sep 17 00:00:00 2001 From: Dan Shields <35669742+NukeManDan@users.noreply.github.com> Date: Wed, 2 Mar 2022 00:07:29 -0700 Subject: [PATCH] Update Cumulus to common Cargo formmating scheme (#1050) * Update throughout with common Cargo formating scheme --- cumulus/client/cli/Cargo.toml | 2 +- cumulus/client/collator/Cargo.toml | 50 +++-- cumulus/client/consensus/aura/Cargo.toml | 37 ++-- cumulus/client/consensus/common/Cargo.toml | 34 ++-- .../client/consensus/relay-chain/Cargo.toml | 29 ++- cumulus/client/network/Cargo.toml | 60 +++--- cumulus/client/pov-recovery/Cargo.toml | 39 ++-- .../Cargo.toml | 49 ++--- cumulus/client/service/Cargo.toml | 37 ++-- cumulus/pallets/aura-ext/Cargo.toml | 27 +-- cumulus/pallets/dmp-queue/Cargo.toml | 27 ++- cumulus/pallets/parachain-system/Cargo.toml | 66 ++++--- cumulus/pallets/solo-to-para/Cargo.toml | 27 ++- cumulus/pallets/xcmp-queue/Cargo.toml | 33 ++-- cumulus/parachain-template/node/Cargo.toml | 62 +++--- .../pallets/template/Cargo.toml | 17 +- cumulus/parachain-template/runtime/Cargo.toml | 133 +++++++------ cumulus/polkadot-parachains/Cargo.toml | 41 ++-- .../canvas-kusama/Cargo.toml | 177 +++++++++--------- .../parachains-common/Cargo.toml | 39 ++-- .../rococo-parachain/Cargo.toml | 110 ++++++----- .../polkadot-parachains/seedling/Cargo.toml | 59 +++--- cumulus/polkadot-parachains/shell/Cargo.toml | 71 ++++--- .../polkadot-parachains/statemine/Cargo.toml | 138 +++++++------- .../polkadot-parachains/statemint/Cargo.toml | 139 +++++++------- .../polkadot-parachains/westmint/Cargo.toml | 141 +++++++------- cumulus/primitives/core/Cargo.toml | 27 ++- .../primitives/parachain-inherent/Cargo.toml | 46 +++-- cumulus/primitives/timestamp/Cargo.toml | 23 +-- cumulus/primitives/utility/Cargo.toml | 27 ++- cumulus/test/client/Cargo.toml | 16 +- cumulus/test/relay-sproof-builder/Cargo.toml | 11 +- .../Cargo.toml | 2 + cumulus/test/runtime/Cargo.toml | 14 +- cumulus/test/service/Cargo.toml | 28 ++- 35 files changed, 896 insertions(+), 942 deletions(-) diff --git a/cumulus/client/cli/Cargo.toml b/cumulus/client/cli/Cargo.toml index 358143e683e..f9ea950d170 100644 --- a/cumulus/client/cli/Cargo.toml +++ b/cumulus/client/cli/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" [dependencies] clap = { version = "3.1", features = ["derive"] } -# Substrate dependencies +# Substrate sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } url = "2.2.2" diff --git a/cumulus/client/collator/Cargo.toml b/cumulus/client/collator/Cargo.toml index 937d9b23c50..b6c0c4eb905 100644 --- a/cumulus/client/collator/Cargo.toml +++ b/cumulus/client/collator/Cargo.toml @@ -5,43 +5,41 @@ authors = ["Parity Technologies <admin@parity.io>"] edition = "2021" [dependencies] -# Substrate dependencies -sp-runtime = { 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-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +codec = { package = "parity-scale-codec", version = "3.0.0", features = [ "derive" ] } +futures = { version = "0.3.1", features = ["compat"] } +parking_lot = "0.12.0" +tracing = "0.1.25" + +# Substrate sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -# Polkadot dependencies -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" } +# Polkadot polkadot-node-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" } -polkadot-overseer = { git = "https://github.com/paritytech/polkadot", branch = "master" } polkadot-node-subsystem = { git = "https://github.com/paritytech/polkadot", branch = "master" } +polkadot-overseer = { git = "https://github.com/paritytech/polkadot", branch = "master" } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" } -# Cumulus dependencies -cumulus-client-network = { path = "../network" } +# Cumulus cumulus-client-consensus-common = { path = "../consensus/common" } +cumulus-client-network = { path = "../network" } cumulus-primitives-core = { path = "../../primitives/core" } cumulus-relay-chain-interface = { path = "../relay-chain-interface" } -# Other dependencies -codec = { package = "parity-scale-codec", version = "3.0.0", features = [ "derive" ] } -futures = { version = "0.3.1", features = ["compat"] } -parking_lot = "0.12.0" -tracing = "0.1.25" - [dev-dependencies] -# Polkadot dependencies -polkadot-node-subsystem-test-helpers = { git = "https://github.com/paritytech/polkadot", branch = "master" } - -# Cumulus dependencies -cumulus-test-runtime = { path = "../../test/runtime" } -cumulus-test-client = { path = "../../test/client" } +async-trait = "0.1.42" -# Substrate dependencies +# Substrate +sp-maybe-compressed-blob = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-maybe-compressed-blob = { git = "https://github.com/paritytech/substrate", branch = "master" } -# Other dependencies -async-trait = "0.1.42" +# Polkadot +polkadot-node-subsystem-test-helpers = { git = "https://github.com/paritytech/polkadot", branch = "master" } + +# Cumulus +cumulus-test-client = { path = "../../test/client" } +cumulus-test-runtime = { path = "../../test/runtime" } diff --git a/cumulus/client/consensus/aura/Cargo.toml b/cumulus/client/consensus/aura/Cargo.toml index 35e3ff9a420..345d3f1777a 100644 --- a/cumulus/client/consensus/aura/Cargo.toml +++ b/cumulus/client/consensus/aura/Cargo.toml @@ -6,30 +6,29 @@ authors = ["Parity Technologies <admin@parity.io>"] edition = "2021" [dependencies] -# Substrate dependencies -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } +async-trait = "0.1.42" +codec = { package = "parity-scale-codec", version = "3.0.0", features = [ "derive" ] } +futures = { version = "0.3.8", features = ["compat"] } +tracing = "0.1.31" + +# Substrate sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus = { 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-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "master" } -# Cumulus dependencies +# Cumulus cumulus-client-consensus-common = { path = "../common" } cumulus-primitives-core = { path = "../../../primitives/core" } - -# Other deps -futures = { version = "0.3.8", features = ["compat"] } -codec = { package = "parity-scale-codec", version = "3.0.0", features = [ "derive" ] } -tracing = "0.1.31" -async-trait = "0.1.42" diff --git a/cumulus/client/consensus/common/Cargo.toml b/cumulus/client/consensus/common/Cargo.toml index 5b92152d0f2..c5d693586fd 100644 --- a/cumulus/client/consensus/common/Cargo.toml +++ b/cumulus/client/consensus/common/Cargo.toml @@ -6,32 +6,32 @@ authors = ["Parity Technologies <admin@parity.io>"] edition = "2021" [dependencies] -# Substrate deps -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +futures = { version = "0.3.8", features = ["compat"] } +codec = { package = "parity-scale-codec", version = "3.0.0", features = [ "derive" ] } +tracing = "0.1.31" +async-trait = "0.1.52" +dyn-clone = "1.0.4" + +# Substrate sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus = { 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-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } -# Polkadot deps +# Polkadot polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" } -# Cumulus deps +# Cumulus cumulus-relay-chain-interface = { path = "../../relay-chain-interface" } -# Other deps -futures = { version = "0.3.8", features = ["compat"] } -codec = { package = "parity-scale-codec", version = "3.0.0", features = [ "derive" ] } -tracing = "0.1.31" -async-trait = "0.1.52" -dyn-clone = "1.0.4" - [dev-dependencies] -# Substrate deps +futures-timer = "3.0.2" + +# Substrate sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } -# Cumulus dependencies + +# Cumulus cumulus-test-client = { path = "../../../test/client" } -# Other deps -futures-timer = "3.0.2" diff --git a/cumulus/client/consensus/relay-chain/Cargo.toml b/cumulus/client/consensus/relay-chain/Cargo.toml index 0e8cf0c2a20..f4ebf1fc3f7 100644 --- a/cumulus/client/consensus/relay-chain/Cargo.toml +++ b/cumulus/client/consensus/relay-chain/Cargo.toml @@ -6,27 +6,24 @@ authors = ["Parity Technologies <admin@parity.io>"] edition = "2021" [dependencies] -# Substrate deps +async-trait = "0.1.42" +futures = { version = "0.3.8", features = ["compat"] } +parking_lot = "0.12.0" +tracing = "0.1.31" + +# Substrate +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-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" } substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "master" } -# Polkadot dependencies - -# Cumulus dependencies +# Cumulus cumulus-client-consensus-common = { path = "../common" } cumulus-primitives-core = { path = "../../../primitives/core" } cumulus-relay-chain-interface = { path = "../../relay-chain-interface" } - -# Other deps -futures = { version = "0.3.8", features = ["compat"] } -tracing = "0.1.31" -async-trait = "0.1.42" -parking_lot = "0.12.0" diff --git a/cumulus/client/network/Cargo.toml b/cumulus/client/network/Cargo.toml index ea2dda69cff..030eb7316d4 100644 --- a/cumulus/client/network/Cargo.toml +++ b/cumulus/client/network/Cargo.toml @@ -6,52 +6,52 @@ description = "Cumulus-specific networking protocol" edition = "2021" [dependencies] -# Substrate deps +async-trait = "0.1.52" +codec = { package = "parity-scale-codec", version = "3.0.0", features = [ "derive" ] } +derive_more = "0.99.2" +futures = { version = "0.3.1", features = ["compat"] } +futures-timer = "3.0.2" +parking_lot = "0.12.0" +tracing = "0.1.31" + +# Substrate +sc-client-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-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master" } -# Polkadot deps -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" } +# Polkadot polkadot-node-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" } polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "master" } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" } +# Cumulus cumulus-relay-chain-interface = { path = "../relay-chain-interface" } -# other deps -codec = { package = "parity-scale-codec", version = "3.0.0", features = [ "derive" ] } -futures = { version = "0.3.1", features = ["compat"] } -futures-timer = "3.0.2" -tracing = "0.1.31" -parking_lot = "0.12.0" -derive_more = "0.99.2" -async-trait = "0.1.52" - [dev-dependencies] portpicker = "0.1.1" -url = "2.2.2" tokio = { version = "1.17.0", features = ["macros"] } +url = "2.2.2" -# Cumulus deps -cumulus-test-service = { path = "../../test/service" } -cumulus-primitives-core = { path = "../../primitives/core" } -cumulus-relay-chain-inprocess-interface = { path = "../relay-chain-inprocess-interface" } - -# Polkadot deps -polkadot-test-client = { git = "https://github.com/paritytech/polkadot", branch = "master" } -polkadot-client = { git = "https://github.com/paritytech/polkadot", branch = "master" } -polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "master" } - -# substrate deps +# Substrate +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } + +# Polkadot +polkadot-client = { git = "https://github.com/paritytech/polkadot", branch = "master" } +polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "master" } +polkadot-test-client = { git = "https://github.com/paritytech/polkadot", branch = "master" } + +# Cumulus +cumulus-primitives-core = { path = "../../primitives/core" } +cumulus-relay-chain-inprocess-interface = { path = "../relay-chain-inprocess-interface" } +cumulus-test-service = { path = "../../test/service" } diff --git a/cumulus/client/pov-recovery/Cargo.toml b/cumulus/client/pov-recovery/Cargo.toml index bc987499c67..815ba3cbea0 100644 --- a/cumulus/client/pov-recovery/Cargo.toml +++ b/cumulus/client/pov-recovery/Cargo.toml @@ -6,39 +6,38 @@ description = "Cumulus-specific networking protocol" edition = "2021" [dependencies] -# Substrate deps -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-maybe-compressed-blob = { git = "https://github.com/paritytech/substrate", branch = "master" } +codec = { package = "parity-scale-codec", version = "3.0.0", features = [ "derive" ] } +futures = { version = "0.3.1", features = ["compat"] } +futures-timer = "3.0.2" +rand = "0.8.5" +tracing = "0.1.31" + +# Substrate sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-maybe-compressed-blob = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -# Polkadot deps -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" } +# Polkadot polkadot-node-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" } -polkadot-overseer = { git = "https://github.com/paritytech/polkadot", branch = "master" } polkadot-node-subsystem = { git = "https://github.com/paritytech/polkadot", branch = "master" } +polkadot-overseer = { git = "https://github.com/paritytech/polkadot", branch = "master" } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" } -# Cumulus deps +# Cumulus cumulus-primitives-core = { path = "../../primitives/core" } cumulus-relay-chain-interface = {path = "../relay-chain-interface"} -# other deps -codec = { package = "parity-scale-codec", version = "3.0.0", features = [ "derive" ] } -futures = { version = "0.3.1", features = ["compat"] } -futures-timer = "3.0.2" -tracing = "0.1.31" -rand = "0.8.5" - [dev-dependencies] tokio = { version = "1.17.0", features = ["macros"] } -# Cumulus deps +# Cumulus cumulus-test-service = { path = "../../test/service" } -# substrate deps -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +# Substrate sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } -substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } +substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/cumulus/client/relay-chain-inprocess-interface/Cargo.toml b/cumulus/client/relay-chain-inprocess-interface/Cargo.toml index ba1c5fa5302..5eee2bd6cd3 100644 --- a/cumulus/client/relay-chain-inprocess-interface/Cargo.toml +++ b/cumulus/client/relay-chain-inprocess-interface/Cargo.toml @@ -5,39 +5,42 @@ version = "0.1.0" edition = "2021" [dependencies] -polkadot-client = { git = "https://github.com/paritytech/polkadot", branch = "master" } -polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "master" } - -cumulus-primitives-core = { path = "../../primitives/core" } -cumulus-relay-chain-interface = { path = "../relay-chain-interface" } - -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master" } +async-trait = "0.1.52" +futures = "0.3.21" +futures-timer = "3.0.2" +parking_lot = "0.12.0" +tracing = "0.1.31" +# Substrate sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-tracing = { 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-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master" } -parking_lot = "0.12.0" -tracing = "0.1.31" -async-trait = "0.1.52" -futures = "0.3.21" -futures-timer = "3.0.2" +# Polkadot +polkadot-client = { git = "https://github.com/paritytech/polkadot", branch = "master" } +polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "master" } + +# Cumulus +cumulus-primitives-core = { path = "../../primitives/core" } +cumulus-relay-chain-interface = { path = "../relay-chain-interface" } [dev-dependencies] -# Cumulus deps -cumulus-test-service = { path = "../../test/service" } -# Polkadot deps -polkadot-test-client = { git = "https://github.com/paritytech/polkadot", branch = "master" } +# Substrate +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } + +# Polkadot polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" } +polkadot-test-client = { git = "https://github.com/paritytech/polkadot", branch = "master" } -# substrate deps -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +# Cumulus +cumulus-test-service = { path = "../../test/service" } \ No newline at end of file diff --git a/cumulus/client/service/Cargo.toml b/cumulus/client/service/Cargo.toml index 7978919b613..b4e434f7d7e 100644 --- a/cumulus/client/service/Cargo.toml +++ b/cumulus/client/service/Cargo.toml @@ -5,33 +5,32 @@ authors = ["Parity Technologies <admin@parity.io>"] edition = "2021" [dependencies] -# Cumulus dependencies -cumulus-client-consensus-common = { path = "../consensus/common" } -cumulus-client-collator = { path = "../collator" } -cumulus-client-pov-recovery = { path = "../pov-recovery" } -cumulus-client-cli = { path = "../cli" } -cumulus-relay-chain-interface = { path = "../relay-chain-interface" } -cumulus-primitives-core = { path = "../../primitives/core" } +codec = { package = "parity-scale-codec", version = "3.0.0" } +parking_lot = "0.12.0" +tracing = "0.1.31" -# Substrate dependencies +# Substrate sc-chain-spec = { 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-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -# Polkadot dependencies -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" } +# Polkadot polkadot-overseer = { git = "https://github.com/paritytech/polkadot", branch = "master" } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" } -# Other deps -codec = { package = "parity-scale-codec", version = "3.0.0" } -tracing = "0.1.31" -parking_lot = "0.12.0" +# Cumulus +cumulus-client-cli = { path = "../cli" } +cumulus-client-collator = { path = "../collator" } +cumulus-client-consensus-common = { path = "../consensus/common" } +cumulus-client-pov-recovery = { path = "../pov-recovery" } +cumulus-primitives-core = { path = "../../primitives/core" } +cumulus-relay-chain-interface = { path = "../relay-chain-interface" } diff --git a/cumulus/pallets/aura-ext/Cargo.toml b/cumulus/pallets/aura-ext/Cargo.toml index 5f1e492e211..46669668196 100644 --- a/cumulus/pallets/aura-ext/Cargo.toml +++ b/cumulus/pallets/aura-ext/Cargo.toml @@ -6,22 +6,23 @@ edition = "2021" description = "AURA consensus extension pallet for parachains" [dependencies] -# Substrate dependencies +codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } +scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } +serde = { version = "1.0.132", optional = true, features = ["derive"] } + +# Substrate +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-std = { 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-application-crypto = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } - -# Other Dependencies -codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } -scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } -serde = { version = "1.0.132", optional = true, features = ["derive"] } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } [dev-dependencies] + +# Cumulus cumulus-pallet-parachain-system = { path = "../parachain-system" } [features] @@ -30,12 +31,12 @@ std = [ "codec/std", "scale-info/std", "serde", + "frame-executive/std", "frame-support/std", - "sp-runtime/std", - "sp-std/std", "frame-system/std", - "frame-executive/std", "pallet-aura/std", - "sp-consensus-aura/std", "sp-application-crypto/std", + "sp-consensus-aura/std", + "sp-runtime/std", + "sp-std/std", ] diff --git a/cumulus/pallets/dmp-queue/Cargo.toml b/cumulus/pallets/dmp-queue/Cargo.toml index d2b56824496..b79555c360b 100644 --- a/cumulus/pallets/dmp-queue/Cargo.toml +++ b/cumulus/pallets/dmp-queue/Cargo.toml @@ -5,23 +5,22 @@ authors = ["Parity Technologies <admin@parity.io>"] edition = "2021" [dependencies] -# Other dependencies codec = { package = "parity-scale-codec", version = "3.0.0", features = [ "derive" ], default-features = false } -scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } log = { version = "0.4.14", default-features = false } +scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } -# Substrate Dependencies -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +# Substrate frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-io = { 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-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -# Polkadot Dependencies +# Polkadot xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -# Cumulus Dependencies +# Cumulus cumulus-primitives-core = { path = "../../primitives/core", default-features = false } [dev-dependencies] @@ -32,14 +31,14 @@ sp-version = { git = "https://github.com/paritytech/substrate", default-features default = [ "std" ] std = [ "codec/std", - "log/std", "scale-info/std", - "sp-std/std", - "sp-io/std", - "sp-runtime/std", "frame-support/std", "frame-system/std", - "cumulus-primitives-core/std", - "xcm/std", + "log/std", + "sp-io/std", + "sp-runtime/std", + "sp-std/std", "xcm-executor/std", + "xcm/std", + "cumulus-primitives-core/std", ] diff --git a/cumulus/pallets/parachain-system/Cargo.toml b/cumulus/pallets/parachain-system/Cargo.toml index 2ee1eec04fc..0d95571788f 100644 --- a/cumulus/pallets/parachain-system/Cargo.toml +++ b/cumulus/pallets/parachain-system/Cargo.toml @@ -6,72 +6,70 @@ edition = "2021" description = "Base pallet for cumulus-based parachains" [dependencies] -# Cumulus dependencies -cumulus-primitives-core = { path = "../../primitives/core", default-features = false } -cumulus-primitives-parachain-inherent = { path = "../../primitives/parachain-inherent", default-features = false } -cumulus-pallet-parachain-system-proc-macro = { path = "proc-macro", default-features = false } - -# Polkadot dependencies -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, features = [ "wasm-api" ], branch = "master" } -xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } +environmental = { version = "1.1.2", default-features = false } +impl-trait-for-tuples = "0.2.1" +log = { version = "0.4.14", default-features = false } +scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } +serde = { version = "1.0.132", optional = true, features = ["derive"] } -# Substrate dependencies +# Substrate frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-externalities = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-std = { 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-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } sp-state-machine = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-externalities = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -# Other Dependencies -codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } -scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } -serde = { version = "1.0.132", optional = true, features = ["derive"] } -log = { version = "0.4.14", default-features = false } -environmental = { version = "1.1.2", default-features = false } -impl-trait-for-tuples = "0.2.1" +# Polkadot +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, features = [ "wasm-api" ], branch = "master" } +xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } + +# Cumulus +cumulus-pallet-parachain-system-proc-macro = { path = "proc-macro", default-features = false } +cumulus-primitives-core = { path = "../../primitives/core", default-features = false } +cumulus-primitives-parachain-inherent = { path = "../../primitives/parachain-inherent", default-features = false } [dev-dependencies] -# Other Dependencies hex-literal = "0.3.4" lazy_static = "1.4" -# Substrate dependencies -sp-version = { git = "https://github.com/paritytech/substrate", branch = "master" } +# Substrate sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "master" } -# Cumulus dependencies +# Cumulus cumulus-test-client = { path = "../../test/client" } cumulus-test-relay-sproof-builder = { path = "../../test/relay-sproof-builder" } [features] default = [ "std" ] std = [ - "serde", "codec/std", + "environmental/std", + "log/std", "scale-info/std", + "serde", + "cumulus-pallet-parachain-system-proc-macro/std", + "cumulus-primitives-core/std", + "cumulus-primitives-parachain-inherent/std", "frame-support/std", + "frame-system/std", "pallet-balances/std", "sp-core/std", - "sp-runtime/std", + "sp-externalities/std", "sp-io/std", - "sp-std/std", - "log/std", + "sp-runtime/std", "sp-state-machine/std", + "sp-std/std", "sp-trie/std", - "sp-externalities/std", - "frame-system/std", - "cumulus-primitives-core/std", - "cumulus-primitives-parachain-inherent/std", - "cumulus-pallet-parachain-system-proc-macro/std", - "environmental/std", "xcm/std" ] diff --git a/cumulus/pallets/solo-to-para/Cargo.toml b/cumulus/pallets/solo-to-para/Cargo.toml index bb394b74ccc..6a234f49b89 100644 --- a/cumulus/pallets/solo-to-para/Cargo.toml +++ b/cumulus/pallets/solo-to-para/Cargo.toml @@ -6,35 +6,34 @@ edition = "2021" description = "Adds functionality to migrate from a Solo to a Parachain" [dependencies] -# Substrate dependencies +codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } +scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } + +# Substrate frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } pallet-sudo = { 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-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -# Cumulus dependencies -cumulus-pallet-parachain-system = { default-features = false, path = "../parachain-system" } -cumulus-primitives-core = { path = "../../primitives/core", default-features = false } - -# Polkadot dependecies +# Polkadot polkadot-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -# Other Dependencies -codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } -scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } +# Cumulus +cumulus-pallet-parachain-system = { default-features = false, path = "../parachain-system" } +cumulus-primitives-core = { path = "../../primitives/core", default-features = false } [features] default = [ "std" ] std = [ "codec/std", "scale-info/std", - "pallet-sudo/std", "cumulus-pallet-parachain-system/std", "cumulus-primitives-core/std", - "polkadot-primitives/std", "frame-support/std", + "frame-system/std", + "pallet-sudo/std", + "polkadot-primitives/std", "sp-runtime/std", "sp-std/std", - "frame-system/std", ] diff --git a/cumulus/pallets/xcmp-queue/Cargo.toml b/cumulus/pallets/xcmp-queue/Cargo.toml index 5773c234568..92e49b1914f 100644 --- a/cumulus/pallets/xcmp-queue/Cargo.toml +++ b/cumulus/pallets/xcmp-queue/Cargo.toml @@ -5,43 +5,48 @@ authors = ["Parity Technologies <admin@parity.io>"] edition = "2021" [dependencies] -# Other dependencies codec = { package = "parity-scale-codec", version = "3.0.0", features = [ "derive" ], default-features = false } +log = { version = "0.4.14", default-features = false } rand_chacha = { version = "0.3.0", default-features = false } scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } -log = { version = "0.4.14", default-features = false } -# Substrate Dependencies -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +# Substrate frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } frame-system = { 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-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -# Polkadot Dependencies +# Polkadot xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -# Cumulus Dependencies +# Cumulus cumulus-primitives-core = { path = "../../primitives/core", default-features = false } [dev-dependencies] + +# Substrate sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -cumulus-pallet-parachain-system = { path = "../parachain-system" } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "master" } pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +# Polkadot +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "master" } + +# Cumulus +cumulus-pallet-parachain-system = { path = "../parachain-system" } + [features] default = [ "std" ] std = [ "codec/std", - "log/std", "scale-info/std", - "sp-std/std", - "sp-runtime/std", + "cumulus-primitives-core/std", "frame-support/std", "frame-system/std", - "cumulus-primitives-core/std", - "xcm/std", + "log/std", + "sp-runtime/std", + "sp-std/std", "xcm-executor/std", + "xcm/std", ] diff --git a/cumulus/parachain-template/node/Cargo.toml b/cumulus/parachain-template/node/Cargo.toml index f349a6d66f2..4fc78cd0885 100644 --- a/cumulus/parachain-template/node/Cargo.toml +++ b/cumulus/parachain-template/node/Cargo.toml @@ -9,23 +9,10 @@ repository = "https://github.com/paritytech/cumulus/" edition = "2021" build = "build.rs" -[package.metadata.docs.rs] -targets = ["x86_64-unknown-linux-gnu"] - -[build-dependencies] -substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "master" } - [[bin]] name = "parachain-collator" path = "src/main.rs" -[features] -runtime-benchmarks = [ - "parachain-template-runtime/runtime-benchmarks", - "polkadot-cli/runtime-benchmarks", -] -try-runtime = ["parachain-template-runtime/try-runtime"] - [dependencies] clap = { version = "3.1", features = ["derive"] } derive_more = "0.99.2" @@ -33,41 +20,30 @@ log = "0.4.14" codec = { package = "parity-scale-codec", version = "3.0.0" } serde = { version = "1.0.132", features = ["derive"] } hex-literal = "0.3.4" - -# RPC related Dependencies jsonrpc-core = "18.0.0" -# Local Dependencies +# Local parachain-template-runtime = { path = "../runtime" } -# Substrate Dependencies +# Substrate frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" } frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } -try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } - pallet-transaction-payment-rpc = { 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 Client Dependencies sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master", features = ["wasmtime"] } sc-client-api = { 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", features = ["wasmtime"] } -sc-network = { 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-rpc = { 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", features = ["wasmtime"] } sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } - -## Substrate Primitive Dependencies sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } @@ -81,8 +57,18 @@ 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-transaction-pool = { 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" } +try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } + +# Polkadot +polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "master" } +polkadot-parachain = { 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" } -# Cumulus dependencies +# Cumulus cumulus-client-cli = { path = "../../client/cli" } cumulus-client-collator = { path = "../../client/collator" } cumulus-client-consensus-aura = { path = "../../client/consensus/aura" } @@ -91,13 +77,17 @@ cumulus-client-network = { path = "../../client/network" } cumulus-client-service = { path = "../../client/service" } cumulus-primitives-core = { path = "../../primitives/core" } cumulus-primitives-parachain-inherent = { path = "../../primitives/parachain-inherent" } -cumulus-relay-chain-interface = { path = "../../client/relay-chain-interface" } cumulus-relay-chain-inprocess-interface = { path = "../../client/relay-chain-inprocess-interface" } +cumulus-relay-chain-interface = { path = "../../client/relay-chain-interface" } cumulus-relay-chain-rpc-interface = { path = "../../client/relay-chain-rpc-interface" } -# Polkadot dependencies -polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "master" } -polkadot-parachain = { 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" } +[build-dependencies] +substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "master" } + +[features] +default = [] +runtime-benchmarks = [ + "parachain-template-runtime/runtime-benchmarks", + "polkadot-cli/runtime-benchmarks", +] +try-runtime = ["parachain-template-runtime/try-runtime"] \ No newline at end of file diff --git a/cumulus/parachain-template/pallets/template/Cargo.toml b/cumulus/parachain-template/pallets/template/Cargo.toml index 2575dc04c39..f0fdb60b18d 100644 --- a/cumulus/parachain-template/pallets/template/Cargo.toml +++ b/cumulus/parachain-template/pallets/template/Cargo.toml @@ -15,15 +15,18 @@ targets = ["x86_64-unknown-linux-gnu"] codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +# Substrate +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } [dev-dependencies] serde = { version = "1.0.132" } -sp-core = { 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", default-features = false , branch = "master" } + +# Substrate +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } [features] default = ["std"] @@ -31,8 +34,8 @@ runtime-benchmarks = ["frame-benchmarking/runtime-benchmarks"] std = [ "codec/std", "scale-info/std", + "frame-benchmarking/std", "frame-support/std", "frame-system/std", - "frame-benchmarking/std", ] try-runtime = [ "frame-support/try-runtime" ] diff --git a/cumulus/parachain-template/runtime/Cargo.toml b/cumulus/parachain-template/runtime/Cargo.toml index 862b8c35d86..e39944c2b56 100644 --- a/cumulus/parachain-template/runtime/Cargo.toml +++ b/cumulus/parachain-template/runtime/Cargo.toml @@ -22,47 +22,51 @@ scale-info = { version = "2.0.0", default-features = false, features = ["derive" serde = { version = "1.0.132", optional = true, features = ["derive"] } smallvec = "1.6.1" -# Local Dependencies +# Local pallet-template = { path = "../pallets/template", default-features = false } -# Substrate Dependencies -## Substrate Primitive Dependencies -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-offchain = { 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-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } - -## Substrate FRAME Dependencies -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } -frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +# Substrate +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "master" } +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "master" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "master" } +pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-offchain = { 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-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -## Substrate Pallet Dependencies -pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +# Polkadot +pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -# Cumulus dependencies +# Cumulus cumulus-pallet-aura-ext = { path = "../../pallets/aura-ext", default-features = false } cumulus-pallet-dmp-queue = { path = "../../pallets/dmp-queue", default-features = false } cumulus-pallet-parachain-system = { path = "../../pallets/parachain-system", default-features = false } +cumulus-pallet-session-benchmarking = {path = "../../pallets/session-benchmarking", default-features = false, version = "3.0.0"} cumulus-pallet-xcm = { path = "../../pallets/xcm", default-features = false } cumulus-pallet-xcmp-queue = { path = "../../pallets/xcmp-queue", default-features = false } cumulus-primitives-core = { path = "../../primitives/core", default-features = false } @@ -70,15 +74,6 @@ cumulus-primitives-timestamp = { path = "../../primitives/timestamp", default-fe cumulus-primitives-utility = { path = "../../primitives/utility", default-features = false } pallet-collator-selection = { path = "../../pallets/collator-selection", default-features = false } parachain-info = { path = "../../polkadot-parachains/pallets/parachain-info", default-features = false } -cumulus-pallet-session-benchmarking = {path = "../../pallets/session-benchmarking", default-features = false, version = "3.0.0"} - -# Polkadot Dependencies -pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "master" } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "master" } -polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -xcm = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "master" } -xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "master" } -xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "master" } [features] default = [ @@ -86,25 +81,21 @@ default = [ ] std = [ "codec/std", - "serde", - "scale-info/std", "log/std", - "sp-api/std", - "sp-block-builder/std", - "sp-consensus-aura/std", - "sp-core/std", - "sp-inherents/std", - "sp-io/std", - "sp-offchain/std", - "sp-runtime/std", - "sp-session/std", - "sp-std/std", - "sp-transaction-pool/std", - "sp-version/std", + "scale-info/std", + "serde", + "cumulus-pallet-aura-ext/std", + "cumulus-pallet-dmp-queue/std", + "cumulus-pallet-parachain-system/std", + "cumulus-pallet-xcm/std", + "cumulus-pallet-xcmp-queue/std", + "cumulus-primitives-core/std", + "cumulus-primitives-timestamp/std", + "cumulus-primitives-utility/std", "frame-executive/std", "frame-support/std", - "frame-system/std", "frame-system-rpc-runtime-api/std", + "frame-system/std", "pallet-aura/std", "pallet-authorship/std", "pallet-balances/std", @@ -116,17 +107,21 @@ std = [ "pallet-transaction-payment-rpc-runtime-api/std", "pallet-transaction-payment/std", "pallet-xcm/std", - "cumulus-pallet-aura-ext/std", - "cumulus-pallet-parachain-system/std", - "cumulus-pallet-xcm/std", - "cumulus-pallet-xcmp-queue/std", - "cumulus-primitives-core/std", - "cumulus-primitives-timestamp/std", - "cumulus-primitives-utility/std", - "cumulus-pallet-dmp-queue/std", "parachain-info/std", "polkadot-parachain/std", "polkadot-runtime-common/std", + "sp-api/std", + "sp-block-builder/std", + "sp-consensus-aura/std", + "sp-core/std", + "sp-inherents/std", + "sp-io/std", + "sp-offchain/std", + "sp-runtime/std", + "sp-session/std", + "sp-std/std", + "sp-transaction-pool/std", + "sp-version/std", "xcm-builder/std", "xcm-executor/std", "xcm/std", @@ -134,21 +129,21 @@ std = [ runtime-benchmarks = [ "hex-literal", - "sp-runtime/runtime-benchmarks", - "xcm-builder/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks", - "frame-system-benchmarking", "frame-support/runtime-benchmarks", + "frame-system-benchmarking", "frame-system/runtime-benchmarks", "pallet-balances/runtime-benchmarks", "pallet-collator-selection/runtime-benchmarks", "pallet-template/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "xcm-builder/runtime-benchmarks", "cumulus-pallet-session-benchmarking/runtime-benchmarks", ] try-runtime = [ - "frame-try-runtime", "frame-executive/try-runtime", + "frame-try-runtime", ] diff --git a/cumulus/polkadot-parachains/Cargo.toml b/cumulus/polkadot-parachains/Cargo.toml index c2a1f8cd206..e65f20788f8 100644 --- a/cumulus/polkadot-parachains/Cargo.toml +++ b/cumulus/polkadot-parachains/Cargo.toml @@ -10,15 +10,15 @@ name = "polkadot-collator" path = "src/main.rs" [dependencies] +async-trait = "0.1.42" clap = { version = "3.1", features = ["derive"] } +codec = { package = "parity-scale-codec", version = "3.0.0" } futures = { version = "0.3.1", features = ["compat"] } +hex-literal = "0.3.4" log = "0.4.8" -codec = { package = "parity-scale-codec", version = "3.0.0" } serde = { version = "1.0.132", features = ["derive"] } -hex-literal = "0.3.4" -async-trait = "0.1.42" -# Parachain runtimes +# Local rococo-parachain-runtime = { path = "rococo-parachain" } shell-runtime = { path = "shell" } seedling-runtime = { path = "seedling" } @@ -26,9 +26,10 @@ statemint-runtime = { path = "statemint" } statemine-runtime = { path = "statemine" } westmint-runtime = { path = "westmint" } canvas-kusama-runtime = { path = "canvas-kusama" } +jsonrpc-core = "18.0.0" parachains-common = { path = "parachains-common" } -# Substrate dependencies +# Substrate frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" } frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } @@ -58,18 +59,20 @@ sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "maste sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "master" } - -# try-runtime stuff. try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } - -# RPC related dependencies -jsonrpc-core = "18.0.0" sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "master" } frame-rpc-system = { package = "substrate-frame-rpc-system", git = "https://github.com/paritytech/substrate", branch = "master" } pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } pallet-contracts-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } -# Cumulus dependencies +# Polkadot +polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "master" } +polkadot-parachain = { 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", branch = "master" } + +# Cumulus cumulus-client-cli = { path = "../client/cli" } cumulus-client-consensus-aura = { path = "../client/consensus/aura" } cumulus-client-consensus-relay-chain = { path = "../client/consensus/relay-chain" } @@ -82,14 +85,6 @@ cumulus-relay-chain-interface = { path = "../client/relay-chain-interface" } cumulus-relay-chain-inprocess-interface = { path = "../client/relay-chain-inprocess-interface" } cumulus-relay-chain-rpc-interface = { path = "../client/relay-chain-rpc-interface" } - -# Polkadot dependencies -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" } -polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "master" } -polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "master" } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "master" } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "master" } - [build-dependencies] substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "master" } @@ -107,8 +102,8 @@ runtime-benchmarks = [ "westmint-runtime/runtime-benchmarks", ] try-runtime = [ - 'statemint-runtime/try-runtime', - 'statemine-runtime/try-runtime', - 'westmint-runtime/try-runtime', - 'shell-runtime/try-runtime', + "statemint-runtime/try-runtime", + "statemine-runtime/try-runtime", + "westmint-runtime/try-runtime", + "shell-runtime/try-runtime", ] diff --git a/cumulus/polkadot-parachains/canvas-kusama/Cargo.toml b/cumulus/polkadot-parachains/canvas-kusama/Cargo.toml index 78a0f65c219..7dee29a1ac3 100644 --- a/cumulus/polkadot-parachains/canvas-kusama/Cargo.toml +++ b/cumulus/polkadot-parachains/canvas-kusama/Cargo.toml @@ -11,78 +11,71 @@ targets = ["x86_64-unknown-linux-gnu"] substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } [dependencies] -codec = { package = 'parity-scale-codec', version = "3.0.0", default-features = false, features = ['derive'] } -hex-literal = { version = '0.3.4', optional = true } +codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } +hex-literal = { version = "0.3.4", optional = true } log = { version = "0.4.14", default-features = false } scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } -serde = { version = '1.0.119', optional = true, features = ['derive'] } +serde = { version = "1.0.119", optional = true, features = ["derive"] } smallvec = "1.6.1" -# Substrate Dependencies -## Substrate Primitive Dependencies -sp-api = { git = 'https://github.com/paritytech/substrate', default-features = false , branch = "master" } -sp-block-builder = { git = 'https://github.com/paritytech/substrate', default-features = false , branch = "master" } -sp-consensus-aura = { git = 'https://github.com/paritytech/substrate', default-features = false , branch = "master" } -sp-core = { git = 'https://github.com/paritytech/substrate', default-features = false , branch = "master" } -sp-inherents = { git = 'https://github.com/paritytech/substrate', default-features = false , branch = "master" } -sp-io = { git = 'https://github.com/paritytech/substrate', default-features = false , branch = "master" } -sp-offchain = { 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-session = { git = 'https://github.com/paritytech/substrate', default-features = false , branch = "master" } -sp-std = { git = 'https://github.com/paritytech/substrate', default-features = false , branch = "master" } -sp-transaction-pool = { git = 'https://github.com/paritytech/substrate', default-features = false , branch = "master" } -sp-version = { git = 'https://github.com/paritytech/substrate', default-features = false , branch = "master" } - -## Substrate FRAME Dependencies -frame-benchmarking = { git = 'https://github.com/paritytech/substrate', default-features = false, optional = true , branch = "master" } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } -frame-executive = { git = 'https://github.com/paritytech/substrate', default-features = false , branch = "master" } -frame-support = { git = 'https://github.com/paritytech/substrate', default-features = false, branch = "master" } -frame-system = { git = 'https://github.com/paritytech/substrate', default-features = false , branch = "master" } -frame-system-benchmarking = { git = 'https://github.com/paritytech/substrate', default-features = false, optional = true , branch = "master" } -frame-system-rpc-runtime-api = { git = 'https://github.com/paritytech/substrate', default-features = false , branch = "master" } - -## Substrate Pallet Dependencies -pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-balances = { git = 'https://github.com/paritytech/substrate', default-features = false , branch = "master" } +# Substrate +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-offchain = { 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-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "master" } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "master" } +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "master" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-timestamp = { git = 'https://github.com/paritytech/substrate', default-features = false , branch = "master" } -pallet-transaction-payment = { git = 'https://github.com/paritytech/substrate', default-features = false , branch = "master" } -pallet-transaction-payment-rpc-runtime-api = { git = 'https://github.com/paritytech/substrate', default-features = false , branch = "master" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +pallet-contracts = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +pallet-contracts-primitives = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +pallet-contracts-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } + +# Polkadot +kusama-runtime-constants = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -# Cumulus Dependencies +# Cumulus cumulus-pallet-aura-ext = { path = "../../pallets/aura-ext", default-features = false } +cumulus-pallet-dmp-queue = { path = "../../pallets/dmp-queue", default-features = false } cumulus-pallet-parachain-system = { path = "../../pallets/parachain-system", default-features = false } +cumulus-pallet-session-benchmarking = { path = "../../pallets/session-benchmarking", default-features = false } +cumulus-pallet-xcm = { path = "../../pallets/xcm", default-features = false } +cumulus-pallet-xcmp-queue = { path = "../../pallets/xcmp-queue", default-features = false } cumulus-primitives-core = { path = "../../primitives/core", default-features = false } cumulus-primitives-timestamp = { path = "../../primitives/timestamp", default-features = false } cumulus-primitives-utility = { path = "../../primitives/utility", default-features = false } -cumulus-pallet-dmp-queue = { path = "../../pallets/dmp-queue", default-features = false } -cumulus-pallet-xcmp-queue = { path = "../../pallets/xcmp-queue", default-features = false } -cumulus-pallet-xcm = { path = "../../pallets/xcm", default-features = false } -cumulus-pallet-session-benchmarking = { path = "../../pallets/session-benchmarking", default-features = false } pallet-collator-selection = { path = "../../pallets/collator-selection", default-features = false } -parachains-common = { path = "../parachains-common", default-features = false } parachain-info = { path = "../pallets/parachain-info", default-features = false } - -# Polkadot Dependencies -polkadot-parachain = { git = 'https://github.com/paritytech/polkadot', default-features = false , branch = "master" } -polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -kusama-runtime-constants = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -xcm = { git = 'https://github.com/paritytech/polkadot', default-features = false , branch = "master" } -xcm-builder = { git = 'https://github.com/paritytech/polkadot', default-features = false , branch = "master" } -xcm-executor = { git = 'https://github.com/paritytech/polkadot', default-features = false , branch = "master" } -pallet-xcm = { git = 'https://github.com/paritytech/polkadot', default-features = false , branch = "master" } - -# Contracts specific packages -pallet-contracts = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -pallet-contracts-primitives = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -pallet-contracts-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +parachains-common = { path = "../parachains-common", default-features = false } [features] default = [ @@ -90,41 +83,50 @@ default = [ ] std = [ "codec/std", - "serde", - "scale-info/std", "log/std", - "sp-api/std", - "sp-block-builder/std", - "sp-consensus-aura/std", - "sp-core/std", - "sp-inherents/std", - "sp-io/std", - "sp-offchain/std", - "sp-runtime/std", - "sp-session/std", - "sp-std/std", - "sp-transaction-pool/std", - "sp-version/std", + "scale-info/std", + "serde", "frame-executive/std", "frame-support/std", - "frame-system/std", "frame-system-rpc-runtime-api/std", - "pallet-authorship/std", + "frame-system/std", + "kusama-runtime-constants/std", "pallet-aura/std", - "pallet-sudo/std", + "pallet-authorship/std", "pallet-balances/std", - "pallet-multisig/std", "pallet-collator-selection/std", - "pallet-randomness-collective-flip/std", "pallet-contracts-primitives/std", "pallet-contracts-rpc-runtime-api/std", "pallet-contracts/std", + "pallet-multisig/std", + "pallet-randomness-collective-flip/std", "pallet-session/std", + "pallet-sudo/std", "pallet-timestamp/std", - "pallet-transaction-payment/std", "pallet-transaction-payment-rpc-runtime-api/std", + "pallet-transaction-payment/std", "pallet-utility/std", "pallet-xcm/std", + "parachain-info/std", + "parachains-common/std", + "polkadot-core-primitives/std", + "polkadot-parachain/std", + "polkadot-runtime-common/std", + "sp-api/std", + "sp-block-builder/std", + "sp-consensus-aura/std", + "sp-core/std", + "sp-inherents/std", + "sp-io/std", + "sp-offchain/std", + "sp-runtime/std", + "sp-session/std", + "sp-std/std", + "sp-transaction-pool/std", + "sp-version/std", + "xcm-builder/std", + "xcm-executor/std", + "xcm/std", "cumulus-pallet-aura-ext/std", "cumulus-pallet-dmp-queue/std", "cumulus-pallet-parachain-system/std", @@ -133,15 +135,6 @@ std = [ "cumulus-primitives-core/std", "cumulus-primitives-timestamp/std", "cumulus-primitives-utility/std", - "parachains-common/std", - "parachain-info/std", - "polkadot-parachain/std", - "polkadot-runtime-common/std", - "kusama-runtime-constants/std", - "xcm/std", - "xcm-builder/std", - "xcm-executor/std", - "polkadot-core-primitives/std", ] # Make contract callable functions marked as __unstable__ available. Do not enable @@ -152,23 +145,23 @@ contracts-unstable-interface = [ runtime-benchmarks = [ "hex-literal", - "sp-runtime/runtime-benchmarks", - "xcm-builder/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks", - "frame-system-benchmarking", "frame-support/runtime-benchmarks", + "frame-system-benchmarking", "frame-system/runtime-benchmarks", "pallet-balances/runtime-benchmarks", + "pallet-collator-selection/runtime-benchmarks", "pallet-contracts/runtime-benchmarks", "pallet-multisig/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "pallet-utility/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", - "pallet-collator-selection/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "xcm-builder/runtime-benchmarks", "cumulus-pallet-session-benchmarking/runtime-benchmarks", ] try-runtime = [ - "frame-try-runtime", "frame-executive/try-runtime", + "frame-try-runtime", ] diff --git a/cumulus/polkadot-parachains/parachains-common/Cargo.toml b/cumulus/polkadot-parachains/parachains-common/Cargo.toml index 91a42072bf3..383b521de7e 100644 --- a/cumulus/polkadot-parachains/parachains-common/Cargo.toml +++ b/cumulus/polkadot-parachains/parachains-common/Cargo.toml @@ -9,14 +9,10 @@ description = "Logic which is common to all parachain runtimes" targets = ["x86_64-unknown-linux-gnu"] [dependencies] -# External dependencies codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } -# Substrate dependencies -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +# Substrate frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } @@ -24,21 +20,24 @@ pallet-asset-tx-payment = { git = "https://github.com/paritytech/substrate", bra pallet-assets = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -# Polkadot dependencies -polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "master" } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "master" } -xcm = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "master" } -xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "master" } +# Polkadot +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -# Local dependencies +# Cumulus pallet-collator-selection = { path = "../../pallets/collator-selection", default-features = false } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } [build-dependencies] substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } @@ -48,17 +47,17 @@ default = ["std"] std = [ "codec/std", "scale-info/std", - "sp-consensus-aura/std", - "sp-std/std", - "sp-io/std", - "frame-support/std", "frame-executive/std", + "frame-support/std", "frame-system/std", "pallet-asset-tx-payment/std", - "pallet-collator-selection/std", "pallet-assets/std", "pallet-authorship/std", "pallet-balances/std", - "polkadot-runtime-common/std", "polkadot-primitives/std", + "polkadot-runtime-common/std", + "sp-consensus-aura/std", + "sp-io/std", + "sp-std/std", + "pallet-collator-selection/std", ] diff --git a/cumulus/polkadot-parachains/rococo-parachain/Cargo.toml b/cumulus/polkadot-parachains/rococo-parachain/Cargo.toml index 95ae0a133f7..a205dd43e0d 100644 --- a/cumulus/polkadot-parachains/rococo-parachain/Cargo.toml +++ b/cumulus/polkadot-parachains/rococo-parachain/Cargo.toml @@ -8,55 +8,53 @@ description = "Simple runtime used by the rococo parachain(s)" [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } log = { version = "0.4.14", default-features = false } -parachain-info = { path = "../pallets/parachain-info", default-features = false } scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } serde = { version = "1.0.132", optional = true, features = ["derive"] } -# Substrate dependencies -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-version = { 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-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } - -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +# Substrate frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } pallet-assets = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-offchain = { 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-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -parachains-common = { path = "../parachains-common", default-features = false } +# Polkadot +pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -# Cumulus dependencies +# Cumulus cumulus-pallet-aura-ext = { path = "../../pallets/aura-ext", default-features = false } +cumulus-pallet-dmp-queue = { path = "../../pallets/dmp-queue", default-features = false } cumulus-pallet-parachain-system = { path = "../../pallets/parachain-system", default-features = false } +cumulus-pallet-xcm = { path = "../../pallets/xcm", default-features = false } +cumulus-pallet-xcmp-queue = { path = "../../pallets/xcmp-queue", default-features = false } +cumulus-ping = { path = "../pallets/ping", default-features = false } cumulus-primitives-core = { path = "../../primitives/core", default-features = false } cumulus-primitives-timestamp = { path = "../../primitives/timestamp", default-features = false } cumulus-primitives-utility = { path = "../../primitives/utility", default-features = false } -cumulus-pallet-dmp-queue = { path = "../../pallets/dmp-queue", default-features = false } -cumulus-pallet-xcmp-queue = { path = "../../pallets/xcmp-queue", default-features = false } -cumulus-pallet-xcm = { path = "../../pallets/xcm", default-features = false } -cumulus-ping = { path = "../pallets/ping", default-features = false } - -# Polkadot dependencies -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +parachains-common = { path = "../parachains-common", default-features = false } +parachain-info = { path = "../pallets/parachain-info", default-features = false } [build-dependencies] substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } @@ -65,45 +63,45 @@ substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", bran default = [ "std" ] std = [ "codec/std", + "log/std", "scale-info/std", "serde", - "log/std", - "sp-api/std", - "sp-std/std", - "sp-io/std", - "sp-core/std", - "sp-runtime/std", - "sp-version/std", - "sp-offchain/std", - "sp-session/std", - "sp-block-builder/std", - "sp-transaction-pool/std", - "sp-inherents/std", - "frame-support/std", "frame-executive/std", - "frame-system/std", + "frame-support/std", "frame-system-rpc-runtime-api/std", + "frame-system/std", "pallet-assets/std", + "pallet-aura/std", "pallet-balances/std", - "pallet-timestamp/std", "pallet-sudo/std", - "pallet-transaction-payment/std", + "pallet-timestamp/std", "pallet-transaction-payment-rpc-runtime-api/std", + "pallet-transaction-payment/std", "pallet-xcm/std", - "parachain-info/std", - "parachains-common/std", + "sp-api/std", + "sp-block-builder/std", + "sp-consensus-aura/std", + "sp-core/std", + "sp-inherents/std", + "sp-io/std", + "sp-offchain/std", + "sp-runtime/std", + "sp-session/std", + "sp-std/std", + "sp-transaction-pool/std", + "sp-version/std", + "xcm-builder/std", + "xcm-executor/std", + "xcm/std", "cumulus-pallet-aura-ext/std", "cumulus-pallet-dmp-queue/std", "cumulus-pallet-parachain-system/std", - "cumulus-pallet-xcmp-queue/std", "cumulus-pallet-xcm/std", + "cumulus-pallet-xcmp-queue/std", + "cumulus-ping/std", "cumulus-primitives-core/std", "cumulus-primitives-timestamp/std", "cumulus-primitives-utility/std", - "cumulus-ping/std", - "xcm/std", - "xcm-builder/std", - "xcm-executor/std", - "pallet-aura/std", - "sp-consensus-aura/std", + "parachain-info/std", + "parachains-common/std", ] diff --git a/cumulus/polkadot-parachains/seedling/Cargo.toml b/cumulus/polkadot-parachains/seedling/Cargo.toml index 5503267bdc0..4b7ae861f74 100644 --- a/cumulus/polkadot-parachains/seedling/Cargo.toml +++ b/cumulus/polkadot-parachains/seedling/Cargo.toml @@ -1,38 +1,37 @@ [package] -name = 'seedling-runtime' -version = '0.1.0' +name = "seedling-runtime" +version = "0.1.0" authors = ["Parity Technologies <admin@parity.io>"] edition = "2021" [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } log = { version = "0.4.14", default-features = false } -parachain-info = { path = "../pallets/parachain-info", default-features = false } scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } serde = { version = "1.0.132", optional = true, features = ["derive"] } -# Substrate dependencies -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +# Substrate +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-offchain = { 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-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } sp-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } - -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -# Cumulus dependencies +# Cumulus cumulus-pallet-parachain-system = { path = "../../pallets/parachain-system", default-features = false } cumulus-pallet-solo-to-para = { path = "../../pallets/solo-to-para", default-features = false } +parachain-info = { path = "../pallets/parachain-info", default-features = false } cumulus-primitives-core = { path = "../../primitives/core", default-features = false } [build-dependencies] @@ -42,27 +41,27 @@ substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", bran default = [ "std" ] std = [ "codec/std", + "log/std", "scale-info/std", "serde", - "log/std", + "frame-executive/std", + "frame-support/std", + "frame-system/std", + "pallet-balances/std", + "pallet-sudo/std", "sp-api/std", - "sp-std/std", - "sp-io/std", + "sp-block-builder/std", "sp-core/std", - "sp-runtime/std", - "sp-version/std", + "sp-inherents/std", + "sp-io/std", "sp-offchain/std", + "sp-runtime/std", "sp-session/std", - "sp-block-builder/std", + "sp-std/std", "sp-transaction-pool/std", - "sp-inherents/std", - "frame-support/std", - "frame-executive/std", - "frame-system/std", - "pallet-sudo/std", - "pallet-balances/std", - "parachain-info/std", + "sp-version/std", "cumulus-pallet-parachain-system/std", "cumulus-pallet-solo-to-para/std", "cumulus-primitives-core/std", + "parachain-info/std", ] diff --git a/cumulus/polkadot-parachains/shell/Cargo.toml b/cumulus/polkadot-parachains/shell/Cargo.toml index 9f22d430173..ceebd968210 100644 --- a/cumulus/polkadot-parachains/shell/Cargo.toml +++ b/cumulus/polkadot-parachains/shell/Cargo.toml @@ -7,39 +7,38 @@ edition = "2021" [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } log = { version = "0.4.14", default-features = false } -parachain-info = { path = "../pallets/parachain-info", default-features = false } scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } serde = { version = "1.0.132", optional = true, features = ["derive"] } -# Substrate dependencies -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +# Substrate +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-offchain = { 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-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } sp-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } - -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -# try-runtime stuff. -frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +# Polkadot +xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -# Cumulus dependencies +# Cumulus +cumulus-pallet-dmp-queue = { path = "../../pallets/dmp-queue", default-features = false } cumulus-pallet-parachain-system = { path = "../../pallets/parachain-system", default-features = false } +cumulus-pallet-xcm = { path = "../../pallets/xcm", default-features = false } cumulus-primitives-core = { path = "../../primitives/core", default-features = false } cumulus-primitives-utility = { path = "../../primitives/utility", default-features = false } -cumulus-pallet-dmp-queue = { path = "../../pallets/dmp-queue", default-features = false } -cumulus-pallet-xcm = { path = "../../pallets/xcm", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +parachain-info = { path = "../pallets/parachain-info", default-features = false } [build-dependencies] substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } @@ -48,34 +47,34 @@ substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", bran default = [ "std" ] std = [ "codec/std", + "log/std", "scale-info/std", "serde", - "log/std", + "frame-executive/std", + "frame-support/std", + "frame-system/std", "sp-api/std", - "sp-std/std", - "sp-io/std", + "sp-block-builder/std", "sp-core/std", - "sp-runtime/std", - "sp-version/std", + "sp-inherents/std", + "sp-io/std", "sp-offchain/std", + "sp-runtime/std", "sp-session/std", - "sp-block-builder/std", + "sp-std/std", "sp-transaction-pool/std", - "sp-inherents/std", - "frame-support/std", - "frame-executive/std", - "frame-system/std", - "parachain-info/std", - "cumulus-pallet-parachain-system/std", + "sp-version/std", + "xcm-builder/std", + "xcm-executor/std", + "xcm/std", "cumulus-pallet-dmp-queue/std", + "cumulus-pallet-parachain-system/std", "cumulus-pallet-xcm/std", "cumulus-primitives-core/std", "cumulus-primitives-utility/std", - "xcm/std", - "xcm-builder/std", - "xcm-executor/std", + "parachain-info/std", ] try-runtime = [ - "frame-try-runtime", "frame-executive/try-runtime", + "frame-try-runtime", ] diff --git a/cumulus/polkadot-parachains/statemine/Cargo.toml b/cumulus/polkadot-parachains/statemine/Cargo.toml index 79bedb95918..d35cb4f88f4 100644 --- a/cumulus/polkadot-parachains/statemine/Cargo.toml +++ b/cumulus/polkadot-parachains/statemine/Cargo.toml @@ -9,31 +9,18 @@ description = "Kusama variant of Statemint parachain runtime" codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] } hex-literal = { version = "0.3.4", optional = true } log = { version = "0.4.14", default-features = false } -parachain-info = { path = "../pallets/parachain-info", default-features = false } scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } serde = { version = "1.0.132", optional = true, features = ["derive"] } smallvec = "1.6.1" -# Substrate dependencies -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-version = { 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-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } - +# Substrate frame-benchmarking = { git = "https://github.com/paritytech/substrate", optional = true, default-features = false, branch = "master" } -frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", optional = true, default-features = false, branch = "master" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", optional = true, default-features = false, branch = "master" } frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "master" } pallet-asset-tx-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-assets = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } @@ -48,33 +35,44 @@ pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } pallet-uniques = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-offchain = { 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-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -# Cumulus dependencies +# Polkadot +kusama-runtime-constants = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } + +# Cumulus cumulus-pallet-aura-ext = { path = "../../pallets/aura-ext", default-features = false } +cumulus-pallet-dmp-queue = { path = "../../pallets/dmp-queue", default-features = false } cumulus-pallet-parachain-system = { path = "../../pallets/parachain-system", default-features = false } +cumulus-pallet-session-benchmarking = {path = "../../pallets/session-benchmarking", default-features = false, version = "3.0.0"} +cumulus-pallet-xcm = { path = "../../pallets/xcm", default-features = false } +cumulus-pallet-xcmp-queue = { path = "../../pallets/xcmp-queue", default-features = false } +cumulus-ping = { path = "../pallets/ping", default-features = false } cumulus-primitives-core = { path = "../../primitives/core", default-features = false } cumulus-primitives-timestamp = { path = "../../primitives/timestamp", default-features = false } cumulus-primitives-utility = { path = "../../primitives/utility", default-features = false } -cumulus-pallet-dmp-queue = { path = "../../pallets/dmp-queue", default-features = false } -cumulus-pallet-xcmp-queue = { path = "../../pallets/xcmp-queue", default-features = false } -cumulus-pallet-xcm = { path = "../../pallets/xcm", default-features = false } -cumulus-pallet-session-benchmarking = {path = "../../pallets/session-benchmarking", default-features = false, version = "3.0.0"} -cumulus-ping = { path = "../pallets/ping", default-features = false } pallet-collator-selection = { path = "../../pallets/collator-selection", default-features = false } +parachain-info = { path = "../pallets/parachain-info", default-features = false } parachains-common = { path = "../parachains-common", default-features = false } -# Polkadot dependencies -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -kusama-runtime-constants = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } - -# Try-runtime stuff -frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } [dev-dependencies] hex-literal = "0.3.4" @@ -86,80 +84,80 @@ substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", bran default = [ "std" ] runtime-benchmarks = [ "hex-literal", - "sp-runtime/runtime-benchmarks", - "xcm-builder/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks", - "frame-system-benchmarking", "frame-support/runtime-benchmarks", + "frame-system-benchmarking", "frame-system/runtime-benchmarks", "pallet-assets/runtime-benchmarks", "pallet-balances/runtime-benchmarks", "pallet-multisig/runtime-benchmarks", "pallet-proxy/runtime-benchmarks", - "cumulus-pallet-session-benchmarking/runtime-benchmarks", + "pallet-timestamp/runtime-benchmarks", "pallet-uniques/runtime-benchmarks", "pallet-utility/runtime-benchmarks", - "pallet-timestamp/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "xcm-builder/runtime-benchmarks", + "cumulus-pallet-session-benchmarking/runtime-benchmarks", "pallet-collator-selection/runtime-benchmarks", ] try-runtime = [ - "frame-try-runtime", "frame-executive/try-runtime", + "frame-try-runtime", ] std = [ "codec/std", + "log/std", "scale-info/std", "serde", - "log/std", - "sp-api/std", - "sp-std/std", - "sp-io/std", - "sp-core/std", - "sp-runtime/std", - "sp-version/std", - "sp-offchain/std", - "sp-session/std", - "sp-block-builder/std", - "sp-transaction-pool/std", - "sp-inherents/std", - "frame-support/std", "frame-executive/std", - "frame-system/std", + "frame-support/std", "frame-system-rpc-runtime-api/std", + "frame-system/std", + "kusama-runtime-constants/std", + "pallet-asset-tx-payment/std", "pallet-assets/std", - "pallet-authorship/std", "pallet-aura/std", + "pallet-authorship/std", "pallet-balances/std", "pallet-multisig/std", "pallet-proxy/std", "pallet-session/std", "pallet-sudo/std", "pallet-timestamp/std", - "pallet-transaction-payment/std", "pallet-transaction-payment-rpc-runtime-api/std", + "pallet-transaction-payment/std", "pallet-uniques/std", "pallet-utility/std", "pallet-xcm/std", - "parachain-info/std", + "polkadot-core-primitives/std", + "polkadot-parachain/std", + "polkadot-runtime-common/std", + "sp-api/std", + "sp-block-builder/std", + "sp-consensus-aura/std", + "sp-core/std", + "sp-inherents/std", + "sp-io/std", + "sp-offchain/std", + "sp-runtime/std", + "sp-session/std", + "sp-std/std", + "sp-transaction-pool/std", + "sp-version/std", + "xcm-builder/std", + "xcm-executor/std", + "xcm/std", "cumulus-pallet-aura-ext/std", - "pallet-asset-tx-payment/std", - "pallet-collator-selection/std", "cumulus-pallet-dmp-queue/std", "cumulus-pallet-parachain-system/std", - "cumulus-pallet-xcmp-queue/std", "cumulus-pallet-xcm/std", + "cumulus-pallet-xcmp-queue/std", + "cumulus-ping/std", "cumulus-primitives-core/std", "cumulus-primitives-timestamp/std", "cumulus-primitives-utility/std", - "cumulus-ping/std", - "xcm/std", - "xcm-builder/std", - "xcm-executor/std", - "sp-consensus-aura/std", + "pallet-collator-selection/std", + "parachain-info/std", "parachains-common/std", - "polkadot-parachain/std", - "polkadot-runtime-common/std", - "polkadot-core-primitives/std", - "kusama-runtime-constants/std", ] diff --git a/cumulus/polkadot-parachains/statemint/Cargo.toml b/cumulus/polkadot-parachains/statemint/Cargo.toml index 4804fa5f54d..8dfb7035d2e 100644 --- a/cumulus/polkadot-parachains/statemint/Cargo.toml +++ b/cumulus/polkadot-parachains/statemint/Cargo.toml @@ -9,31 +9,18 @@ description = "Statemint parachain runtime" codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] } hex-literal = { version = "0.3.4", optional = true } log = { version = "0.4.14", default-features = false } -parachain-info = { path = "../pallets/parachain-info", default-features = false } serde = { version = "1.0.132", optional = true, features = ["derive"] } scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } smallvec = "1.6.1" -# Substrate dependencies -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-version = { 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-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } - +# Substrate frame-benchmarking = { git = "https://github.com/paritytech/substrate", optional = true, default-features = false, branch = "master" } -frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", optional = true, default-features = false, branch = "master" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", optional = true, default-features = false, branch = "master" } frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "master" } pallet-asset-tx-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-assets = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } @@ -48,33 +35,43 @@ pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } pallet-uniques = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-offchain = { 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-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -# Cumulus dependencies -cumulus-pallet-aura-ext = { path = "../../pallets/aura-ext", default-features = false } -cumulus-pallet-parachain-system = { path = "../../pallets/parachain-system", default-features = false } -cumulus-primitives-core = { path = "../../primitives/core", default-features = false } -cumulus-primitives-timestamp = { path = "../../primitives/timestamp", default-features = false } -cumulus-primitives-utility = { path = "../../primitives/utility", default-features = false } -cumulus-pallet-dmp-queue = { path = "../../pallets/dmp-queue", default-features = false } -cumulus-pallet-xcmp-queue = { path = "../../pallets/xcmp-queue", default-features = false } -cumulus-pallet-xcm = { path = "../../pallets/xcm", default-features = false } -cumulus-pallet-session-benchmarking = { path = "../../pallets/session-benchmarking", default-features = false, version = "3.0.0" } -cumulus-ping = { path = "../pallets/ping", default-features = false } -pallet-collator-selection = { path = "../../pallets/collator-selection", default-features = false } -parachains-common = { path = "../parachains-common", default-features = false } - -# Polkadot dependencies +# Polkadot +pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } polkadot-runtime-constants = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -# Try-runtime stuff -frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } +# Cumulus +cumulus-pallet-aura-ext = { path = "../../pallets/aura-ext", default-features = false } +cumulus-pallet-dmp-queue = { path = "../../pallets/dmp-queue", default-features = false } +cumulus-pallet-parachain-system = { path = "../../pallets/parachain-system", default-features = false } +cumulus-pallet-session-benchmarking = { path = "../../pallets/session-benchmarking", default-features = false, version = "3.0.0" } +cumulus-pallet-xcm = { path = "../../pallets/xcm", default-features = false } +cumulus-pallet-xcmp-queue = { path = "../../pallets/xcmp-queue", default-features = false } +cumulus-ping = { path = "../pallets/ping", default-features = false } +cumulus-primitives-core = { path = "../../primitives/core", default-features = false } +cumulus-primitives-timestamp = { path = "../../primitives/timestamp", default-features = false } +cumulus-primitives-utility = { path = "../../primitives/utility", default-features = false } +pallet-collator-selection = { path = "../../pallets/collator-selection", default-features = false } +parachain-info = { path = "../pallets/parachain-info", default-features = false } +parachains-common = { path = "../parachains-common", default-features = false } [dev-dependencies] hex-literal = "0.3.4" @@ -85,81 +82,81 @@ substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", bran [features] default = [ "std" ] runtime-benchmarks = [ - "cumulus-pallet-session-benchmarking/runtime-benchmarks", "hex-literal", - "sp-runtime/runtime-benchmarks", - "xcm-builder/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks", - "frame-system-benchmarking", "frame-support/runtime-benchmarks", + "frame-system-benchmarking", "frame-system/runtime-benchmarks", "pallet-assets/runtime-benchmarks", "pallet-balances/runtime-benchmarks", "pallet-multisig/runtime-benchmarks", "pallet-proxy/runtime-benchmarks", + "pallet-timestamp/runtime-benchmarks", "pallet-uniques/runtime-benchmarks", "pallet-utility/runtime-benchmarks", - "pallet-timestamp/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "xcm-builder/runtime-benchmarks", + "cumulus-pallet-session-benchmarking/runtime-benchmarks", "pallet-collator-selection/runtime-benchmarks", ] try-runtime = [ - "frame-try-runtime", "frame-executive/try-runtime", + "frame-try-runtime", ] std = [ "codec/std", + "log/std", "scale-info/std", "serde", - "log/std", - "sp-api/std", - "sp-std/std", - "sp-io/std", - "sp-core/std", - "sp-runtime/std", - "sp-version/std", - "sp-offchain/std", - "sp-session/std", - "sp-block-builder/std", - "sp-transaction-pool/std", - "sp-inherents/std", - "frame-support/std", "frame-executive/std", - "frame-system/std", + "frame-support/std", "frame-system-rpc-runtime-api/std", + "frame-system/std", + "pallet-asset-tx-payment/std", "pallet-assets/std", - "pallet-authorship/std", "pallet-aura/std", + "pallet-authorship/std", "pallet-balances/std", "pallet-multisig/std", "pallet-proxy/std", "pallet-session/std", "pallet-sudo/std", "pallet-timestamp/std", - "pallet-transaction-payment/std", "pallet-transaction-payment-rpc-runtime-api/std", + "pallet-transaction-payment/std", "pallet-uniques/std", "pallet-utility/std", "pallet-xcm/std", - "parachain-info/std", + "polkadot-core-primitives/std", + "polkadot-parachain/std", + "polkadot-runtime-common/std", + "polkadot-runtime-constants/std", + "sp-api/std", + "sp-block-builder/std", + "sp-consensus-aura/std", + "sp-core/std", + "sp-inherents/std", + "sp-io/std", + "sp-offchain/std", + "sp-runtime/std", + "sp-session/std", + "sp-std/std", + "sp-transaction-pool/std", + "sp-version/std", + "xcm-builder/std", + "xcm-executor/std", + "xcm/std", "cumulus-pallet-aura-ext/std", - "pallet-asset-tx-payment/std", - "pallet-collator-selection/std", "cumulus-pallet-dmp-queue/std", "cumulus-pallet-parachain-system/std", - "cumulus-pallet-xcmp-queue/std", "cumulus-pallet-xcm/std", + "cumulus-pallet-xcmp-queue/std", + "cumulus-ping/std", "cumulus-primitives-core/std", "cumulus-primitives-timestamp/std", "cumulus-primitives-utility/std", - "cumulus-ping/std", - "xcm/std", - "xcm-builder/std", - "xcm-executor/std", - "sp-consensus-aura/std", + "pallet-collator-selection/std", + "parachain-info/std", "parachains-common/std", - "polkadot-parachain/std", - "polkadot-runtime-common/std", - "polkadot-core-primitives/std", - "polkadot-runtime-constants/std", ] diff --git a/cumulus/polkadot-parachains/westmint/Cargo.toml b/cumulus/polkadot-parachains/westmint/Cargo.toml index 6181cf54c52..99c062e910f 100644 --- a/cumulus/polkadot-parachains/westmint/Cargo.toml +++ b/cumulus/polkadot-parachains/westmint/Cargo.toml @@ -9,32 +9,19 @@ description = "Westend variant of Statemint parachain runtime" codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] } hex-literal = { version = "0.3.4", optional = true } log = { version = "0.4.14", default-features = false } -parachain-info = { path = "../pallets/parachain-info", default-features = false } scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } serde = { version = "1.0.132", optional = true, features = ["derive"] } smallvec = "1.6.1" -# Substrate dependencies -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-version = { 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-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } - +# Substrate frame-benchmarking = { git = "https://github.com/paritytech/substrate", optional = true, default-features = false, branch = "master" } -frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", optional = true, default-features = false, branch = "master" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", optional = true, default-features = false, branch = "master" } frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -pallet-asset-tx-payment = { git = 'https://github.com/paritytech/substrate', default-features = false, branch = "master" } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "master" } +pallet-asset-tx-payment = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } pallet-assets = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } @@ -47,33 +34,43 @@ pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } pallet-uniques = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-offchain = { 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-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -# Cumulus dependencies -cumulus-pallet-aura-ext = { path = "../../pallets/aura-ext", default-features = false } -cumulus-pallet-parachain-system = { path = "../../pallets/parachain-system", default-features = false } -cumulus-primitives-core = { path = "../../primitives/core", default-features = false } -cumulus-primitives-timestamp = { path = "../../primitives/timestamp", default-features = false } -cumulus-primitives-utility = { path = "../../primitives/utility", default-features = false } -cumulus-pallet-dmp-queue = { path = "../../pallets/dmp-queue", default-features = false } -cumulus-pallet-xcmp-queue = { path = "../../pallets/xcmp-queue", default-features = false } -cumulus-pallet-xcm = { path = "../../pallets/xcm", default-features = false } -cumulus-pallet-session-benchmarking = {path = "../../pallets/session-benchmarking", default-features = false, version = "3.0.0"} -cumulus-ping = { path = "../pallets/ping", default-features = false } -pallet-collator-selection = { path = "../../pallets/collator-selection", default-features = false } -parachains-common = { path = "../parachains-common", default-features = false } - -# Polkadot dependencies +# Polkadot +pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } +polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } westend-runtime-constants = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -# Try-runtime stuff -frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } +# Cumulus +cumulus-pallet-aura-ext = { path = "../../pallets/aura-ext", default-features = false } +cumulus-pallet-dmp-queue = { path = "../../pallets/dmp-queue", default-features = false } +cumulus-pallet-parachain-system = { path = "../../pallets/parachain-system", default-features = false } +cumulus-pallet-session-benchmarking = {path = "../../pallets/session-benchmarking", default-features = false, version = "3.0.0"} +cumulus-pallet-xcm = { path = "../../pallets/xcm", default-features = false } +cumulus-pallet-xcmp-queue = { path = "../../pallets/xcmp-queue", default-features = false } +cumulus-ping = { path = "../pallets/ping", default-features = false } +cumulus-primitives-core = { path = "../../primitives/core", default-features = false } +cumulus-primitives-timestamp = { path = "../../primitives/timestamp", default-features = false } +cumulus-primitives-utility = { path = "../../primitives/utility", default-features = false } +pallet-collator-selection = { path = "../../pallets/collator-selection", default-features = false } +parachain-info = { path = "../pallets/parachain-info", default-features = false } +parachains-common = { path = "../parachains-common", default-features = false } [dev-dependencies] hex-literal = "0.3.4" @@ -84,80 +81,80 @@ substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", bran [features] default = [ "std" ] runtime-benchmarks = [ - "cumulus-pallet-session-benchmarking/runtime-benchmarks", "hex-literal", - "sp-runtime/runtime-benchmarks", - "xcm-builder/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks", - "frame-system-benchmarking", "frame-support/runtime-benchmarks", + "frame-system-benchmarking", "frame-system/runtime-benchmarks", "pallet-assets/runtime-benchmarks", "pallet-balances/runtime-benchmarks", "pallet-multisig/runtime-benchmarks", "pallet-proxy/runtime-benchmarks", + "pallet-timestamp/runtime-benchmarks", "pallet-uniques/runtime-benchmarks", "pallet-utility/runtime-benchmarks", - "pallet-timestamp/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "xcm-builder/runtime-benchmarks", + "cumulus-pallet-session-benchmarking/runtime-benchmarks", "pallet-collator-selection/runtime-benchmarks", ] try-runtime = [ - "frame-try-runtime", "frame-executive/try-runtime", + "frame-try-runtime", ] std = [ "codec/std", + "log/std", "scale-info/std", "serde", - "log/std", - "sp-api/std", - "sp-std/std", - "sp-io/std", - "sp-core/std", - "sp-runtime/std", - "sp-version/std", - "sp-offchain/std", - "sp-session/std", - "sp-block-builder/std", - "sp-transaction-pool/std", - "sp-inherents/std", - "frame-support/std", "frame-executive/std", - "frame-system/std", + "frame-support/std", "frame-system-rpc-runtime-api/std", + "frame-system/std", + "pallet-asset-tx-payment/std", "pallet-assets/std", - "pallet-authorship/std", "pallet-aura/std", + "pallet-authorship/std", "pallet-balances/std", "pallet-multisig/std", "pallet-proxy/std", "pallet-session/std", "pallet-timestamp/std", - "pallet-transaction-payment/std", "pallet-transaction-payment-rpc-runtime-api/std", + "pallet-transaction-payment/std", "pallet-uniques/std", "pallet-utility/std", "pallet-xcm/std", - "parachain-info/std", + "polkadot-core-primitives/std", + "polkadot-parachain/std", + "polkadot-runtime-common/std", + "sp-api/std", + "sp-block-builder/std", + "sp-consensus-aura/std", + "sp-core/std", + "sp-inherents/std", + "sp-io/std", + "sp-offchain/std", + "sp-runtime/std", + "sp-session/std", + "sp-std/std", + "sp-transaction-pool/std", + "sp-version/std", + "westend-runtime-constants/std", + "xcm-builder/std", + "xcm-executor/std", + "xcm/std", "cumulus-pallet-aura-ext/std", - "pallet-asset-tx-payment/std", - "pallet-collator-selection/std", "cumulus-pallet-dmp-queue/std", "cumulus-pallet-parachain-system/std", - "cumulus-pallet-xcmp-queue/std", "cumulus-pallet-xcm/std", + "cumulus-pallet-xcmp-queue/std", + "cumulus-ping/std", "cumulus-primitives-core/std", "cumulus-primitives-timestamp/std", "cumulus-primitives-utility/std", - "cumulus-ping/std", - "xcm/std", - "xcm-builder/std", - "xcm-executor/std", - "sp-consensus-aura/std", + "pallet-collator-selection/std", + "parachain-info/std", "parachains-common/std", - "polkadot-parachain/std", - "polkadot-runtime-common/std", - "polkadot-core-primitives/std", - "westend-runtime-constants/std", ] diff --git a/cumulus/primitives/core/Cargo.toml b/cumulus/primitives/core/Cargo.toml index 33a81cca524..d9a220273d4 100644 --- a/cumulus/primitives/core/Cargo.toml +++ b/cumulus/primitives/core/Cargo.toml @@ -5,31 +5,30 @@ authors = ["Parity Technologies <admin@parity.io>"] edition = "2021" [dependencies] -# Substrate dependencies -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ "derive" ] } + +# Substrate +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } sp-api = { 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-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -# Polkadot dependencies +# Polkadot +polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } polkadot-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } - -# Other dependencies -codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ "derive" ] } [features] default = [ "std" ] std = [ "codec/std", - "sp-std/std", - "polkadot-primitives/std", - "polkadot-parachain/std", - "polkadot-core-primitives/std", + "frame-support/std", + "sp-api/std", "sp-runtime/std", + "sp-std/std", "sp-trie/std", - "sp-api/std", - "frame-support/std", + "polkadot-core-primitives/std", + "polkadot-parachain/std", + "polkadot-primitives/std", ] diff --git a/cumulus/primitives/parachain-inherent/Cargo.toml b/cumulus/primitives/parachain-inherent/Cargo.toml index 31d9915fee6..67ee92131f1 100644 --- a/cumulus/primitives/parachain-inherent/Cargo.toml +++ b/cumulus/primitives/parachain-inherent/Cargo.toml @@ -5,27 +5,26 @@ authors = ["Parity Technologies <admin@parity.io>"] edition = "2021" [dependencies] -# Substrate dependencies -sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +async-trait = { version = "0.1.42", optional = true } +codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ "derive" ] } +scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } +tracing = { version = "0.1.31", optional = true } + +# Substrate +sc-client-api = { git = "https://github.com/paritytech/substrate", optional = true, branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", optional = true, branch = "master" } sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sc-client-api = { git = "https://github.com/paritytech/substrate", optional = true , branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", optional = true , branch = "master" } +sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", optional = true, branch = "master" } +sp-state-machine = { git = "https://github.com/paritytech/substrate", optional = true, branch = "master" } sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-state-machine = { git = "https://github.com/paritytech/substrate", optional = true , branch = "master" } +sp-storage = { git = "https://github.com/paritytech/substrate", optional = true, branch = "master" } sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", optional = true , branch = "master" } -sp-storage = { git = "https://github.com/paritytech/substrate", optional = true , branch = "master" } -# Cumulus dependencies +# Cumulus cumulus-primitives-core = { path = "../core", default-features = false } -cumulus-test-relay-sproof-builder = { path = "../../test/relay-sproof-builder", optional = true } cumulus-relay-chain-interface = { path = "../../client/relay-chain-interface", optional = true } - -# Other dependencies -async-trait = { version = "0.1.42", optional = true } -codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ "derive" ] } -scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } -tracing = { version = "0.1.31", optional = true } +cumulus-test-relay-sproof-builder = { path = "../../test/relay-sproof-builder", optional = true } [features] default = [ "std" ] @@ -33,18 +32,17 @@ std = [ "async-trait", "codec/std", "scale-info/std", - "cumulus-primitives-core/std", - "sp-inherents/std", - "sp-core/std", - "sp-trie/std", - "sp-std/std", - "sp-state-machine", "tracing", - "sp-runtime", "sc-client-api", "sp-api", + "sp-core/std", + "sp-inherents/std", + "sp-runtime", + "sp-state-machine", + "sp-std/std", "sp-storage", - "cumulus-test-relay-sproof-builder", + "sp-trie/std", + "cumulus-primitives-core/std", "cumulus-relay-chain-interface", - "cumulus-test-relay-sproof-builder" + "cumulus-test-relay-sproof-builder", ] diff --git a/cumulus/primitives/timestamp/Cargo.toml b/cumulus/primitives/timestamp/Cargo.toml index cf696907e65..47ae6b6758c 100644 --- a/cumulus/primitives/timestamp/Cargo.toml +++ b/cumulus/primitives/timestamp/Cargo.toml @@ -6,33 +6,34 @@ edition = "2021" description = "Provides timestamp related functionality for parachains." [dependencies] -# Substrate dependencies -sp-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ "derive" ] } +futures = "0.3.5" + +# Substrate sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -# Cumulus dependencies +# Cumulus cumulus-primitives-core = { path = "../core", default-features = false } [dev-dependencies] -# Substrate dependencies -sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } + +# Substrate sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } -# Cumulus dependencies +# Cumulus cumulus-test-client = { path = "../../test/client" } cumulus-test-relay-sproof-builder = { path = "../../test/relay-sproof-builder" } -# Other deps -codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ "derive" ] } -futures = "0.3.5" [features] default = [ "std" ] std = [ - "sp-timestamp/std", "sp-inherents/std", "sp-std/std", + "sp-timestamp/std", "cumulus-primitives-core/std", ] diff --git a/cumulus/primitives/utility/Cargo.toml b/cumulus/primitives/utility/Cargo.toml index 868ea106fbd..74cb8a3eb52 100644 --- a/cumulus/primitives/utility/Cargo.toml +++ b/cumulus/primitives/utility/Cargo.toml @@ -5,34 +5,33 @@ authors = ["Parity Technologies <admin@parity.io>"] edition = "2021" [dependencies] -# Substrate dependencies -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ "derive" ] } + +# Substrate +frame-support = { 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-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -# Polkadot dependencies +# Polkadot +polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } polkadot-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -polkadot-core-primitives = { 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-primitives-core = { path = "../core", default-features = false } -# Other dependencies -codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ "derive" ] } - - [features] default = [ "std" ] std = [ "codec/std", - "sp-std/std", - "polkadot-primitives/std", - "polkadot-parachain/std", - "polkadot-core-primitives/std", + "frame-support/std", "sp-runtime/std", + "sp-std/std", "sp-trie/std", - "frame-support/std", + "polkadot-core-primitives/std", + "polkadot-parachain/std", + "polkadot-primitives/std", "cumulus-primitives-core/std", ] diff --git a/cumulus/test/client/Cargo.toml b/cumulus/test/client/Cargo.toml index 39cde7db2e1..490730b7519 100644 --- a/cumulus/test/client/Cargo.toml +++ b/cumulus/test/client/Cargo.toml @@ -5,6 +5,9 @@ authors = ["Parity Technologies <admin@parity.io>"] edition = "2021" [dependencies] +codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ "derive" ] } + +# Substrate sc-service = { git = "https://github.com/paritytech/substrate", branch = "master", features = ["wasmtime"] } sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } @@ -23,16 +26,13 @@ frame-system = { git = "https://github.com/paritytech/substrate", branch = "mast pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } -# Cumulus deps +# Polkadot +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "master" } + +# Cumulus cumulus-test-runtime = { path = "../runtime" } cumulus-test-service = { path = "../service" } cumulus-test-relay-sproof-builder = { path = "../relay-sproof-builder" } cumulus-primitives-core = { path = "../../primitives/core" } cumulus-primitives-parachain-inherent = { path = "../../primitives/parachain-inherent" } - -# Polkadot deps -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "master" } - -# Other deps -codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ "derive" ] } diff --git a/cumulus/test/relay-sproof-builder/Cargo.toml b/cumulus/test/relay-sproof-builder/Cargo.toml index 623973083d8..32e12ee25cc 100644 --- a/cumulus/test/relay-sproof-builder/Cargo.toml +++ b/cumulus/test/relay-sproof-builder/Cargo.toml @@ -5,26 +5,25 @@ authors = ["Parity Technologies <admin@parity.io>"] edition = "2021" [dependencies] -# Other dependencies codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ "derive" ] } -# Substrate dependencies -sp-state-machine = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +# Substrate sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-state-machine = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -# Polkadot dependencies +# Polkadot polkadot-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } -# Cumulus dependencies +# Cumulus cumulus-primitives-core = { path = "../../primitives/core", default-features = false } [features] default = [ "std" ] std = [ "codec/std", - "sp-state-machine/std", "sp-runtime/std", + "sp-state-machine/std", "sp-std/std", "cumulus-primitives-core/std", ] diff --git a/cumulus/test/relay-validation-worker-provider/Cargo.toml b/cumulus/test/relay-validation-worker-provider/Cargo.toml index 750b863baec..a80f3a718cc 100644 --- a/cumulus/test/relay-validation-worker-provider/Cargo.toml +++ b/cumulus/test/relay-validation-worker-provider/Cargo.toml @@ -6,4 +6,6 @@ edition = "2021" build = "build.rs" [dependencies] + +# Polkadot polkadot-node-core-pvf = { git = "https://github.com/paritytech/polkadot", branch = "master" } diff --git a/cumulus/test/runtime/Cargo.toml b/cumulus/test/runtime/Cargo.toml index b46adfea885..84ba37dae92 100644 --- a/cumulus/test/runtime/Cargo.toml +++ b/cumulus/test/runtime/Cargo.toml @@ -9,7 +9,7 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } serde = { version = "1.0.132", optional = true, features = ["derive"] } -# Substrate dependencies +# Substrate frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } @@ -30,7 +30,7 @@ sp-std = { git = "https://github.com/paritytech/substrate", default-features = f sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -# Cumulus dependencies +# Cumulus cumulus-pallet-parachain-system = { path = "../../pallets/parachain-system", default-features = false } cumulus-primitives-core = { path = "../../primitives/core", default-features = false } cumulus-primitives-timestamp = { path = "../../primitives/timestamp", default-features = false } @@ -43,18 +43,15 @@ default = [ "std" ] std = [ "codec/std", "scale-info/std", - "cumulus-pallet-parachain-system/std", - "cumulus-primitives-core/std", - "cumulus-primitives-timestamp/std", + "serde", "frame-executive/std", "frame-support/std", - "frame-system/std", "frame-system-rpc-runtime-api/std", + "frame-system/std", "pallet-balances/std", "pallet-sudo/std", "pallet-timestamp/std", "pallet-transaction-payment/std", - "serde", "sp-api/std", "sp-block-builder/std", "sp-core/std", @@ -66,5 +63,8 @@ std = [ "sp-std/std", "sp-transaction-pool/std", "sp-version/std", + "cumulus-pallet-parachain-system/std", + "cumulus-primitives-core/std", + "cumulus-primitives-timestamp/std", ] increment-spec-version = [] diff --git a/cumulus/test/service/Cargo.toml b/cumulus/test/service/Cargo.toml index be1bcd66885..85bbf4075eb 100644 --- a/cumulus/test/service/Cargo.toml +++ b/cumulus/test/service/Cargo.toml @@ -5,20 +5,23 @@ authors = ["Parity Technologies <admin@parity.io>"] edition = "2021" [dependencies] +async-trait = "0.1.42" codec = { package = "parity-scale-codec", version = "3.0.0" } +criterion = { version = "0.3.5", features = [ "async_tokio" ] } +jsonrpc-core = "18.0.0" +parking_lot = "0.12.0" rand = "0.8.5" serde = { version = "1.0.132", features = ["derive"] } -async-trait = "0.1.42" tokio = { version = "1.17.0", features = ["macros"] } +url = "2.2.2" # Substrate frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-transaction-pool-api = { 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", features = ["wasmtime"] } sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } @@ -26,6 +29,7 @@ sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-service = { git = "https://github.com/paritytech/substrate", branch = "master", features = [ "wasmtime" ] } sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } @@ -34,8 +38,8 @@ sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } substrate-test-client = { git = "https://github.com/paritytech/substrate", branch = "master" } # Polkadot @@ -44,26 +48,18 @@ polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "m polkadot-test-service = { git = "https://github.com/paritytech/polkadot", branch = "master" } # Cumulus +cumulus-client-cli = { path = "../../client/cli" } +cumulus-client-consensus-common = { path = "../../client/consensus/common" } cumulus-client-consensus-relay-chain = { path = "../../client/consensus/relay-chain" } cumulus-client-network = { path = "../../client/network" } cumulus-client-service = { path = "../../client/service" } -cumulus-client-cli = { path = "../../client/cli" } -cumulus-client-consensus-common = { path = "../../client/consensus/common" } cumulus-primitives-core = { path = "../../primitives/core" } cumulus-primitives-parachain-inherent = { path = "../../primitives/parachain-inherent" } -cumulus-test-runtime = { path = "../runtime" } -cumulus-test-relay-validation-worker-provider = { path = "../relay-validation-worker-provider" } cumulus-relay-chain-inprocess-interface = { path = "../../client/relay-chain-inprocess-interface" } cumulus-relay-chain-interface = { path = "../../client/relay-chain-interface" } cumulus-relay-chain-rpc-interface = { path = "../../client/relay-chain-rpc-interface" } - -criterion = { version = "0.3.5", features = [ "async_tokio" ] } - -parking_lot = "0.12.0" - -# RPC related dependencies -jsonrpc-core = "18.0.0" -url = "2.2.2" +cumulus-test-relay-validation-worker-provider = { path = "../relay-validation-worker-provider" } +cumulus-test-runtime = { path = "../runtime" } [dev-dependencies] futures = "0.3.5" -- GitLab