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 uses: chevdor/srtool-actions@v0.1.0
with: with:
chain: ${{ matrix.chain }} chain: ${{ matrix.chain }}
runtime_dir: polkadot-parachains/${{ matrix.chain }}-runtime runtime_dir: polkadot-parachains/${{ matrix.chain }}
- name: Summary - name: Summary
run: | run: |
echo '${{ steps.srtool_build.outputs.json }}' | jq > ${{ matrix.chain }}-srtool-digest.json echo '${{ steps.srtool_build.outputs.json }}' | jq > ${{ matrix.chain }}-srtool-digest.json
+1 -1
View File
@@ -3,5 +3,5 @@
.vscode .vscode
.DS_Store .DS_Store
/.cargo/config /.cargo/config
polkadot_argument_parsing
**/node_modules **/node_modules
+88 -88
View File
@@ -1833,91 +1833,6 @@ dependencies = [
"xcm", "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]] [[package]]
name = "cumulus-test-client" name = "cumulus-test-client"
version = "0.1.0" version = "0.1.0"
@@ -6579,8 +6494,6 @@ dependencies = [
"cumulus-client-service", "cumulus-client-service",
"cumulus-primitives-core", "cumulus-primitives-core",
"cumulus-primitives-parachain-inherent", "cumulus-primitives-parachain-inherent",
"cumulus-rococo-parachain-runtime",
"cumulus-shell-runtime",
"derive_more 0.15.0", "derive_more 0.15.0",
"exit-future 0.1.4", "exit-future 0.1.4",
"frame-benchmarking", "frame-benchmarking",
@@ -6597,6 +6510,7 @@ dependencies = [
"polkadot-primitives", "polkadot-primitives",
"polkadot-service", "polkadot-service",
"rand 0.7.3", "rand 0.7.3",
"rococo-runtime 0.1.0",
"sc-basic-authorship", "sc-basic-authorship",
"sc-chain-spec", "sc-chain-spec",
"sc-cli", "sc-cli",
@@ -6611,6 +6525,7 @@ dependencies = [
"sc-tracing", "sc-tracing",
"sc-transaction-pool", "sc-transaction-pool",
"serde", "serde",
"shell-runtime",
"sp-api", "sp-api",
"sp-block-builder", "sp-block-builder",
"sp-blockchain", "sp-blockchain",
@@ -7395,7 +7310,7 @@ dependencies = [
"polkadot-runtime", "polkadot-runtime",
"polkadot-runtime-parachains", "polkadot-runtime-parachains",
"polkadot-statement-distribution", "polkadot-statement-distribution",
"rococo-runtime", "rococo-runtime 0.9.5",
"sc-authority-discovery", "sc-authority-discovery",
"sc-basic-authorship", "sc-basic-authorship",
"sc-block-builder", "sc-block-builder",
@@ -8357,6 +8272,55 @@ dependencies = [
"librocksdb-sys", "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]] [[package]]
name = "rococo-runtime" name = "rococo-runtime"
version = "0.9.5" version = "0.9.5"
@@ -9857,6 +9821,42 @@ dependencies = [
"loom", "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]] [[package]]
name = "shlex" name = "shlex"
version = "0.1.1" version = "0.1.1"
+5 -5
View File
@@ -22,12 +22,12 @@ members = [
"polkadot-parachains/", "polkadot-parachains/",
"polkadot-parachains/pallets/parachain-info", "polkadot-parachains/pallets/parachain-info",
"polkadot-parachains/pallets/ping", "polkadot-parachains/pallets/ping",
"polkadot-parachains/rococo-runtime", "polkadot-parachains/rococo",
"polkadot-parachains/shell-runtime", "polkadot-parachains/shell",
"polkadot-parachains/statemint-common", "polkadot-parachains/statemint-common",
"polkadot-parachains/statemint-runtime", "polkadot-parachains/statemint",
"polkadot-parachains/statemine-runtime", "polkadot-parachains/statemine",
"polkadot-parachains/westmint-runtime", "polkadot-parachains/westmint",
"test/runtime", "test/runtime",
"test/runtime-upgrade", "test/runtime-upgrade",
"test/client", "test/client",
+5 -5
View File
@@ -23,11 +23,11 @@ hex-literal = "0.2.1"
async-trait = "0.1.42" async-trait = "0.1.42"
# Parachain runtimes # Parachain runtimes
rococo-parachain-runtime = { package = "cumulus-rococo-parachain-runtime", path = "rococo-runtime" } rococo-parachain-runtime = { package = "rococo-runtime", path = "rococo" }
shell-runtime = { package = "cumulus-shell-runtime", path = "shell-runtime" } shell-runtime = { path = "shell" }
statemint-runtime = { path = "statemint-runtime" } statemint-runtime = { path = "statemint" }
statemine-runtime = { path = "statemine-runtime" } statemine-runtime = { path = "statemine" }
westmint-runtime = { path = "westmint-runtime" } westmint-runtime = { path = "westmint" }
statemint-common = { path = "statemint-common" } statemint-common = { path = "statemint-common" }
# Substrate dependencies # Substrate dependencies
@@ -1,5 +1,5 @@
[package] [package]
name = 'cumulus-rococo-parachain-runtime' name = 'rococo-runtime'
version = '0.1.0' version = '0.1.0'
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = '2018' edition = '2018'
@@ -1,5 +1,5 @@
[package] [package]
name = 'cumulus-shell-runtime' name = 'shell-runtime'
version = '0.1.0' version = '0.1.0'
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = '2018' edition = '2018'