diff --git a/.github/pr-custom-review.yml b/.github/pr-custom-review.yml
deleted file mode 100644
index ac13d862a4ac2aee487de33de56fe34d6507c0dc..0000000000000000000000000000000000000000
--- a/.github/pr-custom-review.yml
+++ /dev/null
@@ -1,63 +0,0 @@
-# 🔒 PROTECTED: Changes to locks-review-team should be approved by the current locks-review-team
-locks-review-team: locks-review
-team-leads-team: polkadot-review
-action-review-team: ci
-
-rules:
- - name: CI files
- check_type: changed_files
- condition:
- include: ^\.gitlab-ci\.yml|^docker/.*|^\.github/.*|^\.gitlab/.*|^\.config/nextest.toml|^\.cargo/.*
- exclude: ^\.gitlab/pipeline/zombienet.*
- min_approvals: 2
- teams:
- - ci
- - release-engineering
-
- - name: Core developers
- check_type: changed_files
- condition:
- include: .*
- # excluding files from 'Runtime files' and 'CI files' rules
- exclude: ^polkadot/runtime/(kusama|polkadot)/src/[^/]+\.rs$|^cumulus/parachains/runtimes/assets/(asset-hub-kusama|asset-hub-polkadot)/src/[^/]+\.rs$|^cumulus/parachains/runtimes/bridge-hubs/(bridge-hub-kusama|bridge-hub-polkadot)/src/[^/]+\.rs$|^cumulus/parachains/runtimes/collectives/collectives-polkadot/src/[^/]+\.rs$|^cumulus/parachains/common/src/[^/]+\.rs$|^substrate/frame/(?!.*(nfts/.*|uniques/.*|babe/.*|grandpa/.*|beefy|merkle-mountain-range/.*|contracts/.*|election|nomination-pools/.*|staking/.*|aura/.*))|^polkadot/runtime/(kusama|polkadot)/src/[^/]+\.rs$|^\.gitlab-ci\.yml|^docker/.*|^\.github/.*|^\.gitlab/.*|^\.config/nextest.toml|^\.cargo/.*
- min_approvals: 2
- teams:
- - core-devs
-
- # cumulus
- - name: Runtime files cumulus
- check_type: changed_files
- condition: ^cumulus/parachains/runtimes/assets/(asset-hub-kusama|asset-hub-polkadot)/src/[^/]+\.rs$|^cumulus/parachains/runtimes/bridge-hubs/(bridge-hub-kusama|bridge-hub-polkadot)/src/[^/]+\.rs$|^cumulus/parachains/runtimes/collectives/collectives-polkadot/src/[^/]+\.rs$|^cumulus/parachains/common/src/[^/]+\.rs$
- all_distinct:
- - min_approvals: 1
- teams:
- - locks-review
- - min_approvals: 1
- teams:
- - polkadot-review
-
- # if there are any changes in the bridges subtree (in case of backport changes back to bridges repo)
- - name: Bridges subtree files
- check_type: changed_files
- condition: ^bridges/.*
- min_approvals: 1
- teams:
- - bridges-core
-
- # substrate
-
- - name: FRAME coders substrate
- check_type: changed_files
- condition:
- include: ^substrate/frame/(?!.*(nfts/.*|uniques/.*|babe/.*|grandpa/.*|beefy|merkle-mountain-range/.*|contracts/.*|election|nomination-pools/.*|staking/.*|aura/.*))
- all:
- - min_approvals: 2
- teams:
- - core-devs
- - min_approvals: 1
- teams:
- - frame-coders
-
-prevent-review-request:
- teams:
- - core-devs
diff --git a/.github/review-bot.yml b/.github/review-bot.yml
index b053ead37fb758c5513d2d2f340ed132ff24e29b..c522988f02e6813020aa6ee7785b4fc58b3b59bc 100644
--- a/.github/review-bot.yml
+++ b/.github/review-bot.yml
@@ -9,7 +9,7 @@ rules:
- ^\.config/nextest.toml
- ^\.cargo/.*
exclude:
- - ^./gitlab/pipeline/zombienet.*
+ - ^\.gitlab/pipeline/zombienet.*
minApprovals: 2
type: basic
teams:
diff --git a/.github/workflows/build-and-attach-release-runtimes.yml b/.github/workflows/build-and-attach-release-runtimes.yml
index db0175c6855bd9ccaf668309cd0704c4c8ac88c1..8e0a5ba04b44eaefbb2d7bc828fe209e51d6e8d8 100644
--- a/.github/workflows/build-and-attach-release-runtimes.yml
+++ b/.github/workflows/build-and-attach-release-runtimes.yml
@@ -3,7 +3,7 @@ name: Build and Attach Runtimes to Releases/RC
on:
release:
types:
- - created
+ - published
env:
PROFILE: production
@@ -44,12 +44,6 @@ jobs:
runtime_dir: ${{ matrix.runtime.path }}
profile: ${{ env.PROFILE }}
- - name: Build Summary
- run: |
- echo "${{ steps.srtool_build.outputs.json }}" | jq . > ${{ matrix.runtime.name }}-srtool-digest.json
- cat ${{ matrix.runtime.name }}-srtool-digest.json
- echo "Runtime location: ${{ steps.srtool_build.outputs.wasm }}"
-
- name: Set up paths and runtime names
id: setup
run: |
diff --git a/.github/workflows/check-publish.yml b/.github/workflows/check-publish.yml
index c0d2b889381343a10f84a23d4ebf5fe6d10b4742..db0863888b8308663f045943c3e4dc2fc3d7985a 100644
--- a/.github/workflows/check-publish.yml
+++ b/.github/workflows/check-publish.yml
@@ -10,10 +10,7 @@ on:
jobs:
check-publish:
- strategy:
- matrix:
- os: ["ubuntu-latest"]
- runs-on: ${{ matrix.os }}
+ runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
@@ -23,7 +20,7 @@ jobs:
cache-on-failure: true
- name: install parity-publish
- run: cargo install parity-publish --profile dev
+ run: cargo install parity-publish@0.3.0
- name: parity-publish check
run: parity-publish check --allow-unpublished
diff --git a/.github/workflows/claim-crates.yml b/.github/workflows/claim-crates.yml
index 345d24c7566748db92fd7c28b840bdac13d6b1d6..0bd5593b54f2f89aac4f6ce281a7f532bc8ca785 100644
--- a/.github/workflows/claim-crates.yml
+++ b/.github/workflows/claim-crates.yml
@@ -18,7 +18,7 @@ jobs:
cache-on-failure: true
- name: install parity-publish
- run: cargo install parity-publish@0.2.0
+ run: cargo install parity-publish@0.3.0
- name: parity-publish claim
env:
diff --git a/.github/workflows/gitspiegel-trigger.yml b/.github/workflows/gitspiegel-trigger.yml
index 59347fad6d6fc663861c3ca3ddd256239987ff55..b338f7a3f6254b9db628f8b2b45c88b8094ef390 100644
--- a/.github/workflows/gitspiegel-trigger.yml
+++ b/.github/workflows/gitspiegel-trigger.yml
@@ -13,8 +13,19 @@ on:
- unlocked
- ready_for_review
- reopened
+ # the job doesn't check out any code, so it is relatively safe to run it on any event
+ pull_request_target:
+ types:
+ - opened
+ - synchronize
+ - unlocked
+ - ready_for_review
+ - reopened
merge_group:
+# drop all permissions for GITHUB_TOKEN
+permissions: {}
+
jobs:
sync:
runs-on: ubuntu-latest
diff --git a/.github/workflows/pr-custom-review.yml b/.github/workflows/pr-custom-review.yml
deleted file mode 100644
index 4e0809cbfdc3743e0b01f0e023ad74a88a28fed2..0000000000000000000000000000000000000000
--- a/.github/workflows/pr-custom-review.yml
+++ /dev/null
@@ -1,46 +0,0 @@
-name: Assign reviewers
-
-on:
- pull_request:
- branches:
- - master
- - main
- types:
- - opened
- - reopened
- - synchronize
- - review_requested
- - review_request_removed
- - ready_for_review
- - converted_to_draft
- pull_request_review:
- merge_group:
-
-jobs:
- pr-custom-review:
- runs-on: ubuntu-latest
- steps:
- - name: Skip merge queue
- if: ${{ contains(github.ref, 'gh-readonly-queue') }}
- run: exit 0
- - name: Skip if pull request is in Draft
- # `if: github.event.pull_request.draft == true` should be kept here, at
- # the step level, rather than at the job level. The latter is not
- # recommended because when the PR is moved from "Draft" to "Ready to
- # review" the workflow will immediately be passing (since it was skipped),
- # even though it hasn't actually ran, since it takes a few seconds for
- # the workflow to start. This is also disclosed in:
- # https://github.community/t/dont-run-actions-on-draft-pull-requests/16817/17
- # That scenario would open an opportunity for the check to be bypassed:
- # 1. Get your PR approved
- # 2. Move it to Draft
- # 3. Push whatever commits you want
- # 4. Move it to "Ready for review"; now the workflow is passing (it was
- # skipped) and "Check reviews" is also passing (it won't be updated
- # until the workflow is finished)
- if: github.event.pull_request.draft == true
- run: exit 1
- - name: pr-custom-review
- uses: paritytech/pr-custom-review@master
- with:
- checks-reviews-api: http://pcr.parity-prod.parity.io/api/v1/check_reviews
diff --git a/.github/workflows/review-bot.yml b/.github/workflows/review-bot.yml
index 5970989cde09374743bde8ac8890eae192527cec..0a7e80f007c5b643ce183fdca85d91c57b61f53f 100644
--- a/.github/workflows/review-bot.yml
+++ b/.github/workflows/review-bot.yml
@@ -23,7 +23,7 @@ jobs:
app_id: ${{ secrets.REVIEW_APP_ID }}
private_key: ${{ secrets.REVIEW_APP_KEY }}
- name: "Evaluates PR reviews and assigns reviewers"
- uses: paritytech/review-bot@v2.2.0
+ uses: paritytech/review-bot@v2.3.0
with:
repo-token: ${{ steps.app_token.outputs.token }}
team-token: ${{ steps.app_token.outputs.token }}
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e698aba81d556e6d934f2ab6f6292bb6331519df..aada30f1dda0f5bd450d4242345aac1d4fa7f4a4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -30,7 +30,7 @@ variables:
RUSTY_CACHIER_COMPRESSION_METHOD: zstd
NEXTEST_FAILURE_OUTPUT: immediate-final
NEXTEST_SUCCESS_OUTPUT: final
- DOCKER_IMAGES_VERSION: "${CI_COMMIT_SHA}"
+ DOCKER_IMAGES_VERSION: "${CI_COMMIT_REF_NAME}-${CI_COMMIT_SHORT_SHA}"
default:
retry:
@@ -69,7 +69,6 @@ default:
.common-before-script:
before_script:
- !reference [.job-switcher, before_script]
- - !reference [.timestamp, before_script]
- !reference [.pipeline-stopper-vars, script]
.job-switcher:
@@ -211,10 +210,6 @@ include:
- .gitlab/pipeline/publish.yml
# zombienet jobs
- .gitlab/pipeline/zombienet.yml
- # timestamp handler
- - project: parity/infrastructure/ci_cd/shared
- ref: v0.2
- file: /common/timestamp.yml
# ci image
- project: parity/infrastructure/ci_cd/shared
ref: main
diff --git a/.gitlab/pipeline/build.yml b/.gitlab/pipeline/build.yml
index 5c13045706c40e2a6049e67e3a5bb2a1b140fddb..d6918173d493efa69037b8714d03e8d6c7b3ae64 100644
--- a/.gitlab/pipeline/build.yml
+++ b/.gitlab/pipeline/build.yml
@@ -125,7 +125,7 @@ build-rustdoc:
find "$path" -name '*.html' | xargs -I {} -P "$(nproc)" bash -c 'process_file "$@"' _ {}
}
inject_simple_analytics "./crate-docs"
- - echo "" > ./crate-docs/index.html
+ - echo "" > ./crate-docs/index.html
build-implementers-guide:
stage: build
diff --git a/.gitlab/pipeline/check.yml b/.gitlab/pipeline/check.yml
index 429491fb1742800487fd251fdaf3a58ba3c63a9e..3ef3865aa43b348131db256e96b2aba803241da8 100644
--- a/.gitlab/pipeline/check.yml
+++ b/.gitlab/pipeline/check.yml
@@ -101,16 +101,17 @@ check-rust-feature-propagation:
export RUST_LOG=remote-ext=debug,runtime=debug
echo "---------- Downloading try-runtime CLI ----------"
- curl -sL https://github.com/paritytech/try-runtime-cli/releases/download/v0.3.3/try-runtime-x86_64-unknown-linux-musl -o try-runtime
+ curl -sL https://github.com/paritytech/try-runtime-cli/releases/download/v0.5.0/try-runtime-x86_64-unknown-linux-musl -o try-runtime
chmod +x ./try-runtime
echo "---------- Building ${PACKAGE} runtime ----------"
time cargo build --release --locked -p "$PACKAGE" --features try-runtime
echo "---------- Executing on-runtime-upgrade for ${NETWORK} ----------"
- time ./try-runtime \
+ time ./try-runtime ${COMMAND_EXTRA_ARGS} \
--runtime ./target/release/wbuild/"$PACKAGE"/"$WASM" \
- on-runtime-upgrade --checks=pre-and-post ${EXTRA_ARGS} live --uri ${URI}
+ on-runtime-upgrade --disable-spec-version-check --checks=all ${SUBCOMMAND_EXTRA_ARGS} live --uri ${URI}
+ sleep 5
# Check runtime migrations for Parity managed relay chains
check-runtime-migration-westend:
@@ -124,7 +125,7 @@ check-runtime-migration-westend:
PACKAGE: "westend-runtime"
WASM: "westend_runtime.compact.compressed.wasm"
URI: "wss://westend-try-runtime-node.parity-chains.parity.io:443"
- EXTRA_ARGS: "--no-weight-warnings"
+ SUBCOMMAND_EXTRA_ARGS: "--no-weight-warnings"
check-runtime-migration-rococo:
stage: check
@@ -137,7 +138,7 @@ check-runtime-migration-rococo:
PACKAGE: "rococo-runtime"
WASM: "rococo_runtime.compact.compressed.wasm"
URI: "wss://rococo-try-runtime-node.parity-chains.parity.io:443"
- EXTRA_ARGS: "--no-weight-warnings"
+ SUBCOMMAND_EXTRA_ARGS: "--no-weight-warnings"
# Check runtime migrations for Parity managed asset hub chains
check-runtime-migration-asset-hub-westend:
@@ -151,7 +152,7 @@ check-runtime-migration-asset-hub-westend:
PACKAGE: "asset-hub-westend-runtime"
WASM: "asset_hub_westend_runtime.compact.compressed.wasm"
URI: "wss://westend-asset-hub-rpc.polkadot.io:443"
-
+
check-runtime-migration-asset-hub-rococo:
stage: check
extends:
@@ -214,6 +215,7 @@ check-runtime-migration-collectives-westend:
PACKAGE: "collectives-westend-runtime"
WASM: "collectives_westend_runtime.compact.compressed.wasm"
URI: "wss://westend-collectives-rpc.polkadot.io:443"
+ COMMAND_EXTRA_ARGS: "--disable-spec-name-check"
find-fail-ci-phrase:
stage: check
diff --git a/.gitlab/pipeline/publish.yml b/.gitlab/pipeline/publish.yml
index 3cc2002cc1c5b2fd82b574105885f4369ce9c7e0..92ebc9eea1faad8a6ce87b1bb322431de1126aa4 100644
--- a/.gitlab/pipeline/publish.yml
+++ b/.gitlab/pipeline/publish.yml
@@ -63,16 +63,16 @@ publish-rustdoc:
after_script:
- rm -rf .git/ ./*
-# cumulus
-
+# note: images are used not only in zombienet but also in rococo, wococo and versi
.build-push-image:
image: $BUILDAH_IMAGE
variables:
DOCKERFILE: "" # docker/path-to.Dockerfile
IMAGE_NAME: "" # docker.io/paritypr/image_name
script:
- # Exit if the job is not running in a merge queue
- # - if [[ $CI_COMMIT_REF_NAME != *"gh-readonly-queue"* ]]; then echo "I will run only in a merge queue"; exit 0; fi
+ # Dockertag should differ in a merge queue
+ # TODO: test this
+ # - if [[ $CI_COMMIT_REF_NAME == *"gh-readonly-queue"* ]]; export DOCKER_IMAGES_VERSION="${CI_COMMIT_SHORT_SHA}"; fi
- $BUILDAH_COMMAND build
--format=docker
--build-arg VCS_REF="${CI_COMMIT_SHA}"
@@ -112,59 +112,6 @@ build-push-image-test-parachain:
variables:
DOCKERFILE: "docker/dockerfiles/test-parachain_injected.Dockerfile"
IMAGE_NAME: "docker.io/paritypr/test-parachain"
-# publish-s3:
-# stage: publish
-# extends:
-# - .kubernetes-env
-# - .publish-refs
-# image: paritytech/awscli:latest
-# needs:
-# - job: build-linux-stable-cumulus
-# artifacts: true
-# variables:
-# GIT_STRATEGY: none
-# BUCKET: "releases.parity.io"
-# PREFIX: "cumulus/${ARCH}-${DOCKER_OS}"
-# script:
-# - echo "___Publishing a binary with debug assertions!___"
-# - echo "___VERSION = $(cat ./artifacts/VERSION) ___"
-# - aws s3 sync ./artifacts/ s3://${BUCKET}/${PREFIX}/$(cat ./artifacts/VERSION)/
-# - echo "___Updating objects in latest path___"
-# - aws s3 sync s3://${BUCKET}/${PREFIX}/$(cat ./artifacts/VERSION)/ s3://${BUCKET}/${PREFIX}/latest/
-# after_script:
-# - aws s3 ls s3://${BUCKET}/${PREFIX}/latest/
-# --recursive --human-readable --summarize
-
-# publish-benchmarks-assets-s3: &publish-benchmarks
-# stage: publish
-# extends:
-# - .kubernetes-env
-# - .benchmarks-refs
-# image: paritytech/awscli:latest
-# needs:
-# - job: benchmarks-assets
-# artifacts: true
-# variables:
-# GIT_STRATEGY: none
-# BUCKET: "releases.parity.io"
-# PREFIX: "cumulus/$CI_COMMIT_REF_NAME/benchmarks-assets"
-# script:
-# - echo "___Publishing benchmark results___"
-# - aws s3 sync ./artifacts/ s3://${BUCKET}/${PREFIX}/
-# after_script:
-# - aws s3 ls s3://${BUCKET}/${PREFIX}/ --recursive --human-readable --summarize
-
-# publish-benchmarks-collectives-s3:
-# <<: *publish-benchmarks
-# variables:
-# GIT_STRATEGY: none
-# BUCKET: "releases.parity.io"
-# PREFIX: "cumulus/$CI_COMMIT_REF_NAME/benchmarks-collectives"
-# needs:
-# - job: benchmarks-collectives
-# artifacts: true
-
-### Polkadot
build-push-image-polkadot-debug:
stage: publish
@@ -217,143 +164,3 @@ build-push-image-substrate-pr:
variables:
DOCKERFILE: "docker/dockerfiles/substrate_injected.Dockerfile"
IMAGE_NAME: "docker.io/paritypr/substrate"
-# old way
-
-# .build-push-image-polkadot:
-# before_script:
-# # - test -s ./artifacts/VERSION || exit 1
-# # - test -s ./artifacts/EXTRATAG || exit 1
-# - VERSION="$(cat ./artifacts/VERSION)"
-# - EXTRATAG="$(cat ./artifacts/EXTRATAG)"
-# - echo "Polkadot version = ${VERSION} (EXTRATAG = ${EXTRATAG})"
-# script:
-# # - test "$DOCKER_USER" -a "$DOCKER_PASS" ||
-# # ( echo "no docker credentials provided"; exit 1 )
-# - cd ./artifacts
-# - $BUILDAH_COMMAND build
-# --format=docker
-# --build-arg VCS_REF="${CI_COMMIT_SHA}"
-# --build-arg BUILD_DATE="$(date -u '+%Y-%m-%dT%H:%M:%SZ')"
-# --build-arg IMAGE_NAME="${IMAGE_NAME}"
-# --tag "$IMAGE_NAME:$VERSION"
-# --tag "$IMAGE_NAME:$EXTRATAG"
-# --file ${DOCKERFILE} .
-# # The job will success only on the protected branch
-# # - echo "$DOCKER_PASS" |
-# # buildah login --username "$DOCKER_USER" --password-stdin docker.io
-# # - $BUILDAH_COMMAND info
-# # - $BUILDAH_COMMAND push --format=v2s2 "$IMAGE_NAME:$VERSION"
-# # - $BUILDAH_COMMAND push --format=v2s2 "$IMAGE_NAME:$EXTRATAG"
-# after_script:
-# - buildah logout --all
-
-# publish-polkadot-debug-image:
-# stage: publish
-# image: ${BUILDAH_IMAGE}
-# extends:
-# - .kubernetes-env
-# - .build-push-image-polkadot
-# rules:
-# - if: $CI_PIPELINE_SOURCE == "web"
-# - if: $CI_PIPELINE_SOURCE == "schedule"
-# - if: $CI_COMMIT_REF_NAME == "master"
-# - if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
-# - if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
-# variables:
-# GIT_STRATEGY: none
-# DOCKER_USER: ${PARITYPR_USER}
-# DOCKER_PASS: ${PARITYPR_PASS}
-# # docker/dockerfiles/polkadot/polkadot_injected_debug.Dockerfile
-# DOCKERFILE: polkadot_injected_debug.Dockerfile
-# IMAGE_NAME: docker.io/paritypr/polkadot-debug
-# needs:
-# - job: build-linux-stable
-# artifacts: true
-# after_script:
-# # pass artifacts to the zombienet-tests job
-# # https://docs.gitlab.com/ee/ci/multi_project_pipelines.html#with-variable-inheritance
-# - echo "PARACHAINS_IMAGE_NAME=${IMAGE_NAME}" > ./artifacts/parachains.env
-# - echo "PARACHAINS_IMAGE_TAG=$(cat ./artifacts/EXTRATAG)" >> ./artifacts/parachains.env
-# artifacts:
-# reports:
-# # this artifact is used in zombienet-tests job
-# dotenv: ./artifacts/parachains.env
-# expire_in: 1 days
-
-# publish-test-collators-image:
-# # service image for zombienet
-# stage: publish
-# extends:
-# - .kubernetes-env
-# - .build-push-image-polkadot
-# - .zombienet-refs
-# variables:
-# CI_IMAGE: ${BUILDAH_IMAGE}
-# GIT_STRATEGY: none
-# DOCKER_USER: ${PARITYPR_USER}
-# DOCKER_PASS: ${PARITYPR_PASS}
-# # docker/dockerfiles/collator_injected.Dockerfile
-# DOCKERFILE: collator_injected.Dockerfile
-# IMAGE_NAME: docker.io/paritypr/colander
-# needs:
-# - job: build-test-collators
-# artifacts: true
-# after_script:
-# - buildah logout --all
-# # pass artifacts to the zombienet-tests job
-# - echo "COLLATOR_IMAGE_NAME=${IMAGE_NAME}" > ./artifacts/collator.env
-# - echo "COLLATOR_IMAGE_TAG=$(cat ./artifacts/EXTRATAG)" >> ./artifacts/collator.env
-# artifacts:
-# reports:
-# # this artifact is used in zombienet-tests job
-# dotenv: ./artifacts/collator.env
-
-# publish-malus-image:
-# # service image for Simnet
-# stage: publish
-# extends:
-# - .kubernetes-env
-# - .build-push-image-polkadot
-# - .zombienet-refs
-# variables:
-# CI_IMAGE: ${BUILDAH_IMAGE}
-# GIT_STRATEGY: none
-# DOCKER_USER: ${PARITYPR_USER}
-# DOCKER_PASS: ${PARITYPR_PASS}
-# # docker/dockerfiles/malus_injected.Dockerfile
-# DOCKERFILE: malus_injected.Dockerfile
-# IMAGE_NAME: docker.io/paritypr/malus
-# needs:
-# - job: build-malus
-# artifacts: true
-# after_script:
-# - buildah logout "$IMAGE_NAME"
-# # pass artifacts to the zombienet-tests job
-# - echo "MALUS_IMAGE_NAME=${IMAGE_NAME}" > ./artifacts/malus.env
-# - echo "MALUS_IMAGE_TAG=$(cat ./artifacts/EXTRATAG)" >> ./artifacts/malus.env
-# artifacts:
-# reports:
-# # this artifact is used in zombienet-tests job
-# dotenv: ./artifacts/malus.env
-
-# substrate
-
-# publish-substrate-image-pr:
-# # service image for zombienet
-# stage: publish
-# extends:
-# - .kubernetes-env
-# - .build-push-image-polkadot
-# - .zombienet-refs
-# variables:
-# CI_IMAGE: ${BUILDAH_IMAGE}
-# GIT_STRATEGY: none
-# DOCKER_USER: ${PARITYPR_USER}
-# DOCKER_PASS: ${PARITYPR_PASS}
-# DOCKERFILE: substrate_injected.Dockerfile
-# IMAGE_NAME: docker.io/paritypr/substrate
-# needs:
-# - job: build-linux-substrate
-# artifacts: true
-# after_script:
-# - buildah logout "$IMAGE_NAME"
diff --git a/.gitlab/pipeline/short-benchmarks.yml b/.gitlab/pipeline/short-benchmarks.yml
index 0218d3fdac062593d527514e40c104e6baeaa232..97bce4799270c8701a27a048b7920095bdb48654 100644
--- a/.gitlab/pipeline/short-benchmarks.yml
+++ b/.gitlab/pipeline/short-benchmarks.yml
@@ -49,16 +49,6 @@ short-benchmark-westend: &short-bench
script:
- ./artifacts/polkadot-parachain benchmark pallet --chain $RUNTIME_CHAIN --pallet "*" --extrinsic "*" --steps 2 --repeat 1
-short-benchmark-asset-hub-polkadot:
- <<: *short-bench-cumulus
- variables:
- RUNTIME_CHAIN: asset-hub-polkadot-dev
-
-short-benchmark-asset-hub-kusama:
- <<: *short-bench-cumulus
- variables:
- RUNTIME_CHAIN: asset-hub-kusama-dev
-
short-benchmark-asset-hub-rococo:
<<: *short-bench-cumulus
variables:
@@ -69,16 +59,6 @@ short-benchmark-asset-hub-westend:
variables:
RUNTIME_CHAIN: asset-hub-westend-dev
-short-benchmark-bridge-hub-polkadot:
- <<: *short-bench-cumulus
- variables:
- RUNTIME_CHAIN: bridge-hub-polkadot-dev
-
-short-benchmark-bridge-hub-kusama:
- <<: *short-bench-cumulus
- variables:
- RUNTIME_CHAIN: bridge-hub-kusama-dev
-
short-benchmark-bridge-hub-rococo:
<<: *short-bench-cumulus
variables:
@@ -89,21 +69,11 @@ short-benchmark-bridge-hub-westend:
variables:
RUNTIME_CHAIN: bridge-hub-westend-dev
-short-benchmark-collectives-polkadot:
- <<: *short-bench-cumulus
- variables:
- RUNTIME_CHAIN: collectives-polkadot-dev
-
short-benchmark-collectives-westend:
<<: *short-bench-cumulus
variables:
RUNTIME_CHAIN: collectives-westend-dev
-short-benchmark-glutton-kusama:
- <<: *short-bench-cumulus
- variables:
- RUNTIME_CHAIN: glutton-kusama-dev-1300
-
short-benchmark-glutton-westend:
<<: *short-bench-cumulus
variables:
diff --git a/.gitlab/pipeline/test.yml b/.gitlab/pipeline/test.yml
index 4ed3ec19c48a72af86f98efd2d9973e838ed821a..265b378ef5bdbf9bf048b7e0cd36a4cb022a0d0d 100644
--- a/.gitlab/pipeline/test.yml
+++ b/.gitlab/pipeline/test.yml
@@ -29,7 +29,7 @@ test-linux-stable:
--locked \
--release \
--no-fail-fast \
- --features try-runtime,experimental \
+ --features try-runtime,experimental,ci-only-tests \
--partition count:${CI_NODE_INDEX}/${CI_NODE_TOTAL}
# Upload tests results to Elasticsearch
- echo "Upload test results to Elasticsearch"
@@ -270,7 +270,7 @@ cargo-check-benches:
SKIP_WASM_BUILD=1 time cargo check --locked --benches --all;
cargo run --locked --release -p node-bench -- ::trie::read::small --json
| tee ./artifacts/benches/$CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA/::trie::read::small.json;
- echo "___Uploading cache for rusty-cachier___";
+ echo "___Cache could be uploaded___";
;;
2)
cargo run --locked --release -p node-bench -- ::node::import::sr25519::transfer_keep_alive::paritydb::small --json
@@ -395,7 +395,6 @@ test-linux-stable-int:
RUN_UI_TESTS: 1
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 staging-node-cli --release --locked -- --ignored
# more information about this job can be found here:
@@ -439,7 +438,7 @@ cargo-check-each-crate:
- .run-immediately
# - .collect-artifacts
variables:
- # $CI_JOB_NAME is set manually so that rusty-cachier can share the cache for all
+ # $CI_JOB_NAME is set manually so that cache could be shared for all jobs
# "cargo-check-each-crate I/N" jobs
CI_JOB_NAME: cargo-check-each-crate
timeout: 2h
@@ -462,10 +461,10 @@ cargo-check-each-crate-macos:
variables:
SKIP_WASM_BUILD: 1
script:
- # TODO: enable rusty-cachier once it supports Mac
# TODO: use parallel jobs, as per cargo-check-each-crate, once more Mac runners are available
# - time ./scripts/ci/gitlab/check-each-crate.py 1 1
- time cargo check --workspace --locked
+ timeout: 2h
tags:
- osx
@@ -488,7 +487,7 @@ cargo-hfuzz:
# use git version of honggfuzz-rs until v0.5.56 is out, we need a few recent changes:
# https://github.com/rust-fuzz/honggfuzz-rs/pull/75 to avoid breakage on debian
# https://github.com/rust-fuzz/honggfuzz-rs/pull/81 fix to the above pr
- # https://github.com/rust-fuzz/honggfuzz-rs/pull/82 fix for handling rusty-cachier's absolute CARGO_TARGET_DIR
+ # https://github.com/rust-fuzz/honggfuzz-rs/pull/82 fix for handling absolute CARGO_TARGET_DIR
HFUZZ_BUILD_ARGS: >
--config=patch.crates-io.honggfuzz.git="https://github.com/altaua/honggfuzz-rs"
--config=patch.crates-io.honggfuzz.rev="205f7c8c059a0d98fe1cb912cdac84f324cb6981"
@@ -522,4 +521,4 @@ test-syscalls:
- if [[ "$CI_JOB_STATUS" == "failed" ]]; then
printf "The x86_64 syscalls used by the worker binaries have changed. Please review if this is expected and update polkadot/scripts/list-syscalls/*-worker-syscalls as needed.\n";
fi
- allow_failure: true # TODO: remove this once we have an idea how often the syscall lists will change
+ allow_failure: false # this rarely triggers in practice
diff --git a/.gitlab/pipeline/zombienet.yml b/.gitlab/pipeline/zombienet.yml
index fc3fd1256194623eeba26d516a7f9fd84970a215..558cc549cb08e62fdf2723e601e45f67306f8fe6 100644
--- a/.gitlab/pipeline/zombienet.yml
+++ b/.gitlab/pipeline/zombienet.yml
@@ -1,7 +1,7 @@
.zombienet-refs:
extends: .build-refs
variables:
- ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.3.82"
+ ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.3.83"
include:
# substrate tests
diff --git a/.gitlab/pipeline/zombienet/cumulus.yml b/.gitlab/pipeline/zombienet/cumulus.yml
index 3cac67c2966e11d8e41300d8983d8cd96acfe67e..409c0aba68e7546b896d35ebd01bb26bc4fec992 100644
--- a/.gitlab/pipeline/zombienet/cumulus.yml
+++ b/.gitlab/pipeline/zombienet/cumulus.yml
@@ -27,8 +27,10 @@
needs:
- job: build-push-image-test-parachain
artifacts: true
+ - job: build-push-image-polkadot-debug
+ artifacts: true
variables:
- POLKADOT_IMAGE: "docker.io/paritypr/polkadot-debug:master"
+ POLKADOT_IMAGE: "docker.io/paritypr/polkadot-debug:${DOCKER_IMAGES_VERSION}"
GH_DIR: "https://github.com/paritytech/cumulus/tree/${CI_COMMIT_SHORT_SHA}/zombienet/tests"
LOCAL_DIR: "/builds/parity/mirrors/polkadot-sdk/cumulus/zombienet/tests"
COL_IMAGE: "docker.io/paritypr/test-parachain:${DOCKER_IMAGES_VERSION}"
diff --git a/.gitlab/pipeline/zombienet/polkadot.yml b/.gitlab/pipeline/zombienet/polkadot.yml
index 995dd9825320a6108f6320c74dc61eaf8f192a47..d1f3a201c80a0c6edc19870b727de452149d6f79 100644
--- a/.gitlab/pipeline/zombienet/polkadot.yml
+++ b/.gitlab/pipeline/zombienet/polkadot.yml
@@ -115,6 +115,22 @@ zombienet-polkadot-functional-0006-parachains-max-tranche0:
--local-dir="${LOCAL_DIR}/functional"
--test="0006-parachains-max-tranche0.zndsl"
+zombienet-polkadot-functional-0007-dispute-freshly-finalized:
+ extends:
+ - .zombienet-polkadot-common
+ script:
+ - /home/nonroot/zombie-net/scripts/ci/run-test-local-env-manager.sh
+ --local-dir="${LOCAL_DIR}/functional"
+ --test="0007-dispute-freshly-finalized.zndsl"
+
+zombienet-polkadot-functional-0008-dispute-old-finalized:
+ extends:
+ - .zombienet-polkadot-common
+ script:
+ - /home/nonroot/zombie-net/scripts/ci/run-test-local-env-manager.sh
+ --local-dir="${LOCAL_DIR}/functional"
+ --test="0008-dispute-old-finalized.zndsl"
+
zombienet-polkadot-smoke-0001-parachains-smoke-test:
extends:
- .zombienet-polkadot-common
diff --git a/Cargo.lock b/Cargo.lock
index 903e9463cf6c8e1a0ff727f0d02a0a129f626c03..de4471783abf158d95b07a4f4f567f68b756e079 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -730,150 +730,6 @@ version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9"
-[[package]]
-name = "asset-hub-kusama-runtime"
-version = "0.9.420"
-dependencies = [
- "asset-test-utils",
- "assets-common",
- "cumulus-pallet-aura-ext",
- "cumulus-pallet-dmp-queue",
- "cumulus-pallet-parachain-system",
- "cumulus-pallet-session-benchmarking",
- "cumulus-pallet-xcm",
- "cumulus-pallet-xcmp-queue",
- "cumulus-primitives-core",
- "cumulus-primitives-utility",
- "frame-benchmarking",
- "frame-executive",
- "frame-support",
- "frame-system",
- "frame-system-benchmarking",
- "frame-system-rpc-runtime-api",
- "frame-try-runtime",
- "hex-literal",
- "log",
- "pallet-asset-conversion",
- "pallet-asset-conversion-tx-payment",
- "pallet-assets",
- "pallet-aura",
- "pallet-authorship",
- "pallet-balances",
- "pallet-collator-selection",
- "pallet-message-queue",
- "pallet-multisig",
- "pallet-nft-fractionalization",
- "pallet-nfts",
- "pallet-nfts-runtime-api",
- "pallet-proxy",
- "pallet-session",
- "pallet-state-trie-migration",
- "pallet-timestamp",
- "pallet-transaction-payment",
- "pallet-transaction-payment-rpc-runtime-api",
- "pallet-uniques",
- "pallet-utility",
- "pallet-xcm",
- "pallet-xcm-benchmarks",
- "parachains-common",
- "parity-scale-codec",
- "polkadot-core-primitives",
- "polkadot-parachain-primitives",
- "polkadot-runtime-common",
- "primitive-types",
- "scale-info",
- "smallvec",
- "sp-api",
- "sp-block-builder",
- "sp-consensus-aura",
- "sp-core",
- "sp-genesis-builder",
- "sp-inherents",
- "sp-offchain",
- "sp-runtime",
- "sp-session",
- "sp-std 8.0.0",
- "sp-storage 13.0.0",
- "sp-transaction-pool",
- "sp-version",
- "sp-weights",
- "staging-parachain-info",
- "staging-xcm",
- "staging-xcm-builder",
- "staging-xcm-executor",
- "substrate-wasm-builder",
-]
-
-[[package]]
-name = "asset-hub-polkadot-runtime"
-version = "0.9.420"
-dependencies = [
- "asset-test-utils",
- "assets-common",
- "cumulus-pallet-aura-ext",
- "cumulus-pallet-dmp-queue",
- "cumulus-pallet-parachain-system",
- "cumulus-pallet-session-benchmarking",
- "cumulus-pallet-xcm",
- "cumulus-pallet-xcmp-queue",
- "cumulus-primitives-core",
- "cumulus-primitives-utility",
- "frame-benchmarking",
- "frame-executive",
- "frame-support",
- "frame-system",
- "frame-system-benchmarking",
- "frame-system-rpc-runtime-api",
- "frame-try-runtime",
- "hex-literal",
- "log",
- "pallet-asset-tx-payment",
- "pallet-assets",
- "pallet-aura",
- "pallet-authorship",
- "pallet-balances",
- "pallet-collator-selection",
- "pallet-message-queue",
- "pallet-multisig",
- "pallet-nfts",
- "pallet-nfts-runtime-api",
- "pallet-proxy",
- "pallet-session",
- "pallet-timestamp",
- "pallet-transaction-payment",
- "pallet-transaction-payment-rpc-runtime-api",
- "pallet-uniques",
- "pallet-utility",
- "pallet-xcm",
- "pallet-xcm-benchmarks",
- "parachains-common",
- "parity-scale-codec",
- "polkadot-core-primitives",
- "polkadot-parachain-primitives",
- "polkadot-runtime-common",
- "scale-info",
- "smallvec",
- "sp-api",
- "sp-block-builder",
- "sp-consensus-aura",
- "sp-core",
- "sp-genesis-builder",
- "sp-inherents",
- "sp-offchain",
- "sp-runtime",
- "sp-session",
- "sp-std 8.0.0",
- "sp-storage 13.0.0",
- "sp-transaction-pool",
- "sp-version",
- "sp-weights",
- "staging-parachain-info",
- "staging-xcm",
- "staging-xcm-builder",
- "staging-xcm-executor",
- "substrate-wasm-builder",
-]
-
[[package]]
name = "asset-hub-rococo-emulated-chain"
version = "0.0.0"
@@ -924,7 +780,6 @@ dependencies = [
"bp-bridge-hub-rococo",
"bp-bridge-hub-westend",
"cumulus-pallet-aura-ext",
- "cumulus-pallet-dmp-queue",
"cumulus-pallet-parachain-system",
"cumulus-pallet-session-benchmarking",
"cumulus-pallet-xcm",
@@ -1029,6 +884,7 @@ dependencies = [
"pallet-xcm",
"parachains-common",
"parity-scale-codec",
+ "penpal-runtime",
"polkadot-runtime-common",
"sp-runtime",
"staging-xcm",
@@ -1050,7 +906,6 @@ dependencies = [
"bp-bridge-hub-rococo",
"bp-bridge-hub-westend",
"cumulus-pallet-aura-ext",
- "cumulus-pallet-dmp-queue",
"cumulus-pallet-parachain-system",
"cumulus-pallet-session-benchmarking",
"cumulus-pallet-xcm",
@@ -1493,8 +1348,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "93f2635620bf0b9d4576eb7bb9a38a55df78bd1205d26fa994b25911a69f212f"
dependencies = [
"bitcoin_hashes",
- "rand 0.7.3",
- "rand_core 0.5.1",
+ "rand 0.8.5",
+ "rand_core 0.6.4",
"serde",
"unicode-normalization",
]
@@ -1974,134 +1829,6 @@ dependencies = [
"sp-runtime",
]
-[[package]]
-name = "bridge-hub-kusama-runtime"
-version = "0.1.0"
-dependencies = [
- "bridge-hub-test-utils",
- "cumulus-pallet-aura-ext",
- "cumulus-pallet-dmp-queue",
- "cumulus-pallet-parachain-system",
- "cumulus-pallet-session-benchmarking",
- "cumulus-pallet-xcm",
- "cumulus-pallet-xcmp-queue",
- "cumulus-primitives-core",
- "cumulus-primitives-utility",
- "frame-benchmarking",
- "frame-executive",
- "frame-support",
- "frame-system",
- "frame-system-benchmarking",
- "frame-system-rpc-runtime-api",
- "frame-try-runtime",
- "hex-literal",
- "log",
- "pallet-aura",
- "pallet-authorship",
- "pallet-balances",
- "pallet-collator-selection",
- "pallet-message-queue",
- "pallet-multisig",
- "pallet-session",
- "pallet-timestamp",
- "pallet-transaction-payment",
- "pallet-transaction-payment-rpc-runtime-api",
- "pallet-utility",
- "pallet-xcm",
- "pallet-xcm-benchmarks",
- "parachains-common",
- "parity-scale-codec",
- "polkadot-core-primitives",
- "polkadot-parachain-primitives",
- "polkadot-runtime-common",
- "scale-info",
- "serde",
- "smallvec",
- "sp-api",
- "sp-block-builder",
- "sp-consensus-aura",
- "sp-core",
- "sp-genesis-builder",
- "sp-inherents",
- "sp-io",
- "sp-offchain",
- "sp-runtime",
- "sp-session",
- "sp-std 8.0.0",
- "sp-storage 13.0.0",
- "sp-transaction-pool",
- "sp-version",
- "staging-parachain-info",
- "staging-xcm",
- "staging-xcm-builder",
- "staging-xcm-executor",
- "substrate-wasm-builder",
-]
-
-[[package]]
-name = "bridge-hub-polkadot-runtime"
-version = "0.1.0"
-dependencies = [
- "bridge-hub-test-utils",
- "cumulus-pallet-aura-ext",
- "cumulus-pallet-dmp-queue",
- "cumulus-pallet-parachain-system",
- "cumulus-pallet-session-benchmarking",
- "cumulus-pallet-xcm",
- "cumulus-pallet-xcmp-queue",
- "cumulus-primitives-core",
- "cumulus-primitives-utility",
- "frame-benchmarking",
- "frame-executive",
- "frame-support",
- "frame-system",
- "frame-system-benchmarking",
- "frame-system-rpc-runtime-api",
- "frame-try-runtime",
- "hex-literal",
- "log",
- "pallet-aura",
- "pallet-authorship",
- "pallet-balances",
- "pallet-collator-selection",
- "pallet-message-queue",
- "pallet-multisig",
- "pallet-session",
- "pallet-timestamp",
- "pallet-transaction-payment",
- "pallet-transaction-payment-rpc-runtime-api",
- "pallet-utility",
- "pallet-xcm",
- "pallet-xcm-benchmarks",
- "parachains-common",
- "parity-scale-codec",
- "polkadot-core-primitives",
- "polkadot-parachain-primitives",
- "polkadot-runtime-common",
- "scale-info",
- "serde",
- "smallvec",
- "sp-api",
- "sp-block-builder",
- "sp-consensus-aura",
- "sp-core",
- "sp-genesis-builder",
- "sp-inherents",
- "sp-io",
- "sp-offchain",
- "sp-runtime",
- "sp-session",
- "sp-std 8.0.0",
- "sp-storage 13.0.0",
- "sp-transaction-pool",
- "sp-version",
- "staging-parachain-info",
- "staging-xcm",
- "staging-xcm-builder",
- "staging-xcm-executor",
- "substrate-wasm-builder",
-]
-
[[package]]
name = "bridge-hub-rococo-emulated-chain"
version = "0.0.0"
@@ -2158,7 +1885,6 @@ dependencies = [
"bridge-hub-test-utils",
"bridge-runtime-common",
"cumulus-pallet-aura-ext",
- "cumulus-pallet-dmp-queue",
"cumulus-pallet-parachain-system",
"cumulus-pallet-session-benchmarking",
"cumulus-pallet-xcm",
@@ -2322,7 +2048,6 @@ dependencies = [
"bridge-hub-test-utils",
"bridge-runtime-common",
"cumulus-pallet-aura-ext",
- "cumulus-pallet-dmp-queue",
"cumulus-pallet-parachain-system",
"cumulus-pallet-session-benchmarking",
"cumulus-pallet-xcm",
@@ -2864,84 +2589,11 @@ dependencies = [
"unicode-width",
]
-[[package]]
-name = "collectives-polkadot-runtime"
-version = "1.0.0"
-dependencies = [
- "cumulus-pallet-aura-ext",
- "cumulus-pallet-dmp-queue",
- "cumulus-pallet-parachain-system",
- "cumulus-pallet-session-benchmarking",
- "cumulus-pallet-xcm",
- "cumulus-pallet-xcmp-queue",
- "cumulus-primitives-core",
- "cumulus-primitives-utility",
- "frame-benchmarking",
- "frame-executive",
- "frame-support",
- "frame-system",
- "frame-system-benchmarking",
- "frame-system-rpc-runtime-api",
- "frame-try-runtime",
- "hex-literal",
- "log",
- "pallet-alliance",
- "pallet-aura",
- "pallet-authorship",
- "pallet-balances",
- "pallet-collator-selection",
- "pallet-collective",
- "pallet-collective-content",
- "pallet-core-fellowship",
- "pallet-message-queue",
- "pallet-multisig",
- "pallet-preimage",
- "pallet-proxy",
- "pallet-ranked-collective",
- "pallet-referenda",
- "pallet-salary",
- "pallet-scheduler",
- "pallet-session",
- "pallet-timestamp",
- "pallet-transaction-payment",
- "pallet-transaction-payment-rpc-runtime-api",
- "pallet-utility",
- "pallet-xcm",
- "parachains-common",
- "parity-scale-codec",
- "polkadot-core-primitives",
- "polkadot-parachain-primitives",
- "polkadot-runtime-common",
- "scale-info",
- "smallvec",
- "sp-api",
- "sp-arithmetic",
- "sp-block-builder",
- "sp-consensus-aura",
- "sp-core",
- "sp-genesis-builder",
- "sp-inherents",
- "sp-io",
- "sp-offchain",
- "sp-runtime",
- "sp-session",
- "sp-std 8.0.0",
- "sp-storage 13.0.0",
- "sp-transaction-pool",
- "sp-version",
- "staging-parachain-info",
- "staging-xcm",
- "staging-xcm-builder",
- "staging-xcm-executor",
- "substrate-wasm-builder",
-]
-
[[package]]
name = "collectives-westend-runtime"
version = "1.0.0"
dependencies = [
"cumulus-pallet-aura-ext",
- "cumulus-pallet-dmp-queue",
"cumulus-pallet-parachain-system",
"cumulus-pallet-session-benchmarking",
"cumulus-pallet-xcm",
@@ -3182,7 +2834,6 @@ dependencies = [
"pallet-balances",
"pallet-collator-selection",
"pallet-contracts",
- "pallet-contracts-primitives",
"pallet-insecure-randomness-collective-flip",
"pallet-message-queue",
"pallet-multisig",
@@ -4178,11 +3829,13 @@ dependencies = [
"cumulus-relay-chain-interface",
"cumulus-relay-chain-rpc-interface",
"futures",
+ "parking_lot 0.12.1",
"polkadot-availability-recovery",
"polkadot-collator-protocol",
"polkadot-core-primitives",
"polkadot-network-bridge",
"polkadot-node-collation-generation",
+ "polkadot-node-core-chain-api",
"polkadot-node-core-prospective-parachains",
"polkadot-node-core-runtime-api",
"polkadot-node-network-protocol",
@@ -4190,16 +3843,19 @@ dependencies = [
"polkadot-overseer",
"polkadot-primitives",
"sc-authority-discovery",
+ "sc-client-api",
"sc-network",
"sc-network-common",
"sc-service",
"sc-tracing",
"sc-utils",
"sp-api",
+ "sp-blockchain",
"sp-consensus",
"sp-consensus-babe",
"sp-runtime",
"substrate-prometheus-endpoint",
+ "tokio",
"tracing",
]
@@ -4233,6 +3889,7 @@ dependencies = [
"sp-runtime",
"sp-state-machine",
"sp-storage 13.0.0",
+ "sp-version",
"thiserror",
"tokio",
"tokio-util",
@@ -4709,6 +4366,45 @@ dependencies = [
"syn 1.0.109",
]
+[[package]]
+name = "developer-hub"
+version = "0.0.1"
+dependencies = [
+ "cumulus-pallet-aura-ext",
+ "cumulus-pallet-parachain-system",
+ "docify",
+ "frame",
+ "kitchensink-runtime",
+ "pallet-aura",
+ "pallet-default-config-example",
+ "pallet-examples",
+ "pallet-timestamp",
+ "parity-scale-codec",
+ "sc-cli",
+ "sc-client-db",
+ "sc-consensus-aura",
+ "sc-consensus-babe",
+ "sc-consensus-beefy",
+ "sc-consensus-grandpa",
+ "sc-consensus-manual-seal",
+ "sc-consensus-pow",
+ "sc-network",
+ "sc-rpc",
+ "sc-rpc-api",
+ "scale-info",
+ "simple-mermaid 0.1.0 (git+https://github.com/kianenigma/simple-mermaid.git?branch=main)",
+ "sp-api",
+ "sp-core",
+ "sp-io",
+ "sp-keyring",
+ "sp-runtime",
+ "staging-chain-spec-builder",
+ "staging-node-cli",
+ "staging-parachain-info",
+ "subkey",
+ "substrate-wasm-builder",
+]
+
[[package]]
name = "diff"
version = "0.1.13"
@@ -5544,7 +5240,7 @@ dependencies = [
"pallet-examples",
"parity-scale-codec",
"scale-info",
- "simple-mermaid",
+ "simple-mermaid 0.1.0 (git+https://github.com/kianenigma/simple-mermaid.git?rev=e48b187bcfd5cc75111acd9d241f1bd36604344b)",
"sp-api",
"sp-arithmetic",
"sp-block-builder",
@@ -5974,9 +5670,9 @@ dependencies = [
[[package]]
name = "fs4"
-version = "0.6.6"
+version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2eeb4ed9e12f43b7fa0baae3f9cdda28352770132ef2e09a23760c29cae8bd47"
+checksum = "29f9df8a11882c4e3335eb2d18a0137c505d9ca927470b0cac9c6f0ae07d28f7"
dependencies = [
"rustix 0.38.21",
"windows-sys 0.48.0",
@@ -6246,51 +5942,6 @@ dependencies = [
"regex",
]
-[[package]]
-name = "glutton-runtime"
-version = "1.0.0"
-dependencies = [
- "cumulus-pallet-aura-ext",
- "cumulus-pallet-parachain-system",
- "cumulus-pallet-xcm",
- "cumulus-primitives-aura",
- "cumulus-primitives-core",
- "cumulus-primitives-timestamp",
- "frame-benchmarking",
- "frame-executive",
- "frame-support",
- "frame-system",
- "frame-system-benchmarking",
- "frame-system-rpc-runtime-api",
- "frame-try-runtime",
- "pallet-aura",
- "pallet-glutton",
- "pallet-message-queue",
- "pallet-sudo",
- "pallet-timestamp",
- "parachains-common",
- "parity-scale-codec",
- "scale-info",
- "sp-api",
- "sp-block-builder",
- "sp-consensus-aura",
- "sp-core",
- "sp-genesis-builder",
- "sp-inherents",
- "sp-offchain",
- "sp-runtime",
- "sp-session",
- "sp-std 8.0.0",
- "sp-storage 13.0.0",
- "sp-transaction-pool",
- "sp-version",
- "staging-parachain-info",
- "staging-xcm",
- "staging-xcm-builder",
- "staging-xcm-executor",
- "substrate-wasm-builder",
-]
-
[[package]]
name = "glutton-westend-runtime"
version = "1.0.0"
@@ -7215,7 +6866,6 @@ dependencies = [
"pallet-child-bounties",
"pallet-collective",
"pallet-contracts",
- "pallet-contracts-primitives",
"pallet-conviction-voting",
"pallet-core-fellowship",
"pallet-democracy",
@@ -8852,7 +8502,7 @@ dependencies = [
"itertools 0.10.5",
"tar",
"tempfile",
- "toml_edit",
+ "toml_edit 0.19.14",
]
[[package]]
@@ -8926,7 +8576,7 @@ dependencies = [
"sp-keyring",
"sp-runtime",
"sp-timestamp",
- "staging-node-executor",
+ "staging-node-cli",
"substrate-test-client",
"tempfile",
]
@@ -9767,8 +9417,8 @@ dependencies = [
"pallet-assets",
"pallet-balances",
"pallet-contracts-fixtures",
- "pallet-contracts-primitives",
"pallet-contracts-proc-macro",
+ "pallet-contracts-uapi",
"pallet-insecure-randomness-collective-flip",
"pallet-message-queue",
"pallet-proxy",
@@ -9799,11 +9449,21 @@ dependencies = [
name = "pallet-contracts-fixtures"
version = "1.0.0"
dependencies = [
+ "anyhow",
+ "cfg-if",
"frame-system",
+ "parity-wasm",
"sp-runtime",
+ "tempfile",
+ "toml 0.8.8",
+ "twox-hash",
"wat",
]
+[[package]]
+name = "pallet-contracts-fixtures-common"
+version = "1.0.0"
+
[[package]]
name = "pallet-contracts-mock-network"
version = "1.0.0"
@@ -9815,8 +9475,8 @@ dependencies = [
"pallet-balances",
"pallet-contracts",
"pallet-contracts-fixtures",
- "pallet-contracts-primitives",
"pallet-contracts-proc-macro",
+ "pallet-contracts-uapi",
"pallet-insecure-randomness-collective-flip",
"pallet-message-queue",
"pallet-proxy",
@@ -9842,18 +9502,6 @@ dependencies = [
"xcm-simulator",
]
-[[package]]
-name = "pallet-contracts-primitives"
-version = "24.0.0"
-dependencies = [
- "bitflags 1.3.2",
- "parity-scale-codec",
- "scale-info",
- "sp-runtime",
- "sp-std 8.0.0",
- "sp-weights",
-]
-
[[package]]
name = "pallet-contracts-proc-macro"
version = "4.0.0-dev"
@@ -9863,6 +9511,16 @@ dependencies = [
"syn 2.0.38",
]
+[[package]]
+name = "pallet-contracts-uapi"
+version = "4.0.0-dev"
+dependencies = [
+ "bitflags 1.3.2",
+ "parity-scale-codec",
+ "paste",
+ "scale-info",
+]
+
[[package]]
name = "pallet-conviction-voting"
version = "4.0.0-dev"
@@ -10419,6 +10077,7 @@ dependencies = [
"pallet-nfts",
"parity-scale-codec",
"sp-api",
+ "sp-std 8.0.0",
]
[[package]]
@@ -10791,6 +10450,7 @@ dependencies = [
name = "pallet-safe-mode"
version = "4.0.0-dev"
dependencies = [
+ "docify",
"frame-benchmarking",
"frame-support",
"frame-system",
@@ -11194,6 +10854,7 @@ dependencies = [
name = "pallet-tx-pause"
version = "4.0.0-dev"
dependencies = [
+ "docify",
"frame-benchmarking",
"frame-support",
"frame-system",
@@ -11553,9 +11214,9 @@ dependencies = [
[[package]]
name = "parity-scale-codec"
-version = "3.6.4"
+version = "3.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dd8e946cc0cc711189c0b0249fb8b599cbeeab9784d83c415719368bb8d4ac64"
+checksum = "0dec8a8073036902368c2cdc0387e85ff9a37054d7e7c98e592145e0c92cd4fb"
dependencies = [
"arrayvec 0.7.4",
"bitvec",
@@ -11568,9 +11229,9 @@ dependencies = [
[[package]]
name = "parity-scale-codec-derive"
-version = "3.6.4"
+version = "3.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2a296c3079b5fefbc499e1de58dc26c09b1b9a5952d26694ee89f04a43ebbb3e"
+checksum = "312270ee71e1cd70289dacf597cab7b207aa107d2f28191c2ae45b2ece18a260"
dependencies = [
"proc-macro-crate",
"proc-macro2",
@@ -11740,6 +11401,7 @@ dependencies = [
"serde_json",
"sp-core",
"sp-runtime",
+ "westend-emulated-chain",
]
[[package]]
@@ -12443,6 +12105,7 @@ dependencies = [
"polkadot-node-primitives",
"polkadot-node-subsystem",
"polkadot-node-subsystem-test-helpers",
+ "polkadot-node-subsystem-types",
"polkadot-primitives",
"sc-client-api",
"sc-consensus-babe",
@@ -12591,6 +12254,7 @@ dependencies = [
"rand 0.8.5",
"rococo-runtime",
"rusty-fork",
+ "sc-sysinfo",
"slotmap",
"sp-core",
"sp-maybe-compressed-blob",
@@ -12850,7 +12514,9 @@ dependencies = [
"smallvec",
"sp-api",
"sp-authority-discovery",
+ "sp-blockchain",
"sp-consensus-babe",
+ "sp-runtime",
"substrate-prometheus-endpoint",
"thiserror",
]
@@ -12929,17 +12595,12 @@ name = "polkadot-parachain-bin"
version = "1.1.0"
dependencies = [
"assert_cmd",
- "asset-hub-kusama-runtime",
- "asset-hub-polkadot-runtime",
"asset-hub-rococo-runtime",
"asset-hub-westend-runtime",
"async-trait",
- "bridge-hub-kusama-runtime",
- "bridge-hub-polkadot-runtime",
"bridge-hub-rococo-runtime",
"bridge-hub-westend-runtime",
"clap 4.4.6",
- "collectives-polkadot-runtime",
"collectives-westend-runtime",
"color-print",
"contracts-rococo-runtime",
@@ -12956,14 +12617,18 @@ dependencies = [
"cumulus-relay-chain-interface",
"frame-benchmarking",
"frame-benchmarking-cli",
+ "frame-support",
+ "frame-system-rpc-runtime-api",
+ "frame-try-runtime",
"futures",
- "glutton-runtime",
"glutton-westend-runtime",
"hex-literal",
"jsonrpsee",
"log",
"nix 0.26.2",
+ "pallet-transaction-payment",
"pallet-transaction-payment-rpc",
+ "pallet-transaction-payment-rpc-runtime-api",
"parachains-common",
"parity-scale-codec",
"penpal-runtime",
@@ -12995,14 +12660,18 @@ dependencies = [
"sp-blockchain",
"sp-consensus-aura",
"sp-core",
+ "sp-genesis-builder",
+ "sp-inherents",
"sp-io",
"sp-keystore",
"sp-offchain",
"sp-runtime",
"sp-session",
+ "sp-std 8.0.0",
"sp-timestamp",
"sp-tracing 10.0.0",
"sp-transaction-pool",
+ "sp-version",
"staging-xcm",
"substrate-build-script-utils",
"substrate-frame-rpc-system",
@@ -13247,6 +12916,7 @@ dependencies = [
"pallet-transaction-payment-rpc-runtime-api",
"parity-db",
"parity-scale-codec",
+ "parking_lot 0.12.1",
"polkadot-approval-distribution",
"polkadot-availability-bitfield-distribution",
"polkadot-availability-distribution",
@@ -13790,7 +13460,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919"
dependencies = [
"once_cell",
- "toml_edit",
+ "toml_edit 0.19.14",
]
[[package]]
@@ -14253,6 +13923,15 @@ dependencies = [
"bitflags 1.3.2",
]
+[[package]]
+name = "redox_syscall"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa"
+dependencies = [
+ "bitflags 1.3.2",
+]
+
[[package]]
name = "redox_users"
version = "0.4.3"
@@ -15707,6 +15386,7 @@ dependencies = [
"array-bytes 4.2.0",
"arrayvec 0.7.4",
"blake2 0.10.6",
+ "bytes",
"futures",
"futures-timer",
"libp2p-identity",
@@ -15772,6 +15452,7 @@ dependencies = [
"tempfile",
"thiserror",
"tokio",
+ "tokio-stream",
"tokio-test",
"tokio-util",
"unsigned-varint",
@@ -15827,10 +15508,12 @@ name = "sc-network-gossip"
version = "0.10.0-dev"
dependencies = [
"ahash 0.8.3",
+ "async-trait",
"futures",
"futures-timer",
"libp2p",
"log",
+ "parity-scale-codec",
"quickcheck",
"sc-network",
"sc-network-common",
@@ -16117,6 +15800,7 @@ dependencies = [
"sp-blockchain",
"sp-consensus",
"sp-core",
+ "sp-externalities 0.19.0",
"sp-maybe-compressed-blob",
"sp-rpc",
"sp-runtime",
@@ -16350,6 +16034,7 @@ dependencies = [
"lazy_static",
"libc",
"log",
+ "parity-scale-codec",
"parking_lot 0.12.1",
"regex",
"rustc-hash",
@@ -16769,9 +16454,9 @@ dependencies = [
[[package]]
name = "serde_spanned"
-version = "0.6.3"
+version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "96426c9936fd7a0124915f9185ea1d20aa9445cc9821142f0a73bc9207a2e186"
+checksum = "12022b835073e5b11e90a14f86838ceb1c8fb0325b72416845c487ac0fa95e80"
dependencies = [
"serde",
]
@@ -16998,6 +16683,11 @@ dependencies = [
"wide",
]
+[[package]]
+name = "simple-mermaid"
+version = "0.1.0"
+source = "git+https://github.com/kianenigma/simple-mermaid.git?branch=main#e48b187bcfd5cc75111acd9d241f1bd36604344b"
+
[[package]]
name = "simple-mermaid"
version = "0.1.0"
@@ -17851,6 +17541,7 @@ dependencies = [
name = "sp-runtime"
version = "24.0.0"
dependencies = [
+ "docify",
"either",
"hash256-std-hasher",
"impl-trait-for-tuples",
@@ -17861,6 +17552,7 @@ dependencies = [
"scale-info",
"serde",
"serde_json",
+ "simple-mermaid 0.1.0 (git+https://github.com/kianenigma/simple-mermaid.git?branch=main)",
"sp-api",
"sp-application-crypto",
"sp-arithmetic",
@@ -18332,7 +18024,9 @@ dependencies = [
"clap 4.4.6",
"clap_complete",
"criterion 0.4.0",
+ "frame-benchmarking",
"frame-benchmarking-cli",
+ "frame-support",
"frame-system",
"frame-system-rpc-runtime-api",
"futures",
@@ -18342,13 +18036,20 @@ dependencies = [
"nix 0.26.2",
"node-primitives",
"node-rpc",
+ "node-testing",
"pallet-asset-conversion-tx-payment",
"pallet-asset-tx-payment",
"pallet-assets",
"pallet-balances",
+ "pallet-contracts",
+ "pallet-glutton",
"pallet-im-online",
+ "pallet-root-testing",
"pallet-skip-feeless-payment",
+ "pallet-sudo",
"pallet-timestamp",
+ "pallet-transaction-payment",
+ "pallet-treasury",
"parity-scale-codec",
"platforms",
"rand 0.8.5",
@@ -18383,27 +18084,31 @@ dependencies = [
"sc-telemetry",
"sc-transaction-pool",
"sc-transaction-pool-api",
+ "scale-info",
"serde",
"serde_json",
"soketto",
"sp-api",
+ "sp-application-crypto",
"sp-authority-discovery",
"sp-blockchain",
"sp-consensus",
"sp-consensus-babe",
"sp-consensus-grandpa",
"sp-core",
+ "sp-externalities 0.19.0",
"sp-inherents",
"sp-io",
"sp-keyring",
"sp-keystore",
"sp-mixnet",
"sp-runtime",
+ "sp-state-machine",
"sp-statement-store",
"sp-timestamp",
"sp-tracing 10.0.0",
"sp-transaction-storage-proof",
- "staging-node-executor",
+ "sp-trie",
"staging-node-inspect",
"substrate-build-script-utils",
"substrate-cli-test-utils",
@@ -18414,44 +18119,6 @@ dependencies = [
"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",
- "serde_json",
- "sp-application-crypto",
- "sp-consensus-babe",
- "sp-core",
- "sp-externalities 0.19.0",
- "sp-keyring",
- "sp-keystore",
- "sp-runtime",
- "sp-state-machine",
- "sp-statement-store",
- "sp-tracing 10.0.0",
- "sp-trie",
"wat",
]
@@ -18466,7 +18133,9 @@ dependencies = [
"sc-service",
"sp-blockchain",
"sp-core",
+ "sp-io",
"sp-runtime",
+ "sp-statement-store",
"thiserror",
]
@@ -18670,26 +18339,6 @@ dependencies = [
"sc-cli",
]
-[[package]]
-name = "substrate"
-version = "1.0.0"
-dependencies = [
- "frame-support",
- "sc-chain-spec",
- "sc-cli",
- "sc-consensus-aura",
- "sc-consensus-babe",
- "sc-consensus-beefy",
- "sc-consensus-grandpa",
- "sc-consensus-manual-seal",
- "sc-consensus-pow",
- "sc-service",
- "simple-mermaid",
- "sp-runtime",
- "staging-chain-spec-builder",
- "subkey",
-]
-
[[package]]
name = "substrate-bip39"
version = "0.4.4"
@@ -19150,13 +18799,13 @@ checksum = "9d0e916b1148c8e263850e1ebcbd046f333e0683c724876bb0da63ea4373dc8a"
[[package]]
name = "tempfile"
-version = "3.8.0"
+version = "3.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cb94d2f3cc536af71caac6b6fcebf65860b347e7ce0cc9ebe8f70d3e521054ef"
+checksum = "7ef1adac450ad7f4b3c28589471ade84f25f731a7a0fe30d71dfa9f60fd808e5"
dependencies = [
"cfg-if",
"fastrand 2.0.0",
- "redox_syscall 0.3.5",
+ "redox_syscall 0.4.1",
"rustix 0.38.21",
"windows-sys 0.48.0",
]
@@ -19619,14 +19268,26 @@ dependencies = [
"serde",
"serde_spanned",
"toml_datetime",
- "toml_edit",
+ "toml_edit 0.19.14",
+]
+
+[[package]]
+name = "toml"
+version = "0.8.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a1a195ec8c9da26928f773888e0742ca3ca1040c6cd859c919c9f59c1954ab35"
+dependencies = [
+ "serde",
+ "serde_spanned",
+ "toml_datetime",
+ "toml_edit 0.21.0",
]
[[package]]
name = "toml_datetime"
-version = "0.6.3"
+version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b"
+checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1"
dependencies = [
"serde",
]
@@ -19644,6 +19305,19 @@ dependencies = [
"winnow",
]
+[[package]]
+name = "toml_edit"
+version = "0.21.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d34d383cd00a163b4a5b85053df514d45bc330f6de7737edfe0a93311d1eaa03"
+dependencies = [
+ "indexmap 2.0.0",
+ "serde",
+ "serde_spanned",
+ "toml_datetime",
+ "winnow",
+]
+
[[package]]
name = "tower"
version = "0.4.13"
@@ -20004,7 +19678,7 @@ checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675"
dependencies = [
"cfg-if",
"digest 0.10.7",
- "rand 0.7.3",
+ "rand 0.8.5",
"static_assertions",
]
@@ -21492,6 +21166,7 @@ dependencies = [
"frame-support",
"frame-system",
"futures",
+ "pallet-transaction-payment",
"pallet-xcm",
"parity-scale-codec",
"polkadot-test-client",
diff --git a/Cargo.toml b/Cargo.toml
index 57079aa4d03dcc2584bff350a7ed00216a7ac6b2..a295aca819cc2e96a0014d8b6a6f8d47d52fa90b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -8,6 +8,7 @@ license = "GPL-3.0-only"
resolver = "2"
members = [
+ "developer-hub",
"bridges/bin/runtime-common",
"bridges/modules/grandpa",
"bridges/modules/messages",
@@ -22,8 +23,8 @@ members = [
"bridges/primitives/chain-bridge-hub-rococo",
"bridges/primitives/chain-bridge-hub-westend",
"bridges/primitives/chain-kusama",
- "bridges/primitives/chain-polkadot",
"bridges/primitives/chain-polkadot-bulletin",
+ "bridges/primitives/chain-polkadot",
"bridges/primitives/chain-rococo",
"bridges/primitives/chain-westend",
"bridges/primitives/header-chain",
@@ -60,44 +61,39 @@ members = [
"cumulus/parachain-template/pallets/template",
"cumulus/parachain-template/runtime",
"cumulus/parachains/common",
- "cumulus/parachains/integration-tests/emulated/tests/assets/asset-hub-rococo",
- "cumulus/parachains/integration-tests/emulated/tests/assets/asset-hub-westend",
- "cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-rococo",
- "cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-westend",
- "cumulus/parachains/integration-tests/emulated/common",
- "cumulus/parachains/integration-tests/emulated/chains/relays/rococo",
- "cumulus/parachains/integration-tests/emulated/chains/relays/westend",
"cumulus/parachains/integration-tests/emulated/chains/parachains/assets/asset-hub-rococo",
"cumulus/parachains/integration-tests/emulated/chains/parachains/assets/asset-hub-westend",
"cumulus/parachains/integration-tests/emulated/chains/parachains/bridges/bridge-hub-rococo",
"cumulus/parachains/integration-tests/emulated/chains/parachains/bridges/bridge-hub-westend",
+ "cumulus/parachains/integration-tests/emulated/chains/parachains/testing/penpal",
+ "cumulus/parachains/integration-tests/emulated/chains/relays/rococo",
+ "cumulus/parachains/integration-tests/emulated/chains/relays/westend",
+ "cumulus/parachains/integration-tests/emulated/common",
"cumulus/parachains/integration-tests/emulated/networks/rococo-system",
- "cumulus/parachains/integration-tests/emulated/networks/rococo-westend-system",
"cumulus/parachains/integration-tests/emulated/networks/westend-system",
+ "cumulus/parachains/integration-tests/emulated/tests/assets/asset-hub-rococo",
+ "cumulus/parachains/integration-tests/emulated/tests/assets/asset-hub-westend",
+ "cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-rococo",
+ "cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-westend",
"cumulus/parachains/pallets/collective-content",
"cumulus/parachains/pallets/parachain-info",
"cumulus/parachains/pallets/ping",
- "cumulus/parachains/runtimes/assets/asset-hub-kusama",
- "cumulus/parachains/runtimes/assets/asset-hub-polkadot",
"cumulus/parachains/runtimes/assets/asset-hub-rococo",
"cumulus/parachains/runtimes/assets/asset-hub-westend",
"cumulus/parachains/runtimes/assets/common",
"cumulus/parachains/runtimes/assets/test-utils",
- "cumulus/parachains/runtimes/bridge-hubs/bridge-hub-kusama",
- "cumulus/parachains/runtimes/bridge-hubs/bridge-hub-polkadot",
"cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo",
"cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend",
"cumulus/parachains/runtimes/bridge-hubs/test-utils",
- "cumulus/parachains/runtimes/collectives/collectives-polkadot",
"cumulus/parachains/runtimes/collectives/collectives-westend",
"cumulus/parachains/runtimes/contracts/contracts-rococo",
- "cumulus/parachains/runtimes/glutton/glutton-kusama",
"cumulus/parachains/runtimes/glutton/glutton-westend",
"cumulus/parachains/runtimes/starters/seedling",
"cumulus/parachains/runtimes/starters/shell",
"cumulus/parachains/runtimes/test-utils",
"cumulus/parachains/runtimes/testing/penpal",
"cumulus/parachains/runtimes/testing/rococo-parachain",
+ "cumulus/parachains/testnets-common",
"cumulus/polkadot-parachain",
"cumulus/primitives/aura",
"cumulus/primitives/core",
@@ -156,6 +152,7 @@ members = [
"polkadot/node/subsystem",
"polkadot/node/test/client",
"polkadot/node/test/service",
+ "polkadot/node/tracking-allocator",
"polkadot/node/zombienet-backchannel",
"polkadot/parachain",
"polkadot/parachain/test-parachains",
@@ -192,13 +189,11 @@ members = [
"polkadot/xcm/xcm-simulator/fuzzer",
"substrate/bin/minimal/node",
"substrate/bin/minimal/runtime",
- "substrate",
"substrate/bin/node-template/node",
"substrate/bin/node-template/pallets/template",
"substrate/bin/node-template/runtime",
"substrate/bin/node/bench",
"substrate/bin/node/cli",
- "substrate/bin/node/executor",
"substrate/bin/node/inspect",
"substrate/bin/node/primitives",
"substrate/bin/node/rpc",
@@ -288,9 +283,10 @@ members = [
"substrate/frame/collective",
"substrate/frame/contracts",
"substrate/frame/contracts/fixtures",
- "substrate/frame/contracts/primitives",
- "substrate/frame/contracts/proc-macro",
+ "substrate/frame/contracts/fixtures/contracts/common",
+ "substrate/frame/contracts/uapi",
"substrate/frame/contracts/mock-network",
+ "substrate/frame/contracts/proc-macro",
"substrate/frame/conviction-voting",
"substrate/frame/core-fellowship",
"substrate/frame/democracy",
@@ -305,6 +301,7 @@ members = [
"substrate/frame/examples/basic",
"substrate/frame/examples/default-config",
"substrate/frame/examples/dev-mode",
+ "substrate/frame/examples/frame-crate",
"substrate/frame/examples/kitchensink",
"substrate/frame/examples/offchain-worker",
"substrate/frame/examples/split",
@@ -470,6 +467,7 @@ members = [
"substrate/utils/frame/try-runtime/cli",
"substrate/utils/prometheus",
"substrate/utils/wasm-builder",
+ "cumulus/parachains/integration-tests/emulated/networks/rococo-westend-system",
]
default-members = [ "polkadot", "substrate/bin/node/cli" ]
@@ -478,8 +476,7 @@ default-members = [ "polkadot", "substrate/bin/node/cli" ]
panic = "unwind"
opt-level = 3
-# make sure dev builds with backtrace do
-# not slow us down
+# make sure dev builds with backtrace do not slow us down
[profile.dev.package.backtrace]
inherits = "release"
diff --git a/cumulus/README.md b/cumulus/README.md
index 19f9f3f113dd06655c418a4caf6b30a9cad6ee9f..6acbf6dc2ca20f4ac78d5981d7da90444b12e7e2 100644
--- a/cumulus/README.md
+++ b/cumulus/README.md
@@ -142,8 +142,8 @@ zombienet --provider native spawn ./zombienet/examples/small_network.toml
# Clone
git clone https://github.com/paritytech/polkadot-sdk
-# Compile Polkadot
-cargo build --release --bin polkadot
+# Compile Polkadot's required binaries
+cargo build --release -p polkadot
# Generate a raw chain spec
./target/release/polkadot build-spec --chain rococo-local --disable-default-bootnode --raw > rococo-local-cfde.json
@@ -158,11 +158,8 @@ cargo build --release --bin polkadot
#### Launch the Parachain
```bash
-# Clone
-git clone https://github.com/paritytech/polkadot-sdk
-
# Compile
-cargo build --release --bin polkadot-parachain
+cargo build --release -p polkadot-parachain-bin
# Export genesis state
./target/release/polkadot-parachain export-genesis-state > genesis-state
@@ -172,15 +169,15 @@ cargo build --release --bin polkadot-parachain
# Collator1
./target/release/polkadot-parachain --collator --alice --force-authoring \
- --tmp --port 40335 --rpc-port 9946 -- --chain ../polkadot/rococo-local-cfde.json --port 30335
+ --tmp --port 40335 --rpc-port 9946 -- --chain rococo-local-cfde.json --port 30335
# Collator2
./target/release/polkadot-parachain --collator --bob --force-authoring \
- --tmp --port 40336 --rpc-port 9947 -- --chain ../polkadot/rococo-local-cfde.json --port 30336
+ --tmp --port 40336 --rpc-port 9947 -- --chain rococo-local-cfde.json --port 30336
# Parachain Full Node 1
./target/release/polkadot-parachain --tmp --port 40337 --rpc-port 9948 -- \
- --chain ../polkadot/rococo-local-cfde.json --port 30337
+ --chain rococo-local-cfde.json --port 30337
```
#### Register the parachain
diff --git a/cumulus/client/cli/src/lib.rs b/cumulus/client/cli/src/lib.rs
index a2238b73b2b596ae133dfadec43c85b1a4a3e2ed..7e78afe6efb4709dea88e041976990f694ca619b 100644
--- a/cumulus/client/cli/src/lib.rs
+++ b/cumulus/client/cli/src/lib.rs
@@ -215,6 +215,13 @@ impl sc_cli::CliConfiguration for ExportGenesisStateCommand {
fn shared_params(&self) -> &sc_cli::SharedParams {
&self.shared_params
}
+
+ fn base_path(&self) -> sc_cli::Result