diff --git a/.github/pr-custom-review.yml b/.github/pr-custom-review.yml
deleted file mode 100644
index ac13d862a4ac2..0000000000000
--- 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 b053ead37fb75..c522988f02e68 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 db0175c6855bd..8e0a5ba04b44e 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 c0d2b88938134..db0863888b830 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 345d24c756674..0bd5593b54f2f 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 59347fad6d6fc..b338f7a3f6254 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 0000000000000..f3fb7765ca67f
--- /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 4e0809cbfdc37..0000000000000
--- 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 891f43e605c05..567e996b8fd94 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/.github/workflows/review-bot.yml b/.github/workflows/review-bot.yml
index 5970989cde093..0a7e80f007c5b 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 1dc483004f246..aada30f1dda0f 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/build.yml b/.gitlab/pipeline/build.yml
index 5c13045706c40..d6918173d493e 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 4071fdf9758b3..3ef3865aa43b3 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 f2308c334e0cd..92ebc9eea1faa 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 0218d3fdac062..97bce4799270c 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 4ed3ec19c48a7..265b378ef5bdb 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 64210d6a00ab5..558cc549cb08e 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 c8a1df004e341..409c0aba68e75 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 cc96055729812..d1f3a201c80a0 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 e627575a31ad2..b687576267de5 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 a171500577bef..427c05a20176b 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]]
@@ -1975,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"
@@ -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",
@@ -2773,23 +2497,23 @@ dependencies = [
[[package]]
name = "clap"
-version = "4.4.6"
+version = "4.4.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d04704f56c2cde07f43e8e2c154b43f216dc5c92fc98ada720177362f953b956"
+checksum = "41fffed7514f420abec6d183b1d3acfd9099c79c3a10a06ade4f8203f1411272"
dependencies = [
"clap_builder",
- "clap_derive 4.4.2",
+ "clap_derive 4.4.7",
]
[[package]]
name = "clap_builder"
-version = "4.4.6"
+version = "4.4.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0e231faeaca65ebd1ea3c737966bf858971cd38c3849107aa3ea7de90a804e45"
+checksum = "63361bae7eef3771745f02d8d892bec2fee5f6e34af316ba556e7f97a7069ff1"
dependencies = [
"anstream",
"anstyle",
- "clap_lex 0.5.1",
+ "clap_lex 0.6.0",
"strsim",
"terminal_size",
]
@@ -2800,7 +2524,7 @@ version = "4.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "586a385f7ef2f8b4d86bddaa0c094794e7ccbfe5ffef1f434fe928143fc783a5"
dependencies = [
- "clap 4.4.6",
+ "clap 4.4.10",
]
[[package]]
@@ -2818,9 +2542,9 @@ dependencies = [
[[package]]
name = "clap_derive"
-version = "4.4.2"
+version = "4.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0862016ff20d69b84ef8247369fabf5c008a7417002411897d40ee1f4532b873"
+checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442"
dependencies = [
"heck",
"proc-macro2",
@@ -2839,9 +2563,9 @@ dependencies = [
[[package]]
name = "clap_lex"
-version = "0.5.1"
+version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cd7cc57abe963c6d3b9d8be5b06ba7c8957a930305ca90304f24ef040aa6f961"
+checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1"
[[package]]
name = "coarsetime"
@@ -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",
@@ -3183,7 +2834,6 @@ dependencies = [
"pallet-balances",
"pallet-collator-selection",
"pallet-contracts",
- "pallet-contracts-primitives",
"pallet-insecure-randomness-collective-flip",
"pallet-message-queue",
"pallet-multisig",
@@ -3449,7 +3099,7 @@ dependencies = [
"anes",
"cast",
"ciborium",
- "clap 4.4.6",
+ "clap 4.4.10",
"criterion-plot",
"futures",
"is-terminal",
@@ -3624,7 +3274,7 @@ dependencies = [
name = "cumulus-client-cli"
version = "0.1.0"
dependencies = [
- "clap 4.4.6",
+ "clap 4.4.10",
"parity-scale-codec",
"sc-chain-spec",
"sc-cli",
@@ -3845,6 +3495,7 @@ dependencies = [
"cumulus-client-network",
"cumulus-client-pov-recovery",
"cumulus-primitives-core",
+ "cumulus-primitives-proof-size-hostfunction",
"cumulus-relay-chain-inprocess-interface",
"cumulus-relay-chain-interface",
"cumulus-relay-chain-minimal-node",
@@ -3914,6 +3565,7 @@ dependencies = [
"cumulus-pallet-parachain-system-proc-macro",
"cumulus-primitives-core",
"cumulus-primitives-parachain-inherent",
+ "cumulus-primitives-proof-size-hostfunction",
"cumulus-test-client",
"cumulus-test-relay-sproof-builder",
"environmental",
@@ -3945,6 +3597,7 @@ dependencies = [
"sp-version",
"staging-xcm",
"trie-db",
+ "trie-standardmap",
]
[[package]]
@@ -4093,6 +3746,18 @@ dependencies = [
"tracing",
]
+[[package]]
+name = "cumulus-primitives-proof-size-hostfunction"
+version = "0.1.0"
+dependencies = [
+ "sp-core",
+ "sp-externalities 0.19.0",
+ "sp-io",
+ "sp-runtime-interface 17.0.0",
+ "sp-state-machine",
+ "sp-trie",
+]
+
[[package]]
name = "cumulus-primitives-timestamp"
version = "0.1.0"
@@ -4179,11 +3844,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",
@@ -4191,16 +3858,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",
]
@@ -4234,6 +3904,7 @@ dependencies = [
"sp-runtime",
"sp-state-machine",
"sp-storage 13.0.0",
+ "sp-version",
"thiserror",
"tokio",
"tokio-util",
@@ -4247,6 +3918,7 @@ version = "0.1.0"
dependencies = [
"cumulus-primitives-core",
"cumulus-primitives-parachain-inherent",
+ "cumulus-primitives-proof-size-hostfunction",
"cumulus-test-relay-sproof-builder",
"cumulus-test-runtime",
"cumulus-test-service",
@@ -4323,7 +3995,7 @@ name = "cumulus-test-service"
version = "0.1.0"
dependencies = [
"async-trait",
- "clap 4.4.6",
+ "clap 4.4.10",
"criterion 0.5.1",
"cumulus-client-cli",
"cumulus-client-consensus-common",
@@ -4710,6 +4382,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"
@@ -4814,7 +4525,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",
@@ -5133,6 +4844,16 @@ dependencies = [
"syn 2.0.38",
]
+[[package]]
+name = "env_logger"
+version = "0.8.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3"
+dependencies = [
+ "log",
+ "regex",
+]
+
[[package]]
name = "env_logger"
version = "0.9.3"
@@ -5342,11 +5063,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]]
@@ -5388,7 +5110,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",
@@ -5544,7 +5266,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",
@@ -5595,7 +5317,7 @@ dependencies = [
"Inflector",
"array-bytes 6.1.0",
"chrono",
- "clap 4.4.6",
+ "clap 4.4.10",
"comfy-table",
"frame-benchmarking",
"frame-support",
@@ -5687,7 +5409,7 @@ dependencies = [
name = "frame-election-solution-type-fuzzer"
version = "2.0.0-alpha.5"
dependencies = [
- "clap 4.4.6",
+ "clap 4.4.10",
"frame-election-provider-solution-type",
"frame-election-provider-support",
"frame-support",
@@ -5904,6 +5626,7 @@ version = "4.0.0-dev"
dependencies = [
"cfg-if",
"criterion 0.4.0",
+ "docify",
"frame-support",
"log",
"parity-scale-codec",
@@ -5973,9 +5696,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",
@@ -6245,51 +5968,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"
@@ -7214,7 +6892,6 @@ dependencies = [
"pallet-child-bounties",
"pallet-collective",
"pallet-contracts",
- "pallet-contracts-primitives",
"pallet-conviction-voting",
"pallet-core-fellowship",
"pallet-democracy",
@@ -7407,6 +7084,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"
@@ -8181,9 +7869,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"
@@ -8299,7 +7987,7 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
name = "minimal-node"
version = "4.0.0-dev"
dependencies = [
- "clap 4.4.6",
+ "clap 4.4.10",
"frame",
"futures",
"futures-timer",
@@ -8705,7 +8393,7 @@ name = "node-bench"
version = "0.9.0-dev"
dependencies = [
"array-bytes 6.1.0",
- "clap 4.4.6",
+ "clap 4.4.10",
"derive_more",
"fs_extra",
"futures",
@@ -8780,7 +8468,7 @@ dependencies = [
name = "node-runtime-generate-bags"
version = "3.0.0"
dependencies = [
- "clap 4.4.6",
+ "clap 4.4.10",
"generate-bags",
"kitchensink-runtime",
]
@@ -8789,7 +8477,7 @@ dependencies = [
name = "node-template"
version = "4.0.0-dev"
dependencies = [
- "clap 4.4.6",
+ "clap 4.4.10",
"frame-benchmarking",
"frame-benchmarking-cli",
"frame-system",
@@ -8833,14 +8521,14 @@ dependencies = [
name = "node-template-release"
version = "3.0.0"
dependencies = [
- "clap 4.4.6",
+ "clap 4.4.10",
"flate2",
"fs_extra",
"glob",
"itertools 0.10.5",
"tar",
"tempfile",
- "toml_edit",
+ "toml_edit 0.19.14",
]
[[package]]
@@ -8914,7 +8602,7 @@ dependencies = [
"sp-keyring",
"sp-runtime",
"sp-timestamp",
- "staging-node-executor",
+ "staging-node-cli",
"substrate-test-client",
"tempfile",
]
@@ -9755,8 +9443,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",
@@ -9787,11 +9475,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"
@@ -9803,8 +9501,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",
@@ -9830,18 +9528,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"
@@ -9851,6 +9537,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"
@@ -10407,6 +10103,7 @@ dependencies = [
"pallet-nfts",
"parity-scale-codec",
"sp-api",
+ "sp-std 8.0.0",
]
[[package]]
@@ -10779,6 +10476,7 @@ dependencies = [
name = "pallet-safe-mode"
version = "4.0.0-dev"
dependencies = [
+ "docify",
"frame-benchmarking",
"frame-support",
"frame-system",
@@ -11182,6 +10880,7 @@ dependencies = [
name = "pallet-tx-pause"
version = "4.0.0-dev"
dependencies = [
+ "docify",
"frame-benchmarking",
"frame-support",
"frame-system",
@@ -11340,7 +11039,7 @@ dependencies = [
name = "parachain-template-node"
version = "0.1.0"
dependencies = [
- "clap 4.4.6",
+ "clap 4.4.10",
"color-print",
"cumulus-client-cli",
"cumulus-client-collator",
@@ -11541,9 +11240,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",
@@ -11556,9 +11255,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",
@@ -11728,6 +11427,7 @@ dependencies = [
"serde_json",
"sp-core",
"sp-runtime",
+ "westend-emulated-chain",
]
[[package]]
@@ -12089,7 +11789,7 @@ dependencies = [
name = "polkadot-cli"
version = "1.1.0"
dependencies = [
- "clap 4.4.6",
+ "clap 4.4.10",
"frame-benchmarking-cli",
"futures",
"log",
@@ -12215,6 +11915,7 @@ dependencies = [
"polkadot-node-subsystem-test-helpers",
"polkadot-node-subsystem-util",
"polkadot-primitives",
+ "quickcheck",
"rand 0.8.5",
"rand_chacha 0.3.1",
"sc-network",
@@ -12431,6 +12132,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",
@@ -12555,6 +12257,7 @@ version = "1.0.0"
dependencies = [
"always-assert",
"assert_matches",
+ "blake3",
"cfg-if",
"criterion 0.4.0",
"futures",
@@ -12578,6 +12281,7 @@ dependencies = [
"rand 0.8.5",
"rococo-runtime",
"rusty-fork",
+ "sc-sysinfo",
"slotmap",
"sp-core",
"sp-maybe-compressed-blob",
@@ -12633,6 +12337,7 @@ dependencies = [
"sp-externalities 0.19.0",
"sp-io",
"sp-tracing 10.0.0",
+ "substrate-build-script-utils",
"tempfile",
"thiserror",
"tracing-gum",
@@ -12657,6 +12362,7 @@ dependencies = [
name = "polkadot-node-core-pvf-prepare-worker"
version = "1.0.0"
dependencies = [
+ "blake3",
"cfg-if",
"criterion 0.4.0",
"libc",
@@ -12835,7 +12541,9 @@ dependencies = [
"smallvec",
"sp-api",
"sp-authority-discovery",
+ "sp-blockchain",
"sp-consensus-babe",
+ "sp-runtime",
"substrate-prometheus-endpoint",
"thiserror",
]
@@ -12914,17 +12622,12 @@ name = "polkadot-parachain-bin"
version = "1.4.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",
+ "clap 4.4.10",
"collectives-westend-runtime",
"color-print",
"contracts-rococo-runtime",
@@ -12941,14 +12644,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",
@@ -12980,14 +12687,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",
@@ -13232,6 +12943,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",
@@ -13409,7 +13121,7 @@ version = "1.0.0"
dependencies = [
"assert_matches",
"async-trait",
- "clap 4.4.6",
+ "clap 4.4.10",
"color-eyre",
"futures",
"futures-timer",
@@ -13556,7 +13268,7 @@ dependencies = [
name = "polkadot-voter-bags"
version = "1.0.0"
dependencies = [
- "clap 4.4.6",
+ "clap 4.4.10",
"generate-bags",
"sp-io",
"westend-runtime",
@@ -13775,7 +13487,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919"
dependencies = [
"once_cell",
- "toml_edit",
+ "toml_edit 0.19.14",
]
[[package]]
@@ -14030,6 +13742,8 @@ version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "588f6378e4dd99458b60ec275b4477add41ce4fa9f64dcba6f15adccb19b50d6"
dependencies = [
+ "env_logger 0.8.4",
+ "log",
"rand 0.8.5",
]
@@ -14238,6 +13952,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"
@@ -14296,14 +14019,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]]
@@ -14320,10 +14043,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]]
@@ -14334,15 +14063,15 @@ 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"
version = "1.0.0"
dependencies = [
- "clap 4.4.6",
+ "clap 4.4.10",
"frame-system",
"log",
"pallet-bags-list-remote-tests",
@@ -14426,7 +14155,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",
@@ -14509,6 +14238,7 @@ dependencies = [
"cumulus-pallet-xcm",
"cumulus-pallet-xcmp-queue",
"cumulus-ping",
+ "cumulus-primitives-aura",
"cumulus-primitives-core",
"cumulus-primitives-utility",
"frame-benchmarking",
@@ -15065,6 +14795,7 @@ dependencies = [
"sp-inherents",
"sp-runtime",
"sp-state-machine",
+ "sp-trie",
"substrate-test-runtime-client",
]
@@ -15113,7 +14844,7 @@ dependencies = [
"array-bytes 6.1.0",
"bip39",
"chrono",
- "clap 4.4.6",
+ "clap 4.4.10",
"fdlimit",
"futures",
"futures-timer",
@@ -15685,6 +15416,7 @@ dependencies = [
"array-bytes 4.2.0",
"arrayvec 0.7.4",
"blake2 0.10.6",
+ "bytes",
"futures",
"futures-timer",
"libp2p-identity",
@@ -15750,6 +15482,7 @@ dependencies = [
"tempfile",
"thiserror",
"tokio",
+ "tokio-stream",
"tokio-test",
"tokio-util",
"unsigned-varint",
@@ -15805,10 +15538,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",
@@ -16095,6 +15830,7 @@ dependencies = [
"sp-blockchain",
"sp-consensus",
"sp-core",
+ "sp-externalities 0.19.0",
"sp-maybe-compressed-blob",
"sp-rpc",
"sp-runtime",
@@ -16252,7 +15988,7 @@ dependencies = [
name = "sc-storage-monitor"
version = "0.1.0"
dependencies = [
- "clap 4.4.6",
+ "clap 4.4.10",
"fs4",
"log",
"sc-client-db",
@@ -16328,6 +16064,7 @@ dependencies = [
"lazy_static",
"libc",
"log",
+ "parity-scale-codec",
"parking_lot 0.12.1",
"regex",
"rustc-hash",
@@ -16583,18 +16320,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",
]
@@ -16707,18 +16444,18 @@ checksum = "f97841a747eef040fcd2e7b3b9a220a7205926e60488e673d9e4926d27772ce5"
[[package]]
name = "serde"
-version = "1.0.188"
+version = "1.0.193"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cf9e0fcba69a370eed61bcf2b728575f726b50b55cba78064753d708ddc7549e"
+checksum = "25dd9975e68d0cb5aa1120c288333fc98731bd1dd12f561e468ea4728c042b89"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.188"
+version = "1.0.193"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4eca7ac642d82aa35b60049a6eccb4be6be75e599bd2e9adb5f875a737654af2"
+checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3"
dependencies = [
"proc-macro2",
"quote",
@@ -16747,9 +16484,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",
]
@@ -16976,6 +16713,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"
@@ -17534,6 +17276,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"
@@ -17578,7 +17330,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",
@@ -17616,7 +17368,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",
@@ -17636,7 +17388,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",
@@ -17780,7 +17532,7 @@ dependencies = [
name = "sp-npos-elections-fuzzer"
version = "2.0.0-alpha.5"
dependencies = [
- "clap 4.4.6",
+ "clap 4.4.10",
"honggfuzz",
"rand 0.8.5",
"sp-npos-elections",
@@ -17819,6 +17571,7 @@ dependencies = [
name = "sp-runtime"
version = "24.0.0"
dependencies = [
+ "docify",
"either",
"hash256-std-hasher",
"impl-trait-for-tuples",
@@ -17829,6 +17582,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",
@@ -17868,7 +17622,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",
@@ -17888,6 +17642,7 @@ name = "sp-runtime-interface-proc-macro"
version = "11.0.0"
dependencies = [
"Inflector",
+ "expander 2.0.0",
"proc-macro-crate",
"proc-macro2",
"quote",
@@ -17897,7 +17652,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",
@@ -18025,7 +17780,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"
@@ -18042,7 +17797,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",
@@ -18091,7 +17846,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)",
@@ -18140,6 +17895,7 @@ dependencies = [
"scale-info",
"schnellru",
"sp-core",
+ "sp-externalities 0.19.0",
"sp-runtime",
"sp-std 8.0.0",
"thiserror",
@@ -18192,7 +17948,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",
@@ -18284,18 +18040,11 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
name = "staging-chain-spec-builder"
version = "2.0.0"
dependencies = [
- "ansi_term",
- "clap 4.4.6",
- "kitchensink-runtime",
+ "clap 4.4.10",
"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]]
@@ -18304,10 +18053,12 @@ version = "3.0.0-dev"
dependencies = [
"array-bytes 6.1.0",
"assert_cmd",
- "clap 4.4.6",
+ "clap 4.4.10",
"clap_complete",
"criterion 0.4.0",
+ "frame-benchmarking",
"frame-benchmarking-cli",
+ "frame-support",
"frame-system",
"frame-system-rpc-runtime-api",
"futures",
@@ -18317,13 +18068,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",
@@ -18358,27 +18116,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",
@@ -18389,44 +18151,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",
]
@@ -18434,14 +18158,16 @@ dependencies = [
name = "staging-node-inspect"
version = "0.9.0-dev"
dependencies = [
- "clap 4.4.6",
+ "clap 4.4.10",
"parity-scale-codec",
"sc-cli",
"sc-client-api",
"sc-service",
"sp-blockchain",
"sp-core",
+ "sp-io",
"sp-runtime",
+ "sp-statement-store",
"thiserror",
]
@@ -18641,28 +18367,8 @@ dependencies = [
name = "subkey"
version = "3.0.0"
dependencies = [
- "clap 4.4.6",
- "sc-cli",
-]
-
-[[package]]
-name = "substrate"
-version = "1.0.0"
-dependencies = [
- "frame-support",
- "sc-chain-spec",
+ "clap 4.4.10",
"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]]
@@ -18703,7 +18409,7 @@ dependencies = [
name = "substrate-frame-cli"
version = "4.0.0-dev"
dependencies = [
- "clap 4.4.6",
+ "clap 4.4.10",
"frame-support",
"frame-system",
"sc-cli",
@@ -19125,13 +18831,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",
]
@@ -19178,7 +18884,7 @@ dependencies = [
name = "test-parachain-adder-collator"
version = "1.0.0"
dependencies = [
- "clap 4.4.6",
+ "clap 4.4.10",
"futures",
"futures-timer",
"log",
@@ -19226,7 +18932,7 @@ dependencies = [
name = "test-parachain-undying-collator"
version = "1.0.0"
dependencies = [
- "clap 4.4.6",
+ "clap 4.4.10",
"futures",
"futures-timer",
"log",
@@ -19293,9 +18999,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",
]
@@ -19322,9 +19028,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",
@@ -19594,14 +19300,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",
]
@@ -19619,6 +19337,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"
@@ -19876,7 +19607,7 @@ version = "0.10.0-dev"
dependencies = [
"assert_cmd",
"async-trait",
- "clap 4.4.6",
+ "clap 4.4.10",
"frame-remote-externalities",
"frame-try-runtime",
"hex",
@@ -21467,6 +21198,7 @@ dependencies = [
"frame-support",
"frame-system",
"futures",
+ "pallet-transaction-payment",
"pallet-xcm",
"parity-scale-codec",
"polkadot-test-client",
@@ -21488,6 +21220,7 @@ dependencies = [
"Inflector",
"proc-macro2",
"quote",
+ "staging-xcm",
"syn 2.0.38",
"trybuild",
]
diff --git a/Cargo.toml b/Cargo.toml
index ed252e07053ff..b585ceb5b4416 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,48 +61,44 @@ 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",
"cumulus/primitives/parachain-inherent",
+ "cumulus/primitives/proof-size-hostfunction",
"cumulus/primitives/timestamp",
"cumulus/primitives/utility",
"cumulus/test/client",
@@ -156,6 +153,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 +190,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 +284,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 +302,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",
@@ -405,6 +403,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",
@@ -469,6 +468,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" ]
@@ -477,8 +477,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 19f9f3f113dd0..6acbf6dc2ca20 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/Cargo.toml b/cumulus/client/cli/Cargo.toml
index 0f942feb59524..35945bf4052f8 100644
--- a/cumulus/client/cli/Cargo.toml
+++ b/cumulus/client/cli/Cargo.toml
@@ -7,7 +7,7 @@ description = "Parachain node CLI utilities."
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
[dependencies]
-clap = { version = "4.4.6", features = ["derive"] }
+clap = { version = "4.4.10", features = ["derive"] }
codec = { package = "parity-scale-codec", version = "3.0.0" }
url = "2.4.0"
diff --git a/cumulus/client/cli/src/lib.rs b/cumulus/client/cli/src/lib.rs
index 1b18ed064373f..7e78afe6efb47 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