mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 03:01:07 +00:00
Add ci check for parity-publish and fix current check issues (#1887)
Co-authored-by: Sergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com> Co-authored-by: Bastian Köcher <info@kchr.de>
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
name: Check publish
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened, ready_for_review]
|
||||
|
||||
jobs:
|
||||
check-publish:
|
||||
strategy:
|
||||
matrix:
|
||||
os: ["ubuntu-latest"]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
|
||||
|
||||
- name: Rust Cache
|
||||
uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
|
||||
with:
|
||||
cache-on-failure: true
|
||||
|
||||
- name: install parity-publish
|
||||
run: cargo install parity-publish --profile dev
|
||||
|
||||
- name: parity-publish check
|
||||
run: parity-publish check --allow-unpublished
|
||||
@@ -305,7 +305,7 @@ build-linux-substrate:
|
||||
# see https://github.com/paritytech/ci_cd/issues/682#issuecomment-1340953589
|
||||
- git checkout -B "$CI_COMMIT_REF_NAME" "$CI_COMMIT_SHA"
|
||||
script:
|
||||
- WASM_BUILD_NO_COLOR=1 time cargo build --locked --release -p node-cli
|
||||
- WASM_BUILD_NO_COLOR=1 time cargo build --locked --release -p staging-node-cli
|
||||
- mv $CARGO_TARGET_DIR/release/substrate-node ./artifacts/substrate/substrate
|
||||
- echo -n "Substrate version = "
|
||||
- if [ "${CI_COMMIT_TAG}" ]; then
|
||||
|
||||
@@ -352,7 +352,7 @@ quick-benchmarks:
|
||||
WASM_BUILD_NO_COLOR: 1
|
||||
WASM_BUILD_RUSTFLAGS: "-C debug-assertions -D warnings"
|
||||
script:
|
||||
- time cargo run --locked --release -p node-cli --bin substrate-node --features runtime-benchmarks -- benchmark pallet --execution wasm --wasm-execution compiled --chain dev --pallet "*" --extrinsic "*" --steps 2 --repeat 1
|
||||
- time cargo run --locked --release -p staging-node-cli --bin substrate-node --features runtime-benchmarks -- benchmark pallet --execution wasm --wasm-execution compiled --chain dev --pallet "*" --extrinsic "*" --steps 2 --repeat 1
|
||||
|
||||
test-frame-examples-compile-to-wasm:
|
||||
# into one job
|
||||
@@ -396,7 +396,7 @@ test-linux-stable-int:
|
||||
script:
|
||||
- WASM_BUILD_NO_COLOR=1
|
||||
RUST_LOG=sync=trace,consensus=trace,client=trace,state-db=trace,db=trace,forks=trace,state_db=trace,storage_cache=trace
|
||||
time cargo test -p node-cli --release --locked -- --ignored
|
||||
time cargo test -p staging-node-cli --release --locked -- --ignored
|
||||
|
||||
# more information about this job can be found here:
|
||||
# https://github.com/paritytech/substrate/pull/6916
|
||||
|
||||
Generated
+194
-194
@@ -774,7 +774,6 @@ dependencies = [
|
||||
"pallet-utility",
|
||||
"pallet-xcm",
|
||||
"pallet-xcm-benchmarks",
|
||||
"parachain-info",
|
||||
"parachains-common",
|
||||
"parity-scale-codec",
|
||||
"polkadot-core-primitives",
|
||||
@@ -797,6 +796,7 @@ dependencies = [
|
||||
"sp-transaction-pool",
|
||||
"sp-version",
|
||||
"sp-weights",
|
||||
"staging-parachain-info",
|
||||
"staging-xcm",
|
||||
"staging-xcm-builder",
|
||||
"staging-xcm-executor",
|
||||
@@ -844,7 +844,6 @@ dependencies = [
|
||||
"pallet-utility",
|
||||
"pallet-xcm",
|
||||
"pallet-xcm-benchmarks",
|
||||
"parachain-info",
|
||||
"parachains-common",
|
||||
"parity-scale-codec",
|
||||
"polkadot-core-primitives",
|
||||
@@ -866,6 +865,7 @@ dependencies = [
|
||||
"sp-transaction-pool",
|
||||
"sp-version",
|
||||
"sp-weights",
|
||||
"staging-parachain-info",
|
||||
"staging-xcm",
|
||||
"staging-xcm-builder",
|
||||
"staging-xcm-executor",
|
||||
@@ -947,7 +947,6 @@ dependencies = [
|
||||
"pallet-xcm",
|
||||
"pallet-xcm-benchmarks",
|
||||
"pallet-xcm-bridge-hub-router",
|
||||
"parachain-info",
|
||||
"parachains-common",
|
||||
"parity-scale-codec",
|
||||
"polkadot-core-primitives",
|
||||
@@ -970,6 +969,7 @@ dependencies = [
|
||||
"sp-transaction-pool",
|
||||
"sp-version",
|
||||
"sp-weights",
|
||||
"staging-parachain-info",
|
||||
"staging-xcm",
|
||||
"staging-xcm-builder",
|
||||
"staging-xcm-executor",
|
||||
@@ -1052,7 +1052,6 @@ dependencies = [
|
||||
"pallet-utility",
|
||||
"pallet-xcm",
|
||||
"pallet-xcm-benchmarks",
|
||||
"parachain-info",
|
||||
"parachains-common",
|
||||
"parity-scale-codec",
|
||||
"polkadot-core-primitives",
|
||||
@@ -1075,6 +1074,7 @@ dependencies = [
|
||||
"sp-storage",
|
||||
"sp-transaction-pool",
|
||||
"sp-version",
|
||||
"staging-parachain-info",
|
||||
"staging-xcm",
|
||||
"staging-xcm-builder",
|
||||
"staging-xcm-executor",
|
||||
@@ -1102,7 +1102,6 @@ dependencies = [
|
||||
"pallet-session",
|
||||
"pallet-xcm",
|
||||
"pallet-xcm-bridge-hub-router",
|
||||
"parachain-info",
|
||||
"parachains-common",
|
||||
"parachains-runtimes-test-utils",
|
||||
"parity-scale-codec",
|
||||
@@ -1112,6 +1111,7 @@ dependencies = [
|
||||
"sp-io",
|
||||
"sp-runtime",
|
||||
"sp-std",
|
||||
"staging-parachain-info",
|
||||
"staging-xcm",
|
||||
"staging-xcm-builder",
|
||||
"staging-xcm-executor",
|
||||
@@ -1994,7 +1994,6 @@ dependencies = [
|
||||
"pallet-utility",
|
||||
"pallet-xcm",
|
||||
"pallet-xcm-benchmarks",
|
||||
"parachain-info",
|
||||
"parachains-common",
|
||||
"parity-scale-codec",
|
||||
"polkadot-core-primitives",
|
||||
@@ -2017,6 +2016,7 @@ dependencies = [
|
||||
"sp-storage",
|
||||
"sp-transaction-pool",
|
||||
"sp-version",
|
||||
"staging-parachain-info",
|
||||
"staging-xcm",
|
||||
"staging-xcm-builder",
|
||||
"staging-xcm-executor",
|
||||
@@ -2057,7 +2057,6 @@ dependencies = [
|
||||
"pallet-utility",
|
||||
"pallet-xcm",
|
||||
"pallet-xcm-benchmarks",
|
||||
"parachain-info",
|
||||
"parachains-common",
|
||||
"parity-scale-codec",
|
||||
"polkadot-core-primitives",
|
||||
@@ -2080,6 +2079,7 @@ dependencies = [
|
||||
"sp-storage",
|
||||
"sp-transaction-pool",
|
||||
"sp-version",
|
||||
"staging-parachain-info",
|
||||
"staging-xcm",
|
||||
"staging-xcm-builder",
|
||||
"staging-xcm-executor",
|
||||
@@ -2160,7 +2160,6 @@ dependencies = [
|
||||
"pallet-utility",
|
||||
"pallet-xcm",
|
||||
"pallet-xcm-benchmarks",
|
||||
"parachain-info",
|
||||
"parachains-common",
|
||||
"parity-scale-codec",
|
||||
"polkadot-core-primitives",
|
||||
@@ -2185,6 +2184,7 @@ dependencies = [
|
||||
"sp-storage",
|
||||
"sp-transaction-pool",
|
||||
"sp-version",
|
||||
"staging-parachain-info",
|
||||
"staging-xcm",
|
||||
"staging-xcm-builder",
|
||||
"staging-xcm-executor",
|
||||
@@ -2225,7 +2225,6 @@ dependencies = [
|
||||
"pallet-utility",
|
||||
"pallet-xcm",
|
||||
"pallet-xcm-benchmarks",
|
||||
"parachain-info",
|
||||
"parachains-common",
|
||||
"parachains-runtimes-test-utils",
|
||||
"parity-scale-codec",
|
||||
@@ -2234,6 +2233,7 @@ dependencies = [
|
||||
"sp-keyring",
|
||||
"sp-runtime",
|
||||
"sp-tracing",
|
||||
"staging-parachain-info",
|
||||
"staging-xcm",
|
||||
"staging-xcm-builder",
|
||||
"staging-xcm-executor",
|
||||
@@ -2502,20 +2502,6 @@ dependencies = [
|
||||
"zeroize",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "chain-spec-builder"
|
||||
version = "2.0.0"
|
||||
dependencies = [
|
||||
"ansi_term",
|
||||
"clap 4.4.6",
|
||||
"node-cli",
|
||||
"rand 0.8.5",
|
||||
"sc-chain-spec",
|
||||
"sc-keystore",
|
||||
"sp-core",
|
||||
"sp-keystore",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "chrono"
|
||||
version = "0.4.27"
|
||||
@@ -2772,7 +2758,6 @@ dependencies = [
|
||||
"pallet-transaction-payment-rpc-runtime-api",
|
||||
"pallet-utility",
|
||||
"pallet-xcm",
|
||||
"parachain-info",
|
||||
"parachains-common",
|
||||
"parity-scale-codec",
|
||||
"polkadot-core-primitives",
|
||||
@@ -2795,6 +2780,7 @@ dependencies = [
|
||||
"sp-storage",
|
||||
"sp-transaction-pool",
|
||||
"sp-version",
|
||||
"staging-parachain-info",
|
||||
"staging-xcm",
|
||||
"staging-xcm-builder",
|
||||
"staging-xcm-executor",
|
||||
@@ -2983,7 +2969,6 @@ dependencies = [
|
||||
"pallet-transaction-payment-rpc-runtime-api",
|
||||
"pallet-utility",
|
||||
"pallet-xcm",
|
||||
"parachain-info",
|
||||
"parachains-common",
|
||||
"parity-scale-codec",
|
||||
"polkadot-core-primitives",
|
||||
@@ -3005,6 +2990,7 @@ dependencies = [
|
||||
"sp-storage",
|
||||
"sp-transaction-pool",
|
||||
"sp-version",
|
||||
"staging-parachain-info",
|
||||
"staging-xcm",
|
||||
"staging-xcm-builder",
|
||||
"staging-xcm-executor",
|
||||
@@ -6011,7 +5997,6 @@ dependencies = [
|
||||
"pallet-glutton",
|
||||
"pallet-sudo",
|
||||
"pallet-timestamp",
|
||||
"parachain-info",
|
||||
"parachains-common",
|
||||
"parity-scale-codec",
|
||||
"scale-info",
|
||||
@@ -6028,6 +6013,7 @@ dependencies = [
|
||||
"sp-storage",
|
||||
"sp-transaction-pool",
|
||||
"sp-version",
|
||||
"staging-parachain-info",
|
||||
"staging-xcm",
|
||||
"staging-xcm-builder",
|
||||
"staging-xcm-executor",
|
||||
@@ -8468,151 +8454,6 @@ dependencies = [
|
||||
"tempfile",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "node-cli"
|
||||
version = "3.0.0-dev"
|
||||
dependencies = [
|
||||
"array-bytes 6.1.0",
|
||||
"assert_cmd",
|
||||
"clap 4.4.6",
|
||||
"clap_complete",
|
||||
"criterion 0.4.0",
|
||||
"frame-benchmarking-cli",
|
||||
"frame-system",
|
||||
"frame-system-rpc-runtime-api",
|
||||
"futures",
|
||||
"jsonrpsee",
|
||||
"kitchensink-runtime",
|
||||
"log",
|
||||
"nix 0.26.2",
|
||||
"node-executor",
|
||||
"node-inspect",
|
||||
"node-primitives",
|
||||
"node-rpc",
|
||||
"pallet-asset-conversion-tx-payment",
|
||||
"pallet-asset-tx-payment",
|
||||
"pallet-assets",
|
||||
"pallet-balances",
|
||||
"pallet-im-online",
|
||||
"pallet-timestamp",
|
||||
"parity-scale-codec",
|
||||
"platforms",
|
||||
"rand 0.8.5",
|
||||
"regex",
|
||||
"sc-authority-discovery",
|
||||
"sc-basic-authorship",
|
||||
"sc-block-builder",
|
||||
"sc-chain-spec",
|
||||
"sc-cli",
|
||||
"sc-client-api",
|
||||
"sc-client-db",
|
||||
"sc-consensus",
|
||||
"sc-consensus-babe",
|
||||
"sc-consensus-epochs",
|
||||
"sc-consensus-grandpa",
|
||||
"sc-consensus-slots",
|
||||
"sc-executor",
|
||||
"sc-keystore",
|
||||
"sc-mixnet",
|
||||
"sc-network",
|
||||
"sc-network-common",
|
||||
"sc-network-statement",
|
||||
"sc-network-sync",
|
||||
"sc-offchain",
|
||||
"sc-rpc",
|
||||
"sc-service",
|
||||
"sc-service-test",
|
||||
"sc-statement-store",
|
||||
"sc-storage-monitor",
|
||||
"sc-sync-state-rpc",
|
||||
"sc-sysinfo",
|
||||
"sc-telemetry",
|
||||
"sc-transaction-pool",
|
||||
"sc-transaction-pool-api",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"soketto",
|
||||
"sp-api",
|
||||
"sp-authority-discovery",
|
||||
"sp-blockchain",
|
||||
"sp-consensus",
|
||||
"sp-consensus-babe",
|
||||
"sp-consensus-grandpa",
|
||||
"sp-core",
|
||||
"sp-inherents",
|
||||
"sp-io",
|
||||
"sp-keyring",
|
||||
"sp-keystore",
|
||||
"sp-mixnet",
|
||||
"sp-runtime",
|
||||
"sp-statement-store",
|
||||
"sp-timestamp",
|
||||
"sp-tracing",
|
||||
"sp-transaction-storage-proof",
|
||||
"substrate-build-script-utils",
|
||||
"substrate-cli-test-utils",
|
||||
"substrate-frame-cli",
|
||||
"substrate-rpc-client",
|
||||
"tempfile",
|
||||
"tokio",
|
||||
"tokio-util",
|
||||
"try-runtime-cli",
|
||||
"wait-timeout",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "node-executor"
|
||||
version = "3.0.0-dev"
|
||||
dependencies = [
|
||||
"criterion 0.4.0",
|
||||
"frame-benchmarking",
|
||||
"frame-support",
|
||||
"frame-system",
|
||||
"futures",
|
||||
"kitchensink-runtime",
|
||||
"node-primitives",
|
||||
"node-testing",
|
||||
"pallet-balances",
|
||||
"pallet-contracts",
|
||||
"pallet-glutton",
|
||||
"pallet-im-online",
|
||||
"pallet-root-testing",
|
||||
"pallet-sudo",
|
||||
"pallet-timestamp",
|
||||
"pallet-transaction-payment",
|
||||
"pallet-treasury",
|
||||
"parity-scale-codec",
|
||||
"sc-executor",
|
||||
"scale-info",
|
||||
"sp-application-crypto",
|
||||
"sp-consensus-babe",
|
||||
"sp-core",
|
||||
"sp-externalities",
|
||||
"sp-keyring",
|
||||
"sp-keystore",
|
||||
"sp-runtime",
|
||||
"sp-state-machine",
|
||||
"sp-statement-store",
|
||||
"sp-tracing",
|
||||
"sp-trie",
|
||||
"wat",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "node-inspect"
|
||||
version = "0.9.0-dev"
|
||||
dependencies = [
|
||||
"clap 4.4.6",
|
||||
"parity-scale-codec",
|
||||
"sc-cli",
|
||||
"sc-client-api",
|
||||
"sc-service",
|
||||
"sp-blockchain",
|
||||
"sp-core",
|
||||
"sp-runtime",
|
||||
"thiserror",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "node-primitives"
|
||||
version = "2.0.0"
|
||||
@@ -8766,7 +8607,6 @@ dependencies = [
|
||||
"futures",
|
||||
"kitchensink-runtime",
|
||||
"log",
|
||||
"node-executor",
|
||||
"node-primitives",
|
||||
"pallet-asset-conversion",
|
||||
"pallet-asset-conversion-tx-payment",
|
||||
@@ -8789,6 +8629,7 @@ dependencies = [
|
||||
"sp-keyring",
|
||||
"sp-runtime",
|
||||
"sp-timestamp",
|
||||
"staging-node-executor",
|
||||
"substrate-test-client",
|
||||
"tempfile",
|
||||
]
|
||||
@@ -11135,19 +10976,6 @@ dependencies = [
|
||||
"staging-xcm-builder",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "parachain-info"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"cumulus-primitives-core",
|
||||
"frame-support",
|
||||
"frame-system",
|
||||
"parity-scale-codec",
|
||||
"scale-info",
|
||||
"sp-runtime",
|
||||
"sp-std",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "parachain-template-node"
|
||||
version = "0.1.0"
|
||||
@@ -11237,7 +11065,6 @@ dependencies = [
|
||||
"pallet-transaction-payment",
|
||||
"pallet-transaction-payment-rpc-runtime-api",
|
||||
"pallet-xcm",
|
||||
"parachain-info",
|
||||
"parity-scale-codec",
|
||||
"polkadot-parachain-primitives",
|
||||
"polkadot-runtime-common",
|
||||
@@ -11255,6 +11082,7 @@ dependencies = [
|
||||
"sp-std",
|
||||
"sp-transaction-pool",
|
||||
"sp-version",
|
||||
"staging-parachain-info",
|
||||
"staging-xcm",
|
||||
"staging-xcm-builder",
|
||||
"staging-xcm-executor",
|
||||
@@ -11276,7 +11104,6 @@ dependencies = [
|
||||
"pallet-authorship",
|
||||
"pallet-balances",
|
||||
"pallet-collator-selection",
|
||||
"parachain-info",
|
||||
"parity-scale-codec",
|
||||
"polkadot-core-primitives",
|
||||
"polkadot-primitives",
|
||||
@@ -11288,6 +11115,7 @@ dependencies = [
|
||||
"sp-io",
|
||||
"sp-runtime",
|
||||
"sp-std",
|
||||
"staging-parachain-info",
|
||||
"staging-xcm",
|
||||
"staging-xcm-builder",
|
||||
"substrate-wasm-builder",
|
||||
@@ -11313,7 +11141,6 @@ dependencies = [
|
||||
"pallet-collator-selection",
|
||||
"pallet-session",
|
||||
"pallet-xcm",
|
||||
"parachain-info",
|
||||
"parachains-common",
|
||||
"parity-scale-codec",
|
||||
"polkadot-parachain-primitives",
|
||||
@@ -11323,6 +11150,7 @@ dependencies = [
|
||||
"sp-runtime",
|
||||
"sp-std",
|
||||
"sp-tracing",
|
||||
"staging-parachain-info",
|
||||
"staging-xcm",
|
||||
"staging-xcm-executor",
|
||||
"substrate-wasm-builder",
|
||||
@@ -11557,7 +11385,6 @@ dependencies = [
|
||||
"pallet-transaction-payment",
|
||||
"pallet-transaction-payment-rpc-runtime-api",
|
||||
"pallet-xcm",
|
||||
"parachain-info",
|
||||
"parachains-common",
|
||||
"parity-scale-codec",
|
||||
"polkadot-parachain-primitives",
|
||||
@@ -11578,6 +11405,7 @@ dependencies = [
|
||||
"sp-storage",
|
||||
"sp-transaction-pool",
|
||||
"sp-version",
|
||||
"staging-parachain-info",
|
||||
"staging-xcm",
|
||||
"staging-xcm-builder",
|
||||
"staging-xcm-executor",
|
||||
@@ -14283,7 +14111,6 @@ dependencies = [
|
||||
"pallet-transaction-payment",
|
||||
"pallet-transaction-payment-rpc-runtime-api",
|
||||
"pallet-xcm",
|
||||
"parachain-info",
|
||||
"parachains-common",
|
||||
"parity-scale-codec",
|
||||
"polkadot-parachain-primitives",
|
||||
@@ -14301,6 +14128,7 @@ dependencies = [
|
||||
"sp-std",
|
||||
"sp-transaction-pool",
|
||||
"sp-version",
|
||||
"staging-parachain-info",
|
||||
"staging-xcm",
|
||||
"staging-xcm-builder",
|
||||
"staging-xcm-executor",
|
||||
@@ -16366,7 +16194,6 @@ dependencies = [
|
||||
"pallet-balances",
|
||||
"pallet-sudo",
|
||||
"pallet-timestamp",
|
||||
"parachain-info",
|
||||
"parachains-common",
|
||||
"parity-scale-codec",
|
||||
"scale-info",
|
||||
@@ -16382,6 +16209,7 @@ dependencies = [
|
||||
"sp-std",
|
||||
"sp-transaction-pool",
|
||||
"sp-version",
|
||||
"staging-parachain-info",
|
||||
"substrate-wasm-builder",
|
||||
]
|
||||
|
||||
@@ -16614,7 +16442,6 @@ dependencies = [
|
||||
"frame-try-runtime",
|
||||
"pallet-aura",
|
||||
"pallet-timestamp",
|
||||
"parachain-info",
|
||||
"parachains-common",
|
||||
"parity-scale-codec",
|
||||
"scale-info",
|
||||
@@ -16630,6 +16457,7 @@ dependencies = [
|
||||
"sp-std",
|
||||
"sp-transaction-pool",
|
||||
"sp-version",
|
||||
"staging-parachain-info",
|
||||
"staging-xcm",
|
||||
"staging-xcm-builder",
|
||||
"staging-xcm-executor",
|
||||
@@ -17865,6 +17693,178 @@ version = "1.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
|
||||
|
||||
[[package]]
|
||||
name = "staging-chain-spec-builder"
|
||||
version = "2.0.0"
|
||||
dependencies = [
|
||||
"ansi_term",
|
||||
"clap 4.4.6",
|
||||
"rand 0.8.5",
|
||||
"sc-chain-spec",
|
||||
"sc-keystore",
|
||||
"sp-core",
|
||||
"sp-keystore",
|
||||
"staging-node-cli",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "staging-node-cli"
|
||||
version = "3.0.0-dev"
|
||||
dependencies = [
|
||||
"array-bytes 6.1.0",
|
||||
"assert_cmd",
|
||||
"clap 4.4.6",
|
||||
"clap_complete",
|
||||
"criterion 0.4.0",
|
||||
"frame-benchmarking-cli",
|
||||
"frame-system",
|
||||
"frame-system-rpc-runtime-api",
|
||||
"futures",
|
||||
"jsonrpsee",
|
||||
"kitchensink-runtime",
|
||||
"log",
|
||||
"nix 0.26.2",
|
||||
"node-primitives",
|
||||
"node-rpc",
|
||||
"pallet-asset-conversion-tx-payment",
|
||||
"pallet-asset-tx-payment",
|
||||
"pallet-assets",
|
||||
"pallet-balances",
|
||||
"pallet-im-online",
|
||||
"pallet-timestamp",
|
||||
"parity-scale-codec",
|
||||
"platforms",
|
||||
"rand 0.8.5",
|
||||
"regex",
|
||||
"sc-authority-discovery",
|
||||
"sc-basic-authorship",
|
||||
"sc-block-builder",
|
||||
"sc-chain-spec",
|
||||
"sc-cli",
|
||||
"sc-client-api",
|
||||
"sc-client-db",
|
||||
"sc-consensus",
|
||||
"sc-consensus-babe",
|
||||
"sc-consensus-epochs",
|
||||
"sc-consensus-grandpa",
|
||||
"sc-consensus-slots",
|
||||
"sc-executor",
|
||||
"sc-keystore",
|
||||
"sc-mixnet",
|
||||
"sc-network",
|
||||
"sc-network-common",
|
||||
"sc-network-statement",
|
||||
"sc-network-sync",
|
||||
"sc-offchain",
|
||||
"sc-rpc",
|
||||
"sc-service",
|
||||
"sc-service-test",
|
||||
"sc-statement-store",
|
||||
"sc-storage-monitor",
|
||||
"sc-sync-state-rpc",
|
||||
"sc-sysinfo",
|
||||
"sc-telemetry",
|
||||
"sc-transaction-pool",
|
||||
"sc-transaction-pool-api",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"soketto",
|
||||
"sp-api",
|
||||
"sp-authority-discovery",
|
||||
"sp-blockchain",
|
||||
"sp-consensus",
|
||||
"sp-consensus-babe",
|
||||
"sp-consensus-grandpa",
|
||||
"sp-core",
|
||||
"sp-inherents",
|
||||
"sp-io",
|
||||
"sp-keyring",
|
||||
"sp-keystore",
|
||||
"sp-mixnet",
|
||||
"sp-runtime",
|
||||
"sp-statement-store",
|
||||
"sp-timestamp",
|
||||
"sp-tracing",
|
||||
"sp-transaction-storage-proof",
|
||||
"staging-node-executor",
|
||||
"staging-node-inspect",
|
||||
"substrate-build-script-utils",
|
||||
"substrate-cli-test-utils",
|
||||
"substrate-frame-cli",
|
||||
"substrate-rpc-client",
|
||||
"tempfile",
|
||||
"tokio",
|
||||
"tokio-util",
|
||||
"try-runtime-cli",
|
||||
"wait-timeout",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "staging-node-executor"
|
||||
version = "3.0.0-dev"
|
||||
dependencies = [
|
||||
"criterion 0.4.0",
|
||||
"frame-benchmarking",
|
||||
"frame-support",
|
||||
"frame-system",
|
||||
"futures",
|
||||
"kitchensink-runtime",
|
||||
"node-primitives",
|
||||
"node-testing",
|
||||
"pallet-balances",
|
||||
"pallet-contracts",
|
||||
"pallet-glutton",
|
||||
"pallet-im-online",
|
||||
"pallet-root-testing",
|
||||
"pallet-sudo",
|
||||
"pallet-timestamp",
|
||||
"pallet-transaction-payment",
|
||||
"pallet-treasury",
|
||||
"parity-scale-codec",
|
||||
"sc-executor",
|
||||
"scale-info",
|
||||
"sp-application-crypto",
|
||||
"sp-consensus-babe",
|
||||
"sp-core",
|
||||
"sp-externalities",
|
||||
"sp-keyring",
|
||||
"sp-keystore",
|
||||
"sp-runtime",
|
||||
"sp-state-machine",
|
||||
"sp-statement-store",
|
||||
"sp-tracing",
|
||||
"sp-trie",
|
||||
"wat",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "staging-node-inspect"
|
||||
version = "0.9.0-dev"
|
||||
dependencies = [
|
||||
"clap 4.4.6",
|
||||
"parity-scale-codec",
|
||||
"sc-cli",
|
||||
"sc-client-api",
|
||||
"sc-service",
|
||||
"sp-blockchain",
|
||||
"sp-core",
|
||||
"sp-runtime",
|
||||
"thiserror",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "staging-parachain-info"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"cumulus-primitives-core",
|
||||
"frame-support",
|
||||
"frame-system",
|
||||
"parity-scale-codec",
|
||||
"scale-info",
|
||||
"sp-runtime",
|
||||
"sp-std",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "staging-xcm"
|
||||
version = "1.0.0"
|
||||
@@ -18051,7 +18051,6 @@ dependencies = [
|
||||
name = "substrate"
|
||||
version = "1.0.0"
|
||||
dependencies = [
|
||||
"chain-spec-builder",
|
||||
"frame-support",
|
||||
"sc-cli",
|
||||
"sc-consensus-aura",
|
||||
@@ -18063,6 +18062,7 @@ dependencies = [
|
||||
"sc-service",
|
||||
"simple-mermaid",
|
||||
"sp-runtime",
|
||||
"staging-chain-spec-builder",
|
||||
"subkey",
|
||||
]
|
||||
|
||||
@@ -18090,12 +18090,12 @@ dependencies = [
|
||||
"assert_cmd",
|
||||
"futures",
|
||||
"nix 0.26.2",
|
||||
"node-cli",
|
||||
"node-primitives",
|
||||
"regex",
|
||||
"sc-cli",
|
||||
"sc-service",
|
||||
"sp-rpc",
|
||||
"staging-node-cli",
|
||||
"substrate-rpc-client",
|
||||
"tokio",
|
||||
]
|
||||
|
||||
@@ -3,6 +3,7 @@ name = "cumulus-client-cli"
|
||||
version = "0.1.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
||||
|
||||
[dependencies]
|
||||
clap = { version = "4.4.6", features = ["derive"] }
|
||||
|
||||
@@ -3,6 +3,7 @@ name = "cumulus-client-collator"
|
||||
version = "0.1.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
||||
|
||||
[dependencies]
|
||||
parking_lot = "0.12.1"
|
||||
|
||||
@@ -4,6 +4,7 @@ description = "AURA consensus algorithm for parachains"
|
||||
version = "0.1.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
||||
|
||||
[dependencies]
|
||||
async-trait = "0.1.73"
|
||||
|
||||
@@ -4,6 +4,7 @@ description = "Cumulus specific common consensus implementations"
|
||||
version = "0.1.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
||||
|
||||
[dependencies]
|
||||
async-trait = "0.1.73"
|
||||
|
||||
@@ -4,6 +4,7 @@ description = "A Substrate `Proposer` for building parachain blocks"
|
||||
version = "0.1.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0"
|
||||
|
||||
@@ -4,6 +4,7 @@ description = "The relay-chain provided consensus algorithm"
|
||||
version = "0.1.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
||||
|
||||
[dependencies]
|
||||
async-trait = "0.1.73"
|
||||
|
||||
@@ -4,6 +4,7 @@ version = "0.1.0"
|
||||
authors.workspace = true
|
||||
description = "Cumulus-specific networking protocol"
|
||||
edition.workspace = true
|
||||
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
||||
|
||||
[dependencies]
|
||||
async-trait = "0.1.73"
|
||||
|
||||
@@ -4,6 +4,7 @@ version = "0.1.0"
|
||||
authors.workspace = true
|
||||
description = "Cumulus-specific networking protocol"
|
||||
edition.workspace = true
|
||||
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", features = [ "derive" ] }
|
||||
|
||||
@@ -3,6 +3,7 @@ authors.workspace = true
|
||||
name = "cumulus-relay-chain-inprocess-interface"
|
||||
version = "0.1.0"
|
||||
edition.workspace = true
|
||||
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
||||
|
||||
[dependencies]
|
||||
async-trait = "0.1.73"
|
||||
|
||||
@@ -3,6 +3,7 @@ authors.workspace = true
|
||||
name = "cumulus-relay-chain-interface"
|
||||
version = "0.1.0"
|
||||
edition.workspace = true
|
||||
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
||||
|
||||
[dependencies]
|
||||
polkadot-overseer = { path = "../../../polkadot/node/overseer" }
|
||||
|
||||
@@ -3,6 +3,7 @@ authors.workspace = true
|
||||
name = "cumulus-relay-chain-minimal-node"
|
||||
version = "0.1.0"
|
||||
edition.workspace = true
|
||||
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
||||
|
||||
[dependencies]
|
||||
# polkadot deps
|
||||
|
||||
@@ -3,6 +3,7 @@ authors.workspace = true
|
||||
name = "cumulus-relay-chain-rpc-interface"
|
||||
version = "0.1.0"
|
||||
edition.workspace = true
|
||||
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
||||
|
||||
|
||||
[dependencies]
|
||||
|
||||
@@ -3,6 +3,7 @@ name = "cumulus-client-service"
|
||||
version = "0.1.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
||||
|
||||
[dependencies]
|
||||
futures = "0.3.28"
|
||||
|
||||
@@ -4,6 +4,7 @@ version = "0.1.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
description = "AURA consensus extension pallet for parachains"
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
|
||||
|
||||
@@ -3,6 +3,7 @@ name = "cumulus-pallet-dmp-queue"
|
||||
version = "0.1.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", features = [ "derive" ], default-features = false }
|
||||
|
||||
@@ -4,6 +4,7 @@ version = "0.1.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
description = "Base pallet for cumulus-based parachains"
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
bytes = { version = "1.4.0", default-features = false }
|
||||
|
||||
@@ -4,6 +4,7 @@ version = "0.1.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
description = "Proc macros provided by the parachain-system pallet"
|
||||
license = "Apache-2.0"
|
||||
|
||||
[lib]
|
||||
proc-macro = true
|
||||
|
||||
@@ -4,6 +4,7 @@ version = "0.1.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
description = "Adds functionality to migrate from a Solo to a Parachain"
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
|
||||
|
||||
@@ -3,6 +3,7 @@ authors.workspace = true
|
||||
edition.workspace = true
|
||||
name = "cumulus-pallet-xcm"
|
||||
version = "0.1.0"
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
|
||||
|
||||
@@ -3,6 +3,7 @@ name = "cumulus-pallet-xcmp-queue"
|
||||
version = "0.1.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", features = [ "derive" ], default-features = false }
|
||||
|
||||
@@ -55,7 +55,9 @@ impl<SiblingBridgeHubParaId: Get<ParaId>, Runtime: crate::Config>
|
||||
let sibling_bridge_hub_id: ParaId = SiblingBridgeHubParaId::get();
|
||||
|
||||
// let's find the channel's state with the sibling parachain,
|
||||
let Some((outbound_state, queued_pages)) = pallet::Pallet::<Runtime>::outbound_channel_state(sibling_bridge_hub_id) else {
|
||||
let Some((outbound_state, queued_pages)) =
|
||||
pallet::Pallet::<Runtime>::outbound_channel_state(sibling_bridge_hub_id)
|
||||
else {
|
||||
return false
|
||||
};
|
||||
// suspended channel => it is congested
|
||||
|
||||
@@ -410,9 +410,11 @@ fn verify_fee_factor_increase_and_decrease() {
|
||||
assert_eq!(DeliveryFeeFactor::<Test>::get(sibling_para_id), initial);
|
||||
|
||||
// Sending the message right now is cheap
|
||||
let (_, delivery_fees) = validate_send::<XcmpQueue>(destination, xcm.clone())
|
||||
.expect("message can be sent; qed");
|
||||
let Fungible(delivery_fee_amount) = delivery_fees.inner()[0].fun else { unreachable!("asset is fungible; qed"); };
|
||||
let (_, delivery_fees) =
|
||||
validate_send::<XcmpQueue>(destination, xcm.clone()).expect("message can be sent; qed");
|
||||
let Fungible(delivery_fee_amount) = delivery_fees.inner()[0].fun else {
|
||||
unreachable!("asset is fungible; qed");
|
||||
};
|
||||
assert_eq!(delivery_fee_amount, 402_000_000);
|
||||
|
||||
let smaller_xcm = Xcm(vec![ClearOrigin; 30]);
|
||||
@@ -422,19 +424,23 @@ fn verify_fee_factor_increase_and_decrease() {
|
||||
assert_ok!(send_xcm::<XcmpQueue>(destination, xcm.clone())); // Size 520
|
||||
assert_eq!(DeliveryFeeFactor::<Test>::get(sibling_para_id), FixedU128::from_float(1.05));
|
||||
|
||||
for _ in 0..12 { // We finish at size 929
|
||||
for _ in 0..12 {
|
||||
// We finish at size 929
|
||||
assert_ok!(send_xcm::<XcmpQueue>(destination, smaller_xcm.clone()));
|
||||
}
|
||||
assert!(DeliveryFeeFactor::<Test>::get(sibling_para_id) > FixedU128::from_float(1.88));
|
||||
|
||||
// Sending the message right now is expensive
|
||||
let (_, delivery_fees) = validate_send::<XcmpQueue>(destination, xcm.clone())
|
||||
.expect("message can be sent; qed");
|
||||
let Fungible(delivery_fee_amount) = delivery_fees.inner()[0].fun else { unreachable!("asset is fungible; qed"); };
|
||||
let (_, delivery_fees) =
|
||||
validate_send::<XcmpQueue>(destination, xcm.clone()).expect("message can be sent; qed");
|
||||
let Fungible(delivery_fee_amount) = delivery_fees.inner()[0].fun else {
|
||||
unreachable!("asset is fungible; qed");
|
||||
};
|
||||
assert_eq!(delivery_fee_amount, 758_030_955);
|
||||
|
||||
// Fee factor only decreases in `take_outbound_messages`
|
||||
for _ in 0..5 { // We take 5 100 byte pages
|
||||
for _ in 0..5 {
|
||||
// We take 5 100 byte pages
|
||||
XcmpQueue::take_outbound_messages(1);
|
||||
}
|
||||
assert!(DeliveryFeeFactor::<Test>::get(sibling_para_id) < FixedU128::from_float(1.72));
|
||||
|
||||
@@ -71,7 +71,7 @@ cumulus-pallet-xcmp-queue = { path = "../../pallets/xcmp-queue", default-feature
|
||||
cumulus-primitives-core = { path = "../../primitives/core", 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 = "../../parachains/pallets/parachain-info", default-features = false }
|
||||
parachain-info = { package = "staging-parachain-info", path = "../../parachains/pallets/parachain-info", default-features = false }
|
||||
|
||||
[features]
|
||||
default = [ "std" ]
|
||||
|
||||
@@ -4,6 +4,7 @@ version = "1.0.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
description = "Logic which is common to all parachain runtimes"
|
||||
license = "Apache-2.0"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
@@ -40,7 +41,7 @@ xcm-builder = { package = "staging-xcm-builder", path = "../../../polkadot/xcm/x
|
||||
pallet-collator-selection = { path = "../../pallets/collator-selection", default-features = false }
|
||||
cumulus-primitives-core = { path = "../../primitives/core", default-features = false }
|
||||
cumulus-primitives-utility = { path = "../../primitives/utility", default-features = false }
|
||||
parachain-info = { path = "../pallets/parachain-info", default-features = false }
|
||||
parachain-info = { package = "staging-parachain-info", path = "../pallets/parachain-info", default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
pallet-authorship = { path = "../../../substrate/frame/authorship", default-features = false}
|
||||
|
||||
@@ -4,6 +4,7 @@ version = "0.1.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
edition = "2021"
|
||||
description = "Managed content"
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] }
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
[package]
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
name = "parachain-info"
|
||||
name = "staging-parachain-info"
|
||||
version = "0.1.0"
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
|
||||
|
||||
@@ -3,6 +3,7 @@ authors.workspace = true
|
||||
edition.workspace = true
|
||||
name = "cumulus-ping"
|
||||
version = "0.1.0"
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
|
||||
|
||||
@@ -4,6 +4,7 @@ version = "0.9.420"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
description = "Kusama variant of Asset Hub parachain runtime"
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] }
|
||||
@@ -75,7 +76,7 @@ cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue", default-f
|
||||
cumulus-primitives-core = { path = "../../../../primitives/core", 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 }
|
||||
parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false }
|
||||
parachains-common = { path = "../../../common", default-features = false }
|
||||
assets-common = { path = "../common", default-features = false }
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@ version = "0.9.420"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
description = "Asset Hub Polkadot parachain runtime"
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] }
|
||||
@@ -70,7 +71,7 @@ cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue", default-f
|
||||
cumulus-primitives-core = { path = "../../../../primitives/core", 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 }
|
||||
parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false }
|
||||
parachains-common = { path = "../../../common", default-features = false }
|
||||
assets-common = { path = "../common", default-features = false }
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@ version = "0.9.420"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
description = "Rococo variant of Asset Hub parachain runtime"
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] }
|
||||
@@ -75,7 +76,7 @@ cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue", default-f
|
||||
cumulus-primitives-core = { path = "../../../../primitives/core", 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 }
|
||||
parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false }
|
||||
parachains-common = { path = "../../../common", default-features = false }
|
||||
assets-common = { path = "../common", default-features = false }
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@ version = "0.9.420"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
description = "Westend variant of Asset Hub parachain runtime"
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] }
|
||||
@@ -74,7 +75,7 @@ cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue", default-f
|
||||
cumulus-primitives-core = { path = "../../../../primitives/core", 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 }
|
||||
parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false }
|
||||
parachains-common = { path = "../../../common", default-features = false }
|
||||
assets-common = { path = "../common", default-features = false }
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@ version = "0.1.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
description = "Assets common utilities"
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
|
||||
|
||||
@@ -4,6 +4,7 @@ version = "1.0.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
description = "Test utils for Asset Hub runtimes."
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] }
|
||||
@@ -30,7 +31,7 @@ assets-common = { path = "../common", default-features = false }
|
||||
cumulus-primitives-core = { path = "../../../../primitives/core", default-features = false }
|
||||
cumulus-primitives-parachain-inherent = { path = "../../../../primitives/parachain-inherent", default-features = false }
|
||||
cumulus-test-relay-sproof-builder = { path = "../../../../test/relay-sproof-builder", default-features = false }
|
||||
parachain-info = { path = "../../../pallets/parachain-info", default-features = false }
|
||||
parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false }
|
||||
parachains-runtimes-test-utils = { path = "../../test-utils", default-features = false }
|
||||
|
||||
# Polkadot
|
||||
|
||||
@@ -4,6 +4,7 @@ version = "0.1.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
description = "Kusama's BridgeHub parachain runtime"
|
||||
license = "Apache-2.0"
|
||||
|
||||
[build-dependencies]
|
||||
substrate-wasm-builder = { path = "../../../../../substrate/utils/wasm-builder", optional = true }
|
||||
@@ -68,7 +69,7 @@ cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue", default-f
|
||||
cumulus-primitives-core = { path = "../../../../primitives/core", 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 }
|
||||
parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false }
|
||||
parachains-common = { path = "../../../common", default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
|
||||
@@ -4,6 +4,7 @@ version = "0.1.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
description = "Polkadot's BridgeHub parachain runtime"
|
||||
license = "Apache-2.0"
|
||||
|
||||
[build-dependencies]
|
||||
substrate-wasm-builder = { path = "../../../../../substrate/utils/wasm-builder", optional = true }
|
||||
@@ -68,7 +69,7 @@ cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue", default-f
|
||||
cumulus-primitives-core = { path = "../../../../primitives/core", 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 }
|
||||
parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false }
|
||||
parachains-common = { path = "../../../common", default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
|
||||
@@ -4,6 +4,7 @@ version = "0.1.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
description = "Rococo's BridgeHub parachain runtime"
|
||||
license = "Apache-2.0"
|
||||
|
||||
[build-dependencies]
|
||||
substrate-wasm-builder = { path = "../../../../../substrate/utils/wasm-builder", optional = true }
|
||||
@@ -69,7 +70,7 @@ cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue", default-f
|
||||
cumulus-primitives-core = { path = "../../../../primitives/core", 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 }
|
||||
parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false }
|
||||
parachains-common = { path = "../../../common", default-features = false }
|
||||
|
||||
# Bridges
|
||||
|
||||
@@ -4,6 +4,7 @@ version = "0.1.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
description = "Utils for BridgeHub testing"
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] }
|
||||
@@ -29,7 +30,7 @@ cumulus-pallet-dmp-queue = { path = "../../../../pallets/dmp-queue", default-fea
|
||||
cumulus-pallet-parachain-system = { path = "../../../../pallets/parachain-system", default-features = false, features = ["parameterized-consensus-hook",] }
|
||||
cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue", default-features = false }
|
||||
pallet-collator-selection = { path = "../../../../pallets/collator-selection", default-features = false }
|
||||
parachain-info = { path = "../../../pallets/parachain-info", default-features = false }
|
||||
parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false }
|
||||
parachains-common = { path = "../../../common", default-features = false }
|
||||
parachains-runtimes-test-utils = { path = "../../test-utils", default-features = false }
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@ version = "1.0.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
description = "Polkadot Collectives Parachain Runtime"
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] }
|
||||
@@ -73,7 +74,7 @@ cumulus-primitives-core = { path = "../../../../primitives/core", default-featur
|
||||
cumulus-primitives-utility = { path = "../../../../primitives/utility", default-features = false }
|
||||
pallet-collator-selection = { path = "../../../../pallets/collator-selection", default-features = false }
|
||||
pallet-collective-content = { path = "../../../pallets/collective-content", default-features = false }
|
||||
parachain-info = { path = "../../../pallets/parachain-info", default-features = false }
|
||||
parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false }
|
||||
parachains-common = { path = "../../../common", default-features = false }
|
||||
|
||||
[build-dependencies]
|
||||
|
||||
@@ -4,6 +4,7 @@ version = "0.2.0"
|
||||
description = "Parachain testnet runtime for FRAME Contracts pallet."
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license = "Apache-2.0"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
@@ -73,7 +74,7 @@ cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue", default-f
|
||||
cumulus-primitives-core = { path = "../../../../primitives/core", 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 }
|
||||
parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false }
|
||||
parachains-common = { path = "../../../common", default-features = false }
|
||||
|
||||
[features]
|
||||
|
||||
@@ -4,6 +4,7 @@ version = "1.0.0"
|
||||
description = "Glutton parachain runtime."
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
|
||||
@@ -47,7 +48,7 @@ cumulus-pallet-xcm = { path = "../../../../pallets/xcm", default-features = fals
|
||||
cumulus-primitives-aura = { path = "../../../../primitives/aura", default-features = false }
|
||||
cumulus-primitives-core = { path = "../../../../primitives/core", default-features = false }
|
||||
cumulus-primitives-timestamp = { path = "../../../../primitives/timestamp", default-features = false }
|
||||
parachain-info = { path = "../../../pallets/parachain-info", default-features = false }
|
||||
parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false }
|
||||
parachains-common = { path = "../../../common", default-features = false }
|
||||
|
||||
[build-dependencies]
|
||||
|
||||
@@ -4,6 +4,7 @@ version = "0.1.0"
|
||||
description = "Seedling parachain runtime. A starter runtime for solochain to parachain migration."
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
|
||||
@@ -36,7 +37,7 @@ cumulus-pallet-parachain-system = { path = "../../../../pallets/parachain-system
|
||||
cumulus-pallet-solo-to-para = { path = "../../../../pallets/solo-to-para", default-features = false }
|
||||
cumulus-primitives-core = { path = "../../../../primitives/core", default-features = false }
|
||||
cumulus-primitives-timestamp = { path = "../../../../primitives/timestamp", default-features = false }
|
||||
parachain-info = { path = "../../../pallets/parachain-info", default-features = false }
|
||||
parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false }
|
||||
parachains-common = { path = "../../../common", default-features = false }
|
||||
|
||||
[build-dependencies]
|
||||
|
||||
@@ -4,6 +4,7 @@ version = "0.1.0"
|
||||
description = "A minimal runtime to test Relay Chain consensus."
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
|
||||
@@ -39,7 +40,7 @@ cumulus-pallet-aura-ext = { path = "../../../../pallets/aura-ext", default-featu
|
||||
cumulus-pallet-parachain-system = { path = "../../../../pallets/parachain-system", default-features = false, features = ["parameterized-consensus-hook",] }
|
||||
cumulus-pallet-xcm = { path = "../../../../pallets/xcm", default-features = false }
|
||||
cumulus-primitives-core = { path = "../../../../primitives/core", default-features = false }
|
||||
parachain-info = { path = "../../../pallets/parachain-info", default-features = false }
|
||||
parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false }
|
||||
parachains-common = { path = "../../../common", default-features = false }
|
||||
|
||||
[build-dependencies]
|
||||
|
||||
@@ -4,6 +4,7 @@ version = "1.0.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
description = "Utils for Runtimes testing"
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] }
|
||||
@@ -27,7 +28,7 @@ cumulus-pallet-xcmp-queue = { path = "../../../pallets/xcmp-queue", default-feat
|
||||
cumulus-pallet-dmp-queue = { path = "../../../pallets/dmp-queue", default-features = false }
|
||||
pallet-collator-selection = { path = "../../../pallets/collator-selection", default-features = false }
|
||||
parachains-common = { path = "../../common", default-features = false }
|
||||
parachain-info = { path = "../../pallets/parachain-info", default-features = false }
|
||||
parachain-info = {package = "staging-parachain-info", path = "../../pallets/parachain-info", default-features = false }
|
||||
assets-common = { path = "../assets/common", default-features = false }
|
||||
cumulus-primitives-core = { path = "../../../primitives/core", default-features = false }
|
||||
cumulus-primitives-parachain-inherent = { path = "../../../primitives/parachain-inherent", default-features = false }
|
||||
|
||||
@@ -72,7 +72,7 @@ cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue", default-f
|
||||
cumulus-primitives-core = { path = "../../../../primitives/core", 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 }
|
||||
parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false }
|
||||
parachains-common = { path = "../../../common", default-features = false }
|
||||
|
||||
[features]
|
||||
|
||||
@@ -4,7 +4,7 @@ version = "0.1.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
description = "Simple runtime used by the rococo parachain(s)"
|
||||
publish = false
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
|
||||
@@ -54,7 +54,7 @@ cumulus-ping = { path = "../../../pallets/ping", default-features = false }
|
||||
cumulus-primitives-core = { path = "../../../../primitives/core", default-features = false }
|
||||
cumulus-primitives-utility = { path = "../../../../primitives/utility", default-features = false }
|
||||
parachains-common = { path = "../../../common", default-features = false }
|
||||
parachain-info = { path = "../../../pallets/parachain-info", default-features = false }
|
||||
parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false }
|
||||
|
||||
[build-dependencies]
|
||||
substrate-wasm-builder = { path = "../../../../../substrate/utils/wasm-builder", optional = true }
|
||||
|
||||
@@ -5,6 +5,7 @@ authors.workspace = true
|
||||
build = "build.rs"
|
||||
edition.workspace = true
|
||||
description = "Runs a polkadot parachain node which could be a collator."
|
||||
license = "Apache-2.0"
|
||||
|
||||
[[bin]]
|
||||
name = "polkadot-parachain"
|
||||
|
||||
@@ -3,6 +3,7 @@ name = "cumulus-primitives-aura"
|
||||
version = "0.1.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ "derive" ] }
|
||||
|
||||
@@ -3,6 +3,7 @@ name = "cumulus-primitives-core"
|
||||
version = "0.1.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ "derive" ] }
|
||||
|
||||
@@ -3,6 +3,7 @@ name = "cumulus-primitives-parachain-inherent"
|
||||
version = "0.1.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
async-trait = { version = "0.1.73", optional = true }
|
||||
|
||||
@@ -4,6 +4,7 @@ version = "0.1.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
description = "Provides timestamp related functionality for parachains."
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ "derive" ] }
|
||||
|
||||
@@ -3,6 +3,7 @@ name = "cumulus-primitives-utility"
|
||||
version = "0.1.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ "derive" ] }
|
||||
|
||||
@@ -3,6 +3,7 @@ name = "cumulus-test-relay-sproof-builder"
|
||||
version = "0.1.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ "derive" ] }
|
||||
|
||||
@@ -4,6 +4,7 @@ description = "Test kit to emulate XCM program execution."
|
||||
version = "0.1.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0" }
|
||||
|
||||
@@ -7,13 +7,14 @@ repository.workspace = true
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
version = "1.0.0"
|
||||
publish = false
|
||||
|
||||
# The dependencies are only needed for docs.
|
||||
[dependencies]
|
||||
simple-mermaid = { git = "https://github.com/kianenigma/simple-mermaid.git", rev = "e48b187bcfd5cc75111acd9d241f1bd36604344b" }
|
||||
|
||||
subkey = { path = "bin/utils/subkey" }
|
||||
chain-spec-builder = { path = "bin/utils/chain-spec-builder" }
|
||||
chain-spec-builder = { package = "staging-chain-spec-builder", path = "bin/utils/chain-spec-builder" }
|
||||
|
||||
sc-service = { path = "client/service" }
|
||||
sc-cli = { path = "client/cli" }
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "node-cli"
|
||||
name = "staging-node-cli"
|
||||
version = "3.0.0-dev"
|
||||
authors.workspace = true
|
||||
description = "Generic Substrate node implementation in Rust."
|
||||
@@ -101,12 +101,12 @@ pallet-im-online = { path = "../../../frame/im-online", default-features = false
|
||||
kitchensink-runtime = { path = "../runtime" }
|
||||
node-rpc = { path = "../rpc" }
|
||||
node-primitives = { path = "../primitives" }
|
||||
node-executor = { path = "../executor" }
|
||||
node-executor = { package = "staging-node-executor", path = "../executor" }
|
||||
|
||||
# CLI-specific dependencies
|
||||
sc-cli = { path = "../../../client/cli", optional = true}
|
||||
frame-benchmarking-cli = { path = "../../../utils/frame/benchmarking-cli", optional = true}
|
||||
node-inspect = { path = "../inspect", optional = true}
|
||||
node-inspect = { package = "staging-node-inspect", path = "../inspect", optional = true}
|
||||
try-runtime-cli = { path = "../../../utils/frame/try-runtime/cli", optional = true}
|
||||
serde_json = "1.0.107"
|
||||
|
||||
@@ -139,7 +139,7 @@ substrate-cli-test-utils = { path = "../../../test-utils/cli" }
|
||||
[build-dependencies]
|
||||
clap = { version = "4.4.6", optional = true }
|
||||
clap_complete = { version = "4.0.2", optional = true }
|
||||
node-inspect = { path = "../inspect", optional = true}
|
||||
node-inspect = { package = "staging-node-inspect", path = "../inspect", optional = true}
|
||||
frame-benchmarking-cli = { path = "../../../utils/frame/benchmarking-cli", optional = true}
|
||||
substrate-build-script-utils = { path = "../../../utils/build-script-utils", optional = true}
|
||||
substrate-frame-cli = { path = "../../../utils/frame/frame-utilities-cli", optional = true}
|
||||
|
||||
@@ -39,6 +39,7 @@ use sp_runtime::{
|
||||
transaction_validity::{InvalidTransaction, TransactionValidityError},
|
||||
AccountId32, MultiAddress, OpaqueExtrinsic,
|
||||
};
|
||||
use staging_node_cli as node_cli;
|
||||
use tokio::runtime::Handle;
|
||||
|
||||
fn new_node(tokio_handle: Handle) -> node_cli::service::NewFullBase {
|
||||
|
||||
@@ -35,6 +35,7 @@ use sc_transaction_pool_api::{TransactionPool as _, TransactionSource, Transacti
|
||||
use sp_core::{crypto::Pair, sr25519};
|
||||
use sp_keyring::Sr25519Keyring;
|
||||
use sp_runtime::OpaqueExtrinsic;
|
||||
use staging_node_cli as node_cli;
|
||||
use tokio::runtime::Handle;
|
||||
|
||||
fn new_node(tokio_handle: Handle) -> node_cli::service::NewFullBase {
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
|
||||
#![warn(missing_docs)]
|
||||
|
||||
use staging_node_cli as node_cli;
|
||||
|
||||
fn main() -> sc_cli::Result<()> {
|
||||
node_cli::run()
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "node-executor"
|
||||
name = "staging-node-executor"
|
||||
version = "3.0.0-dev"
|
||||
authors.workspace = true
|
||||
description = "Substrate node implementation in Rust."
|
||||
|
||||
@@ -35,6 +35,7 @@ use sp_core::{
|
||||
};
|
||||
use sp_runtime::traits::BlakeTwo256;
|
||||
use sp_state_machine::TestExternalities as CoreTestExternalities;
|
||||
use staging_node_executor as node_executor;
|
||||
|
||||
criterion_group!(benches, bench_execute_block);
|
||||
criterion_main!(benches);
|
||||
|
||||
@@ -42,6 +42,7 @@ use node_executor::ExecutorDispatch;
|
||||
use node_primitives::{BlockNumber, Hash};
|
||||
use node_testing::keyring::*;
|
||||
use sp_externalities::Externalities;
|
||||
use staging_node_executor as node_executor;
|
||||
|
||||
pub const TEST_KEY_TYPE_ID: KeyTypeId = KeyTypeId(*b"test");
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "node-inspect"
|
||||
name = "staging-node-inspect"
|
||||
version = "0.9.0-dev"
|
||||
authors.workspace = true
|
||||
description = "Substrate node block inspection tool."
|
||||
@@ -7,7 +7,6 @@ edition.workspace = true
|
||||
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
||||
homepage = "https://substrate.io"
|
||||
repository.workspace = true
|
||||
publish = false
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
@@ -19,7 +19,7 @@ futures = "0.3.21"
|
||||
log = "0.4.17"
|
||||
tempfile = "3.1.0"
|
||||
frame-system = { path = "../../../frame/system" }
|
||||
node-executor = { path = "../executor" }
|
||||
node-executor = { package = "staging-node-executor", path = "../executor" }
|
||||
node-primitives = { path = "../primitives" }
|
||||
kitchensink-runtime = { path = "../runtime" }
|
||||
pallet-asset-conversion = { path = "../../../frame/asset-conversion" }
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "chain-spec-builder"
|
||||
name = "staging-chain-spec-builder"
|
||||
version = "2.0.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
@@ -7,7 +7,6 @@ build = "build.rs"
|
||||
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
||||
homepage = "https://substrate.io"
|
||||
repository.workspace = true
|
||||
readme = "README.md"
|
||||
publish = false
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
@@ -24,7 +23,7 @@ crate-type = ["rlib"]
|
||||
ansi_term = "0.12.1"
|
||||
clap = { version = "4.4.6", features = ["derive"] }
|
||||
rand = "0.8"
|
||||
node-cli = { path = "../../node/cli" }
|
||||
node-cli = { package = "staging-node-cli", path = "../../node/cli" }
|
||||
sc-chain-spec = { path = "../../../client/chain-spec" }
|
||||
sc-keystore = { path = "../../../client/keystore" }
|
||||
sp-core = { path = "../../../primitives/core" }
|
||||
|
||||
@@ -23,6 +23,7 @@ use clap::Parser;
|
||||
use node_cli::chain_spec;
|
||||
use rand::{distributions::Alphanumeric, rngs::OsRng, Rng};
|
||||
use sp_core::{crypto::Ss58Codec, sr25519};
|
||||
use staging_chain_spec_builder as chain_spec_builder;
|
||||
use std::fs;
|
||||
|
||||
fn main() -> Result<(), String> {
|
||||
|
||||
@@ -7,7 +7,6 @@ homepage = "https://substrate.io"
|
||||
edition.workspace = true
|
||||
license = "Apache-2.0"
|
||||
repository.workspace = true
|
||||
publish = false
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
@@ -7,7 +7,6 @@ license = "MIT-0"
|
||||
homepage = "https://substrate.io"
|
||||
repository.workspace = true
|
||||
description = "FRAME example pallet with umbrella crate"
|
||||
readme = "README.md"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
@@ -33,9 +33,7 @@ pub(crate) fn weight_witness_warning(
|
||||
if dev_mode {
|
||||
return
|
||||
}
|
||||
let CallWeightDef::Immediate(w) = &method.weight else {
|
||||
return
|
||||
};
|
||||
let CallWeightDef::Immediate(w) = &method.weight else { return };
|
||||
|
||||
let partial_warning = Warning::new_deprecated("UncheckedWeightWitness")
|
||||
.old("not check weight witness data")
|
||||
@@ -66,9 +64,7 @@ pub(crate) fn weight_constant_warning(
|
||||
if dev_mode {
|
||||
return
|
||||
}
|
||||
let syn::Expr::Lit(lit) = weight else {
|
||||
return
|
||||
};
|
||||
let syn::Expr::Lit(lit) = weight else { return };
|
||||
|
||||
let warning = Warning::new_deprecated("ConstantWeight")
|
||||
.index(warnings.len())
|
||||
|
||||
@@ -38,7 +38,7 @@ exceptions = [
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "chain-spec-builder" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "mmr-gadget" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "node-bench" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "node-cli" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "staging-node-cli" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "node-inspect" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "node-template-release" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "node-testing" },
|
||||
|
||||
@@ -20,7 +20,7 @@ nix = "0.26.2"
|
||||
regex = "1.7.3"
|
||||
tokio = { version = "1.22.0", features = ["full"] }
|
||||
node-primitives = { path = "../../bin/node/primitives" }
|
||||
node-cli = { path = "../../bin/node/cli" }
|
||||
node-cli = { package = "staging-node-cli", path = "../../bin/node/cli" }
|
||||
sc-cli = { path = "../../client/cli" }
|
||||
sc-service = { path = "../../client/service" }
|
||||
futures = "0.3.28"
|
||||
|
||||
@@ -135,7 +135,7 @@ pub fn build_substrate(args: &[&str]) {
|
||||
// Get the root workspace directory from the CARGO_MANIFEST_DIR environment variable
|
||||
let mut cmd = Command::new("cargo");
|
||||
|
||||
cmd.arg("build").arg("-p=node-cli");
|
||||
cmd.arg("build").arg("-p=staging-node-cli");
|
||||
|
||||
if is_release_build {
|
||||
cmd.arg("--release");
|
||||
|
||||
Reference in New Issue
Block a user