Refactor paths and runtime names (#507)

chore: refactor for consistant naming of the crates and paths of the runtimes

* tests: ignore folder created by the tests
* chore: refactoring
* Update polkadot-parachains/Cargo.toml

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
Chevdor
2021-06-28 14:24:03 +02:00
committed by GitHub
parent a8c3f11c44
commit 5f96d5eea8
51 changed files with 102 additions and 102 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ jobs:
uses: chevdor/srtool-actions@v0.1.0
with:
chain: ${{ matrix.chain }}
runtime_dir: polkadot-parachains/${{ matrix.chain }}-runtime
runtime_dir: polkadot-parachains/${{ matrix.chain }}
- name: Summary
run: |
echo '${{ steps.srtool_build.outputs.json }}' | jq > ${{ matrix.chain }}-srtool-digest.json
+1 -1
View File
@@ -3,5 +3,5 @@
.vscode
.DS_Store
/.cargo/config
polkadot_argument_parsing
**/node_modules
+88 -88
View File
@@ -1833,91 +1833,6 @@ dependencies = [
"xcm",
]
[[package]]
name = "cumulus-rococo-parachain-runtime"
version = "0.1.0"
dependencies = [
"cumulus-pallet-aura-ext",
"cumulus-pallet-dmp-queue",
"cumulus-pallet-parachain-system",
"cumulus-pallet-xcm",
"cumulus-pallet-xcmp-queue",
"cumulus-ping",
"cumulus-primitives-core",
"cumulus-primitives-timestamp",
"cumulus-primitives-utility",
"frame-executive",
"frame-support",
"frame-system",
"hex",
"hex-literal 0.3.1",
"log",
"pallet-assets",
"pallet-aura",
"pallet-balances",
"pallet-randomness-collective-flip",
"pallet-sudo",
"pallet-timestamp",
"pallet-transaction-payment",
"pallet-xcm",
"parachain-info",
"parity-scale-codec",
"polkadot-parachain",
"serde",
"sp-api",
"sp-block-builder",
"sp-consensus-aura",
"sp-core",
"sp-inherents",
"sp-io",
"sp-offchain",
"sp-runtime",
"sp-session",
"sp-std",
"sp-transaction-pool",
"sp-version",
"substrate-wasm-builder 4.0.0",
"xcm",
"xcm-builder",
"xcm-executor",
]
[[package]]
name = "cumulus-shell-runtime"
version = "0.1.0"
dependencies = [
"cumulus-pallet-dmp-queue",
"cumulus-pallet-parachain-system",
"cumulus-pallet-xcm",
"cumulus-primitives-core",
"cumulus-primitives-utility",
"frame-executive",
"frame-support",
"frame-system",
"hex",
"hex-literal 0.3.1",
"log",
"parachain-info",
"parity-scale-codec",
"polkadot-parachain",
"serde",
"sp-api",
"sp-block-builder",
"sp-core",
"sp-inherents",
"sp-io",
"sp-offchain",
"sp-runtime",
"sp-session",
"sp-std",
"sp-transaction-pool",
"sp-version",
"substrate-wasm-builder 4.0.0",
"xcm",
"xcm-builder",
"xcm-executor",
]
[[package]]
name = "cumulus-test-client"
version = "0.1.0"
@@ -6579,8 +6494,6 @@ dependencies = [
"cumulus-client-service",
"cumulus-primitives-core",
"cumulus-primitives-parachain-inherent",
"cumulus-rococo-parachain-runtime",
"cumulus-shell-runtime",
"derive_more 0.15.0",
"exit-future 0.1.4",
"frame-benchmarking",
@@ -6597,6 +6510,7 @@ dependencies = [
"polkadot-primitives",
"polkadot-service",
"rand 0.7.3",
"rococo-runtime 0.1.0",
"sc-basic-authorship",
"sc-chain-spec",
"sc-cli",
@@ -6611,6 +6525,7 @@ dependencies = [
"sc-tracing",
"sc-transaction-pool",
"serde",
"shell-runtime",
"sp-api",
"sp-block-builder",
"sp-blockchain",
@@ -7395,7 +7310,7 @@ dependencies = [
"polkadot-runtime",
"polkadot-runtime-parachains",
"polkadot-statement-distribution",
"rococo-runtime",
"rococo-runtime 0.9.5",
"sc-authority-discovery",
"sc-basic-authorship",
"sc-block-builder",
@@ -8357,6 +8272,55 @@ dependencies = [
"librocksdb-sys",
]
[[package]]
name = "rococo-runtime"
version = "0.1.0"
dependencies = [
"cumulus-pallet-aura-ext",
"cumulus-pallet-dmp-queue",
"cumulus-pallet-parachain-system",
"cumulus-pallet-xcm",
"cumulus-pallet-xcmp-queue",
"cumulus-ping",
"cumulus-primitives-core",
"cumulus-primitives-timestamp",
"cumulus-primitives-utility",
"frame-executive",
"frame-support",
"frame-system",
"hex",
"hex-literal 0.3.1",
"log",
"pallet-assets",
"pallet-aura",
"pallet-balances",
"pallet-randomness-collective-flip",
"pallet-sudo",
"pallet-timestamp",
"pallet-transaction-payment",
"pallet-xcm",
"parachain-info",
"parity-scale-codec",
"polkadot-parachain",
"serde",
"sp-api",
"sp-block-builder",
"sp-consensus-aura",
"sp-core",
"sp-inherents",
"sp-io",
"sp-offchain",
"sp-runtime",
"sp-session",
"sp-std",
"sp-transaction-pool",
"sp-version",
"substrate-wasm-builder 4.0.0",
"xcm",
"xcm-builder",
"xcm-executor",
]
[[package]]
name = "rococo-runtime"
version = "0.9.5"
@@ -9857,6 +9821,42 @@ dependencies = [
"loom",
]
[[package]]
name = "shell-runtime"
version = "0.1.0"
dependencies = [
"cumulus-pallet-dmp-queue",
"cumulus-pallet-parachain-system",
"cumulus-pallet-xcm",
"cumulus-primitives-core",
"cumulus-primitives-utility",
"frame-executive",
"frame-support",
"frame-system",
"hex",
"hex-literal 0.3.1",
"log",
"parachain-info",
"parity-scale-codec",
"polkadot-parachain",
"serde",
"sp-api",
"sp-block-builder",
"sp-core",
"sp-inherents",
"sp-io",
"sp-offchain",
"sp-runtime",
"sp-session",
"sp-std",
"sp-transaction-pool",
"sp-version",
"substrate-wasm-builder 4.0.0",
"xcm",
"xcm-builder",
"xcm-executor",
]
[[package]]
name = "shlex"
version = "0.1.1"
+5 -5
View File
@@ -22,12 +22,12 @@ members = [
"polkadot-parachains/",
"polkadot-parachains/pallets/parachain-info",
"polkadot-parachains/pallets/ping",
"polkadot-parachains/rococo-runtime",
"polkadot-parachains/shell-runtime",
"polkadot-parachains/rococo",
"polkadot-parachains/shell",
"polkadot-parachains/statemint-common",
"polkadot-parachains/statemint-runtime",
"polkadot-parachains/statemine-runtime",
"polkadot-parachains/westmint-runtime",
"polkadot-parachains/statemint",
"polkadot-parachains/statemine",
"polkadot-parachains/westmint",
"test/runtime",
"test/runtime-upgrade",
"test/client",
+5 -5
View File
@@ -23,11 +23,11 @@ hex-literal = "0.2.1"
async-trait = "0.1.42"
# Parachain runtimes
rococo-parachain-runtime = { package = "cumulus-rococo-parachain-runtime", path = "rococo-runtime" }
shell-runtime = { package = "cumulus-shell-runtime", path = "shell-runtime" }
statemint-runtime = { path = "statemint-runtime" }
statemine-runtime = { path = "statemine-runtime" }
westmint-runtime = { path = "westmint-runtime" }
rococo-parachain-runtime = { package = "rococo-runtime", path = "rococo" }
shell-runtime = { path = "shell" }
statemint-runtime = { path = "statemint" }
statemine-runtime = { path = "statemine" }
westmint-runtime = { path = "westmint" }
statemint-common = { path = "statemint-common" }
# Substrate dependencies
@@ -1,5 +1,5 @@
[package]
name = 'cumulus-rococo-parachain-runtime'
name = 'rococo-runtime'
version = '0.1.0'
authors = ["Parity Technologies <admin@parity.io>"]
edition = '2018'
@@ -1,5 +1,5 @@
[package]
name = 'cumulus-shell-runtime'
name = 'shell-runtime'
version = '0.1.0'
authors = ["Parity Technologies <admin@parity.io>"]
edition = '2018'