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/merge-queue.yml b/.github/workflows/merge-queue.yml
new file mode 100644
index 0000000000000000000000000000000000000000..f3fb7765ca67f9b56aa5afaa0ee63dacba761321
--- /dev/null
+++ b/.github/workflows/merge-queue.yml
@@ -0,0 +1,24 @@
+name: Merge-Queue
+
+on:
+ merge_group:
+
+jobs:
+ trigger-merge-queue-action:
+ runs-on: ubuntu-latest
+ environment: master
+ steps:
+ - name: Generate token
+ id: app_token
+ uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
+ with:
+ app_id: ${{ secrets.REVIEW_APP_ID }}
+ private_key: ${{ secrets.REVIEW_APP_KEY }}
+ - name: Add Merge Queue status check
+ uses: billyjbryant/create-status-check@3e6fa0ac599d10d9588cf9516ca4330ef669b858 # v2
+ with:
+ authToken: ${{ steps.app_token.outputs.token }}
+ context: 'review-bot'
+ description: 'PRs for merge queue gets approved'
+ state: 'success'
+ sha: ${{ github.event.merge_group.head_commit.id }}
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/release-50_publish-docker.yml b/.github/workflows/release-50_publish-docker.yml
index 891f43e605c051a63325deb0638b342a97e2377e..567e996b8fd94a61f92e457435a05c57469179f2 100644
--- a/.github/workflows/release-50_publish-docker.yml
+++ b/.github/workflows/release-50_publish-docker.yml
@@ -268,7 +268,7 @@ jobs:
- name: Build and push
id: docker_build
- uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
+ uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5.1.0
with:
push: true
file: docker/dockerfiles/polkadot/polkadot_injected_debian.Dockerfile
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1dc483004f24685cc0263c5741888dbf2b813be0..aada30f1dda0f5bd450d4242345aac1d4fa7f4a4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -30,8 +30,7 @@ variables:
RUSTY_CACHIER_COMPRESSION_METHOD: zstd
NEXTEST_FAILURE_OUTPUT: immediate-final
NEXTEST_SUCCESS_OUTPUT: final
- ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.3.79"
- DOCKER_IMAGES_VERSION: "${CI_COMMIT_SHA}"
+ DOCKER_IMAGES_VERSION: "${CI_COMMIT_REF_NAME}-${CI_COMMIT_SHORT_SHA}"
default:
retry:
@@ -70,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:
@@ -199,9 +197,6 @@ default:
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
- if: $CI_COMMIT_REF_NAME =~ /^gh-readonly-queue.*$/ # merge queues
-.zombienet-refs:
- extends: .build-refs
-
include:
# check jobs
- .gitlab/pipeline/check.yml
@@ -215,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/check.yml b/.gitlab/pipeline/check.yml
index 4071fdf9758b35b84cb8c49e29da6d033ac4f12b..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:
@@ -152,6 +153,31 @@ check-runtime-migration-asset-hub-westend:
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:
+ - .docker-env
+ - .test-pr-refs
+ - .check-runtime-migration
+ variables:
+ NETWORK: "asset-hub-rococo"
+ PACKAGE: "asset-hub-rococo-runtime"
+ WASM: "asset_hub_rococo_runtime.compact.compressed.wasm"
+ URI: "wss://rococo-asset-hub-rpc.polkadot.io:443"
+
+# Check runtime migrations for Parity managed bridge hub chains
+check-runtime-migration-bridge-hub-westend:
+ stage: check
+ extends:
+ - .docker-env
+ - .test-pr-refs
+ - .check-runtime-migration
+ variables:
+ NETWORK: "bridge-hub-westend"
+ PACKAGE: "bridge-hub-westend-runtime"
+ WASM: "bridge_hub_westend_runtime.compact.compressed.wasm"
+ URI: "wss://westend-bridge-hub-rpc.polkadot.io:443"
+
check-runtime-migration-bridge-hub-rococo:
stage: check
extends:
@@ -189,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 f2308c334e0cd17451fa7a2702e42bc9556bc4ff..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..190249d2d0f961740f1fc04149db740b89b00845 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
@@ -439,7 +439,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 +462,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 +488,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 +522,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 64210d6a00ab5b83b6b018ca3e0c27d827f74de1..558cc549cb08e62fdf2723e601e45f67306f8fe6 100644
--- a/.gitlab/pipeline/zombienet.yml
+++ b/.gitlab/pipeline/zombienet.yml
@@ -1,3 +1,8 @@
+.zombienet-refs:
+ extends: .build-refs
+ variables:
+ ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.3.83"
+
include:
# substrate tests
- .gitlab/pipeline/zombienet/substrate.yml
diff --git a/.gitlab/pipeline/zombienet/cumulus.yml b/.gitlab/pipeline/zombienet/cumulus.yml
index c8a1df004e34146ec361ad82748a3d1a232e5b21..409c0aba68e7546b896d35ebd01bb26bc4fec992 100644
--- a/.gitlab/pipeline/zombienet/cumulus.yml
+++ b/.gitlab/pipeline/zombienet/cumulus.yml
@@ -4,7 +4,7 @@
.zombienet-before-script:
before_script:
# Exit if the job is not merge queue
- - if [[ $CI_COMMIT_REF_NAME != *"gh-readonly-queue"* ]]; then echo "I will run only in a merge queue"; exit 0; fi
+ # - if [[ $CI_COMMIT_REF_NAME != *"gh-readonly-queue"* ]]; then echo "I will run only in a merge queue"; exit 0; fi
- echo "Zombie-net Tests Config"
- echo "${ZOMBIENET_IMAGE}"
- echo "${POLKADOT_IMAGE}"
@@ -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 cc96055729812a494a169bbf24d0df4a861fee97..d1f3a201c80a0c6edc19870b727de452149d6f79 100644
--- a/.gitlab/pipeline/zombienet/polkadot.yml
+++ b/.gitlab/pipeline/zombienet/polkadot.yml
@@ -5,7 +5,7 @@
.zombienet-polkadot-common:
before_script:
# Exit if the job is not merge queue
- - if [[ $CI_COMMIT_REF_NAME != *"gh-readonly-queue"* ]]; then echo "I will run only in a merge queue"; exit 0; fi
+ # - if [[ $CI_COMMIT_REF_NAME != *"gh-readonly-queue"* ]]; then echo "I will run only in a merge queue"; exit 0; fi
- export BUILD_RELEASE_VERSION="$(cat ./artifacts/BUILD_RELEASE_VERSION)" # from build-linux-stable job
- export DEBUG=zombie,zombie::network-node
- export ZOMBIENET_INTEGRATION_TEST_IMAGE="${POLKADOT_IMAGE}":${PIPELINE_IMAGE_TAG}
@@ -115,12 +115,28 @@ 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
before_script:
# Exit if the job is not merge queue
- - if [[ $CI_COMMIT_REF_NAME != *"gh-readonly-queue"* ]]; then echo "I will run only in a merge queue"; exit 0; fi
+ # - if [[ $CI_COMMIT_REF_NAME != *"gh-readonly-queue"* ]]; then echo "I will run only in a merge queue"; exit 0; fi
- export ZOMBIENET_INTEGRATION_TEST_IMAGE="${POLKADOT_IMAGE}":${PIPELINE_IMAGE_TAG}
- export COL_IMAGE="${COLANDER_IMAGE}":${PIPELINE_IMAGE_TAG}
- echo "Zombienet Tests Config"
@@ -139,7 +155,7 @@ zombienet-polkadot-smoke-0002-parachains-parachains-upgrade-smoke:
- .zombienet-polkadot-common
before_script:
# Exit if the job is not merge queue
- - if [[ $CI_COMMIT_REF_NAME != *"gh-readonly-queue"* ]]; then echo "I will run only in a merge queue"; exit 0; fi
+ # - if [[ $CI_COMMIT_REF_NAME != *"gh-readonly-queue"* ]]; then echo "I will run only in a merge queue"; exit 0; fi
- export ZOMBIENET_INTEGRATION_TEST_IMAGE="${POLKADOT_IMAGE}":${PIPELINE_IMAGE_TAG}
- export CUMULUS_IMAGE="docker.io/paritypr/polkadot-parachain-debug:${DOCKER_IMAGES_VERSION}"
- echo "Zombienet Tests Config"
@@ -183,7 +199,7 @@ zombienet-polkadot-misc-0002-upgrade-node:
artifacts: true
before_script:
# Exit if the job is not merge queue
- - if [[ $CI_COMMIT_REF_NAME != *"gh-readonly-queue"* ]]; then echo "I will run only in a merge queue"; exit 0; fi
+ # - if [[ $CI_COMMIT_REF_NAME != *"gh-readonly-queue"* ]]; then echo "I will run only in a merge queue"; exit 0; fi
- export ZOMBIENET_INTEGRATION_TEST_IMAGE="docker.io/parity/polkadot:latest"
- echo "Overrided poladot image ${ZOMBIENET_INTEGRATION_TEST_IMAGE}"
- export COL_IMAGE="${COLANDER_IMAGE}":${PIPELINE_IMAGE_TAG}
diff --git a/.gitlab/pipeline/zombienet/substrate.yml b/.gitlab/pipeline/zombienet/substrate.yml
index e627575a31ad20536d6b3c07ec333fbadea3898d..b687576267de5b40bab9fb1f544bb0afbb1959a0 100644
--- a/.gitlab/pipeline/zombienet/substrate.yml
+++ b/.gitlab/pipeline/zombienet/substrate.yml
@@ -5,7 +5,7 @@
.zombienet-substrate-common:
before_script:
# Exit if the job is not merge queue
- - if [[ $CI_COMMIT_REF_NAME != *"gh-readonly-queue"* ]]; then echo "I will run only in a merge queue"; exit 0; fi
+ # - if [[ $CI_COMMIT_REF_NAME != *"gh-readonly-queue"* ]]; then echo "I will run only in a merge queue"; exit 0; fi
- echo "Zombienet Tests Config"
- echo "${ZOMBIENET_IMAGE}"
- echo "${GH_DIR}"
@@ -40,14 +40,13 @@
tags:
- zombienet-polkadot-integration-test
-# Skip this one until PolkadotJS includes `SkipCheckIfFeeless` extension
-# zombienet-substrate-0000-block-building:
-# extends:
-# - .zombienet-substrate-common
-# script:
-# - /home/nonroot/zombie-net/scripts/ci/run-test-local-env-manager.sh
-# --local-dir="${LOCAL_DIR}/0000-block-building"
-# --test="block-building.zndsl"
+zombienet-substrate-0000-block-building:
+ extends:
+ - .zombienet-substrate-common
+ script:
+ - /home/nonroot/zombie-net/scripts/ci/run-test-local-env-manager.sh
+ --local-dir="${LOCAL_DIR}/0000-block-building"
+ --test="block-building.zndsl"
zombienet-substrate-0001-basic-warp-sync:
extends:
diff --git a/Cargo.lock b/Cargo.lock
index df93ed9e0fd0a28ce98b69488fbd3edd222fa063..088c4e0acddad480cb4d2e5a52d700710a55500a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -544,7 +544,7 @@ dependencies = [
[[package]]
name = "ark-secret-scalar"
version = "0.0.2"
-source = "git+https://github.com/w3f/ring-vrf?rev=cbc342e#cbc342e95d3cbcd3c5ba8d45af7200eb58e63502"
+source = "git+https://github.com/w3f/ring-vrf?rev=3ddc205#3ddc2051066c4b3f0eadd0ba5700df12500d9754"
dependencies = [
"ark-ec",
"ark-ff",
@@ -593,7 +593,7 @@ dependencies = [
[[package]]
name = "ark-transcript"
version = "0.0.2"
-source = "git+https://github.com/w3f/ring-vrf?rev=cbc342e#cbc342e95d3cbcd3c5ba8d45af7200eb58e63502"
+source = "git+https://github.com/w3f/ring-vrf?rev=3ddc205#3ddc2051066c4b3f0eadd0ba5700df12500d9754"
dependencies = [
"ark-ff",
"ark-serialize",
@@ -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",
@@ -1369,8 +1224,8 @@ dependencies = [
[[package]]
name = "bandersnatch_vrfs"
-version = "0.0.3"
-source = "git+https://github.com/w3f/ring-vrf?rev=cbc342e#cbc342e95d3cbcd3c5ba8d45af7200eb58e63502"
+version = "0.0.4"
+source = "git+https://github.com/w3f/ring-vrf?rev=3ddc205#3ddc2051066c4b3f0eadd0ba5700df12500d9754"
dependencies = [
"ark-bls12-381",
"ark-ec",
@@ -1585,16 +1440,15 @@ dependencies = [
[[package]]
name = "blake3"
-version = "1.4.1"
+version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "199c42ab6972d92c9f8995f086273d25c42fc0f7b2a1fcefba465c1352d25ba5"
+checksum = "0231f06152bf547e9c2b5194f247cd97aacf6dcd8b15d8e5ec0663f64580da87"
dependencies = [
"arrayref",
"arrayvec 0.7.4",
"cc",
"cfg-if",
"constant_time_eq 0.3.0",
- "digest 0.10.7",
]
[[package]]
@@ -1967,140 +1821,12 @@ dependencies = [
[[package]]
name = "bp-xcm-bridge-hub-router"
-version = "0.1.0"
-dependencies = [
- "parity-scale-codec",
- "scale-info",
- "sp-core",
- "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",
+version = "0.1.0"
+dependencies = [
+ "parity-scale-codec",
+ "scale-info",
+ "sp-core",
+ "sp-runtime",
]
[[package]]
@@ -2159,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",
@@ -2323,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",
@@ -2865,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",
@@ -3065,7 +2716,7 @@ dependencies = [
[[package]]
name = "common"
version = "0.1.0"
-source = "git+https://github.com/w3f/ring-proof#edd1e90b847e560bf60fc2e8712235ccfa11a9a9"
+source = "git+https://github.com/burdges/ring-proof?branch=patch-1#05a756076cb20f981a52afea3a620168de49f95f"
dependencies = [
"ark-ec",
"ark-ff",
@@ -3336,6 +2987,7 @@ dependencies = [
"sp-block-builder",
"sp-consensus-aura",
"sp-core",
+ "sp-genesis-builder",
"sp-inherents",
"sp-offchain",
"sp-runtime",
@@ -4338,11 +3990,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",
@@ -4350,16 +4004,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",
]
@@ -4393,6 +4050,7 @@ dependencies = [
"sp-runtime",
"sp-state-machine",
"sp-storage 13.0.0",
+ "sp-version",
"thiserror",
"tokio",
"tokio-util",
@@ -4973,7 +4631,7 @@ checksum = "86e3bdc80eee6e16b2b6b0f87fbc98c04bee3455e35174c0de1a125d0688c632"
[[package]]
name = "dleq_vrf"
version = "0.0.2"
-source = "git+https://github.com/w3f/ring-vrf?rev=cbc342e#cbc342e95d3cbcd3c5ba8d45af7200eb58e63502"
+source = "git+https://github.com/w3f/ring-vrf?rev=3ddc205#3ddc2051066c4b3f0eadd0ba5700df12500d9754"
dependencies = [
"ark-ec",
"ark-ff",
@@ -5501,11 +5159,12 @@ dependencies = [
[[package]]
name = "fdlimit"
-version = "0.2.1"
+version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2c4c9e43643f5a3be4ca5b67d26b98031ff9db6806c3440ae32e02e3ceac3f1b"
+checksum = "e182f7dbc2ef73d9ef67351c5fbbea084729c48362d3ce9dd44c28e32e277fe5"
dependencies = [
"libc",
+ "thiserror",
]
[[package]]
@@ -5547,7 +5206,7 @@ dependencies = [
[[package]]
name = "fflonk"
version = "0.1.0"
-source = "git+https://github.com/w3f/fflonk#26a5045b24e169cffc1f9328ca83d71061145c40"
+source = "git+https://github.com/w3f/fflonk#1beb0585e1c8488956fac7f05da061f9b41e8948"
dependencies = [
"ark-ec",
"ark-ff",
@@ -6063,6 +5722,7 @@ version = "4.0.0-dev"
dependencies = [
"cfg-if",
"criterion 0.4.0",
+ "docify",
"frame-support",
"log",
"parity-scale-codec",
@@ -6404,51 +6064,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"
@@ -7566,6 +7181,17 @@ dependencies = [
"rle-decode-fast",
]
+[[package]]
+name = "libfuzzer-sys"
+version = "0.4.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a96cfd5557eb82f2b83fed4955246c988d331975a002961b07c81584d107e7f7"
+dependencies = [
+ "arbitrary",
+ "cc",
+ "once_cell",
+]
+
[[package]]
name = "libloading"
version = "0.7.4"
@@ -8340,9 +7966,9 @@ dependencies = [
[[package]]
name = "memchr"
-version = "2.5.0"
+version = "2.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
+checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167"
[[package]]
name = "memfd"
@@ -9073,7 +8699,7 @@ dependencies = [
"sp-keyring",
"sp-runtime",
"sp-timestamp",
- "staging-node-executor",
+ "staging-node-cli",
"substrate-test-client",
"tempfile",
]
@@ -10566,6 +10192,7 @@ dependencies = [
"pallet-nfts",
"parity-scale-codec",
"sp-api",
+ "sp-std 8.0.0",
]
[[package]]
@@ -10938,6 +10565,7 @@ dependencies = [
name = "pallet-safe-mode"
version = "4.0.0-dev"
dependencies = [
+ "docify",
"frame-benchmarking",
"frame-support",
"frame-system",
@@ -11341,6 +10969,7 @@ dependencies = [
name = "pallet-tx-pause"
version = "4.0.0-dev"
dependencies = [
+ "docify",
"frame-benchmarking",
"frame-support",
"frame-system",
@@ -11887,6 +11516,7 @@ dependencies = [
"serde_json",
"sp-core",
"sp-runtime",
+ "westend-emulated-chain",
]
[[package]]
@@ -12590,6 +12220,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",
@@ -12714,6 +12345,7 @@ version = "1.0.0"
dependencies = [
"always-assert",
"assert_matches",
+ "blake3",
"cfg-if",
"criterion 0.4.0",
"futures",
@@ -12737,6 +12369,7 @@ dependencies = [
"rand 0.8.5",
"rococo-runtime",
"rusty-fork",
+ "sc-sysinfo",
"slotmap",
"sp-core",
"sp-maybe-compressed-blob",
@@ -12792,6 +12425,7 @@ dependencies = [
"sp-externalities 0.19.0",
"sp-io",
"sp-tracing 10.0.0",
+ "substrate-build-script-utils",
"tempfile",
"thiserror",
"tracing-gum",
@@ -12816,6 +12450,7 @@ dependencies = [
name = "polkadot-node-core-pvf-prepare-worker"
version = "1.0.0"
dependencies = [
+ "blake3",
"cfg-if",
"criterion 0.4.0",
"libc",
@@ -12994,7 +12629,9 @@ dependencies = [
"smallvec",
"sp-api",
"sp-authority-discovery",
+ "sp-blockchain",
"sp-consensus-babe",
+ "sp-runtime",
"substrate-prometheus-endpoint",
"thiserror",
]
@@ -13073,17 +12710,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",
@@ -13102,14 +12734,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",
@@ -13141,14 +12777,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",
@@ -13393,6 +13033,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",
@@ -14457,14 +14098,14 @@ dependencies = [
[[package]]
name = "regex"
-version = "1.9.3"
+version = "1.10.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "81bc1d4caf89fac26a70747fe603c130093b53c773888797a6329091246d651a"
+checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343"
dependencies = [
"aho-corasick",
"memchr",
- "regex-automata 0.3.6",
- "regex-syntax 0.7.4",
+ "regex-automata 0.4.3",
+ "regex-syntax 0.8.2",
]
[[package]]
@@ -14481,10 +14122,16 @@ name = "regex-automata"
version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fed1ceff11a1dddaee50c9dc8e4938bd106e9d89ae372f192311e7da498e3b69"
+
+[[package]]
+name = "regex-automata"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f"
dependencies = [
"aho-corasick",
"memchr",
- "regex-syntax 0.7.4",
+ "regex-syntax 0.8.2",
]
[[package]]
@@ -14495,9 +14142,9 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1"
[[package]]
name = "regex-syntax"
-version = "0.7.4"
+version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2"
+checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f"
[[package]]
name = "remote-ext-tests-bags-list"
@@ -14587,7 +14234,7 @@ dependencies = [
[[package]]
name = "ring"
version = "0.1.0"
-source = "git+https://github.com/w3f/ring-proof#edd1e90b847e560bf60fc2e8712235ccfa11a9a9"
+source = "git+https://github.com/burdges/ring-proof?branch=patch-1#05a756076cb20f981a52afea3a620168de49f95f"
dependencies = [
"ark-ec",
"ark-ff",
@@ -14670,6 +14317,7 @@ dependencies = [
"cumulus-pallet-xcm",
"cumulus-pallet-xcmp-queue",
"cumulus-ping",
+ "cumulus-primitives-aura",
"cumulus-primitives-core",
"cumulus-primitives-utility",
"frame-benchmarking",
@@ -15848,6 +15496,7 @@ dependencies = [
"array-bytes 4.2.0",
"arrayvec 0.7.4",
"blake2 0.10.6",
+ "bytes",
"futures",
"futures-timer",
"libp2p-identity",
@@ -15913,6 +15562,7 @@ dependencies = [
"tempfile",
"thiserror",
"tokio",
+ "tokio-stream",
"tokio-test",
"tokio-util",
"unsigned-varint",
@@ -15968,10 +15618,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",
@@ -16258,6 +15910,7 @@ dependencies = [
"sp-blockchain",
"sp-consensus",
"sp-core",
+ "sp-externalities 0.19.0",
"sp-maybe-compressed-blob",
"sp-rpc",
"sp-runtime",
@@ -16491,6 +16144,7 @@ dependencies = [
"lazy_static",
"libc",
"log",
+ "parity-scale-codec",
"parking_lot 0.12.1",
"regex",
"rustc-hash",
@@ -16746,18 +16400,18 @@ dependencies = [
[[package]]
name = "secp256k1"
-version = "0.24.3"
+version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6b1629c9c557ef9b293568b338dddfc8208c98a18c59d722a9d53f859d9c9b62"
+checksum = "2acea373acb8c21ecb5a23741452acd2593ed44ee3d343e72baaa143bc89d0d5"
dependencies = [
"secp256k1-sys",
]
[[package]]
name = "secp256k1-sys"
-version = "0.6.1"
+version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "83080e2c2fc1006e625be82e5d1eb6a43b7fd9578b617fcc55814daf286bba4b"
+checksum = "09e67c467c38fd24bd5499dc9a18183b31575c12ee549197e3e20d57aa4fe3b7"
dependencies = [
"cc",
]
@@ -17697,6 +17351,16 @@ dependencies = [
"zeroize",
]
+[[package]]
+name = "sp-core-fuzz"
+version = "0.0.0"
+dependencies = [
+ "lazy_static",
+ "libfuzzer-sys",
+ "regex",
+ "sp-core",
+]
+
[[package]]
name = "sp-core-hashing"
version = "9.0.0"
@@ -17741,7 +17405,7 @@ dependencies = [
[[package]]
name = "sp-crypto-ec-utils"
version = "0.4.1"
-source = "git+https://github.com/paritytech/polkadot-sdk#fe9435db2fda7c9e2f4e29521564c72cac38f59b"
+source = "git+https://github.com/paritytech/polkadot-sdk#82912acb33a9030c0ef3bf590a34fca09b72dc5f"
dependencies = [
"ark-bls12-377",
"ark-bls12-377-ext",
@@ -17779,7 +17443,7 @@ dependencies = [
[[package]]
name = "sp-debug-derive"
version = "8.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk#fe9435db2fda7c9e2f4e29521564c72cac38f59b"
+source = "git+https://github.com/paritytech/polkadot-sdk#82912acb33a9030c0ef3bf590a34fca09b72dc5f"
dependencies = [
"proc-macro2",
"quote",
@@ -17799,7 +17463,7 @@ dependencies = [
[[package]]
name = "sp-externalities"
version = "0.19.0"
-source = "git+https://github.com/paritytech/polkadot-sdk#fe9435db2fda7c9e2f4e29521564c72cac38f59b"
+source = "git+https://github.com/paritytech/polkadot-sdk#82912acb33a9030c0ef3bf590a34fca09b72dc5f"
dependencies = [
"environmental",
"parity-scale-codec",
@@ -18031,7 +17695,7 @@ dependencies = [
[[package]]
name = "sp-runtime-interface"
version = "17.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk#fe9435db2fda7c9e2f4e29521564c72cac38f59b"
+source = "git+https://github.com/paritytech/polkadot-sdk#82912acb33a9030c0ef3bf590a34fca09b72dc5f"
dependencies = [
"bytes",
"impl-trait-for-tuples",
@@ -18060,7 +17724,7 @@ dependencies = [
[[package]]
name = "sp-runtime-interface-proc-macro"
version = "11.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk#fe9435db2fda7c9e2f4e29521564c72cac38f59b"
+source = "git+https://github.com/paritytech/polkadot-sdk#82912acb33a9030c0ef3bf590a34fca09b72dc5f"
dependencies = [
"Inflector",
"proc-macro-crate",
@@ -18188,7 +17852,7 @@ version = "8.0.0"
[[package]]
name = "sp-std"
version = "8.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk#fe9435db2fda7c9e2f4e29521564c72cac38f59b"
+source = "git+https://github.com/paritytech/polkadot-sdk#82912acb33a9030c0ef3bf590a34fca09b72dc5f"
[[package]]
name = "sp-storage"
@@ -18205,7 +17869,7 @@ dependencies = [
[[package]]
name = "sp-storage"
version = "13.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk#fe9435db2fda7c9e2f4e29521564c72cac38f59b"
+source = "git+https://github.com/paritytech/polkadot-sdk#82912acb33a9030c0ef3bf590a34fca09b72dc5f"
dependencies = [
"impl-serde",
"parity-scale-codec",
@@ -18254,7 +17918,7 @@ dependencies = [
[[package]]
name = "sp-tracing"
version = "10.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk#fe9435db2fda7c9e2f4e29521564c72cac38f59b"
+source = "git+https://github.com/paritytech/polkadot-sdk#82912acb33a9030c0ef3bf590a34fca09b72dc5f"
dependencies = [
"parity-scale-codec",
"sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk)",
@@ -18355,7 +18019,7 @@ dependencies = [
[[package]]
name = "sp-wasm-interface"
version = "14.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk#fe9435db2fda7c9e2f4e29521564c72cac38f59b"
+source = "git+https://github.com/paritytech/polkadot-sdk#82912acb33a9030c0ef3bf590a34fca09b72dc5f"
dependencies = [
"anyhow",
"impl-trait-for-tuples",
@@ -18447,18 +18111,11 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
name = "staging-chain-spec-builder"
version = "2.0.0"
dependencies = [
- "ansi_term",
"clap 4.4.6",
- "kitchensink-runtime",
"log",
- "rand 0.8.5",
"sc-chain-spec",
- "sc-keystore",
"serde_json",
- "sp-core",
- "sp-keystore",
"sp-tracing 10.0.0",
- "staging-node-cli",
]
[[package]]
@@ -18470,7 +18127,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",
@@ -18480,13 +18139,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",
@@ -18521,27 +18187,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",
@@ -18552,44 +18222,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",
]
@@ -18604,7 +18236,9 @@ dependencies = [
"sc-service",
"sp-blockchain",
"sp-core",
+ "sp-io",
"sp-runtime",
+ "sp-statement-store",
"thiserror",
]
@@ -19456,9 +19090,9 @@ checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d"
[[package]]
name = "thiserror"
-version = "1.0.48"
+version = "1.0.50"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9d6d7a740b8a666a7e828dd00da9c0dc290dff53154ea77ac109281de90589b7"
+checksum = "f9a7210f5c9a7156bb50aa36aed4c95afb51df0df00713949448cf9e97d382d2"
dependencies = [
"thiserror-impl",
]
@@ -19485,9 +19119,9 @@ dependencies = [
[[package]]
name = "thiserror-impl"
-version = "1.0.48"
+version = "1.0.50"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "49922ecae66cc8a249b77e68d1d0623c1b2c514f0060c27cdc68bd62a1219d35"
+checksum = "266b2e40bc00e5a6c09c3584011e08b06f123c00362c92b975ba9843aaaa14b8"
dependencies = [
"proc-macro2",
"quote",
@@ -21630,6 +21264,7 @@ dependencies = [
"frame-support",
"frame-system",
"futures",
+ "pallet-transaction-payment",
"pallet-xcm",
"parity-scale-codec",
"polkadot-test-client",
@@ -21651,6 +21286,7 @@ dependencies = [
"Inflector",
"proc-macro2",
"quote",
+ "staging-xcm",
"syn 2.0.38",
"trybuild",
]
diff --git a/Cargo.toml b/Cargo.toml
index 7bdd169aa9afd676afc948e5a8260f8d6aa3c6b3..eca5b8eecf04d3376478064cd34453561e2719dd 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -22,8 +22,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",
@@ -73,35 +73,37 @@ members = [
"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/coretime/coretime-rococo",
"cumulus/parachains/runtimes/coretime/coretime-westend",
"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",
@@ -160,6 +162,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",
@@ -194,15 +197,14 @@ members = [
"polkadot/xcm/xcm-simulator",
"polkadot/xcm/xcm-simulator/example",
"polkadot/xcm/xcm-simulator/fuzzer",
+ "substrate",
"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",
@@ -292,9 +294,9 @@ members = [
"substrate/frame/collective",
"substrate/frame/contracts",
"substrate/frame/contracts/fixtures",
+ "substrate/frame/contracts/mock-network",
"substrate/frame/contracts/primitives",
"substrate/frame/contracts/proc-macro",
- "substrate/frame/contracts/mock-network",
"substrate/frame/conviction-voting",
"substrate/frame/core-fellowship",
"substrate/frame/democracy",
@@ -309,6 +311,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",
@@ -409,6 +412,7 @@ members = [
"substrate/primitives/consensus/sassafras",
"substrate/primitives/consensus/slots",
"substrate/primitives/core",
+ "substrate/primitives/core/fuzz",
"substrate/primitives/core/hashing",
"substrate/primitives/core/hashing/proc-macro",
"substrate/primitives/crypto/ec-utils",
@@ -473,6 +477,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" ]
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 1b18ed064373fdd58224b70da022a969ad641eb6..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