diff --git a/.cargo/config.toml b/.cargo/config.toml
deleted file mode 100644
index 66b28b3485d..00000000000
--- a/.cargo/config.toml
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# An auto defined `clippy` feature was introduced,
-# but it was found to clash with user defined features,
-# so was renamed to `cargo-clippy`.
-#
-# If you want standard clippy run:
-# RUSTFLAGS= cargo clippy
-[target.'cfg(feature = "cargo-clippy")']
-rustflags = [
- "-Aclippy::all",
- "-Dclippy::correctness",
- "-Aclippy::if-same-then-else",
- "-Aclippy::clone-double-ref",
- "-Dclippy::complexity",
- "-Aclippy::zero-prefixed-literal", # 00_1000_000
- "-Aclippy::type_complexity", # raison d'etre
- "-Aclippy::nonminimal-bool", # maybe
- "-Aclippy::borrowed-box", # Reasonable to fix this one
- "-Aclippy::too-many-arguments", # (Turning this on would lead to)
- "-Aclippy::unnecessary_cast", # Types may change
- "-Aclippy::identity-op", # One case where we do 0 +
- "-Aclippy::useless_conversion", # Types may change
- "-Aclippy::unit_arg", # styalistic.
- "-Aclippy::option-map-unit-fn", # styalistic
- "-Aclippy::bind_instead_of_map", # styalistic
- "-Aclippy::erasing_op", # E.g. 0 * DOLLARS
- "-Aclippy::eq_op", # In tests we test equality.
- "-Aclippy::while_immutable_condition", # false positives
- "-Aclippy::needless_option_as_deref", # false positives
- "-Aclippy::derivable_impls", # false positives
- "-Aclippy::stable_sort_primitive", # prefer stable sort
-]
diff --git a/.config/lingua.dic b/.config/lingua.dic
new file mode 100644
index 00000000000..4055f102b1d
--- /dev/null
+++ b/.config/lingua.dic
@@ -0,0 +1,247 @@
+90
+
+&&
+1KB
+1MB
+5MB
+=
+API/SM
+APIs
+AccountId/MS
+Apache-2.0/M
+Autogenerated
+BFT/M
+BTC/S
+Best/MS
+BlockId
+BlockNumber
+BridgeStorage
+AssetHub
+AssetHubKusama
+AssetHubPolkadot
+BridgeHub
+BridgeHubRococo
+BridgeHubWococo
+BridgeHubKusama
+BridgeHubPolkadot
+CLI/MS
+Chain1
+Chain2
+ChainSpec
+ChainTime
+DOT/S
+ERC-20
+Ethereum
+FN
+FinalizationError
+GPL/M
+GPLv3/M
+GiB/S
+Handler/MS
+Hasher
+HeaderA
+HeaderId
+InitiateChange
+Instance1
+Instance2
+Instance42
+KSM/S
+KYC/M
+KeyPair
+Kovan
+Lane1
+Lane2
+Lane3
+LaneId
+MIN_SIZE
+MIT/M
+MMR
+MaxUnrewardedRelayerEntriesAtInboundLane
+MaybeExtra
+MaybeOrphan
+Merklized
+MessageNonce
+MessageNonces
+MessagePayload
+MetricsParams
+Millau/MS
+OldHeader
+OutboundMessages
+PoA
+PoV/MS
+Pre
+RLP
+RPC/MS
+Rialto/MS
+RialtoParachain/MS
+Relayer/MS
+Runtime1
+Runtime2
+SIZE_FACTOR
+SS58
+SS58Prefix
+STALL_SYNC_TIMEOUT
+SURI
+ServiceFactory/MS
+SignedExtension
+Stringified
+Submitter1
+S|N
+TCP
+ThisChain
+TODO
+U256
+Unparsed
+Vec
+WND/S
+Westend/MS
+Wococo/MS
+XCM/S
+XCMP/M
+annualised/MS
+api/SM
+aren
+arg
+args
+async
+auth
+auths/SM
+backoff
+benchmarking/MS
+best_substrate_header
+bitfield/MS
+blake2/MS
+blockchain/MS
+borked
+chain_getBlock
+choosen
+config/MS
+crypto/MS
+customizable/B
+debian/M
+decodable/MS
+delivery_and_dispatch_fee
+dev
+dispatchable
+dispatchables
+doesn
+ed25519
+enum/MS
+entrypoint/MS
+ethereum/MS
+externality/MS
+extrinsic/MS
+extrinsics
+fedora/M
+functor
+fuzzer
+hasher
+hardcoded
+https
+implementers
+include/BG
+inherent/MS
+initialize/RG
+instantiate/B
+intrinsic/MS
+invariant/MS
+invariants
+io
+isn
+isolate/BG
+js
+jsonrpsee
+keccak
+keccak256/M
+keyring
+keystore/MS
+kusama/S
+lane
+malus
+max_value
+merkle/MS
+metadata
+millau
+misbehavior/SM
+misbehaviors
+multivalidator/SM
+natively
+no_std
+nonces
+number
+ok
+oneshot/MS
+others'
+pallet_bridge_grandpa
+pallet_bridge_messages
+pallet_message_lane
+parablock/MS
+parachain/MS
+param/MS
+parameterize/D
+plancks
+polkadot/MS
+pov-block/MS
+precommit
+promethius
+promethius'
+provisioner/MS
+probabilistically
+prune_depth
+prune_end
+receival
+reconnection
+redhat/M
+repo/MS
+runtime/MS
+rustc/MS
+relayer/MS
+shouldn
+source_at_target
+source_latest_confirmed
+source_latest_generated
+sp_consensus_grandpa
+spawner
+sr25519
+src
+stringified
+struct/MS
+submitters/MS
+subsystem/MS
+subsystems'
+subcommand/MS
+synchronizer
+target_at_source
+target_latest_confirmed
+target_latest_received
+taskmanager/MS
+teleport/RG
+teleportation/SM
+teleporter/SM
+teleporters
+testnet/MS
+timeframe
+tokio
+timestamp
+trie/MS
+trustless/Y
+tuple
+u32
+ubuntu/M
+undeliverable
+unfinalized
+union/MSG
+unpruned
+unservable/B
+unsynced
+updatable
+validator/SM
+ve
+vec
+verifier
+w3f/MS
+wakeup
+wasm/M
+websocket
+x2
+~
diff --git a/.config/spellcheck.toml b/.config/spellcheck.toml
new file mode 100644
index 00000000000..e061c29ac22
--- /dev/null
+++ b/.config/spellcheck.toml
@@ -0,0 +1,13 @@
+[hunspell]
+lang = "en_US"
+search_dirs = ["."]
+extra_dictionaries = ["lingua.dic"]
+skip_os_lookups = true
+use_builtin = true
+
+[hunspell.quirks]
+# `Type`'s
+# 5x
+transform_regex = ["^'([^\\s])'$", "^[0-9]+(?:\\.[0-9]*)?x$", "^'s$", "^\\+$", "[><+-]"]
+allow_concatenation = true
+allow_dashes = true
diff --git a/.dockerignore b/.dockerignore
index d01eb7ec3ac..f4ceea78560 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -1,9 +1 @@
-.git
**/target/
-**/*.txt
-**/*.md
-/docker/
-!/target/release/polkadot-parachain
-
-# dotfiles in the repo root
-/.*
diff --git a/.editorconfig b/.editorconfig
index e8ff2027ca4..e2375881ea0 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -9,21 +9,11 @@ trim_trailing_whitespace=true
max_line_length=100
insert_final_newline=true
-[*.yml]
-indent_style=space
-indent_size=2
-tab_width=8
-end_of_line=lf
-
-[*.sh]
-indent_style=space
-indent_size=4
-tab_width=8
-end_of_line=lf
-
-[*.json]
+[*.{yml,md,yaml,sh}]
indent_style=space
indent_size=2
tab_width=8
end_of_line=lf
+[*.md]
+max_line_length=80
diff --git a/.gitattributes b/.gitattributes
deleted file mode 100644
index 2ea1ab2d6b9..00000000000
--- a/.gitattributes
+++ /dev/null
@@ -1,2 +0,0 @@
-/.gitlab-ci.yml filter=ci-prettier
-/scripts/ci/gitlab/pipeline/*.yml filter=ci-prettier
diff --git a/.github/ISSUE_TEMPLATE/blank.md b/.github/ISSUE_TEMPLATE/blank.md
deleted file mode 100644
index 2a9137e7280..00000000000
--- a/.github/ISSUE_TEMPLATE/blank.md
+++ /dev/null
@@ -1,4 +0,0 @@
----
-name: New blank issue
-about: New blank issue
----
diff --git a/.github/ISSUE_TEMPLATE/release-client.md b/.github/ISSUE_TEMPLATE/release-client.md
deleted file mode 100644
index bb7f2061576..00000000000
--- a/.github/ISSUE_TEMPLATE/release-client.md
+++ /dev/null
@@ -1,20 +0,0 @@
----
-name: Release Checklist for Client
-about: Release Checklist for Client
-title: Release Checklist for Client {{ env.VERSION }}
----
-
-# Release Checklist - Client
-
-### Client Release
-
-- [ ] build a new `polkadot-parachain` binary and publish it to S3
-- [ ] new `polkadot-parachain` version has [run on the network](../../docs/release.md#burnin)
- without issue for at least 12h
-- [ ] a draft release has been created in the [Github Releases page](https://github.com/paritytech/cumulus/releases) with the relevant release-notes
-- [ ] the [build artifacts](../../docs/release.md#build-artifacts) have been added to the
- draft-release.
-
----
-
-Read more about the [release documentation](../../docs/release.md).
diff --git a/.github/ISSUE_TEMPLATE/release-runtime.md b/.github/ISSUE_TEMPLATE/release-runtime.md
deleted file mode 100644
index 0f3543759af..00000000000
--- a/.github/ISSUE_TEMPLATE/release-runtime.md
+++ /dev/null
@@ -1,54 +0,0 @@
----
-name: Release Checklist for Runtime
-about: Release Checklist for Runtime
-title: Release Checklist for Runtime {{ env.VERSION }}
----
-
-# Release Checklist - Runtimes
-
-**All** following checks must be completed before publishing a new release.
-The release process is owned and led by @paritytech/release-engineering team.
-The checks marked with :crab: are meant to be checked by [a runtime engineer](https://github.com/paritytech/cumulus/issues/1761).
-
-## Runtimes Release
-
-### Codebase
-These checks should be performed on the codebase.
-
-- [ ] the [`spec_version`](https://github.com/paritytech/cumulus/blob/master/docs/release.md#spec-version) has been incremented since the
- last release for any native runtimes from any existing use on public (non-private/test) networks
-- [ ] :crab: previously [completed migrations](https://github.com/paritytech/cumulus/blob/master/docs/release.md#old-migrations-removed) are removed for any public (non-private/test) networks
-- [ ] pallet and [extrinsic ordering](https://github.com/paritytech/cumulus/blob/master/docs/release.md#extrinsic-ordering--storage) as well as `SignedExtension`s have stayed
- the same. Bump `transaction_version` otherwise
-- [ ] the [benchmarks](https://github.com/paritytech/ci_cd/wiki/Benchmarks:-cumulus) ran
-- [ ] the weights have been updated for any modified runtime logic
-- [ ] :crab: the new weights are sane, there are no significant (>50%) drops or rises with no reason
-- [ ] :crab: XCM config is compatible with the configurations and versions of relevant interlocutors, like the Relay Chain.
-
-### On the release branch
-
-The following checks can be performed after we have forked off to the release-candidate branch or started an additional release candidate branch (rc-2, rc-3, etc)
-
-- [ ] Verify [new migrations](https://github.com/paritytech/cumulus/blob/master/docs/release.md#new-migrations) complete successfully, and the
- runtime state is correctly updated for any public (non-private/test)
- networks
-- [ ] Run [integration tests](https://github.com/paritytech/cumulus/blob/master/docs/release.md#integration-tests), and make sure they pass.
-- [ ] Push runtime upgrade to Asset Hub Westend and verify network stability
-- [ ] Push runtime upgrade to Collectives and verify network stability
-- [ ] Push runtime upgrade to Bridge-Hub-Kusama and verify network stability
-
-
-### Github
-
-- [ ] Check that a draft release has been created at the [Github Releases page](https://github.com/paritytech/cumulus/releases) with relevant [release
- notes](https://github.com/paritytech/cumulus/blob/master/docs/release.md#release-notes)
-- [ ] Check that [build artifacts](https://github.com/paritytech/cumulus/blob/master/docs/release.md#build-artifacts) have been added to the
- draft-release.
-
-# Post release
-
-- [ ] :crab: all commits (runtime version bumps, fixes) on this release branch have been merged back to master.
-
----
-
-Read more about the [release documentation](https://github.com/paritytech/cumulus/blob/master/docs/release.md).
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 349a34690d4..c0c8ea64802 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -1,31 +1,62 @@
version: 2
updates:
- - package-ecosystem: "cargo"
- directory: "/"
- labels: ["A2-insubstantial", "B0-silent", "C1-low"]
- # Handle updates for crates from github.com/paritytech/substrate manually.
- ignore:
- - dependency-name: "substrate-*"
- - dependency-name: "sc-*"
- - dependency-name: "sp-*"
- - dependency-name: "frame-*"
- - dependency-name: "fork-tree"
- - dependency-name: "frame-remote-externalities"
- - dependency-name: "pallet-*"
- - dependency-name: "beefy-*"
- - dependency-name: "try-runtime-*"
- - dependency-name: "test-runner"
- - dependency-name: "generate-bags"
- - dependency-name: "sub-tokens"
- - dependency-name: "polkadot-*"
- - dependency-name: "xcm*"
- - dependency-name: "kusama-*"
- - dependency-name: "westend-*"
- - dependency-name: "rococo-*"
- schedule:
- interval: "daily"
- - package-ecosystem: github-actions
- directory: '/'
- labels: ["A2-insubstantial", "B0-silent", "C1-low", "E2-dependencies"]
- schedule:
- interval: daily
+- package-ecosystem: cargo
+ directory: "/"
+ schedule:
+ interval: weekly
+ time: "03:00"
+ timezone: Europe/Berlin
+ open-pull-requests-limit: 20
+ ignore:
+ # Substrate (+ Polkadot/Cumulus pallets) dependencies
+ - dependency-name: beefy-*
+ versions:
+ - ">= 0"
+ - dependency-name: frame-*
+ versions:
+ - ">= 0"
+ - dependency-name: fork-tree
+ versions:
+ - ">= 0"
+ - dependency-name: mmr-*
+ versions:
+ - ">= 0"
+ - dependency-name: node-inspect
+ versions:
+ - ">= 0"
+ - dependency-name: pallet-*
+ versions:
+ - ">= 0"
+ - dependency-name: sc-*
+ versions:
+ - ">= 0"
+ - dependency-name: sp-*
+ versions:
+ - ">= 0"
+ - dependency-name: substrate-*
+ versions:
+ - ">= 0"
+ - dependency-name: try-runtime-cli
+ versions:
+ - ">= 0"
+ - dependency-name: binary-merkle-tree
+ versions:
+ - ">= 0"
+ # Polkadot dependencies
+ - dependency-name: kusama-*
+ versions:
+ - ">= 0"
+ - dependency-name: polkadot-*
+ versions:
+ - ">= 0"
+ - dependency-name: xcm*
+ versions:
+ - ">= 0"
+ # Cumulus dependencies
+ - dependency-name: cumulus-*
+ versions:
+ - ">= 0"
+ - dependency-name: parachain-info
+ versions:
+ - ">= 0"
+ rebase-strategy: disabled
diff --git a/.github/pr-custom-review.yml b/.github/pr-custom-review.yml
deleted file mode 100644
index fc26ee677f0..00000000000
--- a/.github/pr-custom-review.yml
+++ /dev/null
@@ -1,48 +0,0 @@
-# 🔒 PROTECTED: Changes to locks-review-team should be approved by the current locks-review-team
-locks-review-team: cumulus-locks-review
-team-leads-team: polkadot-review
-action-review-team: ci
-
-rules:
- - name: Runtime files
- check_type: changed_files
- condition: ^parachains/runtimes/assets/(asset-hub-kusama|asset-hub-polkadot)/src/[^/]+\.rs$|^parachains/runtimes/bridge-hubs/(bridge-hub-kusama|bridge-hub-polkadot)/src/[^/]+\.rs$|^parachains/runtimes/collectives/collectives-polkadot/src/[^/]+\.rs$|^parachains/common/src/[^/]+\.rs$
- all_distinct:
- - min_approvals: 1
- teams:
- - cumulus-locks-review
- - min_approvals: 1
- teams:
- - polkadot-review
-
- - name: Core developers
- check_type: changed_files
- condition:
- include: .*
- # excluding files from 'Runtime files' and 'CI files' rules and `Bridges subtree files`
- exclude: ^parachains/runtimes/assets/(asset-hub-kusama|asset-hub-polkadot)/src/[^/]+\.rs$|^parachains/runtimes/bridge-hubs/(bridge-hub-kusama|bridge-hub-polkadot)/src/[^/]+\.rs$|^parachains/runtimes/collectives/collectives-polkadot/src/[^/]+\.rs$|^parachains/common/src/[^/]+\.rs$|^\.gitlab-ci\.yml|^scripts/ci/.*|^\.github/.*
- min_approvals: 2
- teams:
- - core-devs
-
- # 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
-
- - name: CI files
- check_type: changed_files
- condition:
- include: ^\.gitlab-ci\.yml|^scripts/ci/.*|^\.github/.*
- exclude: ^scripts/ci/gitlab/pipeline/zombienet.yml$
- min_approvals: 2
- teams:
- - ci
- - release-engineering
-
-prevent-review-request:
- teams:
- - core-devs
diff --git a/.github/workflows/check-D-labels.yml b/.github/workflows/check-D-labels.yml
deleted file mode 100644
index 91062720931..00000000000
--- a/.github/workflows/check-D-labels.yml
+++ /dev/null
@@ -1,47 +0,0 @@
-name: Check D labels
-
-on:
- pull_request:
- types: [labeled, opened, synchronize, unlabeled]
- paths:
- - primitives/**
-
-jobs:
- check-labels:
- runs-on: ubuntu-latest
- steps:
- - name: Pull image
- env:
- IMAGE: paritytech/ruled_labels:0.4.0
- run: docker pull $IMAGE
-
- - name: Check labels
- env:
- IMAGE: paritytech/ruled_labels:0.4.0
- MOUNT: /work
- GITHUB_PR: ${{ github.event.pull_request.number }}
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- API_BASE: https://api.github.com/repos
- REPO: ${{ github.repository }}
- RULES_PATH: labels/ruled_labels
- CHECK_SPECS: specs_cumulus.yaml
- run: |
- echo "REPO: ${REPO}"
- echo "GITHUB_PR: ${GITHUB_PR}"
- # Clone repo with labels specs
- git clone https://github.com/paritytech/labels
- # Fetch the labels for the PR under test
- labels=$( curl -H "Authorization: token ${GITHUB_TOKEN}" -s "$API_BASE/${REPO}/pulls/${GITHUB_PR}" | jq '.labels | .[] | .name' | tr "\n" ",")
-
- if [ -z "${labels}" ]; then
- docker run --rm -i -v $PWD/${RULES_PATH}/:$MOUNT $IMAGE check $MOUNT/$CHECK_SPECS --tags audit --no-label
- fi
-
- labels_args=${labels: :-1}
- printf "Checking labels: %s\n" "${labels_args}"
-
- # Prevent the shell from splitting labels with spaces
- IFS=","
-
- # --dev is more useful to debug mode to debug
- docker run --rm -i -v $PWD/${RULES_PATH}/:$MOUNT $IMAGE check $MOUNT/$CHECK_SPECS --labels ${labels_args} --dev --tags audit
diff --git a/.github/workflows/check-labels.yml b/.github/workflows/check-labels.yml
deleted file mode 100644
index 004271d7788..00000000000
--- a/.github/workflows/check-labels.yml
+++ /dev/null
@@ -1,45 +0,0 @@
-name: Check labels
-
-on:
- pull_request:
- types: [labeled, opened, synchronize, unlabeled]
-
-jobs:
- check-labels:
- runs-on: ubuntu-latest
- steps:
- - name: Pull image
- env:
- IMAGE: paritytech/ruled_labels:0.4.0
- run: docker pull $IMAGE
-
- - name: Check labels
- env:
- IMAGE: paritytech/ruled_labels:0.4.0
- MOUNT: /work
- GITHUB_PR: ${{ github.event.pull_request.number }}
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- API_BASE: https://api.github.com/repos
- REPO: ${{ github.repository }}
- RULES_PATH: labels/ruled_labels
- CHECK_SPECS: specs_cumulus.yaml
- run: |
- echo "REPO: ${REPO}"
- echo "GITHUB_PR: ${GITHUB_PR}"
- # Clone repo with labels specs
- git clone https://github.com/paritytech/labels
- # Fetch the labels for the PR under test
- labels=$( curl -H "Authorization: token ${GITHUB_TOKEN}" -s "$API_BASE/${REPO}/pulls/${GITHUB_PR}" | jq '.labels | .[] | .name' | tr "\n" ",")
-
- if [ -z "${labels}" ]; then
- docker run --rm -i -v $PWD/${RULES_PATH}/:$MOUNT $IMAGE check $MOUNT/$CHECK_SPECS --tags audit --no-label
- fi
-
- labels_args=${labels: :-1}
- printf "Checking labels: %s\n" "${labels_args}"
-
- # Prevent the shell from splitting labels with spaces
- IFS=","
-
- # --dev is more useful to debug mode to debug
- docker run --rm -i -v $PWD/${RULES_PATH}/:$MOUNT $IMAGE check $MOUNT/$CHECK_SPECS --labels ${labels_args} --dev --tags PR
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
deleted file mode 100644
index 02b61b05669..00000000000
--- a/.github/workflows/docs.yml
+++ /dev/null
@@ -1,39 +0,0 @@
-name: Publish Rust Docs
-
-on:
- push:
- branches:
- - master
-
-jobs:
- deploy-docs:
- name: Deploy docs
- runs-on: ubuntu-latest
-
- steps:
- - name: Install tooling
- run: |
- sudo apt-get install -y protobuf-compiler
- protoc --version
-
- - name: Checkout repository
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
-
- - name: Rust versions
- run: rustup show
-
- - name: Rust cache
- uses: Swatinem/rust-cache@b8a6852b4f997182bdea832df3f9e153038b5191 # v2.6.0
-
- - name: Build rustdocs
- run: SKIP_WASM_BUILD=1 cargo doc --all --no-deps
-
- - name: Make index.html
- run: echo "" > ./target/doc/index.html
-
- - name: Deploy documentation
- uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3.9.3
- with:
- github_token: ${{ secrets.GITHUB_TOKEN }}
- publish_branch: gh-pages
- publish_dir: ./target/doc
diff --git a/.github/workflows/fmt-check.yml b/.github/workflows/fmt-check.yml
deleted file mode 100644
index 7571c51116b..00000000000
--- a/.github/workflows/fmt-check.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-name: Rustfmt check
-
-on:
- push:
- branches:
- - master
- pull_request:
- types: [opened, synchronize, reopened, ready_for_review]
-
-jobs:
- quick_check:
- strategy:
- matrix:
- os: ["ubuntu-latest"]
- runs-on: ${{ matrix.os }}
- container:
- image: paritytech/ci-linux:production
- steps:
- - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
-
- - name: Cargo fmt
- run: cargo +nightly fmt --all -- --check
diff --git a/.github/workflows/pr-custom-review.yml b/.github/workflows/pr-custom-review.yml
deleted file mode 100644
index 8e40c9ee729..00000000000
--- a/.github/workflows/pr-custom-review.yml
+++ /dev/null
@@ -1,42 +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:
-
-jobs:
- pr-custom-review:
- runs-on: ubuntu-latest
- steps:
- - 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@action-v3
- with:
- checks-reviews-api: http://pcr.parity-prod.parity.io/api/v1/check_reviews
diff --git a/.github/workflows/release-01_branch-check.yml b/.github/workflows/release-01_branch-check.yml
deleted file mode 100644
index afcd4580f17..00000000000
--- a/.github/workflows/release-01_branch-check.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-name: Release branch check
-on:
- push:
- branches:
- - release-**v[0-9]+.[0-9]+.[0-9]+ # client
- - release-**v[0-9]+ # runtimes
- - polkadot-v[0-9]+.[0-9]+.[0-9]+ # cumulus code
-
- workflow_dispatch:
-
-jobs:
- check_branch:
- runs-on: ubuntu-latest
- steps:
- - name: Checkout sources
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- with:
- fetch-depth: 0
-
- - name: Run check
- shell: bash
- run: ./scripts/ci/github/check-rel-br
diff --git a/.github/workflows/release-10_rc-automation.yml b/.github/workflows/release-10_rc-automation.yml
deleted file mode 100644
index a30d9e6ea7d..00000000000
--- a/.github/workflows/release-10_rc-automation.yml
+++ /dev/null
@@ -1,87 +0,0 @@
-name: Release - RC automation
-on:
- push:
- branches:
- - release-v[0-9]+.[0-9]+.[0-9]+
- - release-parachains-v[0-9]+
- workflow_dispatch:
-
-jobs:
- tag_rc:
- runs-on: ubuntu-latest
- strategy:
- matrix:
- channel:
- - name: 'RelEng: Cumulus Release Coordination'
- room: '!NAEMyPAHWOiOQHsvus:parity.io'
- pre-releases: true
- steps:
- - name: Checkout sources
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- with:
- fetch-depth: 0
- - id: compute_tag
- name: Compute next rc tag
- shell: bash
- run: |
- # Get last rc tag if exists, else set it to {version}-rc1
- version=${GITHUB_REF#refs/heads/release-}
- echo "$version"
- echo "version=$version" >> $GITHUB_OUTPUT
- git tag -l
- last_rc=$(git tag -l "$version-rc*" | sort -V | tail -n 1)
- if [ -n "$last_rc" ]; then
- suffix=$(echo "$last_rc" | grep -Eo '[0-9]+$')
- echo $suffix
- ((suffix++))
- echo $suffix
- echo "new_tag=$version-rc$suffix" >> $GITHUB_OUTPUT
- echo "first_rc=false" >> $GITHUB_OUTPUT
- else
- echo "new_tag=$version-rc1" >> $GITHUB_OUTPUT
- echo "first_rc=true" >> $GITHUB_OUTPUT
- fi
-
- - name: Apply new tag
- uses: tvdias/github-tagger@ed7350546e3e503b5e942dffd65bc8751a95e49d # v0.0.2
- with:
- # We can't use the normal GITHUB_TOKEN for the following reason:
- # https://docs.github.com/en/actions/reference/events-that-trigger-workflows#triggering-new-workflows-using-a-personal-access-token
- # RELEASE_BRANCH_TOKEN requires public_repo OAuth scope
- repo-token: "${{ secrets.RELEASE_BRANCH_TOKEN }}"
- tag: ${{ steps.compute_tag.outputs.new_tag }}
-
- - id: create-issue-checklist-client
- uses: JasonEtco/create-an-issue@e27dddc79c92bc6e4562f268fffa5ed752639abd # v2.9.1
- # Only create the issue if it's the first release candidate
- if: steps.compute_tag.outputs.first_rc == 'true'
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- VERSION: ${{ steps.compute_tag.outputs.version }}
- with:
- assignees: release-engineering
- filename: .github/ISSUE_TEMPLATE/release-client.md
-
- - id: create-issue-checklist-runtime
- uses: JasonEtco/create-an-issue@e27dddc79c92bc6e4562f268fffa5ed752639abd # v2.9.1
- # Only create the issue if it's the first release candidate
- if: steps.compute_tag.outputs.first_rc == 'true'
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- VERSION: ${{ steps.compute_tag.outputs.version }}
- with:
- assignees: release-engineering
- filename: .github/ISSUE_TEMPLATE/release-runtime.md
-
- - name: Matrix notification to ${{ matrix.channel.name }}
- uses: s3krit/matrix-message-action@70ad3fb812ee0e45ff8999d6af11cafad11a6ecf # v0.0.3
- if: steps.create-issue-checklist-client.outputs.url != '' && steps.create-issue-checklist-runtime.outputs.url != ''
- with:
- room_id: ${{ matrix.channel.room }}
- access_token: ${{ secrets.RELEASENOTES_MATRIX_V2_ACCESS_TOKEN }}
- server: "m.parity.io"
- message: |
- The Release Process for Cumulus ${{ steps.compute_tag.outputs.version }} has been started.
- Tracking issues:
- - client: ${{ steps.create-issue-checklist-client.outputs.url }}"
- - runtime: ${{ steps.create-issue-checklist-runtime.outputs.url }}"
diff --git a/.github/workflows/release-20_extrinsic-ordering-check-from-bin.yml b/.github/workflows/release-20_extrinsic-ordering-check-from-bin.yml
deleted file mode 100644
index d902e57ac9e..00000000000
--- a/.github/workflows/release-20_extrinsic-ordering-check-from-bin.yml
+++ /dev/null
@@ -1,86 +0,0 @@
-# This workflow performs the Extrinsic Ordering Check on demand using a binary
-
-name: Release - Extrinsic Ordering Check from Binary
-on:
- workflow_dispatch:
- inputs:
- reference_url:
- description: The WebSocket url of the reference node
- default: wss://kusama-asset-hub-rpc.polkadot.io
- required: true
- binary_url:
- description: A url to a Linux binary for the node containing the runtime to test
- default: https://releases.parity.io/cumulus/polkadot-v0.9.21/polkadot-parachain
- required: true
- chain:
- description: The name of the chain under test. Usually, you would pass a local chain
- default: asset-hub-kusama-local
- required: true
-
-jobs:
- check:
- name: Run check
- runs-on: ubuntu-latest
- env:
- CHAIN: ${{github.event.inputs.chain}}
- BIN: node-bin
- BIN_PATH: ./tmp/$BIN
- BIN_URL: ${{github.event.inputs.binary_url}}
- REF_URL: ${{github.event.inputs.reference_url}}
-
- steps:
- - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
-
- - name: Fetch binary
- run: |
- echo Creating a temp dir to download and run binary
- mkdir -p tmp
- echo Fetching $BIN_URL
- wget $BIN_URL -O $BIN_PATH
- chmod a+x $BIN_PATH
- $BIN_PATH --version
-
- - name: Start local node
- run: |
- echo Running on $CHAIN
- $BIN_PATH --chain=$CHAIN -- --chain polkadot-local &
-
- - name: Prepare output
- run: |
- VERSION=$($BIN_PATH --version)
- echo "Metadata comparison:" >> output.txt
- echo "Date: $(date)" >> output.txt
- echo "Reference: $REF_URL" >> output.txt
- echo "Target version: $VERSION" >> output.txt
- echo "Chain: $CHAIN" >> output.txt
- echo "----------------------------------------------------------------------" >> output.txt
-
- - name: Pull polkadot-js-tools image
- run: docker pull jacogr/polkadot-js-tools
-
- - name: Compare the metadata
- run: |
- CMD="docker run --pull always --network host jacogr/polkadot-js-tools metadata $REF_URL ws://localhost:9944"
- echo -e "Running:\n$CMD"
- $CMD >> output.txt
- sed -z -i 's/\n\n/\n/g' output.txt
- cat output.txt | egrep -n -i ''
- SUMMARY=$(./scripts/ci/github/extrinsic-ordering-filter.sh output.txt)
- echo -e $SUMMARY
- echo -e $SUMMARY >> output.txt
-
- - name: Show result
- run: |
- cat output.txt
-
- - name: Stop our local node
- run: |
- pkill $BIN
- continue-on-error: true
-
- - name: Save output as artifact
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
- with:
- name: ${{ env.CHAIN }}
- path: |
- output.txt
diff --git a/.github/workflows/release-21_extrinsic-ordering-check-from-two.yml b/.github/workflows/release-21_extrinsic-ordering-check-from-two.yml
deleted file mode 100644
index 93c0050ff6f..00000000000
--- a/.github/workflows/release-21_extrinsic-ordering-check-from-two.yml
+++ /dev/null
@@ -1,120 +0,0 @@
-# This workflow performs the Extrinsic Ordering Check on demand using two reference binaries
-
-name: Release - Extrinsic API Check with reference bins
-on:
- workflow_dispatch:
- inputs:
- reference_binary_url:
- description: A url to a Linux binary for the node containing the reference runtime to test against
- default: https://releases.parity.io/cumulus/v0.9.230/polkadot-parachain
- required: true
- binary_url:
- description: A url to a Linux binary for the node containing the runtime to test
- default: https://releases.parity.io/cumulus/v0.9.270-rc7/polkadot-parachain
- required: true
-
-jobs:
- check:
- name: Run check
- runs-on: ubuntu-latest
- timeout-minutes: 10
- env:
- REF_URL: ${{github.event.inputs.reference_binary_url}}
- BIN_REF: polkadot-parachain-ref
- BIN_URL: ${{github.event.inputs.binary_url}}
- BIN_BASE: polkadot-parachain
- TMP: ./tmp
- strategy:
- fail-fast: false
- matrix:
- include:
- - runtime: asset-hub-kusama
- local: asset-hub-kusama-local
- relay: kusama-local
- - runtime: asset-hub-polkadot
- local: asset-hub-polkadot-local
- relay: polkadot-local
- - runtime: asset-hub-westend
- local: asset-hub-westend-local
- relay: polkadot-local
- - runtime: contracts-rococo
- local: contracts-rococo-local
- relay: polkadot-local
-
- steps:
- - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
-
- - name: Create tmp dir
- run: |
- mkdir -p $TMP
- pwd
-
- - name: Fetch reference binary for ${{ matrix.runtime }}
- run: |
- echo Fetching $REF_URL
- curl $REF_URL -o $TMP/$BIN_REF
- chmod a+x $TMP/$BIN_REF
- $TMP/$BIN_REF --version
-
- - name: Fetch test binary for ${{ matrix.runtime }}
- run: |
- echo Fetching $BIN_URL
- curl $BIN_URL -o $TMP/$BIN_BASE
- chmod a+x $TMP/$BIN_BASE
- $TMP/$BIN_BASE --version
-
- - name: Start local reference node for ${{ matrix.runtime }}
- run: |
- echo Running reference on ${{ matrix.local }}
- $TMP/$BIN_REF --chain=${{ matrix.local }} --ws-port=9954 --tmp -- --chain ${{ matrix.relay }} &
- sleep 15
-
- - name: Start local test node for ${{ matrix.runtime }}
- run: |
- echo Running test on ${{ matrix.local }}
- $TMP/$BIN_BASE --chain=${{ matrix.local }} --ws-port=9944 --tmp -- --chain ${{ matrix.relay }} &
- sleep 15
-
- - name: Prepare output
- run: |
- REF_VERSION=$($TMP/$BIN_REF --version)
- BIN_VERSION=$($TMP/$BIN_BASE --version)
- echo "Metadata comparison:" >> output.txt
- echo "Date: $(date)" >> output.txt
- echo "Ref. binary: $REF_URL" >> output.txt
- echo "Test binary: $BIN_URL" >> output.txt
- echo "Ref. version: $REF_VERSION" >> output.txt
- echo "Test version: $BIN_VERSION" >> output.txt
- echo "Chain: ${{ matrix.local }}" >> output.txt
- echo "Relay: ${{ matrix.relay }}" >> output.txt
- echo "----------------------------------------------------------------------" >> output.txt
-
- - name: Pull polkadot-js-tools image
- run: docker pull jacogr/polkadot-js-tools
-
- - name: Compare the metadata
- run: |
- CMD="docker run --pull always --network host jacogr/polkadot-js-tools metadata ws://localhost:9954 ws://localhost:9944"
- echo -e "Running:\n$CMD"
- $CMD >> output.txt
- sed -z -i 's/\n\n/\n/g' output.txt
- cat output.txt | egrep -n -i ''
- SUMMARY=$(./scripts/ci/github/extrinsic-ordering-filter.sh output.txt)
- echo -e $SUMMARY
- echo -e $SUMMARY >> output.txt
-
- - name: Show result
- run: |
- cat output.txt
-
- - name: Save output as artifact
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
- with:
- name: ${{ matrix.runtime }}
- path: |
- output.txt
-
- - name: Stop our local nodes
- run: |
- pkill $BIN_REF || true
- pkill $BIN_BASE || true
diff --git a/.github/workflows/release-30_create-draft.yml b/.github/workflows/release-30_create-draft.yml
deleted file mode 100644
index 2d11dfe18ce..00000000000
--- a/.github/workflows/release-30_create-draft.yml
+++ /dev/null
@@ -1,311 +0,0 @@
-name: Release - Create draft
-
-on:
- workflow_dispatch:
- inputs:
- ref1:
- description: The 'from' tag to use for the diff
- default: parachains-v9.0.0
- required: true
- ref2:
- description: The 'to' tag to use for the diff
- default: release-parachains-v10.0.0
- required: true
- release_type:
- description: Pass "client" for client releases, leave empty otherwise
- required: false
- pre_release:
- description: For pre-releases
- default: "true"
- required: true
- notification:
- description: Whether or not to notify over Matrix
- default: "true"
- required: true
-
-jobs:
- get-rust-versions:
- runs-on: ubuntu-latest
- container:
- image: paritytech/ci-linux:production
- outputs:
- rustc-stable: ${{ steps.get-rust-versions.outputs.stable }}
- rustc-nightly: ${{ steps.get-rust-versions.outputs.nightly }}
- steps:
- - id: get-rust-versions
- run: |
- echo "stable=$(rustc +stable --version)" >> $GITHUB_OUTPUT
- echo "nightly=$(rustc +nightly --version)" >> $GITHUB_OUTPUT
-
- # We do not skip the entire job for client builds (although we don't need it)
- # because it is a dep of the next job. However we skip the time consuming steps.
- build-runtimes:
- runs-on: ubuntu-latest
- strategy:
- matrix:
- include:
- - category: assets
- runtime: asset-hub-kusama
- - category: assets
- runtime: asset-hub-polkadot
- - category: assets
- runtime: asset-hub-westend
- - category: bridge-hubs
- runtime: bridge-hub-polkadot
- - category: bridge-hubs
- runtime: bridge-hub-kusama
- - category: bridge-hubs
- runtime: bridge-hub-rococo
- - category: collectives
- runtime: collectives-polkadot
- - category: contracts
- runtime: contracts-rococo
- - category: starters
- runtime: seedling
- - category: starters
- runtime: shell
- - category: testing
- runtime: rococo-parachain
- steps:
- - name: Checkout sources
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- with:
- ref: ${{ github.event.inputs.ref2 }}
-
- - name: Cache target dir
- if: ${{ github.event.inputs.release_type != 'client' }}
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
- with:
- path: "${{ github.workspace }}/runtime/${{ matrix.runtime }}/target"
- key: srtool-target-${{ matrix.runtime }}-${{ github.sha }}
- restore-keys: |
- srtool-target-${{ matrix.runtime }}-
- srtool-target-
-
- - name: Build ${{ matrix.runtime }} runtime
- if: ${{ github.event.inputs.release_type != 'client' }}
- id: srtool_build
- uses: chevdor/srtool-actions@v0.7.0
- with:
- image: paritytech/srtool
- chain: ${{ matrix.runtime }}
- runtime_dir: parachains/runtimes/${{ matrix.category }}/${{ matrix.runtime }}
-
- - name: Store srtool digest to disk
- if: ${{ github.event.inputs.release_type != 'client' }}
- run: |
- echo '${{ steps.srtool_build.outputs.json }}' | \
- jq > ${{ matrix.runtime }}-srtool-digest.json
-
- - name: Upload ${{ matrix.runtime }} srtool json
- if: ${{ github.event.inputs.release_type != 'client' }}
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
- with:
- name: ${{ matrix.runtime }}-srtool-json
- path: ${{ matrix.runtime }}-srtool-digest.json
-
- - name: Upload ${{ matrix.runtime }} runtime
- if: ${{ github.event.inputs.release_type != 'client' }}
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
- with:
- name: ${{ matrix.runtime }}-runtime
- path: |
- ${{ steps.srtool_build.outputs.wasm_compressed }}
-
- publish-draft-release:
- runs-on: ubuntu-latest
- needs: ["get-rust-versions", "build-runtimes"]
- outputs:
- release_url: ${{ steps.create-release.outputs.html_url }}
- asset_upload_url: ${{ steps.create-release.outputs.upload_url }}
- steps:
- - name: Checkout sources
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- with:
- fetch-depth: 0
- path: cumulus
- ref: ${{ github.event.inputs.ref2 }}
-
- - uses: ruby/setup-ruby@250fcd6a742febb1123a77a841497ccaa8b9e939 # v1.152.0
- with:
- ruby-version: 3.0.0
-
- - name: Download srtool json output
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
-
- - name: Prepare tooling
- run: |
- cd cumulus/scripts/ci/changelog
- gem install bundler changelogerator:0.9.1
- bundle install
- changelogerator --help
-
- URL=https://github.com/chevdor/tera-cli/releases/download/v0.2.1/tera-cli_linux_amd64.deb
- wget $URL -O tera.deb
- sudo dpkg -i tera.deb
- tera --version
-
- - name: Generate release notes
- env:
- RUSTC_STABLE: ${{ needs.get-rust-versions.outputs.rustc-stable }}
- RUSTC_NIGHTLY: ${{ needs.get-rust-versions.outputs.rustc-nightly }}
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- NO_CACHE: 1
- DEBUG: 1
- SHELL_DIGEST: ${{ github.workspace}}/shell-srtool-json/shell-srtool-digest.json
- ASSET_HUB_WESTEND_DIGEST: ${{ github.workspace}}/asset-hub-westend-srtool-json/asset-hub-westend-srtool-digest.json
- ASSET_HUB_KUSAMA_DIGEST: ${{ github.workspace}}/asset-hub-kusama-srtool-json/asset-hub-kusama-srtool-digest.json
- ASSET_HUB_POLKADOT_DIGEST: ${{ github.workspace}}/asset-hub-polkadot-srtool-json/asset-hub-polkadot-srtool-digest.json
- BRIDGE_HUB_ROCOCO_DIGEST: ${{ github.workspace}}/bridge-hub-rococo-srtool-json/bridge-hub-rococo-srtool-digest.json
- BRIDGE_HUB_KUSAMA_DIGEST: ${{ github.workspace}}/bridge-hub-kusama-srtool-json/bridge-hub-kusama-srtool-digest.json
- BRIDGE_HUB_POLKADOT_DIGEST: ${{ github.workspace}}/bridge-hub-polkadot-srtool-json/bridge-hub-polkadot-srtool-digest.json
- COLLECTIVES_POLKADOT_DIGEST: ${{ github.workspace}}/collectives-polkadot-srtool-json/collectives-polkadot-srtool-digest.json
- ROCOCO_PARA_DIGEST: ${{ github.workspace}}/rococo-parachain-srtool-json/rococo-parachain-srtool-digest.json
- CANVAS_KUSAMA_DIGEST: ${{ github.workspace}}/contracts-rococo-srtool-json/contracts-rococo-srtool-digest.json
- REF1: ${{ github.event.inputs.ref1 }}
- REF2: ${{ github.event.inputs.ref2 }}
- PRE_RELEASE: ${{ github.event.inputs.pre_release }}
- RELEASE_TYPE: ${{ github.event.inputs.release_type }}
- run: |
- find ${{env.GITHUB_WORKSPACE}} -type f -name "*-srtool-digest.json"
-
- if [ "$RELEASE_TYPE" != "client" ]; then
- ls -al $SHELL_DIGEST || true
- ls -al $ASSET_HUB_WESTEND_DIGEST || true
- ls -al $ASSET_HUB_KUSAMA_DIGEST || true
- ls -al $ASSET_HUB_POLKADOT_DIGEST || true
- ls -al $BRIDGE_HUB_ROCOCO_DIGEST || true
- ls -al $BRIDGE_HUB_KUSAMA_DIGEST || true
- ls -al $BRIDGE_HUB_POLKADOT_DIGEST || true
- ls -al $COLLECTIVES_POLKADOT_DIGEST || true
- ls -al $ROCOCO_PARA_DIGEST || true
- ls -al $CANVAS_KUSAMA_DIGEST || true
- fi
-
- echo "The diff will be computed from $REF1 to $REF2"
- cd cumulus/scripts/ci/changelog
- ./bin/changelog $REF1 $REF2 release-notes.md
- ls -al {release-notes.md,context.json} || true
-
- - name: Archive srtool json
- if: ${{ github.event.inputs.release_type != 'client' }}
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
- with:
- name: srtool-json
- path: |
- **/*-srtool-digest.json
-
- - name: Archive context artifact
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
- with:
- name: release-notes-context
- path: |
- cumulus/scripts/ci/changelog/context.json
-
- - name: Create draft release
- id: create-release
- uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1.1.4
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- body_path: ./cumulus/scripts/ci/changelog/release-notes.md
- tag_name: ${{ github.event.inputs.ref2 }}
- release_name: ${{ github.event.inputs.ref2 }}
- draft: true
-
- publish-runtimes:
- if: ${{ github.event.inputs.release_type != 'client' }}
- runs-on: ubuntu-latest
- needs: ["publish-draft-release"]
- env:
- RUNTIME_DIR: parachains/runtimes
- strategy:
- matrix:
- include:
- - category: assets
- runtime: asset-hub-kusama
- - category: assets
- runtime: asset-hub-polkadot
- - category: assets
- runtime: asset-hub-westend
- - category: bridge-hubs
- runtime: bridge-hub-polkadot
- - category: bridge-hubs
- runtime: bridge-hub-kusama
- - category: bridge-hubs
- runtime: bridge-hub-rococo
- - category: collectives
- runtime: collectives-polkadot
- - category: contracts
- runtime: contracts-rococo
- - category: starters
- runtime: seedling
- - category: starters
- runtime: shell
- - category: testing
- runtime: rococo-parachain
- steps:
- - name: Checkout sources
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- with:
- ref: ${{ github.event.inputs.ref2 }}
-
- - name: Download artifacts
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
-
- - uses: ruby/setup-ruby@250fcd6a742febb1123a77a841497ccaa8b9e939 # v1.152.0
- with:
- ruby-version: 3.0.0
-
- - name: Get runtime version for ${{ matrix.runtime }}
- id: get-runtime-ver
- run: |
- echo "require './scripts/ci/github/runtime-version.rb'" > script.rb
- echo "puts get_runtime(runtime: \"${{ matrix.runtime }}\", runtime_dir: \"$RUNTIME_DIR/${{ matrix.category }}\")" >> script.rb
-
- echo "Current folder: $PWD"
- ls "$RUNTIME_DIR/${{ matrix.category }}/${{ matrix.runtime }}"
- runtime_ver=$(ruby script.rb)
- echo "Found version: >$runtime_ver<"
- echo "runtime_ver=$runtime_ver" >> $GITHUB_OUTPUT
-
- - name: Fix runtime name
- id: fix-runtime-path
- run: |
- cd "${{ matrix.runtime }}-runtime/"
- mv "$(sed -E 's/- */_/g' <<< ${{ matrix.runtime }})_runtime.compact.compressed.wasm" "${{ matrix.runtime }}_runtime.compact.compressed.wasm" || true
-
- - name: Upload compressed ${{ matrix.runtime }} wasm
- uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1.0.2
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- upload_url: ${{ needs.publish-draft-release.outputs.asset_upload_url }}
- asset_path: "${{ matrix.runtime }}-runtime/${{ matrix.runtime }}_runtime.compact.compressed.wasm"
- asset_name: ${{ matrix.runtime }}_runtime-v${{ steps.get-runtime-ver.outputs.runtime_ver }}.compact.compressed.wasm
- asset_content_type: application/wasm
-
- post_to_matrix:
- if: ${{ github.event.inputs.notification == 'true' }}
- runs-on: ubuntu-latest
- needs: publish-draft-release
- strategy:
- matrix:
- channel:
- - name: 'RelEng: Cumulus Release Coordination'
- room: '!NAEMyPAHWOiOQHsvus:parity.io'
- pre-releases: true
- steps:
- - name: Matrix notification to ${{ matrix.channel.name }}
- uses: s3krit/matrix-message-action@70ad3fb812ee0e45ff8999d6af11cafad11a6ecf # v0.0.3
- with:
- room_id: ${{ matrix.channel.room }}
- access_token: ${{ secrets.RELEASENOTES_MATRIX_V2_ACCESS_TOKEN }}
- server: "m.parity.io"
- message: |
- **New draft for ${{ github.repository }}**: ${{ github.event.inputs.ref2 }}
-
- Draft release created: [draft](${{ needs.publish-draft-release.outputs.release_url }})
-
- NOTE: The link above will no longer be valid if the draft is edited. You can then use the following link:
- [${{ github.server_url }}/${{ github.repository }}/releases](${{ github.server_url }}/${{ github.repository }}/releases)
diff --git a/.github/workflows/release-50_docker-manual.yml b/.github/workflows/release-50_docker-manual.yml
deleted file mode 100644
index e48d7c8faab..00000000000
--- a/.github/workflows/release-50_docker-manual.yml
+++ /dev/null
@@ -1,134 +0,0 @@
-name: Release - Docker (Manual)
-
-# This workflow fetches the binaries, checks sha256 and GPG
-# signatures, then builds an injected docker
-# image and publishes it.
-
-on:
- workflow_dispatch:
- inputs:
- tag:
- description: release tag to build image for
- default: v0.9.230
- required: true
- prerelease:
- description: is prerelease
- default: "false"
- required: true
-
-jobs:
- docker_build_publish:
- env:
- BINARY: polkadot-parachain
- TMP: tmp
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout sources
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- with:
- ref: ${{ github.event.release.tag_name }}
-
- - name: Prepare temp folder
- run: |
- mkdir ${TMP}
- ls -al
-
- - name: Fetch files from release
- working-directory: ${{ env.TMP }}
- run: |
- echo "Repo: ${{ github.event.repository.full_name }}"
- echo "Working from folder $(pwd)"
- ls -al
-
- for f in $BINARY $BINARY.asc $BINARY.sha256; do
- URL="https://github.com/${{ github.event.repository.full_name }}/releases/download/${{ github.event.inputs.tag }}/$f"
- echo " - Fetching $f from $URL"
- wget "$URL" -O "$f"
- done
- chmod a+x $BINARY
- ls -al
-
- - name: Check files
- working-directory: ${{ env.TMP }}
- run: |
- ls -al *$BINARY*
- shasum -a 256 -c $BINARY.sha256
- sha_result=$?
-
- KEY_PARITY_SEC=9D4B2B6EB8F97156D19669A9FF0812D491B96798
- KEY_CHEVDOR=2835EAF92072BC01D188AF2C4A092B93E97CE1E2
- KEYSERVER=keyserver.ubuntu.com
-
- gpg --keyserver $KEYSERVER --receive-keys $KEY_PARITY_SEC
- if [[ ${{ github.event.inputs.prerelease }} == "true" ]]; then
- gpg --keyserver $KEYSERVER --receive-keys $KEY_CHEVDOR
- fi
-
- gpg --verify $BINARY.asc
- gpg_result=$?
-
- echo sha_result: $sha_result
- echo gpg_result: $gpg_result
-
- # If it fails, it would fail earlier but a second check
- # does not hurt in case of refactoring...
- if [[ $sha_result -ne 0 || $gpg_result -ne 0 ]]; then
- echo "Check failed, exiting with error"
- exit 1
- else
- echo "Checks passed"
- fi
-
- - name: Build injected image
- env:
- DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
- DOCKERHUB_ORG: parity
- run: |
- export OWNER=$DOCKERHUB_ORG
- mkdir -p target/release
- cp -f ${TMP}/$BINARY* target/release/
- ./docker/scripts/build-injected-image.sh
-
- - name: Login to Dockerhub
- uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0
- with:
- username: ${{ secrets.DOCKERHUB_USERNAME }}
- password: ${{ secrets.DOCKERHUB_TOKEN }}
-
- - name: Tag and Publish
- env:
- DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
- DOCKERHUB_ORG: parity
- run: |
- docker run --pull never --rm $DOCKERHUB_ORG/$BINARY --version
- VERSION=$(docker run --pull never --rm $DOCKERHUB_ORG/$BINARY --version | awk '{ print $2 }' )
- SEMVER=$( echo $VERSION | cut -f1 -d- )
- GITREF=$( echo $VERSION | cut -f2 -d- )
- PRE=${{ github.event.inputs.prerelease }}
- PRE_STR=""
-
- echo "SEMVER=$SEMVER"
- echo "GITREF=$GITREF"
- echo "PRE=$PRE"
-
- # Build a tag such as:
- # 1.2.3-8a1201273 or
- # 1.2.3-pre-8a1201273 for pre-releases
- [[ $PRE == "true" ]] && PRE_STR="-pre"
- TAG=${SEMVER}${PRE_STR}-${GITREF}
- echo "PRE_STR=$PRE_STR"
- echo "TAG=$TAG"
-
- docker tag $DOCKERHUB_ORG/$BINARY $DOCKERHUB_ORG/$BINARY:$TAG
- docker push $DOCKERHUB_ORG/$BINARY:$TAG
-
- if [[ $PRE != "true" ]]; then
- docker tag $DOCKERHUB_ORG/$BINARY $DOCKERHUB_ORG/$BINARY:latest
- docker tag $DOCKERHUB_ORG/$BINARY $DOCKERHUB_ORG/$BINARY:$SEMVER
-
- docker push $DOCKERHUB_ORG/$BINARY:latest
- docker push $DOCKERHUB_ORG/$BINARY:$SEMVER
- fi
-
- docker images | grep $DOCKERHUB_ORG/$BINARY
diff --git a/.github/workflows/release-50_docker.yml b/.github/workflows/release-50_docker.yml
deleted file mode 100644
index 9a1db1a04ac..00000000000
--- a/.github/workflows/release-50_docker.yml
+++ /dev/null
@@ -1,133 +0,0 @@
-name: Release - Docker
-
-# This workflow listens to pubished releases.
-# It includes releases and pre-releases.
-# It fetches the binaries, checks sha256 and GPG
-# signatures, then builds an injected docker
-# image and publishes it.
-
-on:
- release:
- types:
- - published
-
-jobs:
- docker_build_publish:
- env:
- BINARY: polkadot-parachain
- TMP: tmp
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout sources
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- with:
- ref: ${{ github.event.release.tag_name }}
-
- - name: Prepare temp folder
- run: |
- mkdir ${TMP}
- ls -al
-
- - name: Fetch files from release
- working-directory: ${{ env.TMP }}
- run: |
- echo "Repo: ${{ github.event.repository.full_name }}"
-
- echo "Name: ${{ github.event.release.name }}"
- echo "Tag: ${{ github.event.release.tag_name }}"
- echo "Draft: ${{ github.event.release.draft }}"
- echo "Prerelease: ${{ github.event.release.prerelease }}"
- echo "Assets: ${{ github.event.release.assets }}"
-
- for f in $BINARY $BINARY.asc $BINARY.sha256; do
- URL="https://github.com/${{ github.event.repository.full_name }}/releases/download/${{ github.event.release.tag_name }}/$f"
- echo " - Fetching $f from $URL"
- wget "$URL" -O "$f"
- done
- chmod a+x $BINARY
- ls -al
-
- - name: Check files
- working-directory: ${{ env.TMP }}
- run: |
- ls -al *$BINARY*
- shasum -a 256 -c $BINARY.sha256
- sha_result=$?
-
- KEY_PARITY_SEC=9D4B2B6EB8F97156D19669A9FF0812D491B96798
- KEY_CHEVDOR=2835EAF92072BC01D188AF2C4A092B93E97CE1E2
- KEYSERVER=keyserver.ubuntu.com
-
- gpg --keyserver $KEYSERVER --receive-keys $KEY_PARITY_SEC
- if [[ ${{ github.event.release.prerelease }} == "true" ]]; then
- gpg --keyserver $KEYSERVER --receive-keys $KEY_CHEVDOR
- fi
-
- gpg --verify $BINARY.asc
- gpg_result=$?
-
- echo sha_result: $sha_result
- echo gpg_result: $gpg_result
-
- # If it fails, it would fail earlier but a second check
- # does not hurt in case of refactoring...
- if [[ $sha_result -ne 0 || $gpg_result -ne 0 ]]; then
- echo "Check failed, exiting with error"
- exit 1
- else
- echo "Checks passed"
- fi
-
- - name: Build injected image
- env:
- DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
- DOCKERHUB_ORG: parity
- run: |
- export OWNER=$DOCKERHUB_ORG
- mkdir -p target/release
- cp -f ${TMP}/$BINARY* target/release/
- ./docker/scripts/build-injected-image.sh
-
- - name: Login to Dockerhub
- uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0
- with:
- username: ${{ secrets.DOCKERHUB_USERNAME }}
- password: ${{ secrets.DOCKERHUB_TOKEN }}
-
- - name: Tag and Publish
- env:
- DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
- DOCKERHUB_ORG: parity
- run: |
- docker run --pull never --rm $DOCKERHUB_ORG/$BINARY --version
- VERSION=$(docker run --pull never --rm $DOCKERHUB_ORG/$BINARY --version | awk '{ print $2 }' )
- SEMVER=$( echo $VERSION | cut -f1 -d- )
- GITREF=$( echo $VERSION | cut -f2 -d- )
- PRE=${{ github.event.release.prerelease }}
- PRE_STR=""
-
- echo "SEMVER=$SEMVER"
- echo "GITREF=$GITREF"
- echo "PRE=$PRE"
-
- # Build a tag such as:
- # 1.2.3-8a1201273 or
- # 1.2.3-pre-8a1201273 for pre-releases
- [[ $PRE == "true" ]] && PRE_STR="-pre"
- TAG=${SEMVER}${PRE_STR}-${GITREF}
- echo "PRE_STR=$PRE_STR"
- echo "TAG=$TAG"
-
- docker tag $DOCKERHUB_ORG/$BINARY $DOCKERHUB_ORG/$BINARY:$TAG
- docker push $DOCKERHUB_ORG/$BINARY:$TAG
-
- if [[ $PRE != "true" ]]; then
- docker tag $DOCKERHUB_ORG/$BINARY $DOCKERHUB_ORG/$BINARY:latest
- docker tag $DOCKERHUB_ORG/$BINARY $DOCKERHUB_ORG/$BINARY:$SEMVER
-
- docker push $DOCKERHUB_ORG/$BINARY:latest
- docker push $DOCKERHUB_ORG/$BINARY:$SEMVER
- fi
-
- docker images | grep $DOCKERHUB_ORG/$BINARY
diff --git a/.github/workflows/release-99_bot-announce.yml b/.github/workflows/release-99_bot-announce.yml
deleted file mode 100644
index 5c2604924c4..00000000000
--- a/.github/workflows/release-99_bot-announce.yml
+++ /dev/null
@@ -1,39 +0,0 @@
-name: Release - Pushes release notes to a Matrix room
-on:
- release:
- types:
- - published
-
-jobs:
- ping_matrix:
- runs-on: ubuntu-latest
- strategy:
- matrix:
- channel:
- - name: 'RelEng: Cumulus Release Coordination'
- room: '!NAEMyPAHWOiOQHsvus:parity.io'
- pre-releases: true
- - name: 'Ledger <> Polkadot Coordination'
- room: '!EoIhaKfGPmFOBrNSHT:web3.foundation'
- pre-release: true
- - name: 'General: Rust, Polkadot, Substrate'
- room: '!aJymqQYtCjjqImFLSb:parity.io'
- pre-release: false
- - name: 'Team: DevOps'
- room: '!lUslSijLMgNcEKcAiE:parity.io'
- pre-release: true
-
- steps:
- - name: Matrix notification to ${{ matrix.channel.name }}
- uses: s3krit/matrix-message-action@70ad3fb812ee0e45ff8999d6af11cafad11a6ecf # v0.0.3
- with:
- room_id: ${{ matrix.channel.room }}
- access_token: ${{ secrets.RELEASENOTES_MATRIX_V2_ACCESS_TOKEN }}
- server: "m.parity.io"
- message: |
- A (pre)release has been ${{github.event.action}} in **${{github.event.repository.full_name}}:**
- Release version: [${{github.event.release.tag_name}}](${{github.event.release.html_url}})
-
- -----
-
- ${{github.event.release.body}}
diff --git a/.github/workflows/srtool.yml b/.github/workflows/srtool.yml
deleted file mode 100644
index ae473b48137..00000000000
--- a/.github/workflows/srtool.yml
+++ /dev/null
@@ -1,122 +0,0 @@
-name: Srtool build
-
-env:
- SUBWASM_VERSION: 0.20.0
-
-on:
- push:
- tags:
- - "*"
-
- # paths-ignore:
- # - "docker"
- # - "docs"
- # - "scripts"
- # - "test"
- # - "client"
- paths:
- - parachains/runtimes/**/*
-
- branches:
- - "release*"
-
- schedule:
- - cron: "00 02 * * 1" # 2AM weekly on monday
-
- workflow_dispatch:
-
-jobs:
- srtool:
- runs-on: ubuntu-latest
- strategy:
- matrix:
- include:
- - category: assets
- runtime: asset-hub-kusama
- - category: assets
- runtime: asset-hub-polkadot
- - category: assets
- runtime: asset-hub-westend
- - category: bridge-hubs
- runtime: bridge-hub-polkadot
- - category: bridge-hubs
- runtime: bridge-hub-kusama
- - category: bridge-hubs
- runtime: bridge-hub-rococo
- - category: collectives
- runtime: collectives-polkadot
- - category: contracts
- runtime: contracts-rococo
- - category: starters
- runtime: seedling
- - category: starters
- runtime: shell
- - category: testing
- runtime: rococo-parachain
- steps:
- - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- with:
- fetch-depth: 0
-
- - name: Srtool build
- id: srtool_build
- uses: chevdor/srtool-actions@v0.7.0
- with:
- chain: ${{ matrix.runtime }}
- runtime_dir: parachains/runtimes/${{ matrix.category }}/${{ matrix.runtime }}
-
- - name: Summary
- run: |
- echo '${{ steps.srtool_build.outputs.json }}' | jq > ${{ matrix.runtime }}-srtool-digest.json
- cat ${{ matrix.runtime }}-srtool-digest.json
- echo "Compact Runtime: ${{ steps.srtool_build.outputs.wasm }}"
- echo "Compressed Runtime: ${{ steps.srtool_build.outputs.wasm_compressed }}"
-
- # it takes a while to build the runtime, so let's save the artifact as soon as we have it
- - name: Archive Artifacts for ${{ matrix.runtime }}
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
- with:
- name: ${{ matrix.runtime }}-runtime
- path: |
- ${{ steps.srtool_build.outputs.wasm }}
- ${{ steps.srtool_build.outputs.wasm_compressed }}
- ${{ matrix.runtime }}-srtool-digest.json
-
- # We now get extra information thanks to subwasm
- - name: Install subwasm
- run: |
- wget https://github.com/chevdor/subwasm/releases/download/v${{ env.SUBWASM_VERSION }}/subwasm_linux_amd64_v${{ env.SUBWASM_VERSION }}.deb
- sudo dpkg -i subwasm_linux_amd64_v${{ env.SUBWASM_VERSION }}.deb
- subwasm --version
-
- - name: Show Runtime information
- shell: bash
- run: |
- subwasm info ${{ steps.srtool_build.outputs.wasm }}
- subwasm info ${{ steps.srtool_build.outputs.wasm_compressed }}
- subwasm --json info ${{ steps.srtool_build.outputs.wasm }} > ${{ matrix.runtime }}-info.json
- subwasm --json info ${{ steps.srtool_build.outputs.wasm_compressed }} > ${{ matrix.runtime }}-compressed-info.json
-
- - name: Extract the metadata
- shell: bash
- run: |
- subwasm meta ${{ steps.srtool_build.outputs.wasm }}
- subwasm --json meta ${{ steps.srtool_build.outputs.wasm }} > ${{ matrix.runtime }}-metadata.json
-
- - name: Check the metadata diff
- shell: bash
- # the following subwasm call will error for chains that are not known and/or live, that includes shell for instance
- run: |
- subwasm diff ${{ steps.srtool_build.outputs.wasm }} --chain-b ${{ matrix.runtime }} || \
- echo "Subwasm call failed, check the logs. This is likely because ${{ matrix.runtime }} is not known by subwasm" | \
- tee ${{ matrix.runtime }}-diff.txt
-
- - name: Archive Subwasm results
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
- with:
- name: ${{ matrix.runtime }}-runtime
- path: |
- ${{ matrix.runtime }}-info.json
- ${{ matrix.runtime }}-compressed-info.json
- ${{ matrix.runtime }}-metadata.json
- ${{ matrix.runtime }}-diff.txt
diff --git a/.gitignore b/.gitignore
index 225be857745..5d10cfa41a4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,11 +1,26 @@
**/target/
+**/.env
+**/.env2
+**/rust-toolchain
+hfuzz_target
+hfuzz_workspace
+**/Cargo.lock
+
+**/*.rs.bk
+
+*.o
+*.so
+*.rlib
+*.dll
+.gdb_history
+
+*.exe
+
+.DS_Store
+
+.cargo
.idea
.vscode
-.DS_Store
-/.cargo/config
-polkadot_argument_parsing
-**/node_modules
-**/chains/
*.iml
-.env
-**/._*
+*.swp
+*.swo
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f032901c6f4..4b212dba426 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,23 +1,23 @@
-# .gitlab-ci.yml
-#
-# cumulus
-#
-# pipelines can be triggered manually in the web
-
stages:
- test
- build
- # used for manual job run for regenerate weights for release-* branches (not needed anymore, just leave it here for a while as PlanB)
- - benchmarks-build
- # used for manual job run for regenerate weights for release-* branches (not needed anymore, just leave it here for a while as PlanB)
- - benchmarks-run
- publish
- - integration-tests
- - zombienet
- - short-benchmarks
+ - publish-docker-description
+ - deploy
+
+variables:
+ GIT_STRATEGY: fetch
+ GIT_DEPTH: 100
+ CARGO_INCREMENTAL: 0
+ ARCH: "x86_64"
+ CI_IMAGE: "paritytech/bridges-ci:production"
+ RUST_BACKTRACE: full
+ BUILDAH_IMAGE: "quay.io/buildah/stable:v1.29"
+ BUILDAH_COMMAND: "buildah --storage-driver overlay2"
default:
- interruptible: true
+ cache: {}
+ interruptible: true
retry:
max: 2
when:
@@ -25,177 +25,440 @@ default:
- unknown_failure
- api_failure
-variables:
- GIT_STRATEGY: fetch
- GIT_DEPTH: 100
- CARGO_INCREMENTAL: 0
- CI_IMAGE: !reference [.ci-unified, variables, CI_IMAGE]
- DOCKER_OS: "debian:stretch"
- ARCH: "x86_64"
- ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.3.55"
- BUILDAH_IMAGE: "quay.io/buildah/stable:v1.29"
- BUILDAH_COMMAND: "buildah --storage-driver overlay2"
-
-.common-before-script:
- before_script:
- - !reference [.job-switcher, before_script]
- - !reference [.timestamp, before_script]
-
-.collect-artifacts:
+.collect-artifacts: &collect-artifacts
artifacts:
- name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
- when: on_success
- expire_in: 1 days
+ name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
+ when: on_success
+ expire_in: 7 days
paths:
- - ./artifacts/
+ - artifacts/
-# collecting vars for pipeline stopper
-# they will be used if the job fails
-.pipeline-stopper-vars:
- before_script:
- - echo "FAILED_JOB_URL=${CI_JOB_URL}" > pipeline-stopper.env
- - echo "FAILED_JOB_NAME=${CI_JOB_NAME}" >> pipeline-stopper.env
- - echo "FAILED_JOB_NAME=${CI_JOB_NAME}" >> pipeline-stopper.env
- - echo "PR_NUM=${CI_COMMIT_REF_NAME}" >> pipeline-stopper.env
+.kubernetes-build: &kubernetes-build
+ tags:
+ - kubernetes-parity-build
-.pipeline-stopper-artifacts:
- artifacts:
- reports:
- dotenv: pipeline-stopper.env
+.docker-env: &docker-env
+ image: "${CI_IMAGE}"
+ before_script:
+ - rustup show
+ - cargo --version
+ - rustup +nightly show
+ - cargo +nightly --version
+ tags:
+ - linux-docker-vm-c2
-.common-refs:
- # these jobs run always*
+.test-refs: &test-refs
rules:
+ - if: $CI_PIPELINE_SOURCE == "pipeline"
+ - 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
- - if: $CI_COMMIT_REF_NAME =~ /^release-parachains-v[0-9].*$/ # i.e. release-parachains-v1.0, release-parachains-v2.1rc1, release-parachains-v3000
- - if: $CI_COMMIT_REF_NAME =~ /^polkadot-v[0-9]+\.[0-9]+.*$/ # i.e. polkadot-v1.0.99, polkadot-v2.1rc1
+ - if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
+ - if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
-.pr-refs:
- # these jobs run always*
+.test-only-refs: &test-only-refs
rules:
- - if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
+ - if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
-.publish-refs:
+.publish-refs: &publish-refs
rules:
- - if: $CI_COMMIT_REF_NAME == "master"
- - if: $CI_PIPELINE_SOURCE == "schedule"
- - if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
+ # won't run on the CI image update pipeline
+ - if: $CI_PIPELINE_SOURCE == "pipeline"
+ when: never
+ - if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
+ - if: $CI_COMMIT_REF_NAME =~ /^v[0-9]{4}-[0-9]{2}-[0-9]{2}.*$/ # i.e. v2021-09-27, v2021-09-27-1
+ # there are two types of nightly pipelines:
+ # 1. this one is triggered by the schedule with $PIPELINE == "nightly", it's for releasing.
+ # this job runs only on nightly pipeline with the mentioned variable, against `master` branch
+ - if: $CI_PIPELINE_SOURCE == "schedule" && $PIPELINE == "nightly"
-# run benchmarks manually only on release-parachains-v* branch
-.benchmarks-manual-refs:
+.nightly-test: &nightly-test
rules:
- - if: $CI_COMMIT_REF_NAME =~ /^release-parachains-v[0-9].*$/ # i.e. release-parachains-v1.0, release-parachains-v2.1rc1, release-parachains-v3000
- when: manual
+ # 2. another is triggered by scripts repo $CI_PIPELINE_SOURCE == "pipeline" it's for the CI image
+ # update, it also runs all the nightly checks.
+ - if: $CI_PIPELINE_SOURCE == "pipeline"
-# run benchmarks only on release-parachains-v* branch
-.benchmarks-refs:
+.deploy-refs: &deploy-refs
rules:
- - if: $CI_COMMIT_REF_NAME =~ /^release-parachains-v[0-9].*$/ # i.e. release-parachains-v1.0, release-parachains-v2.1rc1, release-parachains-v3000
+ - if: $CI_PIPELINE_SOURCE == "pipeline"
+ when: never
+ - if: $SCHEDULED_JOB
+ when: never
+ - if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
+ when: manual
+ - if: $CI_COMMIT_REF_NAME =~ /^v[0-9]{4}-[0-9]{2}-[0-9]{2}.*$/ # i.e. v2021-09-27, v2021-09-27-1
+ when: manual
+
+
+
+#### stage: test
+
+clippy-nightly:
+ stage: test
+ <<: *docker-env
+ <<: *test-refs
+ variables:
+ RUSTFLAGS: "-D warnings"
+ script:
+ # clippy currently is raising `derive-partial-eq-without-eq` warning even if `Eq` is actually derived
+ - SKIP_WASM_BUILD=1 cargo +nightly clippy --all-targets -- -A clippy::redundant_closure -A clippy::derive-partial-eq-without-eq -A clippy::or_fun_call
+
+fmt:
+ stage: test
+ <<: *docker-env
+ <<: *test-refs
+ script:
+ - cargo +nightly fmt --all -- --check
+
+spellcheck:
+ stage: test
+ <<: *docker-env
+ <<: *test-refs
+ script:
+ - cargo spellcheck check --cfg=.config/spellcheck.toml --checkers hunspell -m 1 $(find . -type f -name '*.rs' ! -path "./target/*" ! -path "./bin/millau/runtime/src/weights/*" ! -name 'codegen_runtime.rs' ! -name 'weights.rs')
+
+check:
+ stage: test
+ <<: *docker-env
+ <<: *test-refs
+ script: &check-script
+ - SKIP_WASM_BUILD=1 time cargo check --locked --verbose --workspace
+ # Check Rialto benchmarks runtime
+ - SKIP_WASM_BUILD=1 time cargo check -p rialto-runtime --locked --features runtime-benchmarks --verbose
+ # Check Millau benchmarks runtime
+ - SKIP_WASM_BUILD=1 time cargo check -p millau-runtime --locked --features runtime-benchmarks --verbose
+
+check-nightly:
+ stage: test
+ <<: *docker-env
+ <<: *nightly-test
+ script:
+ - rustup default nightly
+ - *check-script
+
+test:
+ stage: test
+ <<: *docker-env
+ <<: *test-refs
+# variables:
+# RUSTFLAGS: "-D warnings"
+ script: &test-script
+ - time cargo fetch
+ # Enable this, when you see: "`cargo metadata` can not fail on project `Cargo.toml`"
+ #- time cargo fetch --manifest-path=`cargo metadata --format-version=1 | jq --compact-output --raw-output ".packages[] | select(.name == \"polkadot-runtime\").manifest_path"`
+ #- time cargo fetch --manifest-path=`cargo metadata --format-version=1 | jq --compact-output --raw-output ".packages[] | select(.name == \"kusama-runtime\").manifest_path"`
+ - CARGO_NET_OFFLINE=true SKIP_WASM_BUILD=1 time cargo test --verbose --workspace --features runtime-benchmarks
+
+test-nightly:
+ stage: test
+ <<: *docker-env
+ <<: *nightly-test
+ script:
+ - rustup default nightly
+ - *test-script
+
+deny:
+ stage: test
+ <<: *docker-env
+ <<: *nightly-test
+ <<: *collect-artifacts
+ script:
+ - cargo deny check advisories --hide-inclusion-graph
+ - cargo deny check bans sources --hide-inclusion-graph
+ after_script:
+ - mkdir -p ./artifacts
+ - echo "___Complete logs can be found in the artifacts___"
+ - cargo deny check advisories 2> advisories.log
+ - cargo deny check bans sources 2> bans_sources.log
+ # this job is allowed to fail, only licenses check is important
+ allow_failure: true
+
+deny-licenses:
+ stage: test
+ <<: *docker-env
+ <<: *test-refs
+ <<: *collect-artifacts
+ script:
+ - cargo deny check licenses --hide-inclusion-graph
+ after_script:
+ - mkdir -p ./artifacts
+ - echo "___Complete logs can be found in the artifacts___"
+ - cargo deny check licenses 2> licenses.log
+
+benchmarks-test:
+ stage: test
+ <<: *docker-env
+ <<: *nightly-test
+ script:
+ - time cargo run --release -p millau-bridge-node --features=runtime-benchmarks -- benchmark pallet --chain=dev --steps=2 --repeat=1 --pallet=pallet_bridge_messages --extrinsic=* --execution=wasm --wasm-execution=Compiled --heap-pages=4096
+ - time cargo run --release -p millau-bridge-node --features=runtime-benchmarks -- benchmark pallet --chain=dev --steps=2 --repeat=1 --pallet=pallet_bridge_grandpa --extrinsic=* --execution=wasm --wasm-execution=Compiled --heap-pages=4096
+ - time cargo run --release -p millau-bridge-node --features=runtime-benchmarks -- benchmark pallet --chain=dev --steps=2 --repeat=1 --pallet=pallet_bridge_parachains --extrinsic=* --execution=wasm --wasm-execution=Compiled --heap-pages=4096
+ - time cargo run --release -p millau-bridge-node --features=runtime-benchmarks -- benchmark pallet --chain=dev --steps=2 --repeat=1 --pallet=pallet_bridge_relayers --extrinsic=* --execution=wasm --wasm-execution=Compiled --heap-pages=4096
+ - time cargo run --release -p millau-bridge-node --features=runtime-benchmarks -- benchmark pallet --chain=dev --steps=2 --repeat=1 --pallet=pallet_xcm_bridge_hub_router --extrinsic=* --execution=wasm --wasm-execution=Compiled --heap-pages=4096
+ # we may live with failing benchmarks, it is just a signal for us
+ allow_failure: true
+
+check-rustdoc:
+ stage: test
+ <<: *docker-env
+ <<: *test-refs
+ variables:
+ SKIP_WASM_BUILD: 1
+ RUSTDOCFLAGS: "-Dwarnings"
+ script:
+ - time cargo +nightly doc --workspace --verbose --no-deps --all-features --exclude relay-rialto-parachain-client
-.zombienet-refs:
+partial-repo-pallets-build-test:
+ stage: test
+ <<: *docker-env
+ <<: *nightly-test
+ script:
+ - ./scripts/verify-pallets-build.sh --no-revert
+ # we may live with failing partial repo build, it is just a signal for us
+ allow_failure: true
+
+build:
+ stage: test
rules:
+ # won't run on the CI image update pipeline
- if: $CI_PIPELINE_SOURCE == "pipeline"
when: never
- - if: $CI_PIPELINE_SOURCE == "schedule"
- when: never
- - 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
+ - if: $CI_COMMIT_REF_NAME =~ /^v[0-9]{4}-[0-9]{2}-[0-9]{2}.*$/ # i.e. v2021-09-27, v2021-09-27-1
+ - if: $CI_PIPELINE_SOURCE == "schedule" && $PIPELINE == "nightly"
+ - if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
+ <<: *docker-env
+ <<: *collect-artifacts
+ # master
+ script: &build-script
+ - time cargo fetch
+ # Enable this, when you see: "`cargo metadata` can not fail on project `Cargo.toml`"
+ #- time cargo fetch --manifest-path=`cargo metadata --format-version=1 | jq --compact-output --raw-output ".packages[] | select(.name == \"polkadot-runtime\").manifest_path"`
+ #- time cargo fetch --manifest-path=`cargo metadata --format-version=1 | jq --compact-output --raw-output ".packages[] | select(.name == \"kusama-runtime\").manifest_path"`
+ - CARGO_NET_OFFLINE=true time cargo build --release --verbose --workspace
+ after_script:
+ # Prepare artifacts
+ - mkdir -p ./artifacts
+ - strip ./target/release/rialto-bridge-node
+ - mv -v ./target/release/rialto-bridge-node ./artifacts/
+ - strip ./target/release/rialto-parachain-collator
+ - mv -v ./target/release/rialto-parachain-collator ./artifacts/
+ - strip ./target/release/millau-bridge-node
+ - mv -v ./target/release/millau-bridge-node ./artifacts/
+ - strip ./target/release/substrate-relay
+ - mv -v ./target/release/substrate-relay ./artifacts/
+ - mv -v ./deployments/local-scripts/bridge-entrypoint.sh ./artifacts/
+ - mv -v ./ci.Dockerfile ./artifacts/
-.job-switcher:
- before_script:
- - if echo "$CI_DISABLED_JOBS" | grep -xF "$CI_JOB_NAME"; then echo "The job has been cancelled in CI settings"; exit 0; fi
+build-nightly:
+ stage: build
+ <<: *docker-env
+ <<: *collect-artifacts
+ <<: *nightly-test
+ script:
+ - rustup default nightly
+ - *build-script
-.docker-env:
- image: "${CI_IMAGE}"
- before_script:
- - !reference [.common-before-script, before_script]
- - rustup show
- - cargo --version
- - bash --version
- tags:
- - linux-docker-vm-c2
+#### stage: publish
+
+# check that images can be built
+.build-image: &build-image
+ <<: *kubernetes-build
+ image: $BUILDAH_IMAGE
+ <<: *test-only-refs
+ variables: &build-image-variables
+ GIT_STRATEGY: none
+ DOCKERFILE: ci.Dockerfile
+ needs:
+ - job: build
+ artifacts: true
+ script:
+ # trim "-build-docker" from job name
+ - export DOCKER_IMAGE_NAME="${CI_JOB_NAME::-13}"
+ - if [[ "${CI_JOB_NAME::-13}" == "bridges-common-relay" ]]; then
+ export BRIDGES_PROJECT="substrate-relay";
+ else
+ export BRIDGES_PROJECT="${CI_JOB_NAME::-13}";
+ fi
+ - export IMAGE_NAME=docker.io/paritytech/${DOCKER_IMAGE_NAME}
+ - echo "Building ${IMAGE_NAME}"
+ - cd ./artifacts
+ - $BUILDAH_COMMAND build
+ --format=docker
+ --build-arg VCS_REF="${CI_COMMIT_SHORT_SHA}"
+ --build-arg BUILD_DATE="$(date +%d-%m-%Y)"
+ --build-arg PROJECT="${BRIDGES_PROJECT}"
+ --build-arg VERSION="${VERSION}"
+ --tag "${IMAGE_NAME}:latest"
+ --file "${DOCKERFILE}" .
+
+rialto-bridge-node-build-docker:
+ stage: publish
+ <<: *build-image
+
+rialto-parachain-collator-build-docker:
+ stage: publish
+ <<: *build-image
-.kubernetes-env:
- image: "${CI_IMAGE}"
+millau-bridge-node-build-docker:
+ stage: publish
+ <<: *build-image
+
+substrate-relay-build-docker:
+ stage: publish
+ <<: *build-image
+
+bridges-common-relay-build-docker:
+ stage: publish
+ <<: *build-image
+ variables:
+ <<: *build-image-variables
+ BRIDGES_PROJECT: substrate-relay
+ DOCKER_IMAGE_NAME: bridges-common-relay
+
+# build and publish images
+.build-push-image: &build-push-image
+ <<: *kubernetes-build
+ image: $BUILDAH_IMAGE
+ <<: *publish-refs
+ variables: &image-variables
+ GIT_STRATEGY: none
+ DOCKERFILE: ci.Dockerfile
+ BRIDGES_PROJECT: "${CI_JOB_NAME}"
+ DOCKER_IMAGE_NAME: "${CI_JOB_NAME}"
+ IMAGE_NAME: docker.io/paritytech/$DOCKER_IMAGE_NAME
+ needs:
+ - job: build
+ artifacts: true
before_script:
- - !reference [.common-before-script, before_script]
+ - echo "Starting docker image build/push with name '${IMAGE_NAME}' for '${BRIDGES_PROJECT}' with Dockerfile = '${DOCKERFILE}'"
+ - if [[ "${CI_COMMIT_TAG}" ]]; then
+ VERSION=${CI_COMMIT_TAG};
+ elif [[ "${CI_COMMIT_REF_NAME}" ]]; then
+ VERSION=$(echo ${CI_COMMIT_REF_NAME} | sed -r 's#/+#-#g');
+ fi
+ # When building from version tags (v1.0, v2.1rc1, ...) we'll use "production" to tag
+ # docker image. In all other cases, it'll be "latest".
+ - if [[ $CI_COMMIT_REF_NAME =~ ^v[0-9]+\.[0-9]+.*$ ]]; then
+ FLOATING_TAG="production";
+ else
+ FLOATING_TAG="latest";
+ fi
+ - echo "Effective tags = ${VERSION} sha-${CI_COMMIT_SHORT_SHA} ${FLOATING_TAG}"
+ - echo "Full docker image name = ${IMAGE_NAME}"
+ script:
+ - test "${Docker_Hub_User_Parity}" -a "${Docker_Hub_Pass_Parity}" ||
+ ( echo "no docker credentials provided"; exit 1 )
+ - cd ./artifacts
+ - $BUILDAH_COMMAND build
+ --format=docker
+ --build-arg VCS_REF="${CI_COMMIT_SHORT_SHA}"
+ --build-arg BUILD_DATE="$(date +%d-%m-%Y)"
+ --build-arg PROJECT="${BRIDGES_PROJECT}"
+ --build-arg VERSION="${VERSION}"
+ --tag "${IMAGE_NAME}:${VERSION}"
+ --tag "${IMAGE_NAME}:sha-${CI_COMMIT_SHORT_SHA}"
+ --tag "${IMAGE_NAME}:${FLOATING_TAG}"
+ --file "${DOCKERFILE}" .
+ # The job will success only on the protected branch
+ - echo "${Docker_Hub_Pass_Parity}" |
+ buildah login --username "${Docker_Hub_User_Parity}" --password-stdin docker.io
+ - $BUILDAH_COMMAND info
+ - $BUILDAH_COMMAND push --format=v2s2 "${IMAGE_NAME}:${VERSION}"
+ - $BUILDAH_COMMAND push --format=v2s2 "${IMAGE_NAME}:sha-${CI_COMMIT_SHORT_SHA}"
+ - $BUILDAH_COMMAND push --format=v2s2 "${IMAGE_NAME}:${FLOATING_TAG}"
+ after_script:
+ - env REGISTRY_AUTH_FILE= buildah logout --all
+
+rialto-bridge-node:
+ stage: publish
+ <<: *build-push-image
+
+rialto-parachain-collator:
+ stage: publish
+ <<: *build-push-image
+
+millau-bridge-node:
+ stage: publish
+ <<: *build-push-image
+
+substrate-relay:
+ stage: publish
+ <<: *build-push-image
+
+bridges-common-relay:
+ stage: publish
+ <<: *build-push-image
+ variables:
+ <<: *image-variables
+ BRIDGES_PROJECT: substrate-relay
+ DOCKER_IMAGE_NAME: bridges-common-relay
+
+# Publish Docker images description to hub.docker.com
+
+.publish-docker-image-description:
+ stage: publish-docker-description
+ image: paritytech/dockerhub-description
+ variables:
+ DOCKER_USERNAME: $Docker_Hub_User_Parity
+ DOCKER_PASSWORD: $Docker_Hub_Pass_Parity
+ README_FILEPATH: $CI_PROJECT_DIR/docs/${CI_JOB_NAME}.README.md
+ rules:
+ - if: $CI_COMMIT_REF_NAME == "master"
+ changes:
+ - docs/${CI_JOB_NAME}.README.md
+ script:
+ - export DOCKERHUB_REPOSITORY="paritytech/${CI_JOB_NAME:10}"
+ - cd / && sh entrypoint.sh
tags:
- kubernetes-parity-build
-.git-commit-push:
- script:
- - git status
- # Set git config
- - rm -rf .git/config
- - git config --global user.email "${GITHUB_EMAIL}"
- - git config --global user.name "${GITHUB_USER}"
- - git config remote.origin.url "https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/paritytech/${CI_PROJECT_NAME}.git"
- - git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
- # push results to github
- - git checkout -b $BRANCHNAME
- - git add parachains/*
- - git commit -m "[benchmarks] pr with weights"
- - git push origin $BRANCHNAME
-
-include:
- # test jobs
- - scripts/ci/gitlab/pipeline/test.yml
- # # build jobs
- - scripts/ci/gitlab/pipeline/build.yml
- # short-benchmarks jobs
- - scripts/ci/gitlab/pipeline/short-benchmarks.yml
- # # benchmarks jobs
- # # used for manual job run for regenerate weights for release-* branches (not needed anymore, just leave it here for a while as PlanB)
- - scripts/ci/gitlab/pipeline/benchmarks.yml
- # # publish jobs
- - scripts/ci/gitlab/pipeline/publish.yml
- # zombienet jobs
- - scripts/ci/gitlab/pipeline/zombienet.yml
- # timestamp handler
- - project: parity/infrastructure/ci_cd/shared
- ref: main
- file: /common/timestamp.yml
- - project: parity/infrastructure/ci_cd/shared
- ref: main
- file: /common/ci-unified.yml
-
-
-#### stage: .post
-
-# This job cancels the whole pipeline if any of provided jobs fail.
-# In a DAG, every jobs chain is executed independently of others. The `fail_fast` principle suggests
-# to fail the pipeline as soon as possible to shorten the feedback loop.
-cancel-pipeline:
- stage: .post
- needs:
- - job: test-linux-stable
- rules:
- - if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
- when: on_failure
+dockerhub-rialto-bridge-node:
+ extends: .publish-docker-image-description
variables:
- PROJECT_ID: "${CI_PROJECT_ID}"
- PROJECT_NAME: "${CI_PROJECT_NAME}"
- PIPELINE_ID: "${CI_PIPELINE_ID}"
- FAILED_JOB_URL: "${FAILED_JOB_URL}"
- FAILED_JOB_NAME: "${FAILED_JOB_NAME}"
- PR_NUM: "${PR_NUM}"
- trigger:
- project: "parity/infrastructure/ci_cd/pipeline-stopper"
- branch: "as-improve"
-
-remove-cancel-pipeline-message:
- stage: .post
- rules:
- - if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
+ SHORT_DESCRIPTION: "rialto-bridge-node"
+
+dockerhub-rialto-parachain-collator:
+ extends: .publish-docker-image-description
variables:
- PROJECT_ID: "${CI_PROJECT_ID}"
- PROJECT_NAME: "${CI_PROJECT_NAME}"
- PIPELINE_ID: "${CI_PIPELINE_ID}"
- FAILED_JOB_URL: "https://gitlab.com"
- FAILED_JOB_NAME: "nope"
- PR_NUM: "${CI_COMMIT_REF_NAME}"
- trigger:
- project: "parity/infrastructure/ci_cd/pipeline-stopper"
+ SHORT_DESCRIPTION: "rialto-parachain-collator"
+
+dockerhub-millau-bridge-node:
+ extends: .publish-docker-image-description
+ variables:
+ SHORT_DESCRIPTION: "millau-bridge-node"
+
+dockerhub-substrate-relay:
+ extends: .publish-docker-image-description
+ variables:
+ SHORT_DESCRIPTION: "substrate-relay"
+
+dockerhub-bridges-common-relay:
+ extends: .publish-docker-image-description
+ variables:
+ SHORT_DESCRIPTION: "bridges-common-relay"
+
+# FIXME: publish binaries
+
+deploy-bridges-common-relay-testnet:
+ <<: *deploy-refs
+ <<: *kubernetes-build
+ needs:
+ - job: bridges-common-relay
+ stage: deploy
+ image: argoproj/argocd:v2.5.5
+ environment: parity-testnet
+ variables:
+ ARGOCD_OPTS: --grpc-web --grpc-web-root-path /parity-testnet
+ APP: bridges-common-relay
+ before_script:
+ - if [[ "${CI_COMMIT_TAG}" ]]; then
+ VERSION=${CI_COMMIT_TAG};
+ elif [[ "${CI_COMMIT_REF_NAME}" ]]; then
+ VERSION=$(echo ${CI_COMMIT_REF_NAME} | sed -r 's#/+#-#g');
+ fi
+ script:
+ - echo "Starting deploy version=${VERSION}"
+ - argocd app list
+ - argocd app set $APP --helm-set bridges-common-relay.image.tag=$VERSION
+ - argocd app sync $APP --async
diff --git a/.maintain/bridge-weight-template.hbs b/.maintain/bridge-weight-template.hbs
new file mode 100644
index 00000000000..ff70b55aa2c
--- /dev/null
+++ b/.maintain/bridge-weight-template.hbs
@@ -0,0 +1,138 @@
+// Copyright 2019-2021 Parity Technologies (UK) Ltd.
+// This file is part of Parity Bridges Common.
+
+// Parity Bridges Common is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Parity Bridges Common is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Parity Bridges Common. If not, see .
+
+//! Autogenerated weights for {{pallet}}
+//!
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION {{version}}
+//! DATE: {{date}}, STEPS: `{{cmd.steps}}`, REPEAT: `{{cmd.repeat}}`, LOW RANGE: `{{cmd.lowest_range_values}}`, HIGH RANGE: `{{cmd.highest_range_values}}`
+//! WORST CASE MAP SIZE: `{{cmd.worst_case_map_values}}`
+//! HOSTNAME: `{{hostname}}`, CPU: `{{cpuname}}`
+//! EXECUTION: {{cmd.execution}}, WASM-EXECUTION: {{cmd.wasm_execution}}, CHAIN: {{cmd.chain}}, DB CACHE: {{cmd.db_cache}}
+
+// Executed Command:
+{{#each args as |arg|}}
+// {{arg}}
+{{/each}}
+
+#![allow(clippy::all)]
+#![allow(unused_parens)]
+#![allow(unused_imports)]
+#![allow(missing_docs)]
+
+use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
+use sp_std::marker::PhantomData;
+
+/// Weight functions needed for {{pallet}}.
+pub trait WeightInfo {
+ {{#each benchmarks as |benchmark|}}
+ fn {{benchmark.name~}}
+ (
+ {{~#each benchmark.components as |c| ~}}
+ {{c.name}}: u32, {{/each~}}
+ ) -> Weight;
+ {{/each}}
+}
+
+/// Weights for `{{pallet}}` that are generated using one of the Bridge testnets.
+///
+/// Those weights are test only and must never be used in production.
+pub struct BridgeWeight(PhantomData);
+impl WeightInfo for BridgeWeight {
+ {{#each benchmarks as |benchmark|}}
+ {{#each benchmark.comments as |comment|}}
+ /// {{comment}}
+ ///
+ {{/each}}
+ {{#each benchmark.component_ranges as |range|}}
+ /// The range of component `{{range.name}}` is `[{{range.min}}, {{range.max}}]`.
+ ///
+ {{/each}}
+ fn {{benchmark.name~}}
+ (
+ {{~#each benchmark.components as |c| ~}}
+ {{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}}
+ ) -> Weight {
+ // Proof Size summary in bytes:
+ // Measured: `{{benchmark.base_recorded_proof_size}}{{#each benchmark.component_recorded_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}`
+ // Estimated: `{{benchmark.base_calculated_proof_size}}{{#each benchmark.component_calculated_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}`
+ // Minimum execution time: {{underscore benchmark.min_execution_time}} nanoseconds.
+ Weight::from_parts({{underscore benchmark.base_weight}}, {{benchmark.base_calculated_proof_size}})
+ {{#each benchmark.component_weight as |cw|}}
+ // Standard Error: {{underscore cw.error}}
+ .saturating_add(Weight::from_parts({{underscore cw.slope}}, 0).saturating_mul({{cw.name}}.into()))
+ {{/each}}
+ {{#if (ne benchmark.base_reads "0")}}
+ .saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}}_u64))
+ {{/if}}
+ {{#each benchmark.component_reads as |cr|}}
+ .saturating_add(T::DbWeight::get().reads(({{cr.slope}}_u64).saturating_mul({{cr.name}}.into())))
+ {{/each}}
+ {{#if (ne benchmark.base_writes "0")}}
+ .saturating_add(T::DbWeight::get().writes({{benchmark.base_writes}}_u64))
+ {{/if}}
+ {{#each benchmark.component_writes as |cw|}}
+ .saturating_add(T::DbWeight::get().writes(({{cw.slope}}_u64).saturating_mul({{cw.name}}.into())))
+ {{/each}}
+ {{#each benchmark.component_calculated_proof_size as |cp|}}
+ .saturating_add(Weight::from_parts(0, {{cp.slope}}).saturating_mul({{cp.name}}.into()))
+ {{/each}}
+ }
+ {{/each}}
+}
+
+// For backwards compatibility and tests
+impl WeightInfo for () {
+ {{#each benchmarks as |benchmark|}}
+ {{#each benchmark.comments as |comment|}}
+ /// {{comment}}
+ ///
+ {{/each}}
+ {{#each benchmark.component_ranges as |range|}}
+ /// The range of component `{{range.name}}` is `[{{range.min}}, {{range.max}}]`.
+ ///
+ {{/each}}
+ fn {{benchmark.name~}}
+ (
+ {{~#each benchmark.components as |c| ~}}
+ {{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}}
+ ) -> Weight {
+ // Proof Size summary in bytes:
+ // Measured: `{{benchmark.base_recorded_proof_size}}{{#each benchmark.component_recorded_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}`
+ // Estimated: `{{benchmark.base_calculated_proof_size}}{{#each benchmark.component_calculated_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}`
+ // Minimum execution time: {{underscore benchmark.min_execution_time}} nanoseconds.
+ Weight::from_parts({{underscore benchmark.base_weight}}, {{benchmark.base_calculated_proof_size}})
+ {{#each benchmark.component_weight as |cw|}}
+ // Standard Error: {{underscore cw.error}}
+ .saturating_add(Weight::from_parts({{underscore cw.slope}}, 0).saturating_mul({{cw.name}}.into()))
+ {{/each}}
+ {{#if (ne benchmark.base_reads "0")}}
+ .saturating_add(RocksDbWeight::get().reads({{benchmark.base_reads}}_u64))
+ {{/if}}
+ {{#each benchmark.component_reads as |cr|}}
+ .saturating_add(RocksDbWeight::get().reads(({{cr.slope}}_u64).saturating_mul({{cr.name}}.into())))
+ {{/each}}
+ {{#if (ne benchmark.base_writes "0")}}
+ .saturating_add(RocksDbWeight::get().writes({{benchmark.base_writes}}_u64))
+ {{/if}}
+ {{#each benchmark.component_writes as |cw|}}
+ .saturating_add(RocksDbWeight::get().writes(({{cw.slope}}_u64).saturating_mul({{cw.name}}.into())))
+ {{/each}}
+ {{#each benchmark.component_calculated_proof_size as |cp|}}
+ .saturating_add(Weight::from_parts(0, {{cp.slope}}).saturating_mul({{cp.name}}.into()))
+ {{/each}}
+ }
+ {{/each}}
+}
diff --git a/.rustfmt.toml b/.rustfmt.toml
deleted file mode 100644
index bfa2448ee17..00000000000
--- a/.rustfmt.toml
+++ /dev/null
@@ -1,24 +0,0 @@
-# Basic
-edition = "2021"
-hard_tabs = true
-max_width = 100
-use_small_heuristics = "Max"
-
-# Imports
-imports_granularity = "Crate"
-reorder_imports = true
-
-# Consistency
-newline_style = "Unix"
-
-# Misc
-binop_separator = "Back"
-chain_width = 80
-match_arm_blocks = false
-match_arm_leading_pipes = "Preserve"
-match_block_trailing_comma = true
-reorder_impl_items = false
-spaces_around_ranges = false
-trailing_comma = "Vertical"
-trailing_semicolon = false
-use_field_init_shorthand = true
diff --git a/BRIDGES.md b/BRIDGES.md
deleted file mode 100644
index 8766de92c17..00000000000
--- a/BRIDGES.md
+++ /dev/null
@@ -1,91 +0,0 @@
-# Using Parity Bridges Common dependency (`git subtree`).
-
-In `./bridges` sub-directory you can find a `git subtree` imported version of:
-[parity-bridges-common](https://github.com/paritytech/parity-bridges-common/) repository.
-
-(For regular Cumulus contributor 1. is relevant) \
-(For Cumulus maintainer 1. and 2. are relevant) \
-(For Bridges team 1. and 2. and 3. are relevant)
-
-# 1. How to fix broken Bridges code?
-
-To fix Bridges code simply create a commit in current (`Cumulus`) repo. Best if
-the commit is isolated to changes in `./bridges` sub-directory, because it makes
-it easier to import that change back to upstream repo.
-
-(Any changes to `bridges` subtree require Bridges team approve and they should manage backport to Bridges repo)
-
-
-# 2. How to pull latest Bridges code to the `bridges` subtree
-(in practice)
-
-The `bridges` repo has a stabilized branch `polkadot-staging` dedicated for releasing.
-
-```
-cd
-
-# this will update new git branches from bridges repo
-# there could be unresolved conflicts, but dont worry,
-# lots of them are caused because of removed unneeded files with patch step,
-BRANCH=polkadot-staging ./scripts/bridges_update_subtree.sh fetch
-
-# so, after fetch and before solving conflicts just run patch,
-# this will remove unneeded files and checks if subtree modules compiles
-./scripts/bridges_update_subtree.sh patch
-
-# if there are conflicts, this could help,
-# this removes locally deleted files at least (move changes to git stash for commit)
-./scripts/bridges_update_subtree.sh merge
-
-# (optional) when conflicts resolved, you can check build again - should pass
-# also important: this updates global Cargo.lock
-./scripts/bridges_update_subtree.sh patch
-
-# add changes to the commit, first command `fetch` starts merge,
-# so after all conflicts are solved and patch passes and compiles,
-# then we need to finish merge with:
-git merge --continue
-````
-
-# 3. How to pull latest Bridges code or contribute back?
-(in theory)
-
-Note that it's totally fine to ping the **Bridges Team** to do that for you. The point
-of adding the code as `git subtree` is to **reduce maintenance cost** for Cumulus/Polkadot
-developers.
-
-If you still would like to either update the code to match latest code from the repo
-or create an upstream PR read below. The following commands should be run in the
-current (`polkadot`) repo.
-
-1. Add Bridges repo as a local remote:
-```
-$ git remote add -f bridges git@github.com:paritytech/parity-bridges-common.git
-```
-
-If you plan to contribute back, consider forking the repository on Github and adding
-your personal fork as a remote as well.
-```
-$ git remote add -f my-bridges git@github.com:tomusdrw/parity-bridges-common.git
-```
-
-2. To update Bridges:
-```
-$ git fetch bridges polkadot-staging
-$ git subtree pull --prefix=bridges bridges polkadot-staging --squash
-````
-
-We use `--squash` to avoid adding individual commits and rather squashing them
-all into one.
-
-3. Clean unneeded files here:
-```
-./bridges/scripts/verify-pallets-build.sh --ignore-git-state --no-revert
-```
-
-4. Contributing back to Bridges (creating upstream PR)
-```
-$ git subtree push --prefix=bridges my-bridges polkadot-staging
-```
-This command will push changes to your personal fork of Bridges repo, from where
-you can simply create a PR to the main repo.
diff --git a/CODEOWNERS b/CODEOWNERS
index 3e5e8bd062d..3941ba8451a 100644
--- a/CODEOWNERS
+++ b/CODEOWNERS
@@ -11,13 +11,11 @@
# - Glob syntax is git-like, e.g. `/core` means the core directory in the root, unlike `core`
# which can be everywhere.
# - Multiple owners are supported.
-# - Either handle (e.g, @github_user or @github/team) or email can be used. Keep in mind,
+# - Either handle (e.g, @github_user or @github_org/team) or email can be used. Keep in mind,
# that handles might work better because they are more recognizable on GitHub,
# eyou can use them for mentioning unlike an email.
# - The latest matching rule, if multiple, takes precedence.
# CI
-/.github/ @paritytech/ci @paritytech/release-engineering
+/.github/ @paritytech/ci
/.gitlab-ci.yml @paritytech/ci
-/scripts/ci/ @paritytech/ci @paritytech/release-engineering
-
diff --git a/bridges/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md
similarity index 100%
rename from bridges/CODE_OF_CONDUCT.md
rename to CODE_OF_CONDUCT.md
diff --git a/Cargo.lock b/Cargo.lock
index 7164f6b25b3..5f5b5a9df48 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -21,19 +21,38 @@ dependencies = [
"gimli",
]
+[[package]]
+name = "addr2line"
+version = "0.20.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f4fa78e18c64fce05e902adecd7a5eed15a5e0a3439f7b0e169f0252214865e3"
+dependencies = [
+ "gimli",
+]
+
[[package]]
name = "adler"
version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
+[[package]]
+name = "aead"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7fc95d1bdb8e6666b2b217308eeeb09f2d6728d104be3e31916cc74d15420331"
+dependencies = [
+ "generic-array 0.14.7",
+]
+
[[package]]
name = "aead"
version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b613b8e1e3cf911a086f53f03bf286f52fd7a7258e4fa606f0ef220d39d8877"
dependencies = [
- "generic-array 0.14.6",
+ "generic-array 0.14.7",
+ "rand_core 0.6.4",
]
[[package]]
@@ -43,7 +62,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0"
dependencies = [
"crypto-common",
- "generic-array 0.14.6",
+ "generic-array 0.14.7",
+]
+
+[[package]]
+name = "aes"
+version = "0.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "884391ef1066acaa41e766ba8f596341b96e93ce34f9a43e7d24bf0a0eaf0561"
+dependencies = [
+ "aes-soft",
+ "aesni",
+ "cipher 0.2.5",
]
[[package]]
@@ -52,7 +82,7 @@ version = "0.7.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9e8b47f52ea9bae42228d07ec09eb676433d7c4ed1ebdf0f1d1c29ed446f1ab8"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
"cipher 0.3.0",
"cpufeatures",
"opaque-debug 0.3.0",
@@ -64,7 +94,7 @@ version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ac1f845298e95f983ff1944b728ae08b8cebab80d684f0a832ed0fc74dfa27e2"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
"cipher 0.4.4",
"cpufeatures",
]
@@ -97,55 +127,78 @@ dependencies = [
"subtle",
]
+[[package]]
+name = "aes-soft"
+version = "0.6.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "be14c7498ea50828a38d0e24a765ed2effe92a705885b57d029cd67d45744072"
+dependencies = [
+ "cipher 0.2.5",
+ "opaque-debug 0.3.0",
+]
+
+[[package]]
+name = "aesni"
+version = "0.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ea2e11f5e94c2f7d386164cc2aa1f97823fed6f259e486940a71c174dd01b0ce"
+dependencies = [
+ "cipher 0.2.5",
+ "opaque-debug 0.3.0",
+]
+
[[package]]
name = "ahash"
version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47"
dependencies = [
- "getrandom 0.2.8",
+ "getrandom 0.2.10",
"once_cell",
"version_check",
]
[[package]]
name = "ahash"
-version = "0.8.2"
+version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bf6ccdb167abbf410dcb915cabd428929d7f6a04980b54a11f26a39f1c7f7107"
+checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f"
dependencies = [
- "cfg-if",
- "getrandom 0.2.8",
+ "cfg-if 1.0.0",
+ "getrandom 0.2.10",
"once_cell",
"version_check",
]
[[package]]
name = "aho-corasick"
-version = "0.7.18"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f"
+checksum = "43f6cb1bf222025340178f382c426f13757b2960e89779dfcb319c32542a5a41"
dependencies = [
"memchr",
]
[[package]]
-name = "allocator-api2"
-version = "0.2.16"
+name = "always-assert"
+version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5"
+checksum = "4436e0292ab1bb631b42973c61205e704475fe8126af845c8d923c0996328127"
[[package]]
-name = "always-assert"
-version = "0.1.2"
+name = "android-tzdata"
+version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fbf688625d06217d5b1bb0ea9d9c44a1635fd0ee3534466388d18203174f4d11"
+checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0"
[[package]]
-name = "anes"
-version = "0.1.6"
+name = "android_system_properties"
+version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299"
+checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
+dependencies = [
+ "libc",
+]
[[package]]
name = "ansi_term"
@@ -158,11 +211,11 @@ dependencies = [
[[package]]
name = "anstream"
-version = "0.3.0"
+version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9e579a7752471abc2a8268df8b20005e3eadd975f585398f17efcfd8d4927371"
+checksum = "0ca84f3628370c59db74ee214b3263d58f9aadd9b4fe7e711fd87dc452b7f163"
dependencies = [
- "anstyle 1.0.0",
+ "anstyle",
"anstyle-parse",
"anstyle-query",
"anstyle-wincon",
@@ -173,21 +226,15 @@ dependencies = [
[[package]]
name = "anstyle"
-version = "0.3.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ba0b55c2201aa802adb684e7963ce2c3191675629e7df899774331e3ac747cf"
-
-[[package]]
-name = "anstyle"
-version = "1.0.0"
+version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "41ed9a86bf92ae6580e0a31281f65a1b1d867c0cc68d5346e2ae128dddfa6a7d"
+checksum = "3a30da5c5f2d5e72842e00bcb57657162cdabef0931f40e2deb9b4140440cecd"
[[package]]
name = "anstyle-parse"
-version = "0.2.0"
+version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e765fd216e48e067936442276d1d57399e37bce53c264d6fefbe298080cb57ee"
+checksum = "938874ff5980b03a87c5524b3ae5b59cf99b1d6bc836848df7bc5ada9643c333"
dependencies = [
"utf8parse",
]
@@ -203,11 +250,11 @@ dependencies = [
[[package]]
name = "anstyle-wincon"
-version = "1.0.0"
+version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4bcd8291a340dd8ac70e18878bc4501dd7b4ff970cfa21c207d36ece51ea88fd"
+checksum = "180abfa45703aebe0093f79badacc01b8fd4ea2e35118747e5811127f926e188"
dependencies = [
- "anstyle 1.0.0",
+ "anstyle",
"windows-sys 0.48.0",
]
@@ -219,9 +266,9 @@ checksum = "3b13c32d80ecc7ab747b80c3784bce54ee8a7a0cc4fbda9bf4cda2cf6fe90854"
[[package]]
name = "approx"
-version = "0.5.0"
+version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "072df7202e63b127ab55acfe16ce97013d5b97bf160489336d3f1840fd78e99e"
+checksum = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6"
dependencies = [
"num-traits",
]
@@ -235,695 +282,327 @@ dependencies = [
"include_dir",
"itertools",
"proc-macro-error",
- "proc-macro2",
- "quote",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
"syn 1.0.109",
]
[[package]]
-name = "ark-bls12-381"
-version = "0.4.0"
+name = "arbitrary"
+version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c775f0d12169cba7aae4caeb547bb6a50781c7449a8aa53793827c9ec4abf488"
-dependencies = [
- "ark-ec",
- "ark-ff",
- "ark-serialize",
- "ark-std",
-]
+checksum = "e2d098ff73c1ca148721f37baad5ea6a465a13f9573aba8641fbbbae8164a54e"
[[package]]
-name = "ark-ec"
-version = "0.4.2"
+name = "arc-swap"
+version = "1.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bddcadddf5e9015d310179a59bb28c4d4b9920ad0f11e8e14dbadf654890c9a6"
+
+[[package]]
+name = "array-bytes"
+version = "6.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d9b1c5a481ec30a5abd8dfbd94ab5cf1bb4e9a66be7f1b3b322f2f1170c200fd"
+
+[[package]]
+name = "arrayref"
+version = "0.3.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545"
+
+[[package]]
+name = "arrayvec"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b"
+
+[[package]]
+name = "arrayvec"
+version = "0.7.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711"
+
+[[package]]
+name = "asn1-rs"
+version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "defd9a439d56ac24968cca0571f598a61bc8c55f71d50a89cda591cb750670ba"
+checksum = "30ff05a702273012438132f449575dbc804e27b2f3cbe3069aa237d26c98fa33"
dependencies = [
- "ark-ff",
- "ark-poly",
- "ark-serialize",
- "ark-std",
- "derivative",
- "hashbrown 0.13.2",
- "itertools",
+ "asn1-rs-derive 0.1.0",
+ "asn1-rs-impl",
+ "displaydoc",
+ "nom",
"num-traits",
- "zeroize",
+ "rusticata-macros",
+ "thiserror",
+ "time 0.3.23",
]
[[package]]
-name = "ark-ed-on-bls12-381-bandersnatch"
-version = "0.4.0"
+name = "asn1-rs"
+version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f9cde0f2aa063a2a5c28d39b47761aa102bda7c13c84fc118a61b87c7b2f785c"
+checksum = "7f6fd5ddaf0351dff5b8da21b2fb4ff8e08ddd02857f0bf69c47639106c0fff0"
dependencies = [
- "ark-bls12-381",
- "ark-ec",
- "ark-ff",
- "ark-std",
+ "asn1-rs-derive 0.4.0",
+ "asn1-rs-impl",
+ "displaydoc",
+ "nom",
+ "num-traits",
+ "rusticata-macros",
+ "thiserror",
+ "time 0.3.23",
]
[[package]]
-name = "ark-ff"
-version = "0.4.2"
+name = "asn1-rs-derive"
+version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec847af850f44ad29048935519032c33da8aa03340876d351dfab5660d2966ba"
+checksum = "db8b7511298d5b7784b40b092d9e9dcd3a627a5707e4b5e507931ab0d44eeebf"
dependencies = [
- "ark-ff-asm",
- "ark-ff-macros",
- "ark-serialize",
- "ark-std",
- "derivative",
- "digest 0.10.7",
- "itertools",
- "num-bigint",
- "num-traits",
- "paste",
- "rustc_version 0.4.0",
- "zeroize",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 1.0.109",
+ "synstructure",
]
[[package]]
-name = "ark-ff-asm"
-version = "0.4.2"
+name = "asn1-rs-derive"
+version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3ed4aa4fe255d0bc6d79373f7e31d2ea147bcf486cba1be5ba7ea85abdb92348"
+checksum = "726535892e8eae7e70657b4c8ea93d26b8553afb1ce617caee529ef96d7dee6c"
dependencies = [
- "quote",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
"syn 1.0.109",
+ "synstructure",
]
[[package]]
-name = "ark-ff-macros"
-version = "0.4.2"
+name = "asn1-rs-impl"
+version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7abe79b0e4288889c4574159ab790824d0033b9fdcb2a112a3182fac2e514565"
+checksum = "2777730b2039ac0f95f093556e61b6d26cebed5393ca6f152717777cec3a42ed"
dependencies = [
- "num-bigint",
- "num-traits",
- "proc-macro2",
- "quote",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
"syn 1.0.109",
]
[[package]]
-name = "ark-poly"
-version = "0.4.2"
+name = "assert_matches"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9"
+
+[[package]]
+name = "async-attributes"
+version = "1.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d320bfc44ee185d899ccbadfa8bc31aab923ce1558716e1997a1e74057fe86bf"
+checksum = "a3203e79f4dd9bdda415ed03cf14dae5a2bf775c683a00f94e9cd1faf0f596e5"
dependencies = [
- "ark-ff",
- "ark-serialize",
- "ark-std",
- "derivative",
- "hashbrown 0.13.2",
+ "quote 1.0.31",
+ "syn 1.0.109",
]
[[package]]
-name = "ark-secret-scalar"
-version = "0.0.2"
-source = "git+https://github.com/w3f/ring-vrf?rev=c86ebd4#c86ebd4114d3165d05f9ce28c1d9e8d7a9a4e801"
+name = "async-channel"
+version = "1.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35"
dependencies = [
- "ark-ec",
- "ark-ff",
- "ark-serialize",
- "ark-std",
- "ark-transcript",
- "digest 0.10.7",
- "rand_core 0.6.4",
- "zeroize",
+ "concurrent-queue",
+ "event-listener",
+ "futures-core",
]
[[package]]
-name = "ark-serialize"
-version = "0.4.2"
+name = "async-executor"
+version = "1.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "adb7b85a02b83d2f22f89bd5cac66c9c89474240cb6207cb1efc16d098e822a5"
+checksum = "6fa3dc5f2a8564f07759c008b9109dc0d39de92a88d5588b8a5036d286383afb"
dependencies = [
- "ark-serialize-derive",
- "ark-std",
- "digest 0.10.7",
- "num-bigint",
+ "async-lock",
+ "async-task",
+ "concurrent-queue",
+ "fastrand",
+ "futures-lite",
+ "slab",
]
[[package]]
-name = "ark-serialize-derive"
-version = "0.4.2"
+name = "async-global-executor"
+version = "2.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ae3281bc6d0fd7e549af32b52511e1302185bd688fd3359fa36423346ff682ea"
+checksum = "f1b6f5d7df27bd294849f8eec66ecfc63d11814df7a4f5d74168a2394467b776"
dependencies = [
- "proc-macro2",
- "quote",
- "syn 1.0.109",
+ "async-channel",
+ "async-executor",
+ "async-io",
+ "async-lock",
+ "blocking",
+ "futures-lite",
+ "once_cell",
]
[[package]]
-name = "ark-std"
-version = "0.4.0"
+name = "async-io"
+version = "1.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185"
+checksum = "0fc5b45d93ef0529756f812ca52e44c221b35341892d3dcc34132ac02f3dd2af"
dependencies = [
- "num-traits",
- "rand 0.8.5",
+ "async-lock",
+ "autocfg",
+ "cfg-if 1.0.0",
+ "concurrent-queue",
+ "futures-lite",
+ "log",
+ "parking",
+ "polling",
+ "rustix 0.37.23",
+ "slab",
+ "socket2 0.4.9",
+ "waker-fn",
]
[[package]]
-name = "ark-transcript"
-version = "0.0.2"
-source = "git+https://github.com/w3f/ring-vrf?rev=c86ebd4#c86ebd4114d3165d05f9ce28c1d9e8d7a9a4e801"
+name = "async-lock"
+version = "2.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fa24f727524730b077666307f2734b4a1a1c57acb79193127dcc8914d5242dd7"
dependencies = [
- "ark-ff",
- "ark-serialize",
- "ark-std",
- "digest 0.10.7",
- "rand_core 0.6.4",
- "sha3",
+ "event-listener",
]
[[package]]
-name = "array-bytes"
-version = "6.1.0"
+name = "async-recursion"
+version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d9b1c5a481ec30a5abd8dfbd94ab5cf1bb4e9a66be7f1b3b322f2f1170c200fd"
+checksum = "0e97ce7de6cf12de5d7226c73f5ba9811622f4db3a5b91b55c53e987e5f91cba"
+dependencies = [
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
+]
[[package]]
-name = "arrayref"
-version = "0.3.6"
+name = "async-std"
+version = "1.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544"
+checksum = "62565bb4402e926b29953c785397c6dc0391b7b446e45008b0049eb43cec6f5d"
+dependencies = [
+ "async-attributes",
+ "async-channel",
+ "async-global-executor",
+ "async-io",
+ "async-lock",
+ "crossbeam-utils",
+ "futures-channel",
+ "futures-core",
+ "futures-io",
+ "futures-lite",
+ "gloo-timers",
+ "kv-log-macro",
+ "log",
+ "memchr",
+ "once_cell",
+ "pin-project-lite 0.2.10",
+ "pin-utils",
+ "slab",
+ "wasm-bindgen-futures",
+]
[[package]]
-name = "arrayvec"
-version = "0.5.2"
+name = "async-task"
+version = "4.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b"
+checksum = "ecc7ab41815b3c653ccd2978ec3255c81349336702dfdf62ee6f7069b12a3aae"
[[package]]
-name = "arrayvec"
-version = "0.7.4"
+name = "async-trait"
+version = "0.1.71"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711"
+checksum = "a564d521dd56509c4c47480d00b80ee55f7e385ae48db5744c67ad50c92d2ebf"
+dependencies = [
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
+]
[[package]]
-name = "assert_cmd"
-version = "2.0.12"
+name = "asynchronous-codec"
+version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "88903cb14723e4d4003335bb7f8a14f27691649105346a0f0957466c096adfe6"
+checksum = "06a0daa378f5fd10634e44b0a29b2a87b890657658e072a30d6f26e57ddee182"
dependencies = [
- "anstyle 1.0.0",
- "bstr 1.1.0",
- "doc-comment",
- "predicates 3.0.1",
- "predicates-core",
- "predicates-tree",
- "wait-timeout",
+ "bytes",
+ "futures-sink",
+ "futures-util",
+ "memchr",
+ "pin-project-lite 0.2.10",
]
[[package]]
-name = "assert_matches"
-version = "1.5.0"
+name = "atomic-waker"
+version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9"
+checksum = "1181e1e0d1fce796a03db1ae795d67167da795f9cf4a39c37589e85ef57f26d3"
[[package]]
-name = "asset-hub-kusama-integration-tests"
-version = "1.0.0"
+name = "atty"
+version = "0.2.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
dependencies = [
- "asset-hub-kusama-runtime",
- "frame-support",
- "frame-system",
- "integration-tests-common",
- "pallet-assets",
- "pallet-balances",
- "pallet-xcm",
- "parachains-common",
- "parity-scale-codec",
- "penpal-runtime",
- "polkadot-core-primitives",
- "polkadot-parachain",
- "polkadot-runtime",
- "polkadot-runtime-parachains",
- "sp-core",
- "sp-runtime",
- "sp-weights",
- "xcm",
- "xcm-emulator",
- "xcm-executor",
+ "hermit-abi 0.1.19",
+ "libc",
+ "winapi",
]
[[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-timestamp",
- "cumulus-primitives-utility",
- "frame-benchmarking",
- "frame-executive",
- "frame-support",
- "frame-system",
- "frame-system-benchmarking",
- "frame-system-rpc-runtime-api",
- "frame-try-runtime",
- "hex-literal 0.4.1",
- "kusama-runtime-constants",
- "log",
- "pallet-asset-tx-payment",
- "pallet-assets",
- "pallet-aura",
- "pallet-authorship",
- "pallet-balances",
- "pallet-collator-selection",
- "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",
- "parachain-info",
- "parachains-common",
- "parity-scale-codec",
- "polkadot-core-primitives",
- "polkadot-parachain",
- "polkadot-runtime-common",
- "scale-info",
- "smallvec",
- "sp-api",
- "sp-block-builder",
- "sp-consensus-aura",
- "sp-core",
- "sp-inherents",
- "sp-offchain",
- "sp-runtime",
- "sp-session",
- "sp-std",
- "sp-transaction-pool",
- "sp-version",
- "sp-weights",
- "substrate-wasm-builder",
- "xcm",
- "xcm-builder",
- "xcm-executor",
-]
-
-[[package]]
-name = "asset-hub-polkadot-integration-tests"
-version = "1.0.0"
-dependencies = [
- "asset-hub-polkadot-runtime",
- "frame-support",
- "frame-system",
- "integration-tests-common",
- "pallet-assets",
- "pallet-balances",
- "pallet-xcm",
- "parachains-common",
- "parity-scale-codec",
- "penpal-runtime",
- "polkadot-core-primitives",
- "polkadot-parachain",
- "polkadot-runtime",
- "polkadot-runtime-parachains",
- "sp-core",
- "sp-runtime",
- "sp-weights",
- "xcm",
- "xcm-emulator",
- "xcm-executor",
-]
-
-[[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-timestamp",
- "cumulus-primitives-utility",
- "frame-benchmarking",
- "frame-executive",
- "frame-support",
- "frame-system",
- "frame-system-benchmarking",
- "frame-system-rpc-runtime-api",
- "frame-try-runtime",
- "hex-literal 0.4.1",
- "log",
- "pallet-asset-tx-payment",
- "pallet-assets",
- "pallet-aura",
- "pallet-authorship",
- "pallet-balances",
- "pallet-collator-selection",
- "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",
- "parachain-info",
- "parachains-common",
- "parity-scale-codec",
- "polkadot-core-primitives",
- "polkadot-parachain",
- "polkadot-runtime-common",
- "polkadot-runtime-constants",
- "scale-info",
- "smallvec",
- "sp-api",
- "sp-block-builder",
- "sp-consensus-aura",
- "sp-core",
- "sp-inherents",
- "sp-offchain",
- "sp-runtime",
- "sp-session",
- "sp-std",
- "sp-transaction-pool",
- "sp-version",
- "sp-weights",
- "substrate-wasm-builder",
- "xcm",
- "xcm-builder",
- "xcm-executor",
-]
-
-[[package]]
-name = "asset-hub-westend-integration-tests"
-version = "1.0.0"
-dependencies = [
- "assert_matches",
- "asset-hub-westend-runtime",
- "frame-support",
- "frame-system",
- "integration-tests-common",
- "pallet-asset-conversion",
- "pallet-assets",
- "pallet-balances",
- "pallet-xcm",
- "parachains-common",
- "parity-scale-codec",
- "penpal-runtime",
- "polkadot-core-primitives",
- "polkadot-parachain",
- "polkadot-runtime",
- "polkadot-runtime-parachains",
- "sp-core",
- "sp-runtime",
- "sp-weights",
- "westend-runtime",
- "xcm",
- "xcm-emulator",
- "xcm-executor",
-]
-
-[[package]]
-name = "asset-hub-westend-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-timestamp",
- "cumulus-primitives-utility",
- "frame-benchmarking",
- "frame-executive",
- "frame-support",
- "frame-system",
- "frame-system-benchmarking",
- "frame-system-rpc-runtime-api",
- "frame-try-runtime",
- "hex-literal 0.4.1",
- "log",
- "pallet-asset-conversion",
- "pallet-asset-conversion-tx-payment",
- "pallet-assets",
- "pallet-aura",
- "pallet-authorship",
- "pallet-balances",
- "pallet-collator-selection",
- "pallet-multisig",
- "pallet-nft-fractionalization",
- "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",
- "parachain-info",
- "parachains-common",
- "parity-scale-codec",
- "polkadot-core-primitives",
- "polkadot-parachain",
- "polkadot-runtime-common",
- "primitive-types",
- "scale-info",
- "smallvec",
- "sp-api",
- "sp-block-builder",
- "sp-consensus-aura",
- "sp-core",
- "sp-inherents",
- "sp-offchain",
- "sp-runtime",
- "sp-session",
- "sp-std",
- "sp-transaction-pool",
- "sp-version",
- "substrate-wasm-builder",
- "westend-runtime-constants",
- "xcm",
- "xcm-builder",
- "xcm-executor",
-]
-
-[[package]]
-name = "asset-test-utils"
-version = "1.0.0"
-dependencies = [
- "assets-common",
- "cumulus-pallet-dmp-queue",
- "cumulus-pallet-parachain-system",
- "cumulus-pallet-xcmp-queue",
- "cumulus-primitives-core",
- "cumulus-primitives-parachain-inherent",
- "cumulus-test-relay-sproof-builder",
- "frame-support",
- "frame-system",
- "hex-literal 0.3.4",
- "pallet-assets",
- "pallet-balances",
- "pallet-collator-selection",
- "pallet-session",
- "pallet-xcm",
- "parachain-info",
- "parachains-common",
- "parachains-runtimes-test-utils",
- "parity-scale-codec",
- "polkadot-parachain",
- "sp-consensus-aura",
- "sp-core",
- "sp-io",
- "sp-runtime",
- "sp-std",
- "substrate-wasm-builder",
- "xcm",
- "xcm-executor",
-]
-
-[[package]]
-name = "assets-common"
-version = "0.1.0"
-dependencies = [
- "cumulus-primitives-core",
- "frame-support",
- "impl-trait-for-tuples",
- "log",
- "pallet-asset-conversion",
- "pallet-asset-tx-payment",
- "pallet-xcm",
- "parachains-common",
- "parity-scale-codec",
- "scale-info",
- "sp-api",
- "sp-runtime",
- "sp-std",
- "substrate-wasm-builder",
- "xcm",
- "xcm-builder",
- "xcm-executor",
-]
-
-[[package]]
-name = "async-channel"
-version = "1.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cf46fee83e5ccffc220104713af3292ff9bc7c64c7de289f66dae8e38d826833"
-dependencies = [
- "concurrent-queue 2.1.0",
- "event-listener",
- "futures-core",
-]
-
-[[package]]
-name = "async-io"
-version = "1.6.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a811e6a479f2439f0c04038796b5cfb3d2ad56c230e0f2d3f7b04d68cfee607b"
-dependencies = [
- "concurrent-queue 1.2.2",
- "futures-lite",
- "libc",
- "log",
- "once_cell",
- "parking",
- "polling",
- "slab",
- "socket2 0.4.9",
- "waker-fn",
- "winapi",
-]
-
-[[package]]
-name = "async-lock"
-version = "2.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e6a8ea61bf9947a1007c5cada31e647dbc77b103c679858150003ba697ea798b"
-dependencies = [
- "event-listener",
-]
-
-[[package]]
-name = "async-recursion"
-version = "1.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0e97ce7de6cf12de5d7226c73f5ba9811622f4db3a5b91b55c53e987e5f91cba"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.28",
-]
-
-[[package]]
-name = "async-trait"
-version = "0.1.72"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cc6dde6e4ed435a4c1ee4e73592f5ba9da2151af10076cc04858746af9352d09"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.28",
-]
-
-[[package]]
-name = "asynchronous-codec"
-version = "0.6.1"
+name = "autocfg"
+version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "06a0daa378f5fd10634e44b0a29b2a87b890657658e072a30d6f26e57ddee182"
-dependencies = [
- "bytes",
- "futures-sink",
- "futures-util",
- "memchr",
- "pin-project-lite 0.2.9",
-]
+checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
[[package]]
-name = "atty"
-version = "0.2.14"
+name = "backoff"
+version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
+checksum = "b62ddb9cb1ec0a098ad4bbf9344d0713fa193ae1a80af55febcff2627b6a00c1"
dependencies = [
- "hermit-abi 0.1.19",
- "libc",
- "winapi",
-]
-
-[[package]]
-name = "autocfg"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
+ "getrandom 0.2.10",
+ "instant",
+ "rand 0.8.5",
+]
[[package]]
name = "backtrace"
-version = "0.3.67"
+version = "0.3.68"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "233d376d6d185f2a3093e58f283f60f880315b6c60075b01f36b3b85154564ca"
+checksum = "4319208da049c43661739c5fade2ba182f09d1dc2299b32298d3a31692b17e12"
dependencies = [
- "addr2line",
+ "addr2line 0.20.0",
"cc",
- "cfg-if",
+ "cfg-if 1.0.0",
"libc",
"miniz_oxide",
- "object",
+ "object 0.31.1",
"rustc-demangle",
]
[[package]]
-name = "bandersnatch_vrfs"
-version = "0.0.1"
-source = "git+https://github.com/w3f/ring-vrf?rev=c86ebd4#c86ebd4114d3165d05f9ce28c1d9e8d7a9a4e801"
-dependencies = [
- "ark-bls12-381",
- "ark-ec",
- "ark-ed-on-bls12-381-bandersnatch",
- "ark-ff",
- "ark-serialize",
- "ark-std",
- "dleq_vrf",
- "fflonk",
- "merlin 3.0.0",
- "rand_chacha 0.3.1",
- "rand_core 0.6.4",
- "ring 0.1.0",
- "sha2 0.10.7",
- "zeroize",
-]
+name = "base-x"
+version = "0.2.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4cbbc9d0964165b47557570cce6c952866c2678457aca742aafc9fb771d30270"
[[package]]
-name = "base-x"
-version = "0.2.8"
+name = "base16ct"
+version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a4521f3e3d031370679b3b140beb36dfe4801b09ac77e30c61941f97df3ef28b"
+checksum = "349a06037c7bf932dd7e7d1f653678b2038b9ad46a74102f1fc7bd7872678cce"
[[package]]
name = "base16ct"
@@ -931,29 +610,35 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf"
+[[package]]
+name = "base58"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6107fe1be6682a68940da878d9e9f5e90ca5745b3dec9fd1bb393c8777d4f581"
+
[[package]]
name = "base64"
-version = "0.13.0"
+version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd"
+checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8"
[[package]]
name = "base64"
-version = "0.21.1"
+version = "0.21.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3f1e31e207a6b8fb791a38ea3105e6cb541f55e4d029902d3039a4ad07cc4105"
+checksum = "604178f6c5c21f02dc555784810edfb88d34ac2c73b2eae109655649ee73ce3d"
[[package]]
name = "base64ct"
-version = "1.5.2"
+version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ea2b2456fd614d856680dcd9fcc660a51a820fa09daef2e49772b56a193c8474"
+checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b"
[[package]]
name = "beef"
-version = "0.5.1"
+version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bed554bd50246729a1ec158d08aa3235d1b69d94ad120ebe187e28894787e736"
+checksum = "3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1"
dependencies = [
"serde",
]
@@ -961,7 +646,7 @@ dependencies = [
[[package]]
name = "binary-merkle-tree"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"hash-db",
"log",
@@ -988,13 +673,13 @@ dependencies = [
"lazy_static",
"lazycell",
"peeking_take_while",
- "prettyplease",
- "proc-macro2",
- "quote",
+ "prettyplease 0.2.10",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
"regex",
"rustc-hash",
"shlex",
- "syn 2.0.28",
+ "syn 2.0.26",
]
[[package]]
@@ -1023,9 +708,9 @@ dependencies = [
[[package]]
name = "blake2"
-version = "0.10.4"
+version = "0.10.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b9cf849ee05b2ee5fba5e36f97ff8ec2533916700fc0758d40d92136a42f3388"
+checksum = "46502ad458c9a52b69d4d4d32775c788b7a1b85e8bc9d482d92250fc0e3f8efe"
dependencies = [
"digest 0.10.7",
]
@@ -1038,31 +723,31 @@ checksum = "3c2f0dc9a68c6317d884f97cc36cf5a3d20ba14ce404227df55e1af708ab04bc"
dependencies = [
"arrayref",
"arrayvec 0.7.4",
- "constant_time_eq 0.2.4",
+ "constant_time_eq 0.2.6",
]
[[package]]
name = "blake2s_simd"
-version = "1.0.0"
+version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "db539cc2b5f6003621f1cd9ef92d7ded8ea5232c7de0f9faa2de251cd98730d4"
+checksum = "6637f448b9e61dfadbdcbae9a885fadee1f3eaffb1f8d3c1965d3ade8bdfd44f"
dependencies = [
"arrayref",
"arrayvec 0.7.4",
- "constant_time_eq 0.1.5",
+ "constant_time_eq 0.2.6",
]
[[package]]
name = "blake3"
-version = "1.3.1"
+version = "1.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a08e53fc5a564bb15bfe6fae56bd71522205f1f91893f9c0116edad6496c183f"
+checksum = "199c42ab6972d92c9f8995f086273d25c42fc0f7b2a1fcefba465c1352d25ba5"
dependencies = [
"arrayref",
"arrayvec 0.7.4",
"cc",
- "cfg-if",
- "constant_time_eq 0.1.5",
+ "cfg-if 1.0.0",
+ "constant_time_eq 0.3.0",
"digest 0.10.7",
]
@@ -1072,7 +757,7 @@ version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b"
dependencies = [
- "block-padding",
+ "block-padding 0.1.5",
"byte-tools",
"byteorder",
"generic-array 0.12.4",
@@ -1084,16 +769,26 @@ version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4"
dependencies = [
- "generic-array 0.14.6",
+ "generic-array 0.14.7",
]
[[package]]
name = "block-buffer"
-version = "0.10.0"
+version = "0.10.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
+dependencies = [
+ "generic-array 0.14.7",
+]
+
+[[package]]
+name = "block-modes"
+version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f1d36a02058e76b040de25a4464ba1c80935655595b661505c8b39b664828b95"
+checksum = "57a0e8073e8baa88212fb5823574c02ebccb395136ba9a164ab89379ec6072f0"
dependencies = [
- "generic-array 0.14.6",
+ "block-padding 0.2.1",
+ "cipher 0.2.5",
]
[[package]]
@@ -1105,6 +800,27 @@ dependencies = [
"byte-tools",
]
+[[package]]
+name = "block-padding"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae"
+
+[[package]]
+name = "blocking"
+version = "1.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "77231a1c8f801696fc0123ec6150ce92cffb8e164a02afb9c8ddee0e9b65ad65"
+dependencies = [
+ "async-channel",
+ "async-lock",
+ "async-task",
+ "atomic-waker",
+ "fastrand",
+ "futures-lite",
+ "log",
+]
+
[[package]]
name = "bounded-collections"
version = "0.1.8"
@@ -1126,6 +842,43 @@ dependencies = [
"thiserror",
]
+[[package]]
+name = "bp-asset-hub-kusama"
+version = "0.1.0"
+dependencies = [
+ "bp-xcm-bridge-hub-router",
+ "frame-support",
+ "parity-scale-codec",
+ "scale-info",
+]
+
+[[package]]
+name = "bp-asset-hub-polkadot"
+version = "0.1.0"
+dependencies = [
+ "bp-xcm-bridge-hub-router",
+ "frame-support",
+ "parity-scale-codec",
+ "scale-info",
+]
+
+[[package]]
+name = "bp-beefy"
+version = "0.1.0"
+dependencies = [
+ "binary-merkle-tree",
+ "bp-runtime",
+ "frame-support",
+ "pallet-beefy-mmr",
+ "pallet-mmr",
+ "parity-scale-codec",
+ "scale-info",
+ "serde",
+ "sp-consensus-beefy",
+ "sp-runtime",
+ "sp-std 8.0.0",
+]
+
[[package]]
name = "bp-bridge-hub-cumulus"
version = "0.1.0"
@@ -1137,11 +890,11 @@ dependencies = [
"frame-system",
"polkadot-primitives",
"sp-api",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
-name = "bp-bridge-hub-rococo"
+name = "bp-bridge-hub-kusama"
version = "0.1.0"
dependencies = [
"bp-bridge-hub-cumulus",
@@ -1149,11 +902,11 @@ dependencies = [
"bp-runtime",
"frame-support",
"sp-api",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
-name = "bp-bridge-hub-wococo"
+name = "bp-bridge-hub-polkadot"
version = "0.1.0"
dependencies = [
"bp-bridge-hub-cumulus",
@@ -1161,437 +914,283 @@ dependencies = [
"bp-runtime",
"frame-support",
"sp-api",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
-name = "bp-header-chain"
+name = "bp-bridge-hub-rococo"
version = "0.1.0"
dependencies = [
+ "bp-bridge-hub-cumulus",
+ "bp-messages",
"bp-runtime",
- "bp-test-utils",
- "finality-grandpa",
"frame-support",
- "hex",
- "hex-literal 0.4.1",
- "parity-scale-codec",
- "scale-info",
- "serde",
- "sp-consensus-grandpa",
- "sp-core",
- "sp-runtime",
- "sp-std",
+ "sp-api",
+ "sp-std 8.0.0",
]
[[package]]
-name = "bp-messages"
+name = "bp-bridge-hub-wococo"
version = "0.1.0"
dependencies = [
- "bp-header-chain",
+ "bp-bridge-hub-cumulus",
+ "bp-messages",
"bp-runtime",
"frame-support",
- "hex",
- "hex-literal 0.4.1",
- "parity-scale-codec",
- "scale-info",
- "serde",
- "sp-core",
- "sp-std",
+ "sp-api",
+ "sp-std 8.0.0",
]
[[package]]
-name = "bp-parachains"
+name = "bp-header-chain"
version = "0.1.0"
dependencies = [
- "bp-header-chain",
- "bp-polkadot-core",
"bp-runtime",
+ "bp-test-utils",
+ "finality-grandpa",
"frame-support",
- "impl-trait-for-tuples",
+ "hex",
+ "hex-literal 0.4.1",
"parity-scale-codec",
"scale-info",
+ "serde",
+ "sp-consensus-grandpa",
"sp-core",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
-name = "bp-polkadot-core"
+name = "bp-kusama"
version = "0.1.0"
dependencies = [
- "bp-messages",
+ "bp-header-chain",
+ "bp-polkadot-core",
"bp-runtime",
"frame-support",
- "frame-system",
- "hex",
- "parity-scale-codec",
- "parity-util-mem",
- "scale-info",
- "serde",
- "sp-core",
- "sp-runtime",
- "sp-std",
+ "sp-api",
+ "sp-std 8.0.0",
]
[[package]]
-name = "bp-relayers"
+name = "bp-messages"
version = "0.1.0"
dependencies = [
- "bp-messages",
+ "bp-header-chain",
"bp-runtime",
"frame-support",
"hex",
"hex-literal 0.4.1",
"parity-scale-codec",
"scale-info",
- "sp-runtime",
- "sp-std",
+ "serde",
+ "sp-core",
+ "sp-std 8.0.0",
]
[[package]]
-name = "bp-rococo"
+name = "bp-millau"
version = "0.1.0"
dependencies = [
+ "bp-beefy",
"bp-header-chain",
- "bp-polkadot-core",
+ "bp-messages",
"bp-runtime",
- "frame-support",
- "sp-api",
- "sp-std",
-]
-
-[[package]]
-name = "bp-runtime"
-version = "0.1.0"
-dependencies = [
+ "fixed-hash 0.8.0 (git+https://github.com/paritytech/parity-common?branch=master)",
"frame-support",
"frame-system",
- "hash-db",
- "hex-literal 0.4.1",
- "impl-trait-for-tuples",
- "num-traits",
- "parity-scale-codec",
+ "hash256-std-hasher",
+ "impl-codec",
+ "impl-serde",
+ "parity-util-mem",
"scale-info",
"serde",
+ "sp-api",
"sp-core",
"sp-io",
"sp-runtime",
- "sp-state-machine",
- "sp-std",
+ "sp-std 8.0.0",
"sp-trie",
- "trie-db",
]
[[package]]
-name = "bp-test-utils"
+name = "bp-parachains"
version = "0.1.0"
dependencies = [
"bp-header-chain",
- "bp-parachains",
"bp-polkadot-core",
"bp-runtime",
- "ed25519-dalek",
- "finality-grandpa",
+ "frame-support",
+ "impl-trait-for-tuples",
"parity-scale-codec",
- "sp-application-crypto",
- "sp-consensus-grandpa",
+ "scale-info",
"sp-core",
"sp-runtime",
- "sp-std",
- "sp-trie",
+ "sp-std 8.0.0",
]
[[package]]
-name = "bp-wococo"
+name = "bp-polkadot"
version = "0.1.0"
dependencies = [
"bp-header-chain",
"bp-polkadot-core",
- "bp-rococo",
"bp-runtime",
"frame-support",
"sp-api",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
-name = "bridge-hub-kusama-runtime"
+name = "bp-polkadot-core"
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-timestamp",
- "cumulus-primitives-utility",
- "frame-benchmarking",
- "frame-executive",
+ "bp-messages",
+ "bp-runtime",
"frame-support",
"frame-system",
- "frame-system-benchmarking",
- "frame-system-rpc-runtime-api",
- "frame-try-runtime",
- "hex-literal 0.4.1",
- "kusama-runtime-constants",
- "log",
- "pallet-aura",
- "pallet-authorship",
- "pallet-balances",
- "pallet-collator-selection",
- "pallet-multisig",
- "pallet-session",
- "pallet-timestamp",
- "pallet-transaction-payment",
- "pallet-transaction-payment-rpc-runtime-api",
- "pallet-utility",
- "pallet-xcm",
- "pallet-xcm-benchmarks",
- "parachain-info",
- "parachains-common",
+ "hex",
"parity-scale-codec",
- "polkadot-core-primitives",
- "polkadot-parachain",
- "polkadot-runtime-common",
+ "parity-util-mem",
"scale-info",
"serde",
- "smallvec",
- "sp-api",
- "sp-block-builder",
- "sp-consensus-aura",
"sp-core",
- "sp-inherents",
- "sp-io",
- "sp-offchain",
"sp-runtime",
- "sp-session",
- "sp-std",
- "sp-transaction-pool",
- "sp-version",
- "substrate-wasm-builder",
- "xcm",
- "xcm-builder",
- "xcm-executor",
+ "sp-std 8.0.0",
]
[[package]]
-name = "bridge-hub-polkadot-runtime"
+name = "bp-relayers"
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-timestamp",
- "cumulus-primitives-utility",
- "frame-benchmarking",
- "frame-executive",
- "frame-support",
- "frame-system",
- "frame-system-benchmarking",
- "frame-system-rpc-runtime-api",
- "frame-try-runtime",
- "hex-literal 0.4.1",
- "log",
- "pallet-aura",
- "pallet-authorship",
- "pallet-balances",
- "pallet-collator-selection",
- "pallet-multisig",
- "pallet-session",
- "pallet-timestamp",
- "pallet-transaction-payment",
- "pallet-transaction-payment-rpc-runtime-api",
- "pallet-utility",
- "pallet-xcm",
- "pallet-xcm-benchmarks",
- "parachain-info",
- "parachains-common",
+ "bp-messages",
+ "bp-runtime",
+ "frame-support",
+ "hex",
+ "hex-literal 0.4.1",
"parity-scale-codec",
- "polkadot-core-primitives",
- "polkadot-parachain",
- "polkadot-runtime-common",
- "polkadot-runtime-constants",
"scale-info",
- "serde",
- "smallvec",
+ "sp-runtime",
+ "sp-std 8.0.0",
+]
+
+[[package]]
+name = "bp-rialto"
+version = "0.1.0"
+dependencies = [
+ "bp-header-chain",
+ "bp-messages",
+ "bp-runtime",
+ "frame-support",
+ "frame-system",
"sp-api",
- "sp-block-builder",
- "sp-consensus-aura",
"sp-core",
- "sp-inherents",
- "sp-io",
- "sp-offchain",
"sp-runtime",
- "sp-session",
- "sp-std",
- "sp-transaction-pool",
- "sp-version",
- "substrate-wasm-builder",
- "xcm",
- "xcm-builder",
- "xcm-executor",
+ "sp-std 8.0.0",
]
[[package]]
-name = "bridge-hub-rococo-integration-tests"
-version = "1.0.0"
+name = "bp-rialto-parachain"
+version = "0.1.0"
dependencies = [
+ "bp-bridge-hub-cumulus",
"bp-messages",
- "bridge-hub-rococo-runtime",
- "cumulus-pallet-xcmp-queue",
+ "bp-polkadot-core",
+ "bp-runtime",
"frame-support",
"frame-system",
- "integration-tests-common",
- "pallet-assets",
- "pallet-balances",
- "pallet-bridge-messages",
- "pallet-xcm",
- "parachains-common",
- "parity-scale-codec",
- "polkadot-core-primitives",
- "polkadot-parachain",
- "polkadot-runtime",
- "polkadot-runtime-parachains",
+ "sp-api",
"sp-core",
"sp-runtime",
- "sp-weights",
- "xcm",
- "xcm-emulator",
- "xcm-executor",
+ "sp-std 8.0.0",
]
[[package]]
-name = "bridge-hub-rococo-runtime"
+name = "bp-rococo"
version = "0.1.0"
dependencies = [
- "bp-bridge-hub-rococo",
- "bp-bridge-hub-wococo",
"bp-header-chain",
- "bp-messages",
- "bp-parachains",
"bp-polkadot-core",
- "bp-relayers",
- "bp-rococo",
"bp-runtime",
- "bp-wococo",
- "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",
- "cumulus-pallet-xcmp-queue",
- "cumulus-primitives-core",
- "cumulus-primitives-timestamp",
- "cumulus-primitives-utility",
- "frame-benchmarking",
- "frame-executive",
+ "frame-support",
+ "sp-api",
+ "sp-std 8.0.0",
+]
+
+[[package]]
+name = "bp-runtime"
+version = "0.1.0"
+dependencies = [
"frame-support",
"frame-system",
- "frame-system-benchmarking",
- "frame-system-rpc-runtime-api",
- "frame-try-runtime",
+ "hash-db",
"hex-literal 0.4.1",
- "log",
- "pallet-aura",
- "pallet-authorship",
- "pallet-balances",
- "pallet-bridge-grandpa",
- "pallet-bridge-messages",
- "pallet-bridge-parachains",
- "pallet-bridge-relayers",
- "pallet-collator-selection",
- "pallet-multisig",
- "pallet-session",
- "pallet-timestamp",
- "pallet-transaction-payment",
- "pallet-transaction-payment-rpc-runtime-api",
- "pallet-utility",
- "pallet-xcm",
- "pallet-xcm-benchmarks",
- "parachain-info",
- "parachains-common",
+ "impl-trait-for-tuples",
+ "num-traits",
"parity-scale-codec",
- "polkadot-core-primitives",
- "polkadot-parachain",
- "polkadot-runtime-common",
- "rococo-runtime-constants",
"scale-info",
"serde",
- "smallvec",
- "sp-api",
- "sp-block-builder",
- "sp-consensus-aura",
"sp-core",
- "sp-inherents",
"sp-io",
- "sp-keyring",
- "sp-offchain",
"sp-runtime",
- "sp-session",
- "sp-std",
- "sp-transaction-pool",
- "sp-version",
- "static_assertions",
- "substrate-wasm-builder",
- "xcm",
- "xcm-builder",
- "xcm-executor",
+ "sp-state-machine",
+ "sp-std 8.0.0",
+ "sp-trie",
+ "trie-db",
]
[[package]]
-name = "bridge-hub-test-utils"
+name = "bp-test-utils"
version = "0.1.0"
dependencies = [
- "assert_matches",
- "asset-test-utils",
- "bp-bridge-hub-rococo",
- "bp-bridge-hub-wococo",
"bp-header-chain",
- "bp-messages",
"bp-parachains",
"bp-polkadot-core",
- "bp-relayers",
"bp-runtime",
- "bp-test-utils",
- "bridge-runtime-common",
- "cumulus-pallet-dmp-queue",
- "cumulus-pallet-parachain-system",
- "cumulus-pallet-xcmp-queue",
- "frame-benchmarking",
- "frame-executive",
+ "ed25519-dalek",
+ "finality-grandpa",
+ "parity-scale-codec",
+ "sp-application-crypto",
+ "sp-consensus-grandpa",
+ "sp-core",
+ "sp-runtime",
+ "sp-std 8.0.0",
+ "sp-trie",
+]
+
+[[package]]
+name = "bp-westend"
+version = "0.1.0"
+dependencies = [
+ "bp-header-chain",
+ "bp-polkadot-core",
+ "bp-runtime",
"frame-support",
- "frame-system",
- "log",
- "pallet-balances",
- "pallet-bridge-grandpa",
- "pallet-bridge-messages",
- "pallet-bridge-parachains",
- "pallet-bridge-relayers",
- "pallet-collator-selection",
- "pallet-session",
- "pallet-utility",
- "pallet-xcm",
- "pallet-xcm-benchmarks",
- "parachain-info",
- "parachains-runtimes-test-utils",
+ "sp-api",
+ "sp-std 8.0.0",
+]
+
+[[package]]
+name = "bp-wococo"
+version = "0.1.0"
+dependencies = [
+ "bp-header-chain",
+ "bp-polkadot-core",
+ "bp-rococo",
+ "bp-runtime",
+ "frame-support",
+ "sp-api",
+ "sp-std 8.0.0",
+]
+
+[[package]]
+name = "bp-xcm-bridge-hub-router"
+version = "0.1.0"
+dependencies = [
"parity-scale-codec",
+ "scale-info",
"sp-core",
- "sp-io",
- "sp-keyring",
"sp-runtime",
- "xcm",
- "xcm-builder",
- "xcm-executor",
]
[[package]]
@@ -1605,6 +1204,7 @@ dependencies = [
"bp-relayers",
"bp-runtime",
"bp-test-utils",
+ "bp-xcm-bridge-hub-router",
"frame-support",
"frame-system",
"hash-db",
@@ -1622,7 +1222,7 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
"sp-trie",
"static_assertions",
"xcm",
@@ -1635,33 +1235,13 @@ version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3"
-[[package]]
-name = "bs58"
-version = "0.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f5353f36341f7451062466f0b755b96ac3a9547e4d7f6b70d603fc721a7d7896"
-dependencies = [
- "tinyvec",
-]
-
-[[package]]
-name = "bstr"
-version = "0.2.17"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223"
-dependencies = [
- "memchr",
-]
-
[[package]]
name = "bstr"
-version = "1.1.0"
+version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b45ea9b00a7b3f2988e9a65ad3917e62123c38dba709b666506207be96d1790b"
+checksum = "6798148dccfbff0fae41c7574d2fa8f1ef3492fba0face179de5d8d447d67b05"
dependencies = [
"memchr",
- "once_cell",
- "regex-automata",
"serde",
]
@@ -1676,9 +1256,9 @@ dependencies = [
[[package]]
name = "bumpalo"
-version = "3.12.0"
+version = "3.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0d261e256854913907f67ed06efbc3338dfe6179796deefc1ff763fc1aee5535"
+checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1"
[[package]]
name = "byte-slice-cast"
@@ -1694,9 +1274,9 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7"
[[package]]
name = "bytemuck"
-version = "1.13.0"
+version = "1.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c041d3eab048880cb0b86b256447da3f18859a163c3b8d8893f4e6368abe6393"
+checksum = "17febce684fd15d89027105661fec94afb475cb995fbc59d2865198446ba2eea"
[[package]]
name = "byteorder"
@@ -1721,26 +1301,20 @@ dependencies = [
"pkg-config",
]
-[[package]]
-name = "cache-padded"
-version = "1.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "631ae5198c9be5e753e5cc215e1bd73c2b466a3565173db433f52bb9d3e66dba"
-
[[package]]
name = "camino"
-version = "1.1.2"
+version = "1.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c77df041dc383319cc661b428b6961a005db4d6808d5e12536931b1ca9556055"
+checksum = "c59e92b5a388f549b863a7bea62612c09f24c8393560709a54558a9abdfb3b9c"
dependencies = [
"serde",
]
[[package]]
name = "cargo-platform"
-version = "0.1.2"
+version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cbdb825da8a5df079a43676dbe042702f1707b1109f713a01420fbb4cc71fa27"
+checksum = "2cfa25e60aea747ec7e1124f238816749faa93759c6ff5b31f1ccdda137f4479"
dependencies = [
"serde",
]
@@ -1753,34 +1327,36 @@ checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a"
dependencies = [
"camino",
"cargo-platform",
- "semver 1.0.16",
+ "semver 1.0.18",
"serde",
"serde_json",
"thiserror",
]
[[package]]
-name = "casey"
-version = "0.4.0"
+name = "castaway"
+version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "614586263949597dcc18675da12ef9b429135e13628d92eb8b8c6fa50ca5656b"
-dependencies = [
- "syn 1.0.109",
-]
+checksum = "a2698f953def977c68f935bb0dfa959375ad4638570e969e2f1e9f433cbf1af6"
[[package]]
-name = "cast"
-version = "0.3.0"
+name = "cc"
+version = "1.0.79"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
+checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f"
+dependencies = [
+ "jobserver",
+]
[[package]]
-name = "cc"
-version = "1.0.73"
+name = "ccm"
+version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11"
+checksum = "5aca1a8fbc20b50ac9673ff014abfb2b5f4085ee1a850d408f14a159c5853ac7"
dependencies = [
- "jobserver",
+ "aead 0.3.2",
+ "cipher 0.2.5",
+ "subtle",
]
[[package]]
@@ -1794,13 +1370,19 @@ dependencies = [
[[package]]
name = "cfg-expr"
-version = "0.15.1"
+version = "0.15.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8790cf1286da485c72cf5fc7aeba308438800036ec67d89425924c4807268c9"
+checksum = "215c0072ecc28f92eeb0eea38ba63ddfcb65c2828c46311d646f1a3ff5f9841c"
dependencies = [
"smallvec",
]
+[[package]]
+name = "cfg-if"
+version = "0.1.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
+
[[package]]
name = "cfg-if"
version = "1.0.0"
@@ -1819,63 +1401,38 @@ version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c80e5460aa66fe3b91d40bcbdab953a597b60053e34d684ac6903f863b680a6"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
"cipher 0.3.0",
"cpufeatures",
"zeroize",
]
[[package]]
-name = "chacha20poly1305"
-version = "0.9.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a18446b09be63d457bbec447509e85f662f32952b035ce892290396bc0b0cff5"
-dependencies = [
- "aead 0.4.3",
- "chacha20",
- "cipher 0.3.0",
- "poly1305",
- "zeroize",
-]
-
-[[package]]
-name = "chrono"
-version = "0.4.19"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73"
-dependencies = [
- "libc",
- "num-integer",
- "num-traits",
- "time",
- "winapi",
-]
-
-[[package]]
-name = "ciborium"
-version = "0.2.0"
+name = "chacha20poly1305"
+version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b0c137568cc60b904a7724001b35ce2630fd00d5d84805fbb608ab89509d788f"
+checksum = "a18446b09be63d457bbec447509e85f662f32952b035ce892290396bc0b0cff5"
dependencies = [
- "ciborium-io",
- "ciborium-ll",
- "serde",
+ "aead 0.4.3",
+ "chacha20",
+ "cipher 0.3.0",
+ "poly1305",
+ "zeroize",
]
[[package]]
-name = "ciborium-io"
-version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "346de753af073cc87b52b2083a506b38ac176a44cfb05497b622e27be899b369"
-
-[[package]]
-name = "ciborium-ll"
-version = "0.2.0"
+name = "chrono"
+version = "0.4.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "213030a2b5a4e0c0892b6652260cf6ccac84827b83a85a534e178e3906c4cf1b"
+checksum = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5"
dependencies = [
- "ciborium-io",
- "half",
+ "android-tzdata",
+ "iana-time-zone",
+ "js-sys",
+ "num-traits",
+ "time 0.1.45",
+ "wasm-bindgen",
+ "winapi",
]
[[package]]
@@ -1886,18 +1443,27 @@ checksum = "b9b68e3193982cd54187d71afdb2a271ad4cf8af157858e9cb911b91321de143"
dependencies = [
"core2",
"multibase",
- "multihash 0.17.0",
+ "multihash",
"serde",
"unsigned-varint",
]
+[[package]]
+name = "cipher"
+version = "0.2.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "12f8e7987cbd042a63249497f41aed09f8e65add917ea6566effbc56578d6801"
+dependencies = [
+ "generic-array 0.14.7",
+]
+
[[package]]
name = "cipher"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7ee52072ec15386f770805afd189a01c8841be8696bed250fa2f13c4c0d6dfb7"
dependencies = [
- "generic-array 0.14.6",
+ "generic-array 0.14.7",
]
[[package]]
@@ -1910,20 +1476,29 @@ dependencies = [
"inout",
]
+[[package]]
+name = "ckb-merkle-mountain-range"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4f061f97d64fd1822664bdfb722f7ae5469a97b77567390f7442be5b5dc82a5b"
+dependencies = [
+ "cfg-if 0.1.10",
+]
+
[[package]]
name = "ckb-merkle-mountain-range"
version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "56ccb671c5921be8a84686e6212ca184cb1d7c51cadcdbfcbd1cc3f042f5dfb8"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
]
[[package]]
name = "clang-sys"
-version = "1.3.0"
+version = "1.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa66045b9cb23c2e9c1520732030608b02ee07e5cfaa5a521ec15ded7fa24c90"
+checksum = "c688fc74432808e3eb684cae8830a86be1d66a2bd58e1f248ed0960a590baf6f"
dependencies = [
"glob",
"libc",
@@ -1932,9 +1507,24 @@ dependencies = [
[[package]]
name = "clap"
-version = "4.3.21"
+version = "2.34.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c"
+dependencies = [
+ "ansi_term",
+ "atty",
+ "bitflags 1.3.2",
+ "strsim 0.8.0",
+ "textwrap",
+ "unicode-width",
+ "vec_map",
+]
+
+[[package]]
+name = "clap"
+version = "4.3.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c27cdf28c0f604ba3f512b0c9a409f8de8513e4816705deb0498b627e7c3a3fd"
+checksum = "74bb1b4028935821b2d6b439bba2e970bdcf740832732437ead910c632e30d7d"
dependencies = [
"clap_builder",
"clap_derive",
@@ -1943,14 +1533,14 @@ dependencies = [
[[package]]
name = "clap_builder"
-version = "4.3.21"
+version = "4.3.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "08a9f1ab5e9f01a9b81f202e8562eb9a10de70abf9eaeac1be465c28b75aa4aa"
+checksum = "5ae467cbb0111869b765e13882a1dbbd6cb52f58203d8b80c44f667d4dd19843"
dependencies = [
"anstream",
- "anstyle 1.0.0",
+ "anstyle",
"clap_lex",
- "strsim",
+ "strsim 0.10.0",
]
[[package]]
@@ -1959,10 +1549,10 @@ version = "4.3.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "54a9bb5758fc5dfe728d1019941681eccaf0cf8a4189b692a0ee2f2ecf90a050"
dependencies = [
- "heck",
- "proc-macro2",
- "quote",
- "syn 2.0.28",
+ "heck 0.4.1",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
@@ -1973,9 +1563,9 @@ checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b"
[[package]]
name = "coarsetime"
-version = "0.1.22"
+version = "0.1.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "454038500439e141804c655b4cd1bc6a70bcb95cd2bc9463af5661b6956f0e46"
+checksum = "a90d114103adbc625300f346d4d09dfb4ab1c4a8df6868435dd903392ecf4354"
dependencies = [
"libc",
"once_cell",
@@ -1993,126 +1583,6 @@ dependencies = [
"unicode-width",
]
-[[package]]
-name = "collectives-polkadot-integration-tests"
-version = "0.1.0"
-dependencies = [
- "asset-hub-polkadot-runtime",
- "collectives-polkadot-runtime",
- "cumulus-pallet-xcmp-queue",
- "frame-support",
- "frame-system",
- "integration-tests-common",
- "pallet-assets",
- "pallet-balances",
- "pallet-core-fellowship",
- "pallet-salary",
- "pallet-xcm",
- "parachains-common",
- "parity-scale-codec",
- "polkadot-core-primitives",
- "polkadot-parachain",
- "polkadot-runtime",
- "polkadot-runtime-parachains",
- "sp-core",
- "sp-runtime",
- "sp-weights",
- "xcm",
- "xcm-emulator",
- "xcm-executor",
-]
-
-[[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-timestamp",
- "cumulus-primitives-utility",
- "frame-benchmarking",
- "frame-executive",
- "frame-support",
- "frame-system",
- "frame-system-benchmarking",
- "frame-system-rpc-runtime-api",
- "frame-try-runtime",
- "hex-literal 0.4.1",
- "log",
- "pallet-alliance",
- "pallet-aura",
- "pallet-authorship",
- "pallet-balances",
- "pallet-collator-selection",
- "pallet-collective",
- "pallet-core-fellowship",
- "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",
- "parachain-info",
- "parachains-common",
- "parity-scale-codec",
- "polkadot-core-primitives",
- "polkadot-parachain",
- "polkadot-runtime-common",
- "polkadot-runtime-constants",
- "scale-info",
- "smallvec",
- "sp-api",
- "sp-arithmetic",
- "sp-block-builder",
- "sp-consensus-aura",
- "sp-core",
- "sp-inherents",
- "sp-io",
- "sp-offchain",
- "sp-runtime",
- "sp-session",
- "sp-std",
- "sp-transaction-pool",
- "sp-version",
- "substrate-wasm-builder",
- "xcm",
- "xcm-builder",
- "xcm-executor",
-]
-
-[[package]]
-name = "color-print"
-version = "0.3.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f2a5e6504ed8648554968650feecea00557a3476bc040d0ffc33080e66b646d0"
-dependencies = [
- "color-print-proc-macro",
-]
-
-[[package]]
-name = "color-print-proc-macro"
-version = "0.3.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d51beaa537d73d2d1ff34ee70bc095f170420ab2ec5d687ecd3ec2b0d092514b"
-dependencies = [
- "nom",
- "proc-macro2",
- "quote",
- "syn 1.0.109",
-]
-
[[package]]
name = "colorchoice"
version = "1.0.0"
@@ -2121,29 +1591,15 @@ checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7"
[[package]]
name = "comfy-table"
-version = "7.0.0"
+version = "7.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f9e1f7e5d046697d34b593bdba8ee31f4649366e452a2ccabb3baf3511e503d1"
+checksum = "9ab77dbd8adecaf3f0db40581631b995f312a8a5ae3aa9993188bb8f23d83a5b"
dependencies = [
"strum",
"strum_macros",
"unicode-width",
]
-[[package]]
-name = "common"
-version = "0.1.0"
-source = "git+https://github.com/w3f/ring-proof#0e948f3c28cbacecdd3020403c4841c0eb339213"
-dependencies = [
- "ark-ec",
- "ark-ff",
- "ark-poly",
- "ark-serialize",
- "ark-std",
- "fflonk",
- "merlin 3.0.0",
-]
-
[[package]]
name = "common-path"
version = "1.0.0"
@@ -2152,137 +1608,43 @@ checksum = "2382f75942f4b3be3690fe4f86365e9c853c1587d6ee58212cebf6e2a9ccd101"
[[package]]
name = "concurrent-queue"
-version = "1.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "30ed07550be01594c6026cff2a1d7fe9c8f683caa798e12b68694ac9e88286a3"
-dependencies = [
- "cache-padded",
-]
-
-[[package]]
-name = "concurrent-queue"
-version = "2.1.0"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c278839b831783b70278b14df4d45e1beb1aad306c07bb796637de9a0e323e8e"
+checksum = "62ec6771ecfa0762d24683ee5a32ad78487a3d3afdc0fb8cae19d2c5deb50b7c"
dependencies = [
"crossbeam-utils",
]
[[package]]
name = "console"
-version = "0.15.5"
+version = "0.15.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c3d79fbe8970a77e3e34151cc13d3b3e248aa0faaecb9f6091fa07ebefe5ad60"
+checksum = "c926e00cc70edefdc64d3a5ff31cc65bb97a3460097762bd23afb4d8145fccf8"
dependencies = [
"encode_unicode",
"lazy_static",
"libc",
"unicode-width",
- "windows-sys 0.42.0",
+ "windows-sys 0.45.0",
]
[[package]]
name = "const-oid"
-version = "0.9.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "520fbf3c07483f94e3e3ca9d0cfd913d7718ef2483d2cfd91c0d9e91474ab913"
-
-[[package]]
-name = "const-random"
-version = "0.1.15"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "368a7a772ead6ce7e1de82bfb04c485f3db8ec744f72925af5735e29a22cc18e"
-dependencies = [
- "const-random-macro",
- "proc-macro-hack",
-]
-
-[[package]]
-name = "const-random-macro"
-version = "0.1.15"
+version = "0.9.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9d7d6ab3c3a2282db210df5f02c4dab6e0a7057af0fb7ebd4070f30fe05c0ddb"
-dependencies = [
- "getrandom 0.2.8",
- "once_cell",
- "proc-macro-hack",
- "tiny-keccak",
-]
+checksum = "795bc6e66a8e340f075fcf6227e417a2dc976b92b91f3cdc778bb858778b6747"
[[package]]
name = "constant_time_eq"
-version = "0.1.5"
+version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc"
+checksum = "21a53c0a4d288377e7415b53dcfc3c04da5cdc2cc95c8d5ac178b58f0b861ad6"
[[package]]
name = "constant_time_eq"
-version = "0.2.4"
+version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f3ad85c1f65dc7b37604eb0e89748faf0b9653065f2a8ef69f96a687ec1e9279"
-
-[[package]]
-name = "contracts-rococo-runtime"
-version = "0.2.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-timestamp",
- "cumulus-primitives-utility",
- "frame-benchmarking",
- "frame-executive",
- "frame-support",
- "frame-system",
- "frame-system-benchmarking",
- "frame-system-rpc-runtime-api",
- "frame-try-runtime",
- "hex-literal 0.4.1",
- "kusama-runtime-constants",
- "log",
- "pallet-aura",
- "pallet-authorship",
- "pallet-balances",
- "pallet-collator-selection",
- "pallet-contracts",
- "pallet-contracts-primitives",
- "pallet-insecure-randomness-collective-flip",
- "pallet-multisig",
- "pallet-session",
- "pallet-sudo",
- "pallet-timestamp",
- "pallet-transaction-payment",
- "pallet-transaction-payment-rpc-runtime-api",
- "pallet-utility",
- "pallet-xcm",
- "parachain-info",
- "parachains-common",
- "parity-scale-codec",
- "polkadot-core-primitives",
- "polkadot-parachain",
- "polkadot-runtime-common",
- "scale-info",
- "smallvec",
- "sp-api",
- "sp-block-builder",
- "sp-consensus-aura",
- "sp-core",
- "sp-inherents",
- "sp-offchain",
- "sp-runtime",
- "sp-session",
- "sp-std",
- "sp-transaction-pool",
- "sp-version",
- "substrate-wasm-builder",
- "xcm",
- "xcm-builder",
- "xcm-executor",
-]
+checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2"
[[package]]
name = "convert_case"
@@ -2292,9 +1654,9 @@ checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e"
[[package]]
name = "core-foundation"
-version = "0.9.2"
+version = "0.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6888e10551bb93e424d8df1d07f1a8b4fceb0001a3a4b048bfc47554946f47b3"
+checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146"
dependencies = [
"core-foundation-sys",
"libc",
@@ -2302,9 +1664,9 @@ dependencies = [
[[package]]
name = "core-foundation-sys"
-version = "0.8.3"
+version = "0.8.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc"
+checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa"
[[package]]
name = "core2"
@@ -2321,7 +1683,7 @@ version = "0.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eeaa953eaad386a53111e47172c2fedba671e5684c8dd601a5f474f4f118710f"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
]
[[package]]
@@ -2336,9 +1698,9 @@ dependencies = [
[[package]]
name = "cpufeatures"
-version = "0.2.1"
+version = "0.2.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "95059428f66df56b63431fdb4e1947ed2190586af5c5a8a8b71122bdf5a7f469"
+checksum = "a17b76ff3a4162b0b27f354a0c87015ddad39d35f9c0c36607a3bdd175dde1f1"
dependencies = [
"libc",
]
@@ -2442,103 +1804,80 @@ dependencies = [
]
[[package]]
-name = "crc32fast"
-version = "1.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "738c290dfaea84fc1ca15ad9c168d083b05a714e1efddd8edaab678dc28d2836"
-dependencies = [
- "cfg-if",
-]
-
-[[package]]
-name = "criterion"
-version = "0.5.1"
+name = "crc"
+version = "3.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f2b12d017a929603d80db1831cd3a24082f8137ce19c69e6447f54f5fc8d692f"
+checksum = "86ec7a15cbe22e59248fc7eadb1907dab5ba09372595da4d73dd805ed4417dfe"
dependencies = [
- "anes",
- "cast",
- "ciborium",
- "clap",
- "criterion-plot",
- "futures",
- "is-terminal",
- "itertools",
- "num-traits",
- "once_cell",
- "oorandom",
- "plotters",
- "rayon",
- "regex",
- "serde",
- "serde_derive",
- "serde_json",
- "tinytemplate",
- "tokio",
- "walkdir",
+ "crc-catalog",
]
[[package]]
-name = "criterion-plot"
-version = "0.5.0"
+name = "crc-catalog"
+version = "2.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9cace84e55f07e7301bae1c519df89cdad8cc3cd868413d3fdbdeca9ff3db484"
+
+[[package]]
+name = "crc32fast"
+version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1"
+checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d"
dependencies = [
- "cast",
- "itertools",
+ "cfg-if 1.0.0",
]
[[package]]
name = "crossbeam-channel"
-version = "0.5.1"
+version = "0.5.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "06ed27e177f16d65f0f0c22a213e17c696ace5dd64b14258b52f9417ccb52db4"
+checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
"crossbeam-utils",
]
[[package]]
name = "crossbeam-deque"
-version = "0.8.1"
+version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e"
+checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
"crossbeam-epoch",
"crossbeam-utils",
]
[[package]]
name = "crossbeam-epoch"
-version = "0.9.5"
+version = "0.9.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ec02e091aa634e2c3ada4a392989e7c3116673ef0ac5b72232439094d73b7fd"
+checksum = "ae211234986c545741a7dc064309f67ee1e5ad243d0e48335adc0484d960bcc7"
dependencies = [
- "cfg-if",
+ "autocfg",
+ "cfg-if 1.0.0",
"crossbeam-utils",
- "lazy_static",
- "memoffset 0.6.5",
+ "memoffset 0.9.0",
"scopeguard",
]
[[package]]
name = "crossbeam-queue"
-version = "0.3.5"
+version = "0.3.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1f25d8400f4a7a5778f0e4e52384a48cbd9b5c495d110786187fc750075277a2"
+checksum = "d1cfb3ea8a53f37c40dea2c7bedcbd88bdfae54f5e2175d6ecaff1c988353add"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
"crossbeam-utils",
]
[[package]]
name = "crossbeam-utils"
-version = "0.8.15"
+version = "0.8.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3c063cd8cc95f5c377ed0d4b49a4b21f632396ff690e8470c29b3359b346984b"
+checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
]
[[package]]
@@ -2547,13 +1886,25 @@ version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
+[[package]]
+name = "crypto-bigint"
+version = "0.4.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ef2b4b23cddf68b89b8f8069890e8c270d54e2d5fe1b143820234805e4cb17ef"
+dependencies = [
+ "generic-array 0.14.7",
+ "rand_core 0.6.4",
+ "subtle",
+ "zeroize",
+]
+
[[package]]
name = "crypto-bigint"
version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cf4c2f4e1afd912bc40bfd6fed5d9dc1f288e0ba01bfcc835cc5bc3eb13efe15"
dependencies = [
- "generic-array 0.14.6",
+ "generic-array 0.14.7",
"rand_core 0.6.4",
"subtle",
"zeroize",
@@ -2565,7 +1916,7 @@ version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
dependencies = [
- "generic-array 0.14.6",
+ "generic-array 0.14.7",
"rand_core 0.6.4",
"typenum",
]
@@ -2576,7 +1927,7 @@ version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab"
dependencies = [
- "generic-array 0.14.6",
+ "generic-array 0.14.7",
"subtle",
]
@@ -2586,7 +1937,7 @@ version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b1d1a86f49236c215f271d40892d5fc950490551400b02ef360692c29815c714"
dependencies = [
- "generic-array 0.14.6",
+ "generic-array 0.14.7",
"subtle",
]
@@ -2611,8 +1962,9 @@ dependencies = [
[[package]]
name = "cumulus-client-cli"
version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=master#5386d1821a021b3ede941c5c301802856997f53c"
dependencies = [
- "clap",
+ "clap 4.3.16",
"parity-scale-codec",
"sc-chain-spec",
"sc-cli",
@@ -2626,35 +1978,30 @@ dependencies = [
[[package]]
name = "cumulus-client-collator"
version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=master#5386d1821a021b3ede941c5c301802856997f53c"
dependencies = [
- "async-trait",
"cumulus-client-consensus-common",
"cumulus-client-network",
"cumulus-primitives-core",
- "cumulus-test-client",
- "cumulus-test-runtime",
"futures",
"parity-scale-codec",
"parking_lot 0.12.1",
"polkadot-node-primitives",
"polkadot-node-subsystem",
- "polkadot-node-subsystem-test-helpers",
"polkadot-overseer",
"polkadot-primitives",
"sc-client-api",
"sp-api",
"sp-consensus",
"sp-core",
- "sp-maybe-compressed-blob",
"sp-runtime",
- "sp-state-machine",
- "sp-tracing",
"tracing",
]
[[package]]
name = "cumulus-client-consensus-aura"
version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=master#5386d1821a021b3ede941c5c301802856997f53c"
dependencies = [
"async-trait",
"cumulus-client-collator",
@@ -2665,7 +2012,7 @@ dependencies = [
"cumulus-primitives-parachain-inherent",
"cumulus-relay-chain-interface",
"futures",
- "lru 0.11.0",
+ "lru 0.10.1",
"parity-scale-codec",
"polkadot-node-primitives",
"polkadot-overseer",
@@ -2695,15 +2042,14 @@ dependencies = [
[[package]]
name = "cumulus-client-consensus-common"
version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=master#5386d1821a021b3ede941c5c301802856997f53c"
dependencies = [
"async-trait",
"cumulus-client-pov-recovery",
"cumulus-primitives-core",
"cumulus-relay-chain-interface",
- "cumulus-test-client",
"dyn-clone",
"futures",
- "futures-timer",
"log",
"parity-scale-codec",
"polkadot-primitives",
@@ -2717,7 +2063,6 @@ dependencies = [
"sp-core",
"sp-runtime",
"sp-timestamp",
- "sp-tracing",
"sp-trie",
"substrate-prometheus-endpoint",
"tracing",
@@ -2726,6 +2071,7 @@ dependencies = [
[[package]]
name = "cumulus-client-consensus-proposer"
version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=master#5386d1821a021b3ede941c5c301802856997f53c"
dependencies = [
"anyhow",
"async-trait",
@@ -2737,37 +2083,13 @@ dependencies = [
"thiserror",
]
-[[package]]
-name = "cumulus-client-consensus-relay-chain"
-version = "0.1.0"
-dependencies = [
- "async-trait",
- "cumulus-client-consensus-common",
- "cumulus-primitives-core",
- "cumulus-relay-chain-interface",
- "futures",
- "parking_lot 0.12.1",
- "sc-consensus",
- "sp-api",
- "sp-block-builder",
- "sp-blockchain",
- "sp-consensus",
- "sp-core",
- "sp-inherents",
- "sp-runtime",
- "substrate-prometheus-endpoint",
- "tracing",
-]
-
[[package]]
name = "cumulus-client-network"
version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=master#5386d1821a021b3ede941c5c301802856997f53c"
dependencies = [
"async-trait",
- "cumulus-primitives-core",
- "cumulus-relay-chain-inprocess-interface",
"cumulus-relay-chain-interface",
- "cumulus-test-service",
"futures",
"futures-timer",
"parity-scale-codec",
@@ -2775,31 +2097,23 @@ dependencies = [
"polkadot-node-primitives",
"polkadot-parachain",
"polkadot-primitives",
- "polkadot-test-client",
- "portpicker",
- "sc-cli",
"sc-client-api",
"sp-blockchain",
"sp-consensus",
"sp-core",
- "sp-keyring",
- "sp-keystore",
"sp-runtime",
"sp-state-machine",
- "substrate-test-utils",
- "tokio",
"tracing",
- "url",
]
[[package]]
name = "cumulus-client-pov-recovery"
version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=master#5386d1821a021b3ede941c5c301802856997f53c"
dependencies = [
"async-trait",
"cumulus-primitives-core",
"cumulus-relay-chain-interface",
- "cumulus-test-service",
"futures",
"futures-timer",
"parity-scale-codec",
@@ -2807,22 +2121,19 @@ dependencies = [
"polkadot-node-subsystem",
"polkadot-overseer",
"polkadot-primitives",
- "portpicker",
"rand 0.8.5",
- "sc-cli",
"sc-client-api",
"sc-consensus",
"sp-consensus",
"sp-maybe-compressed-blob",
"sp-runtime",
- "substrate-test-utils",
- "tokio",
"tracing",
]
[[package]]
name = "cumulus-client-service"
version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=master#5386d1821a021b3ede941c5c301802856997f53c"
dependencies = [
"cumulus-client-cli",
"cumulus-client-collator",
@@ -2857,8 +2168,8 @@ dependencies = [
[[package]]
name = "cumulus-pallet-aura-ext"
version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=master#5386d1821a021b3ede941c5c301802856997f53c"
dependencies = [
- "cumulus-pallet-parachain-system",
"frame-support",
"frame-system",
"pallet-aura",
@@ -2867,12 +2178,13 @@ dependencies = [
"sp-application-crypto",
"sp-consensus-aura",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "cumulus-pallet-dmp-queue"
version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=master#5386d1821a021b3ede941c5c301802856997f53c"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -2880,44 +2192,36 @@ dependencies = [
"log",
"parity-scale-codec",
"scale-info",
- "sp-core",
"sp-io",
"sp-runtime",
- "sp-std",
- "sp-version",
+ "sp-std 8.0.0",
"xcm",
]
[[package]]
name = "cumulus-pallet-parachain-system"
version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=master#5386d1821a021b3ede941c5c301802856997f53c"
dependencies = [
"bytes",
"cumulus-pallet-parachain-system-proc-macro",
"cumulus-primitives-core",
"cumulus-primitives-parachain-inherent",
- "cumulus-test-client",
- "cumulus-test-relay-sproof-builder",
"environmental",
"frame-support",
"frame-system",
- "hex-literal 0.4.1",
"impl-trait-for-tuples",
- "lazy_static",
"log",
"parity-scale-codec",
"polkadot-parachain",
- "sc-client-api",
"scale-info",
"sp-core",
"sp-externalities",
"sp-inherents",
"sp-io",
- "sp-keyring",
"sp-runtime",
"sp-state-machine",
- "sp-std",
- "sp-tracing",
+ "sp-std 8.0.0",
"sp-trie",
"sp-version",
"trie-db",
@@ -2927,44 +2231,18 @@ dependencies = [
[[package]]
name = "cumulus-pallet-parachain-system-proc-macro"
version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=master#5386d1821a021b3ede941c5c301802856997f53c"
dependencies = [
"proc-macro-crate",
- "proc-macro2",
- "quote",
- "syn 2.0.28",
-]
-
-[[package]]
-name = "cumulus-pallet-session-benchmarking"
-version = "3.0.0"
-dependencies = [
- "frame-benchmarking",
- "frame-support",
- "frame-system",
- "pallet-session",
- "parity-scale-codec",
- "sp-runtime",
- "sp-std",
-]
-
-[[package]]
-name = "cumulus-pallet-solo-to-para"
-version = "0.1.0"
-dependencies = [
- "cumulus-pallet-parachain-system",
- "frame-support",
- "frame-system",
- "pallet-sudo",
- "parity-scale-codec",
- "polkadot-primitives",
- "scale-info",
- "sp-runtime",
- "sp-std",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
name = "cumulus-pallet-xcm"
version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=master#5386d1821a021b3ede941c5c301802856997f53c"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -2973,52 +2251,34 @@ dependencies = [
"scale-info",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
"xcm",
]
[[package]]
name = "cumulus-pallet-xcmp-queue"
version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=master#5386d1821a021b3ede941c5c301802856997f53c"
dependencies = [
- "cumulus-pallet-parachain-system",
"cumulus-primitives-core",
- "frame-benchmarking",
"frame-support",
"frame-system",
"log",
- "pallet-balances",
"parity-scale-codec",
"polkadot-runtime-common",
"rand_chacha 0.3.1",
"scale-info",
- "sp-core",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
"xcm",
- "xcm-builder",
"xcm-executor",
]
-[[package]]
-name = "cumulus-ping"
-version = "0.1.0"
-dependencies = [
- "cumulus-pallet-xcm",
- "cumulus-primitives-core",
- "frame-support",
- "frame-system",
- "parity-scale-codec",
- "scale-info",
- "sp-runtime",
- "sp-std",
- "xcm",
-]
-
[[package]]
name = "cumulus-primitives-aura"
version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=master#5386d1821a021b3ede941c5c301802856997f53c"
dependencies = [
"parity-scale-codec",
"polkadot-core-primitives",
@@ -3026,12 +2286,13 @@ dependencies = [
"sp-api",
"sp-consensus-aura",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "cumulus-primitives-core"
version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=master#5386d1821a021b3ede941c5c301802856997f53c"
dependencies = [
"parity-scale-codec",
"polkadot-core-primitives",
@@ -3040,7 +2301,7 @@ dependencies = [
"scale-info",
"sp-api",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
"sp-trie",
"xcm",
]
@@ -3048,6 +2309,7 @@ dependencies = [
[[package]]
name = "cumulus-primitives-parachain-inherent"
version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=master#5386d1821a021b3ede941c5c301802856997f53c"
dependencies = [
"async-trait",
"cumulus-primitives-core",
@@ -3061,7 +2323,7 @@ dependencies = [
"sp-inherents",
"sp-runtime",
"sp-state-machine",
- "sp-std",
+ "sp-std 8.0.0",
"sp-storage",
"sp-trie",
"tracing",
@@ -3070,52 +2332,28 @@ dependencies = [
[[package]]
name = "cumulus-primitives-timestamp"
version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=master#5386d1821a021b3ede941c5c301802856997f53c"
dependencies = [
"cumulus-primitives-core",
- "cumulus-test-client",
- "cumulus-test-relay-sproof-builder",
"futures",
"parity-scale-codec",
- "sp-consensus",
"sp-inherents",
- "sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
"sp-timestamp",
- "sp-tracing",
-]
-
-[[package]]
-name = "cumulus-primitives-utility"
-version = "0.1.0"
-dependencies = [
- "cumulus-primitives-core",
- "frame-support",
- "log",
- "parity-scale-codec",
- "polkadot-runtime-common",
- "sp-io",
- "sp-runtime",
- "sp-std",
- "xcm",
- "xcm-builder",
- "xcm-executor",
]
[[package]]
name = "cumulus-relay-chain-inprocess-interface"
version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=master#5386d1821a021b3ede941c5c301802856997f53c"
dependencies = [
"async-trait",
"cumulus-primitives-core",
"cumulus-relay-chain-interface",
- "cumulus-test-service",
"futures",
"futures-timer",
"polkadot-cli",
- "polkadot-primitives",
"polkadot-service",
- "polkadot-test-client",
- "prioritized-metered-channel",
"sc-cli",
"sc-client-api",
"sc-sysinfo",
@@ -3124,7 +2362,6 @@ dependencies = [
"sp-api",
"sp-consensus",
"sp-core",
- "sp-keyring",
"sp-runtime",
"sp-state-machine",
]
@@ -3132,11 +2369,12 @@ dependencies = [
[[package]]
name = "cumulus-relay-chain-interface"
version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=master#5386d1821a021b3ede941c5c301802856997f53c"
dependencies = [
"async-trait",
"cumulus-primitives-core",
"futures",
- "jsonrpsee-core",
+ "jsonrpsee-core 0.16.2",
"parity-scale-codec",
"polkadot-overseer",
"sc-client-api",
@@ -3149,6 +2387,7 @@ dependencies = [
[[package]]
name = "cumulus-relay-chain-minimal-node"
version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=master#5386d1821a021b3ede941c5c301802856997f53c"
dependencies = [
"array-bytes",
"async-trait",
@@ -3156,7 +2395,7 @@ dependencies = [
"cumulus-relay-chain-interface",
"cumulus-relay-chain-rpc-interface",
"futures",
- "lru 0.11.0",
+ "lru 0.9.0",
"polkadot-availability-recovery",
"polkadot-collator-protocol",
"polkadot-core-primitives",
@@ -3186,14 +2425,15 @@ dependencies = [
[[package]]
name = "cumulus-relay-chain-rpc-interface"
version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=master#5386d1821a021b3ede941c5c301802856997f53c"
dependencies = [
"async-trait",
"cumulus-primitives-core",
"cumulus-relay-chain-interface",
"futures",
"futures-timer",
- "jsonrpsee",
- "lru 0.11.0",
+ "jsonrpsee 0.16.2",
+ "lru 0.9.0",
"parity-scale-codec",
"polkadot-overseer",
"sc-client-api",
@@ -3212,165 +2452,48 @@ dependencies = [
"url",
]
-[[package]]
-name = "cumulus-test-client"
-version = "0.1.0"
-dependencies = [
- "cumulus-primitives-core",
- "cumulus-primitives-parachain-inherent",
- "cumulus-test-relay-sproof-builder",
- "cumulus-test-runtime",
- "cumulus-test-service",
- "frame-system",
- "pallet-balances",
- "pallet-transaction-payment",
- "parity-scale-codec",
- "polkadot-parachain",
- "polkadot-primitives",
- "sc-block-builder",
- "sc-consensus",
- "sc-executor",
- "sc-executor-common",
- "sc-service",
- "sp-api",
- "sp-blockchain",
- "sp-core",
- "sp-inherents",
- "sp-io",
- "sp-keyring",
- "sp-runtime",
- "sp-timestamp",
- "substrate-test-client",
-]
-
[[package]]
name = "cumulus-test-relay-sproof-builder"
version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=master#5386d1821a021b3ede941c5c301802856997f53c"
dependencies = [
"cumulus-primitives-core",
"parity-scale-codec",
"polkadot-primitives",
"sp-runtime",
"sp-state-machine",
- "sp-std",
-]
-
-[[package]]
-name = "cumulus-test-relay-validation-worker-provider"
-version = "0.1.0"
-dependencies = [
- "polkadot-node-core-pvf",
- "toml 0.7.6",
-]
-
-[[package]]
-name = "cumulus-test-runtime"
-version = "0.1.0"
-dependencies = [
- "cumulus-pallet-parachain-system",
- "cumulus-primitives-core",
- "cumulus-primitives-timestamp",
- "frame-executive",
- "frame-support",
- "frame-system",
- "frame-system-rpc-runtime-api",
- "pallet-balances",
- "pallet-glutton",
- "pallet-sudo",
- "pallet-timestamp",
- "pallet-transaction-payment",
- "parity-scale-codec",
- "scale-info",
- "sp-api",
- "sp-block-builder",
- "sp-core",
- "sp-inherents",
- "sp-io",
- "sp-offchain",
- "sp-runtime",
- "sp-session",
- "sp-std",
- "sp-transaction-pool",
- "sp-version",
- "substrate-wasm-builder",
-]
-
-[[package]]
-name = "cumulus-test-service"
-version = "0.1.0"
-dependencies = [
- "async-trait",
- "clap",
- "criterion",
- "cumulus-client-cli",
- "cumulus-client-consensus-common",
- "cumulus-client-consensus-relay-chain",
- "cumulus-client-pov-recovery",
- "cumulus-client-service",
- "cumulus-pallet-parachain-system",
- "cumulus-primitives-core",
- "cumulus-primitives-parachain-inherent",
- "cumulus-relay-chain-inprocess-interface",
- "cumulus-relay-chain-interface",
- "cumulus-relay-chain-minimal-node",
- "cumulus-test-client",
- "cumulus-test-relay-sproof-builder",
- "cumulus-test-relay-validation-worker-provider",
- "cumulus-test-runtime",
- "frame-system",
- "frame-system-rpc-runtime-api",
- "futures",
- "jsonrpsee",
- "pallet-im-online",
- "pallet-timestamp",
- "pallet-transaction-payment",
- "parachains-common",
- "parity-scale-codec",
- "polkadot-cli",
- "polkadot-node-subsystem",
- "polkadot-overseer",
- "polkadot-primitives",
- "polkadot-service",
- "polkadot-test-service",
- "portpicker",
- "rand 0.8.5",
- "rococo-parachain-runtime",
- "sc-basic-authorship",
- "sc-block-builder",
- "sc-chain-spec",
- "sc-cli",
- "sc-client-api",
- "sc-consensus",
- "sc-executor",
- "sc-executor-common",
- "sc-executor-wasmtime",
- "sc-network",
- "sc-service",
- "sc-telemetry",
- "sc-tracing",
- "sc-transaction-pool",
- "sc-transaction-pool-api",
- "serde",
- "sp-api",
- "sp-arithmetic",
- "sp-authority-discovery",
- "sp-blockchain",
- "sp-consensus",
- "sp-consensus-grandpa",
- "sp-core",
- "sp-io",
- "sp-keyring",
- "sp-runtime",
- "sp-state-machine",
- "sp-timestamp",
- "sp-tracing",
- "sp-trie",
- "substrate-test-client",
- "substrate-test-utils",
- "tempfile",
- "tokio",
- "tracing",
- "url",
+ "sp-std 8.0.0",
+]
+
+[[package]]
+name = "curl"
+version = "0.4.44"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "509bd11746c7ac09ebd19f0b17782eae80aadee26237658a6b4808afb5c11a22"
+dependencies = [
+ "curl-sys",
+ "libc",
+ "openssl-probe",
+ "openssl-sys",
+ "schannel",
+ "socket2 0.4.9",
+ "winapi",
+]
+
+[[package]]
+name = "curl-sys"
+version = "0.4.63+curl-8.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "aeb0fef7046022a1e2ad67a004978f0e3cacb9e3123dc62ce768f92197b771dc"
+dependencies = [
+ "cc",
+ "libc",
+ "libnghttp2-sys",
+ "libz-sys",
+ "openssl-sys",
+ "pkg-config",
+ "vcpkg",
+ "winapi",
]
[[package]]
@@ -3405,7 +2528,7 @@ version = "4.0.0-rc.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8d4ba9852b42210c7538b75484f9daa0655e9a3ac04f693747bb0f02cf3cfe16"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
"fiat-crypto",
"packed_simd_2",
"platforms",
@@ -3415,9 +2538,9 @@ dependencies = [
[[package]]
name = "cxx"
-version = "1.0.80"
+version = "1.0.101"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6b7d4e43b25d3c994662706a1d4fcfc32aaa6afd287502c111b237093bb23f3a"
+checksum = "5032837c1384de3708043de9d4e97bb91290faca6c16529a28aa340592a78166"
dependencies = [
"cc",
"cxxbridge-flags",
@@ -3427,33 +2550,68 @@ dependencies = [
[[package]]
name = "cxx-build"
-version = "1.0.80"
+version = "1.0.101"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "84f8829ddc213e2c1368e51a2564c552b65a8cb6a28f31e576270ac81d5e5827"
+checksum = "51368b3d0dbf356e10fcbfd455a038503a105ee556f7ee79b6bb8c53a7247456"
dependencies = [
"cc",
"codespan-reporting",
"once_cell",
- "proc-macro2",
- "quote",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
"scratch",
- "syn 1.0.109",
+ "syn 2.0.26",
]
[[package]]
name = "cxxbridge-flags"
-version = "1.0.80"
+version = "1.0.101"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e72537424b474af1460806647c41d4b6d35d09ef7fe031c5c2fa5766047cc56a"
+checksum = "0d9062157072e4aafc8e56ceaf8325ce850c5ae37578c852a0d4de2cecdded13"
[[package]]
name = "cxxbridge-macro"
-version = "1.0.80"
+version = "1.0.101"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf01e8a540f5a4e0f284595834f81cf88572f244b768f051724537afa99a2545"
+dependencies = [
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
+]
+
+[[package]]
+name = "darling"
+version = "0.14.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7b750cb3417fd1b327431a470f388520309479ab0bf5e323505daf0290cd3850"
+dependencies = [
+ "darling_core",
+ "darling_macro",
+]
+
+[[package]]
+name = "darling_core"
+version = "0.14.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "109c1ca6e6b7f82cc233a97004ea8ed7ca123a9af07a8230878fcfda9b158bf0"
+dependencies = [
+ "fnv",
+ "ident_case",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "strsim 0.10.0",
+ "syn 1.0.109",
+]
+
+[[package]]
+name = "darling_macro"
+version = "0.14.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "309e4fb93eed90e1e14bea0da16b209f81813ba9fc7830c20ed151dd7bc0a4d7"
+checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e"
dependencies = [
- "proc-macro2",
- "quote",
+ "darling_core",
+ "quote 1.0.31",
"syn 1.0.109",
]
@@ -3465,9 +2623,9 @@ checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308"
[[package]]
name = "data-encoding-macro"
-version = "0.1.12"
+version = "0.1.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "86927b7cd2fe88fa698b87404b287ab98d1a0063a34071d92e575b72d3029aca"
+checksum = "c904b33cc60130e1aeea4956ab803d08a3f4a0ca82d64ed757afac3891f2bb99"
dependencies = [
"data-encoding",
"data-encoding-macro-internal",
@@ -3475,14 +2633,25 @@ dependencies = [
[[package]]
name = "data-encoding-macro-internal"
-version = "0.1.10"
+version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a5bbed42daaa95e780b60a50546aa345b8413a1e46f9a40a12907d3598f038db"
+checksum = "8fdf3fce3ce863539ec1d7fd1b6dcc3c645663376b43ed376bbf887733e4f772"
dependencies = [
"data-encoding",
"syn 1.0.109",
]
+[[package]]
+name = "der"
+version = "0.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f1a467a65c5e759bce6e65eaf91cc29f466cdc57cb65777bd646872a8a1fd4de"
+dependencies = [
+ "const-oid",
+ "pem-rfc7468",
+ "zeroize",
+]
+
[[package]]
name = "der"
version = "0.7.7"
@@ -3493,14 +2662,42 @@ dependencies = [
"zeroize",
]
+[[package]]
+name = "der-parser"
+version = "7.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fe398ac75057914d7d07307bf67dc7f3f574a26783b4fc7805a20ffa9f506e82"
+dependencies = [
+ "asn1-rs 0.3.1",
+ "displaydoc",
+ "nom",
+ "num-bigint",
+ "num-traits",
+ "rusticata-macros",
+]
+
+[[package]]
+name = "der-parser"
+version = "8.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dbd676fbbab537128ef0278adb5576cf363cff6aa22a7b24effe97347cfab61e"
+dependencies = [
+ "asn1-rs 0.5.2",
+ "displaydoc",
+ "nom",
+ "num-bigint",
+ "num-traits",
+ "rusticata-macros",
+]
+
[[package]]
name = "derivative"
version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b"
dependencies = [
- "proc-macro2",
- "quote",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
"syn 1.0.109",
]
@@ -3510,8 +2707,39 @@ version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e79116f119dd1dba1abf1f3405f03b9b0e79a27a3883864bfebded8a3dc768cd"
dependencies = [
- "proc-macro2",
- "quote",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 1.0.109",
+]
+
+[[package]]
+name = "derive_builder"
+version = "0.11.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d07adf7be193b71cc36b193d0f5fe60b918a3a9db4dad0449f57bcfd519704a3"
+dependencies = [
+ "derive_builder_macro",
+]
+
+[[package]]
+name = "derive_builder_core"
+version = "0.11.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1f91d4cfa921f1c05904dc3c57b4a32c38aed3340cce209f3a6fd1478babafc4"
+dependencies = [
+ "darling",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 1.0.109",
+]
+
+[[package]]
+name = "derive_builder_macro"
+version = "0.11.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8f0314b72bed045f3a68671b3c86328386762c93f82d98c65c3cb5e5f573dd68"
+dependencies = [
+ "derive_builder_core",
"syn 1.0.109",
]
@@ -3522,9 +2750,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321"
dependencies = [
"convert_case",
- "proc-macro2",
- "quote",
- "rustc_version 0.4.0",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "rustc_version",
"syn 1.0.109",
]
@@ -3549,7 +2777,7 @@ version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066"
dependencies = [
- "generic-array 0.14.6",
+ "generic-array 0.14.7",
]
[[package]]
@@ -3558,7 +2786,7 @@ version = "0.10.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
dependencies = [
- "block-buffer 0.10.0",
+ "block-buffer 0.10.4",
"const-oid",
"crypto-common",
"subtle",
@@ -3579,15 +2807,15 @@ version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "339ee130d97a610ea5a5872d2bbb130fdf68884ff09d3028b81bec8a1ac23bbc"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
"dirs-sys-next",
]
[[package]]
name = "dirs-sys"
-version = "0.3.6"
+version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "03d86534ed367a67548dc68113a0f5db55432fdfbb6e6f9d77704397d95d5780"
+checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6"
dependencies = [
"libc",
"redox_users",
@@ -3606,51 +2834,39 @@ dependencies = [
]
[[package]]
-name = "dleq_vrf"
-version = "0.0.2"
-source = "git+https://github.com/w3f/ring-vrf?rev=c86ebd4#c86ebd4114d3165d05f9ce28c1d9e8d7a9a4e801"
+name = "displaydoc"
+version = "0.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d"
dependencies = [
- "ark-ec",
- "ark-ff",
- "ark-secret-scalar",
- "ark-serialize",
- "ark-std",
- "ark-transcript",
- "arrayvec 0.7.4",
- "rand_core 0.6.4",
- "zeroize",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
-[[package]]
-name = "doc-comment"
-version = "0.3.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10"
-
[[package]]
name = "docify"
-version = "0.2.1"
+version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "029de870d175d11969524d91a3fb2cbf6d488b853bff99d41cf65e533ac7d9d2"
+checksum = "f6491709f76fb7ceb951244daf624d480198b427556084391d6e3c33d3ae74b9"
dependencies = [
"docify_macros",
]
[[package]]
name = "docify_macros"
-version = "0.2.1"
+version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cac43324656a1b05eb0186deb51f27d2d891c704c37f34de281ef6297ba193e5"
+checksum = "ffc5338a9f72ce29a81377d9039798fcc926fb471b2004666caf48e446dffbbf"
dependencies = [
"common-path",
"derive-syn-parse",
"once_cell",
- "proc-macro2",
- "quote",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
"regex",
- "syn 2.0.28",
+ "syn 2.0.26",
"termcolor",
- "toml 0.7.6",
"walkdir",
]
@@ -3660,17 +2876,11 @@ version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1"
-[[package]]
-name = "downcast-rs"
-version = "1.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650"
-
[[package]]
name = "dtoa"
-version = "1.0.2"
+version = "1.0.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5caaa75cbd2b960ff1e5392d2cfb1f44717fffe12fc1f32b7b5d1267f99732a6"
+checksum = "dcbb2bf8e87535c23f7a8a321e364ce21462d0ff10cb6407820e8e96dfff6653"
[[package]]
name = "dyn-clonable"
@@ -3688,8 +2898,8 @@ version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "558e40ea573c374cf53507fd240b7ee2f5477df7cfebdb97323ec61c719399c5"
dependencies = [
- "proc-macro2",
- "quote",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
"syn 1.0.109",
]
@@ -3699,18 +2909,30 @@ version = "1.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "304e6508efa593091e97a9abbc10f90aa7ca635b6d2784feff3c89d41dd12272"
+[[package]]
+name = "ecdsa"
+version = "0.14.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "413301934810f597c1d19ca71c8710e99a3f1ba28a0d2ebc01551a2daeea3c5c"
+dependencies = [
+ "der 0.6.1",
+ "elliptic-curve 0.12.3",
+ "rfc6979 0.3.1",
+ "signature 1.6.4",
+]
+
[[package]]
name = "ecdsa"
version = "0.16.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0997c976637b606099b9985693efa3581e84e41f5c11ba5255f88711058ad428"
dependencies = [
- "der",
+ "der 0.7.7",
"digest 0.10.7",
- "elliptic-curve",
- "rfc6979",
+ "elliptic-curve 0.13.5",
+ "rfc6979 0.4.0",
"signature 2.1.0",
- "spki",
+ "spki 0.7.2",
]
[[package]]
@@ -3732,7 +2954,7 @@ dependencies = [
"ed25519",
"rand 0.7.3",
"serde",
- "sha2 0.9.8",
+ "sha2 0.9.9",
"zeroize",
]
@@ -3746,15 +2968,37 @@ dependencies = [
"hashbrown 0.12.3",
"hex",
"rand_core 0.6.4",
- "sha2 0.9.8",
+ "sha2 0.9.9",
"zeroize",
]
[[package]]
name = "either"
-version = "1.9.0"
+version = "1.8.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91"
+
+[[package]]
+name = "elliptic-curve"
+version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07"
+checksum = "e7bb888ab5300a19b8e5bceef25ac745ad065f3c9f7efc6de1b91958110891d3"
+dependencies = [
+ "base16ct 0.1.1",
+ "crypto-bigint 0.4.9",
+ "der 0.6.1",
+ "digest 0.10.7",
+ "ff 0.12.1",
+ "generic-array 0.14.7",
+ "group 0.12.1",
+ "hkdf",
+ "pem-rfc7468",
+ "pkcs8 0.9.0",
+ "rand_core 0.6.4",
+ "sec1 0.3.0",
+ "subtle",
+ "zeroize",
+]
[[package]]
name = "elliptic-curve"
@@ -3762,15 +3006,15 @@ version = "0.13.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "968405c8fdc9b3bf4df0a6638858cc0b52462836ab6b1c87377785dd09cf1c0b"
dependencies = [
- "base16ct",
- "crypto-bigint",
+ "base16ct 0.2.0",
+ "crypto-bigint 0.5.2",
"digest 0.10.7",
- "ff",
- "generic-array 0.14.6",
- "group",
- "pkcs8",
+ "ff 0.13.0",
+ "generic-array 0.14.7",
+ "group 0.13.0",
+ "pkcs8 0.10.2",
"rand_core 0.6.4",
- "sec1",
+ "sec1 0.7.3",
"subtle",
"zeroize",
]
@@ -3781,15 +3025,24 @@ version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f"
+[[package]]
+name = "encoding_rs"
+version = "0.8.32"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "071a31f4ee85403370b58aca746f01041ede6f0da2730960ad001edc2b71b394"
+dependencies = [
+ "cfg-if 1.0.0",
+]
+
[[package]]
name = "enum-as-inner"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c9720bba047d567ffc8a3cba48bf19126600e249ab7f128e9233e6376976a116"
dependencies = [
- "heck",
- "proc-macro2",
- "quote",
+ "heck 0.4.1",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
"syn 1.0.109",
]
@@ -3808,43 +3061,30 @@ version = "0.7.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5e9a1f9f7d83e59740248a6e14ecf93929ade55027844dfcea78beafccc15745"
dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.28",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
name = "enumn"
-version = "0.1.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "48016319042fb7c87b78d2993084a831793a897a5cd1a2a67cab9d1eeb4b7d76"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.28",
-]
-
-[[package]]
-name = "env_logger"
-version = "0.7.1"
+version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36"
+checksum = "c9838a970f5de399d3070ae1739e131986b2f5dcc223c7423ca0927e3a878522"
dependencies = [
- "atty",
- "humantime 1.3.0",
- "log",
- "regex",
- "termcolor",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
name = "env_logger"
-version = "0.9.0"
+version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0b2cf0344971ee6c64c31be0d530793fba457d322dfec2810c453d0ef228f9c3"
+checksum = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0"
dependencies = [
- "atty",
- "humantime 2.1.0",
+ "humantime",
+ "is-terminal",
"log",
"regex",
"termcolor",
@@ -3858,19 +3098,18 @@ checksum = "e48c92028aaa870e83d51c64e5d4e0b6981b360c522198c23959f219a4e1b15b"
[[package]]
name = "equivalent"
-version = "1.0.0"
+version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "88bffebc5d80432c9b140ee17875ff173a8ab62faad5b257da912bd2f6c1c0a1"
+checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
[[package]]
-name = "errno"
-version = "0.2.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1"
+name = "equivocation-detector"
+version = "0.1.0"
dependencies = [
- "errno-dragonfly",
- "libc",
- "winapi",
+ "async-trait",
+ "bp-header-chain",
+ "finality-relay",
+ "relay-utils",
]
[[package]]
@@ -3901,7 +3140,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c22d4b5885b6aa2fe5e8b9329fb8d232bf739e434e6b87347c63bdd00c120f60"
dependencies = [
"crunchy",
- "fixed-hash",
+ "fixed-hash 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
"impl-rlp",
"impl-serde",
"tiny-keccak",
@@ -3914,7 +3153,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "02d215cbf040552efcbe99a38372fe80ab9d00268e20012b79fcd0f073edd8ee"
dependencies = [
"ethbloom",
- "fixed-hash",
+ "fixed-hash 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
"impl-rlp",
"impl-serde",
"primitive-types",
@@ -3923,9 +3162,9 @@ dependencies = [
[[package]]
name = "event-listener"
-version = "2.5.1"
+version = "2.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f7531096570974c3a9dcf9e4b8e1cede1ec26cf5046219fb3b9d897503b9be59"
+checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0"
[[package]]
name = "exit-future"
@@ -3944,8 +3183,8 @@ checksum = "a718c0675c555c5f976fff4ea9e2c150fa06cefa201cadef87cfbf9324075881"
dependencies = [
"blake3",
"fs-err",
- "proc-macro2",
- "quote",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
]
[[package]]
@@ -3956,8 +3195,8 @@ checksum = "3774182a5df13c3d1690311ad32fbe913feef26baba609fa2dd5f72042bd2ab6"
dependencies = [
"blake2",
"fs-err",
- "proc-macro2",
- "quote",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
]
[[package]]
@@ -3968,9 +3207,9 @@ checksum = "5f86a749cf851891866c10515ef6c299b5c69661465e9c3bbe7e07a2b77fb0f7"
dependencies = [
"blake2",
"fs-err",
- "proc-macro2",
- "quote",
- "syn 2.0.28",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
@@ -3987,19 +3226,13 @@ checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7"
[[package]]
name = "fastrand"
-version = "1.7.0"
+version = "1.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c3fcf0cee53519c866c09b5de1f6c56ff9d647101f81c1964fa632e148896cdf"
+checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be"
dependencies = [
"instant",
]
-[[package]]
-name = "fastrand"
-version = "2.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764"
-
[[package]]
name = "fatality"
version = "0.0.6"
@@ -4017,10 +3250,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f5aa1e3ae159e592ad222dc90c5acbad632b527779ba88486abe92782ab268bd"
dependencies = [
"expander 0.0.4",
- "indexmap 1.9.1",
+ "indexmap 1.9.3",
"proc-macro-crate",
- "proc-macro2",
- "quote",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
"syn 1.0.109",
"thiserror",
]
@@ -4036,25 +3269,22 @@ dependencies = [
[[package]]
name = "ff"
-version = "0.13.0"
+version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449"
+checksum = "d013fc25338cc558c5c2cfbad646908fb23591e2404481826742b651c9af7160"
dependencies = [
"rand_core 0.6.4",
"subtle",
]
[[package]]
-name = "fflonk"
-version = "0.1.0"
-source = "git+https://github.com/w3f/fflonk#26a5045b24e169cffc1f9328ca83d71061145c40"
+name = "ff"
+version = "0.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449"
dependencies = [
- "ark-ec",
- "ark-ff",
- "ark-poly",
- "ark-serialize",
- "ark-std",
- "merlin 3.0.0",
+ "rand_core 0.6.4",
+ "subtle",
]
[[package]]
@@ -4065,24 +3295,24 @@ checksum = "e825f6987101665dea6ec934c09ec6d721de7bc1bf92248e1d5810c8cd636b77"
[[package]]
name = "file-per-thread-logger"
-version = "0.1.4"
+version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4fdbe0d94371f9ce939b555dd342d0686cc4c0cadbcd4b61d70af5ff97eb4126"
+checksum = "84f2e425d9790201ba4af4630191feac6dcc98765b118d4d18e91d23c2353866"
dependencies = [
- "env_logger 0.7.1",
+ "env_logger",
"log",
]
[[package]]
name = "filetime"
-version = "0.2.16"
+version = "0.2.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0408e2626025178a6a7f7ffc05a25bc47103229f19c113755de7bf63816290c"
+checksum = "5cbc844cecaee9d4443931972e1289c8ff485cb4cc2767cb03ca139ed6885153"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
"libc",
- "redox_syscall 0.2.10",
- "winapi",
+ "redox_syscall 0.2.16",
+ "windows-sys 0.48.0",
]
[[package]]
@@ -4101,6 +3331,21 @@ dependencies = [
"scale-info",
]
+[[package]]
+name = "finality-relay"
+version = "0.1.0"
+dependencies = [
+ "async-std",
+ "async-trait",
+ "backoff",
+ "bp-header-chain",
+ "futures",
+ "log",
+ "num-traits",
+ "parking_lot 0.12.1",
+ "relay-utils",
+]
+
[[package]]
name = "fixed-hash"
version = "0.8.0"
@@ -4113,11 +3358,33 @@ dependencies = [
"static_assertions",
]
+[[package]]
+name = "fixed-hash"
+version = "0.8.0"
+source = "git+https://github.com/paritytech/parity-common?branch=master#d3a9327124a66e52ca1114bb8640c02c18c134b8"
+dependencies = [
+ "byteorder",
+ "rand 0.8.5",
+ "rustc-hex",
+ "static_assertions",
+]
+
[[package]]
name = "fixedbitset"
-version = "0.4.0"
+version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "398ea4fabe40b9b0d885340a2a991a44c8a645624075ad966d21f88688e2b69e"
+checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
+
+[[package]]
+name = "flate2"
+version = "1.0.26"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3b9429470923de8e8cbd4d2dc513535400b4b3fef0319fb5c4e1f520a7bef743"
+dependencies = [
+ "crc32fast",
+ "libz-sys",
+ "miniz_oxide",
+]
[[package]]
name = "float-cmp"
@@ -4137,7 +3404,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
[[package]]
name = "fork-tree"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"parity-scale-codec",
]
@@ -4160,7 +3427,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa"
[[package]]
name = "frame-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-support",
"frame-support-procedural",
@@ -4177,7 +3444,7 @@ dependencies = [
"sp-io",
"sp-runtime",
"sp-runtime-interface",
- "sp-std",
+ "sp-std 8.0.0",
"sp-storage",
"static_assertions",
]
@@ -4185,12 +3452,12 @@ dependencies = [
[[package]]
name = "frame-benchmarking-cli"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"Inflector",
"array-bytes",
"chrono",
- "clap",
+ "clap 4.3.16",
"comfy-table",
"frame-benchmarking",
"frame-support",
@@ -4233,18 +3500,18 @@ dependencies = [
[[package]]
name = "frame-election-provider-solution-type"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"proc-macro-crate",
- "proc-macro2",
- "quote",
- "syn 2.0.28",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
name = "frame-election-provider-support"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-election-provider-solution-type",
"frame-support",
@@ -4255,13 +3522,13 @@ dependencies = [
"sp-core",
"sp-npos-elections",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "frame-executive"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-support",
"frame-system",
@@ -4271,17 +3538,29 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
"sp-tracing",
]
+[[package]]
+name = "frame-metadata"
+version = "15.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "878babb0b136e731cc77ec2fd883ff02745ff21e6fb662729953d44923df009c"
+dependencies = [
+ "cfg-if 1.0.0",
+ "parity-scale-codec",
+ "scale-info",
+ "serde",
+]
+
[[package]]
name = "frame-metadata"
version = "16.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "87cf1549fba25a6fcac22785b61698317d958e96cac72a59102ea45b9ae64692"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
"parity-scale-codec",
"scale-info",
"serde",
@@ -4290,12 +3569,12 @@ dependencies = [
[[package]]
name = "frame-remote-externalities"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"async-recursion",
"futures",
"indicatif",
- "jsonrpsee",
+ "jsonrpsee 0.16.2",
"log",
"parity-scale-codec",
"serde",
@@ -4311,12 +3590,12 @@ dependencies = [
[[package]]
name = "frame-support"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"aquamarine",
"bitflags 1.3.2",
"environmental",
- "frame-metadata",
+ "frame-metadata 16.0.0",
"frame-support-procedural",
"impl-trait-for-tuples",
"k256",
@@ -4326,20 +3605,18 @@ dependencies = [
"paste",
"scale-info",
"serde",
- "serde_json",
"smallvec",
"sp-api",
"sp-arithmetic",
"sp-core",
"sp-core-hashing-proc-macro",
"sp-debug-derive",
- "sp-genesis-builder",
"sp-inherents",
"sp-io",
"sp-runtime",
"sp-staking",
"sp-state-machine",
- "sp-std",
+ "sp-std 8.0.0",
"sp-tracing",
"sp-weights",
"tt-call",
@@ -4348,7 +3625,7 @@ dependencies = [
[[package]]
name = "frame-support-procedural"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"Inflector",
"cfg-expr",
@@ -4358,39 +3635,39 @@ dependencies = [
"itertools",
"macro_magic",
"proc-macro-warning",
- "proc-macro2",
- "quote",
- "syn 2.0.28",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
name = "frame-support-procedural-tools"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-support-procedural-tools-derive",
"proc-macro-crate",
- "proc-macro2",
- "quote",
- "syn 2.0.28",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
name = "frame-support-procedural-tools-derive"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.28",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
name = "frame-system"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
"frame-support",
"log",
"parity-scale-codec",
@@ -4399,7 +3676,7 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
"sp-version",
"sp-weights",
]
@@ -4407,7 +3684,7 @@ dependencies = [
[[package]]
name = "frame-system-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -4416,13 +3693,13 @@ dependencies = [
"scale-info",
"sp-core",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "frame-system-rpc-runtime-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"parity-scale-codec",
"sp-api",
@@ -4431,20 +3708,20 @@ dependencies = [
[[package]]
name = "frame-try-runtime"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-support",
"parity-scale-codec",
"sp-api",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "fs-err"
-version = "2.6.0"
+version = "2.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5ebd3504ad6116843b8375ad70df74e7bfe83cac77a1f3fe73200c844d43bfe0"
+checksum = "0845fa252299212f0389d64ba26f34fa32cfe41588355f21ed507c59a0f64541"
[[package]]
name = "fs2"
@@ -4458,21 +3735,14 @@ dependencies = [
[[package]]
name = "fs4"
-version = "0.6.3"
+version = "0.6.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8ea55201cc351fdb478217c0fb641b59813da9b4efe4c414a9d8f989a657d149"
+checksum = "2eeb4ed9e12f43b7fa0baae3f9cdda28352770132ef2e09a23760c29cae8bd47"
dependencies = [
- "libc",
- "rustix 0.35.13",
- "winapi",
+ "rustix 0.38.4",
+ "windows-sys 0.48.0",
]
-[[package]]
-name = "fs_extra"
-version = "1.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c"
-
[[package]]
name = "funty"
version = "2.0.0"
@@ -4530,16 +3800,16 @@ checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964"
[[package]]
name = "futures-lite"
-version = "1.12.0"
+version = "1.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7694489acd39452c77daa48516b894c153f192c3578d5a839b62c58099fcbf48"
+checksum = "49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce"
dependencies = [
- "fastrand 1.7.0",
+ "fastrand",
"futures-core",
"futures-io",
"memchr",
"parking",
- "pin-project-lite 0.2.9",
+ "pin-project-lite 0.2.10",
"waker-fn",
]
@@ -4549,9 +3819,9 @@ version = "0.3.28"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72"
dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.28",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
@@ -4561,8 +3831,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d2411eed028cdf8c8034eaf21f9915f956b6c3abec4d4c7949ee67f0721127bd"
dependencies = [
"futures-io",
- "rustls 0.20.7",
- "webpki",
+ "rustls 0.20.8",
+ "webpki 0.22.0",
]
[[package]]
@@ -4596,7 +3866,7 @@ dependencies = [
"futures-sink",
"futures-task",
"memchr",
- "pin-project-lite 0.2.9",
+ "pin-project-lite 0.2.10",
"pin-utils",
"slab",
]
@@ -4621,9 +3891,9 @@ dependencies = [
[[package]]
name = "generic-array"
-version = "0.14.6"
+version = "0.14.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bff49e947297f3312447abdca79f45f4738097cc82b06e72054d2223f601f1b9"
+checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
dependencies = [
"typenum",
"version_check",
@@ -4646,20 +3916,22 @@ version = "0.1.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
"libc",
"wasi 0.9.0+wasi-snapshot-preview1",
]
[[package]]
name = "getrandom"
-version = "0.2.8"
+version = "0.2.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31"
+checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
+ "js-sys",
"libc",
"wasi 0.11.0+wasi-snapshot-preview1",
+ "wasm-bindgen",
]
[[package]]
@@ -4684,68 +3956,55 @@ dependencies = [
[[package]]
name = "gimli"
-version = "0.27.0"
+version = "0.27.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dec7af912d60cdbd3677c1af9352ebae6fb8394d165568a2234df0fa00f87793"
+checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e"
dependencies = [
"fallible-iterator",
- "indexmap 1.9.1",
+ "indexmap 1.9.3",
"stable_deref_trait",
]
[[package]]
name = "glob"
-version = "0.3.0"
+version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
+checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
[[package]]
name = "globset"
-version = "0.4.8"
+version = "0.4.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "10463d9ff00a2a068db14231982f5132edebad0d7660cd956a1c30292dbcbfbd"
+checksum = "1391ab1f92ffcc08911957149833e682aa3fe252b9f45f966d2ef972274c97df"
dependencies = [
"aho-corasick",
- "bstr 0.2.17",
+ "bstr",
"fnv",
"log",
"regex",
]
[[package]]
-name = "glutton-runtime"
-version = "1.0.0"
+name = "gloo-timers"
+version = "0.2.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9b995a66bb87bebce9a0f4a95aed01daca4872c050bfcb21653361c03bc35e5c"
+dependencies = [
+ "futures-channel",
+ "futures-core",
+ "js-sys",
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "group"
+version = "0.12.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5dfbfb3a6cfbd390d5c9564ab283a0349b9b9fcd46a706c1eb10e0db70bfbac7"
dependencies = [
- "cumulus-pallet-parachain-system",
- "cumulus-pallet-xcm",
- "cumulus-primitives-core",
- "frame-benchmarking",
- "frame-executive",
- "frame-support",
- "frame-system",
- "frame-system-benchmarking",
- "frame-system-rpc-runtime-api",
- "frame-try-runtime",
- "pallet-glutton",
- "pallet-sudo",
- "parachain-info",
- "parachains-common",
- "parity-scale-codec",
- "scale-info",
- "sp-api",
- "sp-block-builder",
- "sp-core",
- "sp-inherents",
- "sp-offchain",
- "sp-runtime",
- "sp-session",
- "sp-std",
- "sp-transaction-pool",
- "sp-version",
- "substrate-wasm-builder",
- "xcm",
- "xcm-builder",
- "xcm-executor",
+ "ff 0.12.1",
+ "rand_core 0.6.4",
+ "subtle",
]
[[package]]
@@ -4754,16 +4013,16 @@ version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63"
dependencies = [
- "ff",
+ "ff 0.13.0",
"rand_core 0.6.4",
"subtle",
]
[[package]]
name = "h2"
-version = "0.3.17"
+version = "0.3.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "66b91535aa35fea1523ad1b86cb6b53c28e0ae566ba4a460f4457e936cad7c6f"
+checksum = "97ec8491ebaf99c8eaa73058b045fe58073cd6be7f596ac993ced0b0a0c01049"
dependencies = [
"bytes",
"fnv",
@@ -4771,31 +4030,25 @@ dependencies = [
"futures-sink",
"futures-util",
"http",
- "indexmap 1.9.1",
+ "indexmap 1.9.3",
"slab",
"tokio",
"tokio-util",
"tracing",
]
-[[package]]
-name = "half"
-version = "1.8.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7"
-
[[package]]
name = "handlebars"
-version = "4.2.2"
+version = "4.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "99d6a30320f094710245150395bc763ad23128d6a1ebbad7594dc4164b62c56b"
+checksum = "83c3372087601b532857d332f5957cbae686da52bb7810bf038c3e3c3cc2fa0d"
dependencies = [
"log",
"pest",
"pest_derive",
- "quick-error 2.0.1",
"serde",
"serde_json",
+ "thiserror",
]
[[package]]
@@ -4828,7 +4081,7 @@ version = "0.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e"
dependencies = [
- "ahash 0.8.2",
+ "ahash 0.8.3",
]
[[package]]
@@ -4836,16 +4089,21 @@ name = "hashbrown"
version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a"
+
+[[package]]
+name = "heck"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c"
dependencies = [
- "ahash 0.8.2",
- "allocator-api2",
+ "unicode-segmentation",
]
[[package]]
name = "heck"
-version = "0.4.0"
+version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9"
+checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
[[package]]
name = "hermit-abi"
@@ -4858,18 +4116,9 @@ dependencies = [
[[package]]
name = "hermit-abi"
-version = "0.2.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7"
-dependencies = [
- "libc",
-]
-
-[[package]]
-name = "hermit-abi"
-version = "0.3.1"
+version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286"
+checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b"
[[package]]
name = "hex"
@@ -4934,10 +4183,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "17ea0a1394df5b6574da6e0c1ade9e78868c9fb0a4e5ef4428e32da4676b85b1"
dependencies = [
"digest 0.9.0",
- "generic-array 0.14.6",
+ "generic-array 0.14.7",
"hmac 0.8.1",
]
+[[package]]
+name = "honggfuzz"
+version = "0.5.55"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "848e9c511092e0daa0a35a63e8e6e475a3e8f870741448b9f6028d69b142f18e"
+dependencies = [
+ "arbitrary",
+ "lazy_static",
+ "memmap2",
+ "rustc_version",
+]
+
[[package]]
name = "hostname"
version = "0.3.1"
@@ -4951,13 +4212,13 @@ dependencies = [
[[package]]
name = "http"
-version = "0.2.8"
+version = "0.2.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "75f43d41e26995c17e71ee126451dd3941010b0514a81a9d11f3b341debc2399"
+checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482"
dependencies = [
"bytes",
"fnv",
- "itoa 1.0.4",
+ "itoa",
]
[[package]]
@@ -4968,7 +4229,7 @@ checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1"
dependencies = [
"bytes",
"http",
- "pin-project-lite 0.2.9",
+ "pin-project-lite 0.2.10",
]
[[package]]
@@ -4979,9 +4240,9 @@ checksum = "0bfe8eed0a9285ef776bb792479ea3834e8b94e13d615c2f66d03dd50a435a29"
[[package]]
name = "httparse"
-version = "1.5.1"
+version = "1.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "acd94fdbe1d4ff688b67b04eee2e17bd50995534a61539e45adfefb45e5e5503"
+checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904"
[[package]]
name = "httpdate"
@@ -4989,15 +4250,6 @@ version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421"
-[[package]]
-name = "humantime"
-version = "1.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f"
-dependencies = [
- "quick-error 1.2.3",
-]
-
[[package]]
name = "humantime"
version = "2.1.0"
@@ -5006,9 +4258,9 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
[[package]]
name = "hyper"
-version = "0.14.16"
+version = "0.14.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b7ec3e62bdc98a2f0393a5048e4c30ef659440ea6e0e572965103e72bd836f55"
+checksum = "ffb1cfd654a8219eaef89881fdb3bb3b1cdc5fa75ded05d6933b2b382e395468"
dependencies = [
"bytes",
"futures-channel",
@@ -5019,8 +4271,8 @@ dependencies = [
"http-body",
"httparse",
"httpdate",
- "itoa 0.4.8",
- "pin-project-lite 0.2.9",
+ "itoa",
+ "pin-project-lite 0.2.10",
"socket2 0.4.9",
"tokio",
"tower-service",
@@ -5030,35 +4282,65 @@ dependencies = [
[[package]]
name = "hyper-rustls"
-version = "0.23.0"
+version = "0.23.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d87c48c02e0dc5e3b849a2041db3029fd066650f8f717c07bf8ed78ccb895cac"
+checksum = "1788965e61b367cd03a62950836d5cd41560c3577d90e40e0819373194d1661c"
dependencies = [
"http",
"hyper",
"log",
- "rustls 0.20.7",
+ "rustls 0.20.8",
"rustls-native-certs",
"tokio",
- "tokio-rustls 0.23.2",
- "webpki-roots 0.22.2",
+ "tokio-rustls 0.23.4",
+ "webpki-roots",
]
[[package]]
name = "hyper-rustls"
-version = "0.24.0"
+version = "0.24.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0646026eb1b3eea4cd9ba47912ea5ce9cc07713d105b1a14698f4e6433d348b7"
+checksum = "8d78e1e73ec14cf7375674f74d7dde185c8206fd9dea6fb6295e8a98098aaa97"
dependencies = [
+ "futures-util",
"http",
"hyper",
"log",
- "rustls 0.21.1",
+ "rustls 0.21.5",
"rustls-native-certs",
"tokio",
"tokio-rustls 0.24.1",
]
+[[package]]
+name = "iana-time-zone"
+version = "0.1.57"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2fad5b825842d2b38bd206f3e81d6957625fd7f0a361e345c30e01a0ae2dd613"
+dependencies = [
+ "android_system_properties",
+ "core-foundation-sys",
+ "iana-time-zone-haiku",
+ "js-sys",
+ "wasm-bindgen",
+ "windows 0.48.0",
+]
+
+[[package]]
+name = "iana-time-zone-haiku"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"
+dependencies = [
+ "cc",
+]
+
+[[package]]
+name = "ident_case"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
+
[[package]]
name = "idna"
version = "0.2.3"
@@ -5106,7 +4388,7 @@ dependencies = [
"rtnetlink",
"system-configuration",
"tokio",
- "windows",
+ "windows 0.34.0",
]
[[package]]
@@ -5118,17 +4400,6 @@ dependencies = [
"parity-scale-codec",
]
-[[package]]
-name = "impl-num-traits"
-version = "0.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "951641f13f873bff03d4bf19ae8bec531935ac0ac2cc775f84d7edfdcfed3f17"
-dependencies = [
- "integer-sqrt",
- "num-traits",
- "uint",
-]
-
[[package]]
name = "impl-rlp"
version = "0.3.0"
@@ -5153,8 +4424,8 @@ version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "11d7a9f6330b71fea57921c9b61c47ee6e84f72d394754eff6163ae67e7395eb"
dependencies = [
- "proc-macro2",
- "quote",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
"syn 1.0.109",
]
@@ -5173,15 +4444,15 @@ version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b139284b5cf57ecfa712bcc66950bb635b31aff41c188e8a4cfc758eca374a3f"
dependencies = [
- "proc-macro2",
- "quote",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
]
[[package]]
name = "indexmap"
-version = "1.9.1"
+version = "1.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e"
+checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
dependencies = [
"autocfg",
"hashbrown 0.12.3",
@@ -5198,19 +4469,14 @@ dependencies = [
"hashbrown 0.14.0",
]
-[[package]]
-name = "indexmap-nostd"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8e04e2fd2b8188ea827b32ef11de88377086d690286ab35747ef7f9bf3ccb590"
-
[[package]]
name = "indicatif"
-version = "0.17.3"
+version = "0.17.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cef509aa9bc73864d6756f0d34d35504af3cf0844373afe9b8669a5b8005a729"
+checksum = "8ff8cc23a7393a397ed1d7f56e6365cba772aba9f9912ab968b03043c395d057"
dependencies = [
"console",
+ "instant",
"number_prefix",
"portable-atomic",
"unicode-width",
@@ -5222,7 +4488,7 @@ version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5"
dependencies = [
- "generic-array 0.14.6",
+ "generic-array 0.14.7",
]
[[package]]
@@ -5231,14 +4497,14 @@ version = "0.1.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
]
[[package]]
name = "integer-encoding"
-version = "3.0.2"
+version = "3.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "90c11140ffea82edce8dcd74137ce9324ec24b3cf0175fc9d7e29164da9915b8"
+checksum = "8bb03732005da905c88227371639bf1ad885cc712789c011c31c5fb3ab3ccf02"
[[package]]
name = "integer-sqrt"
@@ -5250,76 +4516,31 @@ dependencies = [
]
[[package]]
-name = "integration-tests-common"
-version = "1.0.0"
+name = "interceptor"
+version = "0.8.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e8a11ae2da61704edada656798b61c94b35ecac2c58eb955156987d5e6be90b"
dependencies = [
- "asset-hub-kusama-runtime",
- "asset-hub-polkadot-runtime",
- "asset-hub-westend-runtime",
- "bp-messages",
- "bp-runtime",
- "bridge-hub-kusama-runtime",
- "bridge-hub-polkadot-runtime",
- "bridge-hub-rococo-runtime",
- "bridge-runtime-common",
- "collectives-polkadot-runtime",
- "cumulus-primitives-core",
- "frame-support",
- "frame-system",
- "kusama-runtime",
- "kusama-runtime-constants",
- "pallet-assets",
- "pallet-balances",
- "pallet-bridge-messages",
- "pallet-im-online",
- "pallet-staking",
- "pallet-xcm",
- "parachain-info",
- "parachains-common",
- "parity-scale-codec",
- "penpal-runtime",
- "polkadot-core-primitives",
- "polkadot-parachain",
- "polkadot-primitives",
- "polkadot-runtime",
- "polkadot-runtime-constants",
- "polkadot-runtime-parachains",
- "polkadot-service",
- "rococo-runtime",
- "rococo-runtime-constants",
- "sc-consensus-grandpa",
- "sp-authority-discovery",
- "sp-consensus-babe",
- "sp-consensus-beefy",
- "sp-core",
- "sp-runtime",
- "sp-weights",
- "westend-runtime",
- "westend-runtime-constants",
- "xcm",
- "xcm-emulator",
- "xcm-executor",
+ "async-trait",
+ "bytes",
+ "log",
+ "rand 0.8.5",
+ "rtcp",
+ "rtp",
+ "thiserror",
+ "tokio",
+ "waitgroup",
+ "webrtc-srtp",
+ "webrtc-util",
]
-[[package]]
-name = "intx"
-version = "0.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f6f38a50a899dc47a6d0ed5508e7f601a2e34c3a85303514b5d137f3c10a0c75"
-
-[[package]]
-name = "io-lifetimes"
-version = "0.7.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "59ce5ef949d49ee85593fc4d3f3f95ad61657076395cbbce23e2121fc5542074"
-
[[package]]
name = "io-lifetimes"
version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2"
dependencies = [
- "hermit-abi 0.3.1",
+ "hermit-abi 0.3.2",
"libc",
"windows-sys 0.48.0",
]
@@ -5332,69 +4553,80 @@ checksum = "aa2f047c0a98b2f299aa5d6d7088443570faae494e9ae1305e48be000c9e0eb1"
[[package]]
name = "ipconfig"
-version = "0.3.0"
+version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "723519edce41262b05d4143ceb95050e4c614f483e78e9fd9e39a8275a84ad98"
+checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f"
dependencies = [
- "socket2 0.4.9",
+ "socket2 0.5.3",
"widestring",
- "winapi",
+ "windows-sys 0.48.0",
"winreg",
]
[[package]]
name = "ipnet"
-version = "2.7.0"
+version = "2.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "11b0d96e660696543b251e58030cf9787df56da39dab19ad60eae7353040917e"
+checksum = "28b29a3cd74f0f4598934efe3aeba42bae0eb4680554128851ebbecb02af14e6"
[[package]]
name = "is-terminal"
-version = "0.4.7"
+version = "0.4.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "adcf93614601c8129ddf72e2d5633df827ba6551541c6d8c59520a371475be1f"
+checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b"
dependencies = [
- "hermit-abi 0.3.1",
- "io-lifetimes 1.0.11",
- "rustix 0.37.19",
+ "hermit-abi 0.3.2",
+ "rustix 0.38.4",
"windows-sys 0.48.0",
]
[[package]]
-name = "is_executable"
-version = "1.0.1"
+name = "isahc"
+version = "1.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa9acdc6d67b75e626ad644734e8bc6df893d9cd2a834129065d3dd6158ea9c8"
+checksum = "334e04b4d781f436dc315cb1e7515bd96826426345d498149e4bde36b67f8ee9"
dependencies = [
- "winapi",
+ "async-channel",
+ "castaway",
+ "crossbeam-utils",
+ "curl",
+ "curl-sys",
+ "encoding_rs",
+ "event-listener",
+ "futures-lite",
+ "http",
+ "log",
+ "mime",
+ "once_cell",
+ "polling",
+ "slab",
+ "sluice",
+ "tracing",
+ "tracing-futures",
+ "url",
+ "waker-fn",
]
[[package]]
name = "itertools"
-version = "0.10.3"
+version = "0.10.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a9a9d19fa1e79b6215ff29b9d6880b706147f16e9b1dbb1e4e5947b5b02bc5e3"
+checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
dependencies = [
"either",
]
[[package]]
name = "itoa"
-version = "0.4.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4"
-
-[[package]]
-name = "itoa"
-version = "1.0.4"
+version = "1.0.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4217ad341ebadf8d8e724e264f13e593e0648f5b3e94b3896a5df283be015ecc"
+checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38"
[[package]]
name = "jobserver"
-version = "0.1.24"
+version = "0.1.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "af25a77299a7f711a01975c35a6a424eb6862092cc2d6c72c4ed6cbc56dfc1fa"
+checksum = "936cfd212a0155903bcbc060e316fb6cc7cbf2e1907329391ebadc1fe0ce77c2"
dependencies = [
"libc",
]
@@ -5408,18 +4640,43 @@ dependencies = [
"wasm-bindgen",
]
+[[package]]
+name = "jsonpath_lib"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "eaa63191d68230cccb81c5aa23abd53ed64d83337cacbb25a7b8c7979523774f"
+dependencies = [
+ "log",
+ "serde",
+ "serde_json",
+]
+
[[package]]
name = "jsonrpsee"
version = "0.16.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7d291e3a5818a2384645fd9756362e6d89cf0541b0b916fa7702ea4a9833608e"
dependencies = [
- "jsonrpsee-core",
+ "jsonrpsee-client-transport 0.16.2",
+ "jsonrpsee-core 0.16.2",
"jsonrpsee-http-client",
- "jsonrpsee-proc-macros",
+ "jsonrpsee-proc-macros 0.16.2",
"jsonrpsee-server",
- "jsonrpsee-types",
- "jsonrpsee-ws-client",
+ "jsonrpsee-types 0.16.2",
+ "jsonrpsee-ws-client 0.16.2",
+ "tracing",
+]
+
+[[package]]
+name = "jsonrpsee"
+version = "0.17.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8b971ce0f6cd1521ede485afc564b95b2c8e7079b9da41d4273bd9b55140a55d"
+dependencies = [
+ "jsonrpsee-core 0.17.1",
+ "jsonrpsee-proc-macros 0.17.1",
+ "jsonrpsee-types 0.17.1",
+ "jsonrpsee-ws-client 0.17.1",
"tracing",
]
@@ -5431,17 +4688,36 @@ checksum = "965de52763f2004bc91ac5bcec504192440f0b568a5d621c59d9dbd6f886c3fb"
dependencies = [
"futures-util",
"http",
- "jsonrpsee-core",
- "jsonrpsee-types",
+ "jsonrpsee-core 0.16.2",
+ "jsonrpsee-types 0.16.2",
+ "pin-project",
+ "rustls-native-certs",
+ "soketto",
+ "thiserror",
+ "tokio",
+ "tokio-rustls 0.23.4",
+ "tokio-util",
+ "tracing",
+ "webpki-roots",
+]
+
+[[package]]
+name = "jsonrpsee-client-transport"
+version = "0.17.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7ca00d975eda834826b04ad57d4e690c67439bb51b02eb0f8b7e4c30fcef8ab9"
+dependencies = [
+ "futures-util",
+ "http",
+ "jsonrpsee-core 0.17.1",
"pin-project",
"rustls-native-certs",
"soketto",
"thiserror",
"tokio",
- "tokio-rustls 0.23.2",
+ "tokio-rustls 0.24.1",
"tokio-util",
"tracing",
- "webpki-roots 0.22.2",
]
[[package]]
@@ -5460,7 +4736,7 @@ dependencies = [
"futures-util",
"globset",
"hyper",
- "jsonrpsee-types",
+ "jsonrpsee-types 0.16.2",
"parking_lot 0.12.1",
"rand 0.8.5",
"rustc-hash",
@@ -5472,6 +4748,28 @@ dependencies = [
"tracing",
]
+[[package]]
+name = "jsonrpsee-core"
+version = "0.17.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b83cca7a5a7899eed8b2935d5f755c8c4052ad66ab5b328bd34ac2b3ffd3515f"
+dependencies = [
+ "anyhow",
+ "async-lock",
+ "async-trait",
+ "beef",
+ "futures-timer",
+ "futures-util",
+ "jsonrpsee-types 0.17.1",
+ "rustc-hash",
+ "serde",
+ "serde_json",
+ "thiserror",
+ "tokio",
+ "tokio-stream",
+ "tracing",
+]
+
[[package]]
name = "jsonrpsee-http-client"
version = "0.16.2"
@@ -5480,9 +4778,9 @@ checksum = "cc345b0a43c6bc49b947ebeb936e886a419ee3d894421790c969cc56040542ad"
dependencies = [
"async-trait",
"hyper",
- "hyper-rustls 0.23.0",
- "jsonrpsee-core",
- "jsonrpsee-types",
+ "hyper-rustls 0.23.2",
+ "jsonrpsee-core 0.16.2",
+ "jsonrpsee-types 0.16.2",
"rustc-hash",
"serde",
"serde_json",
@@ -5495,12 +4793,25 @@ dependencies = [
name = "jsonrpsee-proc-macros"
version = "0.16.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "baa6da1e4199c10d7b1d0a6e5e8bd8e55f351163b6f4b3cbb044672a69bd4c1c"
+checksum = "baa6da1e4199c10d7b1d0a6e5e8bd8e55f351163b6f4b3cbb044672a69bd4c1c"
+dependencies = [
+ "heck 0.4.1",
+ "proc-macro-crate",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 1.0.109",
+]
+
+[[package]]
+name = "jsonrpsee-proc-macros"
+version = "0.17.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d814a21d9a819f8de1a41b819a263ffd68e4bb5f043d936db1c49b54684bde0a"
dependencies = [
- "heck",
+ "heck 0.4.1",
"proc-macro-crate",
- "proc-macro2",
- "quote",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
"syn 1.0.109",
]
@@ -5514,8 +4825,8 @@ dependencies = [
"futures-util",
"http",
"hyper",
- "jsonrpsee-core",
- "jsonrpsee-types",
+ "jsonrpsee-core 0.16.2",
+ "jsonrpsee-types 0.16.2",
"serde",
"serde_json",
"soketto",
@@ -5540,6 +4851,20 @@ dependencies = [
"tracing",
]
+[[package]]
+name = "jsonrpsee-types"
+version = "0.17.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dd301ccc3e08718393432d1961539d78c4580dcca86014dfe6769c308b2c08b2"
+dependencies = [
+ "anyhow",
+ "beef",
+ "serde",
+ "serde_json",
+ "thiserror",
+ "tracing",
+]
+
[[package]]
name = "jsonrpsee-ws-client"
version = "0.16.2"
@@ -5547,9 +4872,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b83daeecfc6517cfe210df24e570fb06213533dfb990318fae781f4c7119dd9"
dependencies = [
"http",
- "jsonrpsee-client-transport",
- "jsonrpsee-core",
- "jsonrpsee-types",
+ "jsonrpsee-client-transport 0.16.2",
+ "jsonrpsee-core 0.16.2",
+ "jsonrpsee-types 0.16.2",
+]
+
+[[package]]
+name = "jsonrpsee-ws-client"
+version = "0.17.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "89a69852133d549b07cb37ff2d0ec540eae0d20abb75ae923f5d39bc7536d987"
+dependencies = [
+ "http",
+ "jsonrpsee-client-transport 0.17.1",
+ "jsonrpsee-core 0.17.1",
+ "jsonrpsee-types 0.17.1",
]
[[package]]
@@ -5558,23 +4895,26 @@ version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cadb76004ed8e97623117f3df85b17aaa6626ab0b0831e6573f104df16cd1bcc"
dependencies = [
- "cfg-if",
- "ecdsa",
- "elliptic-curve",
+ "cfg-if 1.0.0",
+ "ecdsa 0.16.7",
+ "elliptic-curve 0.13.5",
"once_cell",
"sha2 0.10.7",
]
[[package]]
name = "keccak"
-version = "0.1.0"
+version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "67c21572b4949434e4fc1e1978b99c5f77064153c59d998bf13ecd96fb5ecba7"
+checksum = "8f6d5ed8676d904364de097082f4e7d240b571b67989ced0240f08b7f966f940"
+dependencies = [
+ "cpufeatures",
+]
[[package]]
name = "kusama-runtime"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"bitvec",
"frame-benchmarking",
@@ -5661,7 +5001,7 @@ dependencies = [
"sp-runtime",
"sp-session",
"sp-staking",
- "sp-std",
+ "sp-std 8.0.0",
"sp-transaction-pool",
"sp-version",
"static_assertions",
@@ -5674,7 +5014,7 @@ dependencies = [
[[package]]
name = "kusama-runtime-constants"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"frame-support",
"polkadot-primitives",
@@ -5685,6 +5025,15 @@ dependencies = [
"sp-weights",
]
+[[package]]
+name = "kv-log-macro"
+version = "1.0.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0de8b303297635ad57c9f5059fd9cee7a47f8e8daa09df0fcd07dd39fb22977f"
+dependencies = [
+ "log",
+]
+
[[package]]
name = "kvdb"
version = "0.13.0"
@@ -5749,11 +5098,11 @@ checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3"
[[package]]
name = "libloading"
-version = "0.7.2"
+version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "afe203d669ec979b7128619bae5a63b7b42e9203c1b29146079ee05e2f604b52"
+checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
"winapi",
]
@@ -5764,21 +5113,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7fc7aa29613bd6a620df431842069224d8bc9011086b1db4c0e0cd47fa03ec9a"
[[package]]
-name = "libm"
-version = "0.2.1"
+name = "libnghttp2-sys"
+version = "0.1.7+1.45.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c7d73b3f436185384286bd8098d17ec07c9a7d2388a6599f824d8502b529702a"
+checksum = "57ed28aba195b38d5ff02b9170cbff627e336a20925e43b4945390401c5dc93f"
+dependencies = [
+ "cc",
+ "libc",
+]
[[package]]
name = "libp2p"
-version = "0.52.1"
+version = "0.51.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "38039ba2df4f3255842050845daef4a004cc1f26da03dbc645535088b51910ef"
+checksum = "f210d259724eae82005b5c48078619b7745edb7b76de370b03f8ba59ea103097"
dependencies = [
"bytes",
"futures",
"futures-timer",
- "getrandom 0.2.8",
+ "getrandom 0.2.10",
"instant",
"libp2p-allow-block-list",
"libp2p-connection-limits",
@@ -5791,10 +5144,12 @@ dependencies = [
"libp2p-metrics",
"libp2p-noise",
"libp2p-ping",
+ "libp2p-quic",
"libp2p-request-response",
"libp2p-swarm",
"libp2p-tcp",
"libp2p-wasm-ext",
+ "libp2p-webrtc",
"libp2p-websocket",
"libp2p-yamux",
"multiaddr",
@@ -5803,9 +5158,9 @@ dependencies = [
[[package]]
name = "libp2p-allow-block-list"
-version = "0.2.0"
+version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "55b46558c5c0bf99d3e2a1a38fd54ff5476ca66dd1737b12466a1824dd219311"
+checksum = "510daa05efbc25184458db837f6f9a5143888f1caa742426d92e1833ddd38a50"
dependencies = [
"libp2p-core",
"libp2p-identity",
@@ -5815,9 +5170,9 @@ dependencies = [
[[package]]
name = "libp2p-connection-limits"
-version = "0.2.0"
+version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d45dd90e8f0e1fa59e85ff5316dd4d1ac41a9a507e79cda1b0e9b7be43ad1a56"
+checksum = "4caa33f1d26ed664c4fe2cca81a08c8e07d4c1c04f2f4ac7655c2dd85467fda0"
dependencies = [
"libp2p-core",
"libp2p-identity",
@@ -5827,9 +5182,9 @@ dependencies = [
[[package]]
name = "libp2p-core"
-version = "0.40.0"
+version = "0.39.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ef7dd7b09e71aac9271c60031d0e558966cdb3253ba0308ab369bb2de80630d0"
+checksum = "3c1df63c0b582aa434fb09b2d86897fa2b419ffeccf934b36f87fcedc8e835c2"
dependencies = [
"either",
"fnv",
@@ -5839,7 +5194,7 @@ dependencies = [
"libp2p-identity",
"log",
"multiaddr",
- "multihash 0.19.0",
+ "multihash",
"multistream-select",
"once_cell",
"parking_lot 0.12.1",
@@ -5855,13 +5210,12 @@ dependencies = [
[[package]]
name = "libp2p-dns"
-version = "0.40.0"
+version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fd4394c81c0c06d7b4a60f3face7e8e8a9b246840f98d2c80508d0721b032147"
+checksum = "146ff7034daae62077c415c2376b8057368042df6ab95f5432ad5e88568b1554"
dependencies = [
"futures",
"libp2p-core",
- "libp2p-identity",
"log",
"parking_lot 0.12.1",
"smallvec",
@@ -5870,9 +5224,9 @@ dependencies = [
[[package]]
name = "libp2p-identify"
-version = "0.43.0"
+version = "0.42.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6a29675a32dbcc87790db6cf599709e64308f1ae9d5ecea2d259155889982db8"
+checksum = "5455f472243e63b9c497ff320ded0314254a9eb751799a39c283c6f20b793f3c"
dependencies = [
"asynchronous-codec",
"either",
@@ -5882,7 +5236,7 @@ dependencies = [
"libp2p-identity",
"libp2p-swarm",
"log",
- "lru 0.10.0",
+ "lru 0.10.1",
"quick-protobuf",
"quick-protobuf-codec",
"smallvec",
@@ -5892,14 +5246,15 @@ dependencies = [
[[package]]
name = "libp2p-identity"
-version = "0.2.1"
+version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2874d9c6575f1d7a151022af5c42bb0ffdcdfbafe0a6fd039de870b384835a2"
+checksum = "9e2d584751cecb2aabaa56106be6be91338a60a0f4e420cf2af639204f596fc1"
dependencies = [
- "bs58 0.5.0",
+ "bs58",
"ed25519-dalek",
"log",
- "multihash 0.19.0",
+ "multiaddr",
+ "multihash",
"quick-protobuf",
"rand 0.8.5",
"sha2 0.10.7",
@@ -5909,9 +5264,9 @@ dependencies = [
[[package]]
name = "libp2p-kad"
-version = "0.44.3"
+version = "0.43.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4f2584b0c27f879a1cca4b753fd96874109e5a2f46bd6e30924096456c2ba9b2"
+checksum = "39d5ef876a2b2323d63c258e63c2f8e36f205fe5a11f0b3095d59635650790ff"
dependencies = [
"arrayvec 0.7.4",
"asynchronous-codec",
@@ -5937,9 +5292,9 @@ dependencies = [
[[package]]
name = "libp2p-mdns"
-version = "0.44.0"
+version = "0.43.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "42a2567c305232f5ef54185e9604579a894fd0674819402bb0ac0246da82f52a"
+checksum = "19983e1f949f979a928f2c603de1cf180cc0dc23e4ac93a62651ccb18341460b"
dependencies = [
"data-encoding",
"futures",
@@ -5950,7 +5305,7 @@ dependencies = [
"log",
"rand 0.8.5",
"smallvec",
- "socket2 0.5.3",
+ "socket2 0.4.9",
"tokio",
"trust-dns-proto",
"void",
@@ -5958,26 +5313,23 @@ dependencies = [
[[package]]
name = "libp2p-metrics"
-version = "0.13.0"
+version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3787ea81798dcc5bf1d8b40a8e8245cf894b168d04dd70aa48cb3ff2fff141d2"
+checksum = "a42ec91e227d7d0dafa4ce88b333cdf5f277253873ab087555c92798db2ddd46"
dependencies = [
- "instant",
"libp2p-core",
"libp2p-identify",
- "libp2p-identity",
"libp2p-kad",
"libp2p-ping",
"libp2p-swarm",
- "once_cell",
"prometheus-client",
]
[[package]]
name = "libp2p-noise"
-version = "0.43.0"
+version = "0.42.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "87945db2b3f977af09b62b9aa0a5f3e4870995a577ecd845cdeba94cdf6bbca7"
+checksum = "9c3673da89d29936bc6435bafc638e2f184180d554ce844db65915113f86ec5e"
dependencies = [
"bytes",
"curve25519-dalek 3.2.0",
@@ -5985,8 +5337,6 @@ dependencies = [
"libp2p-core",
"libp2p-identity",
"log",
- "multiaddr",
- "multihash 0.19.0",
"once_cell",
"quick-protobuf",
"rand 0.8.5",
@@ -6000,27 +5350,48 @@ dependencies = [
[[package]]
name = "libp2p-ping"
-version = "0.43.0"
+version = "0.42.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3cd5ee3270229443a2b34b27ed0cb7470ef6b4a6e45e54e89a8771fa683bab48"
+checksum = "3e57759c19c28a73ef1eb3585ca410cefb72c1a709fcf6de1612a378e4219202"
dependencies = [
"either",
"futures",
"futures-timer",
"instant",
"libp2p-core",
- "libp2p-identity",
"libp2p-swarm",
"log",
"rand 0.8.5",
"void",
]
+[[package]]
+name = "libp2p-quic"
+version = "0.7.0-alpha.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c6b26abd81cd2398382a1edfe739b539775be8a90fa6914f39b2ab49571ec735"
+dependencies = [
+ "bytes",
+ "futures",
+ "futures-timer",
+ "if-watch",
+ "libp2p-core",
+ "libp2p-identity",
+ "libp2p-tls",
+ "log",
+ "parking_lot 0.12.1",
+ "quinn-proto",
+ "rand 0.8.5",
+ "rustls 0.20.8",
+ "thiserror",
+ "tokio",
+]
+
[[package]]
name = "libp2p-request-response"
-version = "0.25.0"
+version = "0.24.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "20bd837798cdcce4283d2675f08bcd3756a650d56eab4d4367e1b3f27eed6887"
+checksum = "7ffdb374267d42dc5ed5bc53f6e601d4a64ac5964779c6e40bb9e4f14c1e30d5"
dependencies = [
"async-trait",
"futures",
@@ -6028,17 +5399,15 @@ dependencies = [
"libp2p-core",
"libp2p-identity",
"libp2p-swarm",
- "log",
"rand 0.8.5",
"smallvec",
- "void",
]
[[package]]
name = "libp2p-swarm"
-version = "0.43.1"
+version = "0.42.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5de15b2097fc3bde063df8c202803538ff467fedb18f01c13bc5da55913d246c"
+checksum = "903b3d592d7694e56204d211f29d31bc004be99386644ba8731fc3e3ef27b296"
dependencies = [
"either",
"fnv",
@@ -6049,8 +5418,6 @@ dependencies = [
"libp2p-identity",
"libp2p-swarm-derive",
"log",
- "multistream-select",
- "once_cell",
"rand 0.8.5",
"smallvec",
"tokio",
@@ -6059,73 +5426,119 @@ dependencies = [
[[package]]
name = "libp2p-swarm-derive"
-version = "0.33.0"
+version = "0.32.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c4d5ec2a3df00c7836d7696c136274c9c59705bac69133253696a6c932cd1d74"
+checksum = "0fba456131824ab6acd4c7bf61e9c0f0a3014b5fc9868ccb8e10d344594cdc4f"
dependencies = [
- "heck",
- "proc-macro-warning",
- "proc-macro2",
- "quote",
- "syn 2.0.28",
+ "heck 0.4.1",
+ "quote 1.0.31",
+ "syn 1.0.109",
]
[[package]]
name = "libp2p-tcp"
-version = "0.40.0"
+version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "09bfdfb6f945c5c014b87872a0bdb6e0aef90e92f380ef57cd9013f118f9289d"
+checksum = "33d33698596d7722d85d3ab0c86c2c322254fce1241e91208e3679b4eb3026cf"
dependencies = [
"futures",
"futures-timer",
"if-watch",
"libc",
"libp2p-core",
- "libp2p-identity",
"log",
- "socket2 0.5.3",
+ "socket2 0.4.9",
"tokio",
]
+[[package]]
+name = "libp2p-tls"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ff08d13d0dc66e5e9ba6279c1de417b84fa0d0adc3b03e5732928c180ec02781"
+dependencies = [
+ "futures",
+ "futures-rustls",
+ "libp2p-core",
+ "libp2p-identity",
+ "rcgen 0.10.0",
+ "ring",
+ "rustls 0.20.8",
+ "thiserror",
+ "webpki 0.22.0",
+ "x509-parser 0.14.0",
+ "yasna",
+]
+
[[package]]
name = "libp2p-wasm-ext"
-version = "0.40.0"
+version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e5d8e3a9e07da0ef5b55a9f26c009c8fb3c725d492d8bb4b431715786eea79c"
+checksum = "77dff9d32353a5887adb86c8afc1de1a94d9e8c3bc6df8b2201d7cdf5c848f43"
dependencies = [
"futures",
"js-sys",
"libp2p-core",
- "send_wrapper",
+ "parity-send-wrapper",
"wasm-bindgen",
"wasm-bindgen-futures",
]
+[[package]]
+name = "libp2p-webrtc"
+version = "0.4.0-alpha.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dba48592edbc2f60b4bc7c10d65445b0c3964c07df26fdf493b6880d33be36f8"
+dependencies = [
+ "async-trait",
+ "asynchronous-codec",
+ "bytes",
+ "futures",
+ "futures-timer",
+ "hex",
+ "if-watch",
+ "libp2p-core",
+ "libp2p-identity",
+ "libp2p-noise",
+ "log",
+ "multihash",
+ "quick-protobuf",
+ "quick-protobuf-codec",
+ "rand 0.8.5",
+ "rcgen 0.9.3",
+ "serde",
+ "stun",
+ "thiserror",
+ "tinytemplate",
+ "tokio",
+ "tokio-util",
+ "webrtc",
+]
+
[[package]]
name = "libp2p-websocket"
-version = "0.42.0"
+version = "0.41.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "956d981ebc84abc3377e5875483c06d94ff57bc6b25f725047f9fd52592f72d4"
+checksum = "111273f7b3d3510524c752e8b7a5314b7f7a1fee7e68161c01a7d72cbb06db9f"
dependencies = [
"either",
"futures",
"futures-rustls",
"libp2p-core",
- "libp2p-identity",
"log",
"parking_lot 0.12.1",
"quicksink",
"rw-stream-sink",
"soketto",
"url",
- "webpki-roots 0.23.1",
+ "webpki-roots",
]
[[package]]
name = "libp2p-yamux"
-version = "0.44.0"
+version = "0.43.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0a9b42ab6de15c6f076d8fb11dc5f48d899a10b55a2e16b12be9012a05287b0"
+checksum = "4dcd21d950662700a385d4c6d68e2f5f54d778e97068cdd718522222ef513bda"
dependencies = [
"futures",
"libp2p-core",
@@ -6151,12 +5564,12 @@ dependencies = [
[[package]]
name = "libsecp256k1"
-version = "0.7.0"
+version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b0452aac8bab02242429380e9b2f94ea20cea2b37e2c1777a1358799bbe97f37"
+checksum = "95b09eff1b35ed3b33b877ced3a691fc7a481919c7e29c53c906226fcf55e2a1"
dependencies = [
"arrayref",
- "base64 0.13.0",
+ "base64 0.13.1",
"digest 0.9.0",
"hmac-drbg",
"libsecp256k1-core",
@@ -6164,7 +5577,7 @@ dependencies = [
"libsecp256k1-gen-genmult",
"rand 0.8.5",
"serde",
- "sha2 0.9.8",
+ "sha2 0.9.9",
"typenum",
]
@@ -6199,29 +5612,30 @@ dependencies = [
[[package]]
name = "libz-sys"
-version = "1.1.3"
+version = "1.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "de5435b8549c16d423ed0c03dbaafe57cf6c3344744f1242520d59c9d8ecec66"
+checksum = "56ee889ecc9568871456d42f603d6a0ce59ff328d291063a45cbdf0036baf6db"
dependencies = [
"cc",
+ "libc",
"pkg-config",
"vcpkg",
]
[[package]]
name = "link-cplusplus"
-version = "1.0.7"
+version = "1.0.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9272ab7b96c9046fbc5bc56c06c117cb639fe2d509df0c421cad82d2915cf369"
+checksum = "9d240c6f7e1ba3a28b0249f774e6a9dd0175054b52dfbb61b16eb8505c3785c9"
dependencies = [
"cc",
]
[[package]]
name = "linked-hash-map"
-version = "0.5.4"
+version = "0.5.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7fb9b38af92608140b86b693604b9ffcc5824240a484d1ecd4795bacb2fe88f3"
+checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f"
[[package]]
name = "linked_hash_set"
@@ -6234,24 +5648,18 @@ dependencies = [
[[package]]
name = "linregress"
-version = "0.5.1"
+version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "475015a7f8f017edb28d2e69813be23500ad4b32cfe3421c4148efc97324ee52"
+checksum = "4de0b5f52a9f84544d268f5fabb71b38962d6aa3c6600b8bcd27d44ccf9c9c45"
dependencies = [
"nalgebra",
]
[[package]]
name = "linux-raw-sys"
-version = "0.0.46"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d4d2456c373231a208ad294c33dc5bff30051eafd954cd4caae83a712b12854d"
-
-[[package]]
-name = "linux-raw-sys"
-version = "0.1.3"
+version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f9f08d8963a6c613f4b1a78f4f4a4dbfadf8e6545b2d72861731e4858b8b47f"
+checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4"
[[package]]
name = "linux-raw-sys"
@@ -6267,18 +5675,22 @@ checksum = "09fc20d2ca12cb9f044c93e3bd6d32d523e6e2ec3db4f7b2939cd99026ecd3f0"
[[package]]
name = "lock_api"
-version = "0.4.6"
+version = "0.4.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "88943dd7ef4a2e5a4bfa2753aaab3013e34ce2533d1996fb18ef591e315e2b3b"
+checksum = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16"
dependencies = [
+ "autocfg",
"scopeguard",
]
[[package]]
name = "log"
-version = "0.4.19"
+version = "0.4.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4"
+checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f"
+dependencies = [
+ "value-bag",
+]
[[package]]
name = "lru"
@@ -6291,20 +5703,20 @@ dependencies = [
[[package]]
name = "lru"
-version = "0.10.0"
+version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "03f1160296536f10c833a82dca22267d5486734230d47bf00bf435885814ba1e"
+checksum = "71e7d46de488603ffdd5f30afbc64fbba2378214a2c3a2fb83abf3d33126df17"
dependencies = [
"hashbrown 0.13.2",
]
[[package]]
name = "lru"
-version = "0.11.0"
+version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eedb2bdbad7e0634f83989bf596f497b070130daaa398ab22d84c39e266deec5"
+checksum = "718e8fae447df0c7e1ba7f5189829e63fd536945c8988d61444c19039f16b670"
dependencies = [
- "hashbrown 0.14.0",
+ "hashbrown 0.13.2",
]
[[package]]
@@ -6347,50 +5759,49 @@ dependencies = [
[[package]]
name = "macro_magic"
-version = "0.4.2"
+version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aee866bfee30d2d7e83835a4574aad5b45adba4cc807f2a3bbba974e5d4383c9"
+checksum = "614b1304ab7877b499925b4dcc5223ff480f2646ad4db1ee7065badb8d530439"
dependencies = [
"macro_magic_core",
"macro_magic_macros",
- "quote",
- "syn 2.0.28",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
name = "macro_magic_core"
-version = "0.4.2"
+version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7e766a20fd9c72bab3e1e64ed63f36bd08410e75803813df210d1ce297d7ad00"
+checksum = "a8d72c1b662d07b8e482c80d3a7fc4168e058b3bef4c573e94feb714b670f406"
dependencies = [
- "const-random",
"derive-syn-parse",
"macro_magic_core_macros",
- "proc-macro2",
- "quote",
- "syn 2.0.28",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
name = "macro_magic_core_macros"
-version = "0.4.2"
+version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c12469fc165526520dff2807c2975310ab47cf7190a45b99b49a7dc8befab17b"
+checksum = "93d7d9e6e234c040dafc745c7592738d56a03ad04b1fa04ab60821deb597466a"
dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.28",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
name = "macro_magic_macros"
-version = "0.4.2"
+version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8fb85ec1620619edf2984a7693497d4ec88a9665d8b87e942856884c92dbf2a"
+checksum = "ffd19f13cfd2bfbd83692adfef8c244fe5109b3eb822a1fb4e0a6253b406cd81"
dependencies = [
"macro_magic_core",
- "quote",
- "syn 2.0.28",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
@@ -6411,44 +5822,54 @@ version = "0.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f099785f7595cc4b4553a174ce30dd7589ef93391ff414dbb67f62392b9e0ce1"
dependencies = [
- "regex-automata",
+ "regex-automata 0.1.10",
]
[[package]]
name = "matches"
-version = "0.1.9"
+version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f"
+checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5"
[[package]]
name = "matrixmultiply"
-version = "0.3.2"
+version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "add85d4dd35074e6fedc608f8c8f513a3548619a9024b751949ef0e8e45a4d84"
+checksum = "090126dc04f95dc0d1c1c91f61bdd474b3930ca064c1edc8a849da2c6cbe1e77"
dependencies = [
+ "autocfg",
"rawpointer",
]
+[[package]]
+name = "md-5"
+version = "0.10.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6365506850d44bff6e2fbcb5176cf63650e48bd45ef2fe2665ae1570e0f4b9ca"
+dependencies = [
+ "digest 0.10.7",
+]
+
[[package]]
name = "memchr"
-version = "2.4.1"
+version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a"
+checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
[[package]]
name = "memfd"
-version = "0.6.2"
+version = "0.6.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b20a59d985586e4a5aef64564ac77299f8586d8be6cf9106a5a40207e8908efb"
+checksum = "ffc89ccdc6e10d6907450f753537ebc5c5d3460d2e4e62ea74bd571db62c0f9e"
dependencies = [
- "rustix 0.36.7",
+ "rustix 0.37.23",
]
[[package]]
name = "memmap2"
-version = "0.5.0"
+version = "0.5.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4647a11b578fead29cdbb34d4adef8dd3dc35b876c9c6d5240d83f205abfe96e"
+checksum = "83faa42c0a078c393f6b29d5db232d8be22776a891f8f56e5284faee4a20b327"
dependencies = [
"libc",
]
@@ -6464,18 +5885,18 @@ dependencies = [
[[package]]
name = "memoffset"
-version = "0.7.1"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4"
+checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1"
dependencies = [
"autocfg",
]
[[package]]
name = "memoffset"
-version = "0.8.0"
+version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1"
+checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c"
dependencies = [
"autocfg",
]
@@ -6502,27 +5923,146 @@ dependencies = [
]
[[package]]
-name = "merlin"
-version = "3.0.0"
+name = "messages-relay"
+version = "0.1.0"
+dependencies = [
+ "async-std",
+ "async-trait",
+ "bp-messages",
+ "env_logger",
+ "finality-relay",
+ "futures",
+ "hex",
+ "log",
+ "num-traits",
+ "parking_lot 0.12.1",
+ "relay-utils",
+ "sp-arithmetic",
+]
+
+[[package]]
+name = "mick-jaeger"
+version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d"
+checksum = "69672161530e8aeca1d1400fbf3f1a1747ff60ea604265a4e906c2442df20532"
dependencies = [
- "byteorder",
- "keccak",
- "rand_core 0.6.4",
- "zeroize",
+ "futures",
+ "rand 0.8.5",
+ "thrift",
+]
+
+[[package]]
+name = "millau-bridge-node"
+version = "0.1.0"
+dependencies = [
+ "clap 4.3.16",
+ "frame-benchmarking",
+ "frame-benchmarking-cli",
+ "futures",
+ "jsonrpsee 0.16.2",
+ "millau-runtime",
+ "mmr-rpc",
+ "node-inspect",
+ "pallet-transaction-payment-rpc",
+ "sc-basic-authorship",
+ "sc-cli",
+ "sc-client-api",
+ "sc-consensus",
+ "sc-consensus-aura",
+ "sc-consensus-beefy",
+ "sc-consensus-beefy-rpc",
+ "sc-consensus-grandpa",
+ "sc-consensus-grandpa-rpc",
+ "sc-executor",
+ "sc-keystore",
+ "sc-network",
+ "sc-network-common",
+ "sc-offchain",
+ "sc-rpc",
+ "sc-service",
+ "sc-telemetry",
+ "sc-transaction-pool",
+ "sc-transaction-pool-api",
+ "serde_json",
+ "sp-consensus-aura",
+ "sp-consensus-beefy",
+ "sp-consensus-grandpa",
+ "sp-core",
+ "sp-runtime",
+ "sp-timestamp",
+ "substrate-build-script-utils",
+ "substrate-frame-rpc-system",
+]
+
+[[package]]
+name = "millau-runtime"
+version = "0.1.0"
+dependencies = [
+ "bp-header-chain",
+ "bp-messages",
+ "bp-millau",
+ "bp-parachains",
+ "bp-polkadot-core",
+ "bp-relayers",
+ "bp-rialto",
+ "bp-rialto-parachain",
+ "bp-runtime",
+ "bp-westend",
+ "bp-xcm-bridge-hub-router",
+ "bridge-runtime-common",
+ "env_logger",
+ "frame-benchmarking",
+ "frame-executive",
+ "frame-support",
+ "frame-system",
+ "frame-system-rpc-runtime-api",
+ "hex-literal 0.4.1",
+ "pallet-aura",
+ "pallet-balances",
+ "pallet-beefy",
+ "pallet-beefy-mmr",
+ "pallet-bridge-grandpa",
+ "pallet-bridge-messages",
+ "pallet-bridge-parachains",
+ "pallet-bridge-relayers",
+ "pallet-grandpa",
+ "pallet-mmr",
+ "pallet-session",
+ "pallet-shift-session-manager",
+ "pallet-sudo",
+ "pallet-timestamp",
+ "pallet-transaction-payment",
+ "pallet-transaction-payment-rpc-runtime-api",
+ "pallet-utility",
+ "pallet-xcm",
+ "pallet-xcm-bridge-hub-router",
+ "parity-scale-codec",
+ "scale-info",
+ "sp-api",
+ "sp-block-builder",
+ "sp-consensus-aura",
+ "sp-consensus-beefy",
+ "sp-core",
+ "sp-inherents",
+ "sp-io",
+ "sp-offchain",
+ "sp-runtime",
+ "sp-session",
+ "sp-std 8.0.0",
+ "sp-transaction-pool",
+ "sp-version",
+ "static_assertions",
+ "substrate-wasm-builder",
+ "xcm",
+ "xcm-builder",
+ "xcm-executor",
]
[[package]]
-name = "mick-jaeger"
-version = "0.1.8"
+name = "mime"
+version = "0.3.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "69672161530e8aeca1d1400fbf3f1a1747ff60ea604265a4e906c2442df20532"
-dependencies = [
- "futures",
- "rand 0.8.5",
- "thrift",
-]
+checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
[[package]]
name = "minimal-lexical"
@@ -6532,9 +6072,9 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
[[package]]
name = "miniz_oxide"
-version = "0.6.2"
+version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b275950c28b37e794e8c55d88aeb5e139d0ce23fdbbeda68f8d7174abdf9e8fa"
+checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7"
dependencies = [
"adler",
]
@@ -6553,7 +6093,7 @@ dependencies = [
[[package]]
name = "mmr-gadget"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"futures",
"log",
@@ -6572,10 +6112,10 @@ dependencies = [
[[package]]
name = "mmr-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"anyhow",
- "jsonrpsee",
+ "jsonrpsee 0.16.2",
"parity-scale-codec",
"serde",
"sp-api",
@@ -6587,43 +6127,43 @@ dependencies = [
[[package]]
name = "mockall"
-version = "0.11.3"
+version = "0.11.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "50e4a1c770583dac7ab5e2f6c139153b783a53a1bbee9729613f193e59828326"
+checksum = "4c84490118f2ee2d74570d114f3d0493cbf02790df303d2707606c3e14e07c96"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
"downcast",
"fragile",
"lazy_static",
"mockall_derive",
- "predicates 2.1.1",
+ "predicates",
"predicates-tree",
]
[[package]]
name = "mockall_derive"
-version = "0.11.3"
+version = "0.11.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "832663583d5fa284ca8810bf7015e46c9fff9622d3cf34bd1eea5003fec06dd0"
+checksum = "22ce75669015c4f47b289fd4d4f56e894e4c96003ffdf3ac51313126f94c6cbb"
dependencies = [
- "cfg-if",
- "proc-macro2",
- "quote",
+ "cfg-if 1.0.0",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
"syn 1.0.109",
]
[[package]]
name = "multiaddr"
-version = "0.18.0"
+version = "0.17.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "92a651988b3ed3ad1bc8c87d016bb92f6f395b84ed1db9b926b32b1fc5a2c8b5"
+checksum = "2b36f567c7099511fa8612bbbb52dda2419ce0bdbacf31714e3a5ffdb766d3bd"
dependencies = [
"arrayref",
"byteorder",
"data-encoding",
- "libp2p-identity",
+ "log",
"multibase",
- "multihash 0.19.0",
+ "multihash",
"percent-encoding",
"serde",
"static_assertions",
@@ -6653,41 +6193,12 @@ dependencies = [
"blake3",
"core2",
"digest 0.10.7",
- "multihash-derive 0.8.0",
+ "multihash-derive",
"sha2 0.10.7",
"sha3",
"unsigned-varint",
]
-[[package]]
-name = "multihash"
-version = "0.19.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2fd59dcc2bbe70baabeac52cd22ae52c55eefe6c38ff11a9439f16a350a939f2"
-dependencies = [
- "core2",
- "unsigned-varint",
-]
-
-[[package]]
-name = "multihash-codetable"
-version = "0.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e46d7ff0b9b8d818e709e12135bfb6582fcde982ba2be48ea52e6e1df098c7a4"
-dependencies = [
- "blake2b_simd",
- "blake2s_simd",
- "blake3",
- "core2",
- "digest 0.10.7",
- "multihash-derive 0.9.0",
- "ripemd",
- "sha-1 0.10.1",
- "sha2 0.10.7",
- "sha3",
- "strobe-rs",
-]
-
[[package]]
name = "multihash-derive"
version = "0.8.0"
@@ -6696,33 +6207,8 @@ checksum = "fc076939022111618a5026d3be019fd8b366e76314538ff9a1b59ffbcbf98bcd"
dependencies = [
"proc-macro-crate",
"proc-macro-error",
- "proc-macro2",
- "quote",
- "syn 1.0.109",
- "synstructure",
-]
-
-[[package]]
-name = "multihash-derive"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "890e72cb7396cb99ed98c1246a97b243cc16394470d94e0bc8b0c2c11d84290e"
-dependencies = [
- "core2",
- "multihash 0.19.0",
- "multihash-derive-impl",
-]
-
-[[package]]
-name = "multihash-derive-impl"
-version = "0.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d38685e08adb338659871ecfc6ee47ba9b22dcc8abcf6975d379cc49145c3040"
-dependencies = [
- "proc-macro-crate",
- "proc-macro-error",
- "proc-macro2",
- "quote",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
"syn 1.0.109",
"synstructure",
]
@@ -6735,9 +6221,9 @@ checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a"
[[package]]
name = "multistream-select"
-version = "0.13.0"
+version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ea0df8e5eec2298a62b326ee4f0d7fe1a6b90a09dfcf9df37b38f947a8c42f19"
+checksum = "c8552ab875c1313b97b8d20cb857b9fd63e2d1d6a0a1b53ce9821e575405f27a"
dependencies = [
"bytes",
"futures",
@@ -6749,9 +6235,9 @@ dependencies = [
[[package]]
name = "nalgebra"
-version = "0.32.1"
+version = "0.32.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f6515c882ebfddccaa73ead7320ca28036c4bc84c9bcca3cc0cbba8efe89223a"
+checksum = "307ed9b18cc2423f29e83f84fd23a8e73628727990181f18641a8b5dc2ab1caa"
dependencies = [
"approx",
"matrixmultiply",
@@ -6765,12 +6251,12 @@ dependencies = [
[[package]]
name = "nalgebra-macros"
-version = "0.2.0"
+version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d232c68884c0c99810a5a4d333ef7e47689cfd0edc85efc9e54e1e6bf5212766"
+checksum = "91761aed67d03ad966ef783ae962ef9bbaca728d2dd7ceb7939ec110fffad998"
dependencies = [
- "proc-macro2",
- "quote",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
"syn 1.0.109",
]
@@ -6817,9 +6303,9 @@ dependencies = [
[[package]]
name = "netlink-packet-utils"
-version = "0.5.1"
+version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "25af9cf0dc55498b7bd94a1508af7a78706aa0ab715a73c5169273e03c84845e"
+checksum = "0ede8a08c71ad5a95cdd0e4e52facd37190977039a4704eb82a283f713747d34"
dependencies = [
"anyhow",
"byteorder",
@@ -6844,9 +6330,9 @@ dependencies = [
[[package]]
name = "netlink-sys"
-version = "0.8.3"
+version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "92b654097027250401127914afb37cb1f311df6610a9891ff07a757e94199027"
+checksum = "6471bf08e7ac0135876a9581bf3217ef0333c191c128d34878079f42ee150411"
dependencies = [
"bytes",
"futures",
@@ -6857,27 +6343,30 @@ dependencies = [
[[package]]
name = "nix"
-version = "0.24.2"
+version = "0.24.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "195cdbc1741b8134346d515b3a56a1c94b0912758009cfd53f99ea0f57b065fc"
+checksum = "fa52e972a9a719cecb6864fb88568781eb706bac2cd1d4f04a648542dbf78069"
dependencies = [
"bitflags 1.3.2",
- "cfg-if",
+ "cfg-if 1.0.0",
"libc",
+ "memoffset 0.6.5",
]
[[package]]
-name = "nix"
-version = "0.26.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bfdda3d196821d6af13126e40375cdf7da646a96114af134d5f417a9a1dc8e1a"
+name = "node-inspect"
+version = "0.9.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
- "bitflags 1.3.2",
- "cfg-if",
- "libc",
- "memoffset 0.7.1",
- "pin-utils",
- "static_assertions",
+ "clap 4.3.16",
+ "parity-scale-codec",
+ "sc-cli",
+ "sc-client-api",
+ "sc-service",
+ "sp-blockchain",
+ "sp-core",
+ "sp-runtime",
+ "thiserror",
]
[[package]]
@@ -6888,13 +6377,12 @@ checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451"
[[package]]
name = "nom"
-version = "7.1.0"
+version = "7.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1b1d11e1ef389c76fe5b81bcaf2ea32cf88b62bc494e19f493d0b30e7a930109"
+checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
dependencies = [
"memchr",
"minimal-lexical",
- "version_check",
]
[[package]]
@@ -6903,6 +6391,15 @@ version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be"
+[[package]]
+name = "ntapi"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e8a3895c6391c39d7fe7ebc444a87eb2991b2a0bc718fdabd071eec617fc68e4"
+dependencies = [
+ "winapi",
+]
+
[[package]]
name = "num-bigint"
version = "0.4.3"
@@ -6916,28 +6413,28 @@ dependencies = [
[[package]]
name = "num-complex"
-version = "0.4.0"
+version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "26873667bbbb7c5182d4a37c1add32cdf09f841af72da53318fdb81543c15085"
+checksum = "02e0d21255c828d6f128a1e41534206671e8c3ea0c62f32291e808dc82cff17d"
dependencies = [
"num-traits",
]
[[package]]
name = "num-format"
-version = "0.4.3"
+version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "54b862ff8df690cf089058c98b183676a7ed0f974cc08b426800093227cbff3b"
+checksum = "a652d9771a63711fd3c3deb670acfbe5c30a4072e664d7a3bf5a9e1056ac72c3"
dependencies = [
"arrayvec 0.7.4",
- "itoa 1.0.4",
+ "itoa",
]
[[package]]
name = "num-integer"
-version = "0.1.44"
+version = "0.1.45"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db"
+checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9"
dependencies = [
"autocfg",
"num-traits",
@@ -6957,20 +6454,29 @@ dependencies = [
[[package]]
name = "num-traits"
-version = "0.2.16"
+version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f30b0abd723be7e2ffca1272140fac1a2f084c77ec3e123c192b66af1ee9e6c2"
+checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd"
dependencies = [
"autocfg",
]
[[package]]
name = "num_cpus"
-version = "1.15.0"
+version = "1.16.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43"
+dependencies = [
+ "hermit-abi 0.3.2",
+ "libc",
+]
+
+[[package]]
+name = "num_threads"
+version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b"
+checksum = "2819ce041d2ee131036f4fc9d6ae7ae125a3a40e97ba64d04fe799ad9dabbb44"
dependencies = [
- "hermit-abi 0.2.6",
"libc",
]
@@ -6982,27 +6488,48 @@ checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3"
[[package]]
name = "object"
-version = "0.30.3"
+version = "0.30.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ea86265d3d3dcb6a27fc51bd29a4bf387fae9d2986b823079d4986af253eb439"
+checksum = "03b4680b86d9cfafba8fc491dc9b6df26b68cf40e9e6cd73909194759a63c385"
dependencies = [
"crc32fast",
"hashbrown 0.13.2",
- "indexmap 1.9.1",
+ "indexmap 1.9.3",
"memchr",
]
[[package]]
-name = "once_cell"
-version = "1.18.0"
+name = "object"
+version = "0.31.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d"
+checksum = "8bda667d9f2b5051b8833f59f3bf748b28ef54f850f4fcb389a252aa383866d1"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "oid-registry"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "38e20717fa0541f39bd146692035c37bedfa532b3e5071b35761082407546b2a"
+dependencies = [
+ "asn1-rs 0.3.1",
+]
+
+[[package]]
+name = "oid-registry"
+version = "0.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9bedf36ffb6ba96c2eb7144ef6270557b52e54b20c0a8e1eb2ff99a6c6959bff"
+dependencies = [
+ "asn1-rs 0.5.2",
+]
[[package]]
-name = "oorandom"
-version = "11.1.3"
+name = "once_cell"
+version = "1.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575"
+checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d"
[[package]]
name = "opaque-debug"
@@ -7018,9 +6545,21 @@ checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5"
[[package]]
name = "openssl-probe"
-version = "0.1.4"
+version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "28988d872ab76095a6e6ac88d99b54fd267702734fd7ffe610ca27f533ddb95a"
+checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
+
+[[package]]
+name = "openssl-sys"
+version = "0.9.90"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "374533b0e45f3a7ced10fcaeccca020e66656bc03dac384f852e4e5a7a8104a6"
+dependencies = [
+ "cc",
+ "libc",
+ "pkg-config",
+ "vcpkg",
+]
[[package]]
name = "orchestra"
@@ -7049,8 +6588,8 @@ dependencies = [
"itertools",
"petgraph",
"proc-macro-crate",
- "proc-macro2",
- "quote",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
"syn 1.0.109",
]
@@ -7064,106 +6603,41 @@ dependencies = [
]
[[package]]
-name = "packed_simd_2"
-version = "0.3.8"
+name = "p256"
+version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a1914cd452d8fccd6f9db48147b29fd4ae05bea9dc5d9ad578509f72415de282"
-dependencies = [
- "cfg-if",
- "libm 0.1.4",
-]
-
-[[package]]
-name = "pallet-alliance"
-version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
-dependencies = [
- "array-bytes",
- "frame-benchmarking",
- "frame-support",
- "frame-system",
- "log",
- "pallet-collective",
- "pallet-identity",
- "parity-scale-codec",
- "scale-info",
- "sp-core",
- "sp-core-hashing",
- "sp-io",
- "sp-runtime",
- "sp-std",
-]
-
-[[package]]
-name = "pallet-asset-conversion"
-version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
-dependencies = [
- "frame-benchmarking",
- "frame-support",
- "frame-system",
- "parity-scale-codec",
- "scale-info",
- "sp-api",
- "sp-arithmetic",
- "sp-core",
- "sp-io",
- "sp-runtime",
- "sp-std",
-]
-
-[[package]]
-name = "pallet-asset-conversion-tx-payment"
-version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+checksum = "51f44edd08f51e2ade572f141051021c5af22677e42b7dd28a88155151c33594"
dependencies = [
- "frame-support",
- "frame-system",
- "pallet-asset-conversion",
- "pallet-transaction-payment",
- "parity-scale-codec",
- "scale-info",
- "sp-runtime",
- "sp-std",
+ "ecdsa 0.14.8",
+ "elliptic-curve 0.12.3",
+ "sha2 0.10.7",
]
[[package]]
-name = "pallet-asset-tx-payment"
-version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+name = "p384"
+version = "0.11.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dfc8c5bf642dde52bb9e87c0ecd8ca5a76faac2eeed98dedb7c717997e1080aa"
dependencies = [
- "frame-benchmarking",
- "frame-support",
- "frame-system",
- "pallet-transaction-payment",
- "parity-scale-codec",
- "scale-info",
- "serde",
- "sp-core",
- "sp-io",
- "sp-runtime",
- "sp-std",
+ "ecdsa 0.14.8",
+ "elliptic-curve 0.12.3",
+ "sha2 0.10.7",
]
[[package]]
-name = "pallet-assets"
-version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+name = "packed_simd_2"
+version = "0.3.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a1914cd452d8fccd6f9db48147b29fd4ae05bea9dc5d9ad578509f72415de282"
dependencies = [
- "frame-benchmarking",
- "frame-support",
- "frame-system",
- "parity-scale-codec",
- "scale-info",
- "sp-core",
- "sp-runtime",
- "sp-std",
+ "cfg-if 1.0.0",
+ "libm",
]
[[package]]
name = "pallet-aura"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-support",
"frame-system",
@@ -7173,13 +6647,13 @@ dependencies = [
"sp-application-crypto",
"sp-consensus-aura",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-authority-discovery"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-support",
"frame-system",
@@ -7189,13 +6663,13 @@ dependencies = [
"sp-application-crypto",
"sp-authority-discovery",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-authorship"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-support",
"frame-system",
@@ -7203,13 +6677,13 @@ dependencies = [
"parity-scale-codec",
"scale-info",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-babe"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7227,13 +6701,13 @@ dependencies = [
"sp-runtime",
"sp-session",
"sp-staking",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-bags-list"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -7246,14 +6720,14 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
"sp-tracing",
]
[[package]]
name = "pallet-balances"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7262,13 +6736,13 @@ dependencies = [
"parity-scale-codec",
"scale-info",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-beefy"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-support",
"frame-system",
@@ -7281,13 +6755,13 @@ dependencies = [
"sp-runtime",
"sp-session",
"sp-staking",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-beefy-mmr"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"array-bytes",
"binary-merkle-tree",
@@ -7305,25 +6779,49 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-bounties"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
+dependencies = [
+ "frame-benchmarking",
+ "frame-support",
+ "frame-system",
+ "log",
+ "pallet-treasury",
+ "parity-scale-codec",
+ "scale-info",
+ "sp-core",
+ "sp-io",
+ "sp-runtime",
+ "sp-std 8.0.0",
+]
+
+[[package]]
+name = "pallet-bridge-beefy"
+version = "0.1.0"
dependencies = [
- "frame-benchmarking",
+ "bp-beefy",
+ "bp-runtime",
+ "bp-test-utils",
+ "ckb-merkle-mountain-range 0.3.2",
"frame-support",
"frame-system",
"log",
- "pallet-treasury",
+ "pallet-beefy-mmr",
+ "pallet-mmr",
"parity-scale-codec",
+ "rand 0.8.5",
"scale-info",
+ "serde",
+ "sp-consensus-beefy",
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
@@ -7344,7 +6842,7 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
"sp-trie",
]
@@ -7366,7 +6864,7 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
@@ -7388,7 +6886,7 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
"sp-trie",
]
@@ -7411,13 +6909,13 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-child-bounties"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7430,108 +6928,30 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std",
-]
-
-[[package]]
-name = "pallet-collator-selection"
-version = "3.0.0"
-dependencies = [
- "frame-benchmarking",
- "frame-support",
- "frame-system",
- "log",
- "pallet-aura",
- "pallet-authorship",
- "pallet-balances",
- "pallet-session",
- "pallet-timestamp",
- "parity-scale-codec",
- "rand 0.8.5",
- "scale-info",
- "sp-consensus-aura",
- "sp-core",
- "sp-io",
- "sp-runtime",
- "sp-staking",
- "sp-std",
- "sp-tracing",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-collective"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
-dependencies = [
- "frame-benchmarking",
- "frame-support",
- "frame-system",
- "log",
- "parity-scale-codec",
- "scale-info",
- "sp-core",
- "sp-io",
- "sp-runtime",
- "sp-std",
-]
-
-[[package]]
-name = "pallet-contracts"
-version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
- "bitflags 1.3.2",
- "environmental",
"frame-benchmarking",
"frame-support",
"frame-system",
- "impl-trait-for-tuples",
"log",
- "pallet-balances",
- "pallet-contracts-primitives",
- "pallet-contracts-proc-macro",
"parity-scale-codec",
- "rand 0.8.5",
- "rand_pcg",
"scale-info",
- "serde",
- "smallvec",
- "sp-api",
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std",
- "wasm-instrument 0.4.0",
- "wasmi",
-]
-
-[[package]]
-name = "pallet-contracts-primitives"
-version = "24.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
-dependencies = [
- "bitflags 1.3.2",
- "parity-scale-codec",
- "scale-info",
- "sp-runtime",
- "sp-std",
- "sp-weights",
-]
-
-[[package]]
-name = "pallet-contracts-proc-macro"
-version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.28",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-conviction-voting"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"assert_matches",
"frame-benchmarking",
@@ -7542,31 +6962,13 @@ dependencies = [
"serde",
"sp-io",
"sp-runtime",
- "sp-std",
-]
-
-[[package]]
-name = "pallet-core-fellowship"
-version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
-dependencies = [
- "frame-benchmarking",
- "frame-support",
- "frame-system",
- "log",
- "parity-scale-codec",
- "scale-info",
- "sp-arithmetic",
- "sp-core",
- "sp-io",
- "sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-democracy"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7578,13 +6980,13 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-election-provider-multi-phase"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -7600,14 +7002,14 @@ dependencies = [
"sp-io",
"sp-npos-elections",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
"strum",
]
[[package]]
name = "pallet-election-provider-support-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -7620,7 +7022,7 @@ dependencies = [
[[package]]
name = "pallet-elections-phragmen"
version = "5.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7633,13 +7035,13 @@ dependencies = [
"sp-npos-elections",
"sp-runtime",
"sp-staking",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-fast-unstake"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"docify",
"frame-benchmarking",
@@ -7652,31 +7054,13 @@ dependencies = [
"sp-io",
"sp-runtime",
"sp-staking",
- "sp-std",
-]
-
-[[package]]
-name = "pallet-glutton"
-version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
-dependencies = [
- "blake2",
- "frame-benchmarking",
- "frame-support",
- "frame-system",
- "log",
- "parity-scale-codec",
- "scale-info",
- "sp-core",
- "sp-io",
- "sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-grandpa"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7693,13 +7077,13 @@ dependencies = [
"sp-runtime",
"sp-session",
"sp-staking",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-identity"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"enumflags2",
"frame-benchmarking",
@@ -7709,13 +7093,13 @@ dependencies = [
"scale-info",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-im-online"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7729,13 +7113,13 @@ dependencies = [
"sp-io",
"sp-runtime",
"sp-staking",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-indices"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7746,27 +7130,13 @@ dependencies = [
"sp-io",
"sp-keyring",
"sp-runtime",
- "sp-std",
-]
-
-[[package]]
-name = "pallet-insecure-randomness-collective-flip"
-version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
-dependencies = [
- "frame-support",
- "frame-system",
- "parity-scale-codec",
- "safe-mix",
- "scale-info",
- "sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-membership"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7777,13 +7147,13 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-message-queue"
version = "7.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7795,14 +7165,14 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
"sp-weights",
]
[[package]]
name = "pallet-mmr"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7813,75 +7183,29 @@ dependencies = [
"sp-io",
"sp-mmr-primitives",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-multisig"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
-dependencies = [
- "frame-benchmarking",
- "frame-support",
- "frame-system",
- "log",
- "parity-scale-codec",
- "scale-info",
- "sp-io",
- "sp-runtime",
- "sp-std",
-]
-
-[[package]]
-name = "pallet-nft-fractionalization"
-version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
-dependencies = [
- "frame-benchmarking",
- "frame-support",
- "frame-system",
- "log",
- "pallet-assets",
- "pallet-nfts",
- "parity-scale-codec",
- "scale-info",
- "sp-runtime",
- "sp-std",
-]
-
-[[package]]
-name = "pallet-nfts"
-version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
- "enumflags2",
"frame-benchmarking",
"frame-support",
"frame-system",
"log",
"parity-scale-codec",
"scale-info",
- "sp-core",
"sp-io",
"sp-runtime",
- "sp-std",
-]
-
-[[package]]
-name = "pallet-nfts-runtime-api"
-version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
-dependencies = [
- "frame-support",
- "pallet-nfts",
- "parity-scale-codec",
- "sp-api",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-nis"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7891,32 +7215,30 @@ dependencies = [
"sp-arithmetic",
"sp-core",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-nomination-pools"
version = "1.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-support",
"frame-system",
"log",
- "pallet-balances",
"parity-scale-codec",
"scale-info",
"sp-core",
"sp-io",
"sp-runtime",
"sp-staking",
- "sp-std",
- "sp-tracing",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-nomination-pools-benchmarking"
version = "1.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -7930,24 +7252,24 @@ dependencies = [
"sp-runtime",
"sp-runtime-interface",
"sp-staking",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-nomination-pools-runtime-api"
version = "1.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"pallet-nomination-pools",
"parity-scale-codec",
"sp-api",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-offences"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-support",
"frame-system",
@@ -7958,13 +7280,13 @@ dependencies = [
"serde",
"sp-runtime",
"sp-staking",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-offences-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -7982,28 +7304,13 @@ dependencies = [
"scale-info",
"sp-runtime",
"sp-staking",
- "sp-std",
-]
-
-[[package]]
-name = "pallet-parachain-template"
-version = "0.1.0"
-dependencies = [
- "frame-benchmarking",
- "frame-support",
- "frame-system",
- "parity-scale-codec",
- "scale-info",
- "serde",
- "sp-core",
- "sp-io",
- "sp-runtime",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-preimage"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -8014,13 +7321,13 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-proxy"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -8029,13 +7336,13 @@ dependencies = [
"scale-info",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-ranked-collective"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -8047,13 +7354,13 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-recovery"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -8062,13 +7369,13 @@ dependencies = [
"scale-info",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-referenda"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"assert_matches",
"frame-benchmarking",
@@ -8081,31 +7388,13 @@ dependencies = [
"sp-arithmetic",
"sp-io",
"sp-runtime",
- "sp-std",
-]
-
-[[package]]
-name = "pallet-salary"
-version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
-dependencies = [
- "frame-benchmarking",
- "frame-support",
- "frame-system",
- "log",
- "parity-scale-codec",
- "scale-info",
- "sp-arithmetic",
- "sp-core",
- "sp-io",
- "sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-scheduler"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -8115,14 +7404,14 @@ dependencies = [
"scale-info",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
"sp-weights",
]
[[package]]
name = "pallet-session"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-support",
"frame-system",
@@ -8136,14 +7425,14 @@ dependencies = [
"sp-runtime",
"sp-session",
"sp-staking",
- "sp-std",
+ "sp-std 8.0.0",
"sp-trie",
]
[[package]]
name = "pallet-session-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -8153,17 +7442,33 @@ dependencies = [
"rand 0.8.5",
"sp-runtime",
"sp-session",
- "sp-std",
+ "sp-std 8.0.0",
+]
+
+[[package]]
+name = "pallet-shift-session-manager"
+version = "0.1.0"
+dependencies = [
+ "frame-support",
+ "frame-system",
+ "pallet-session",
+ "parity-scale-codec",
+ "scale-info",
+ "sp-core",
+ "sp-runtime",
+ "sp-staking",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-society"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
+ "hex-literal 0.3.4",
"log",
"parity-scale-codec",
"rand_chacha 0.2.2",
@@ -8171,13 +7476,13 @@ dependencies = [
"sp-arithmetic",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-staking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -8194,24 +7499,24 @@ dependencies = [
"sp-io",
"sp-runtime",
"sp-staking",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-staking-reward-curve"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"proc-macro-crate",
- "proc-macro2",
- "quote",
- "syn 2.0.28",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
name = "pallet-staking-reward-fn"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"log",
"sp-arithmetic",
@@ -8220,7 +7525,7 @@ dependencies = [
[[package]]
name = "pallet-staking-runtime-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"parity-scale-codec",
"sp-api",
@@ -8229,7 +7534,7 @@ dependencies = [
[[package]]
name = "pallet-state-trie-migration"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -8240,13 +7545,13 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-sudo"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -8255,13 +7560,13 @@ dependencies = [
"scale-info",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-timestamp"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -8272,14 +7577,14 @@ dependencies = [
"sp-inherents",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
"sp-timestamp",
]
[[package]]
name = "pallet-tips"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -8292,13 +7597,13 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-transaction-payment"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-support",
"frame-system",
@@ -8308,15 +7613,15 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-transaction-payment-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
- "jsonrpsee",
+ "jsonrpsee 0.16.2",
"pallet-transaction-payment-rpc-runtime-api",
"parity-scale-codec",
"sp-api",
@@ -8330,7 +7635,7 @@ dependencies = [
[[package]]
name = "pallet-transaction-payment-rpc-runtime-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"pallet-transaction-payment",
"parity-scale-codec",
@@ -8342,7 +7647,7 @@ dependencies = [
[[package]]
name = "pallet-treasury"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -8353,28 +7658,13 @@ dependencies = [
"scale-info",
"serde",
"sp-runtime",
- "sp-std",
-]
-
-[[package]]
-name = "pallet-uniques"
-version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
-dependencies = [
- "frame-benchmarking",
- "frame-support",
- "frame-system",
- "log",
- "parity-scale-codec",
- "scale-info",
- "sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-utility"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -8384,64 +7674,13 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "pallet-vesting"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
-dependencies = [
- "frame-benchmarking",
- "frame-support",
- "frame-system",
- "log",
- "parity-scale-codec",
- "scale-info",
- "sp-runtime",
- "sp-std",
-]
-
-[[package]]
-name = "pallet-whitelist"
-version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
-dependencies = [
- "frame-benchmarking",
- "frame-support",
- "frame-system",
- "parity-scale-codec",
- "scale-info",
- "sp-api",
- "sp-runtime",
- "sp-std",
-]
-
-[[package]]
-name = "pallet-xcm"
-version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
-dependencies = [
- "bounded-collections",
- "frame-benchmarking",
- "frame-support",
- "frame-system",
- "log",
- "parity-scale-codec",
- "scale-info",
- "serde",
- "sp-core",
- "sp-io",
- "sp-runtime",
- "sp-std",
- "xcm",
- "xcm-executor",
-]
-
-[[package]]
-name = "pallet-xcm-benchmarks"
-version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -8449,205 +7688,118 @@ dependencies = [
"log",
"parity-scale-codec",
"scale-info",
- "sp-io",
"sp-runtime",
- "sp-std",
- "xcm",
- "xcm-builder",
- "xcm-executor",
+ "sp-std 8.0.0",
]
-[[package]]
-name = "parachain-info"
-version = "0.1.0"
+[[package]]
+name = "pallet-whitelist"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
- "cumulus-primitives-core",
+ "frame-benchmarking",
"frame-support",
"frame-system",
"parity-scale-codec",
"scale-info",
+ "sp-api",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
-name = "parachain-template-node"
-version = "0.1.0"
+name = "pallet-xcm"
+version = "0.9.43"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
- "clap",
- "color-print",
- "cumulus-client-cli",
- "cumulus-client-consensus-aura",
- "cumulus-client-consensus-common",
- "cumulus-client-service",
- "cumulus-primitives-core",
- "cumulus-primitives-parachain-inherent",
- "cumulus-relay-chain-interface",
+ "bounded-collections",
"frame-benchmarking",
- "frame-benchmarking-cli",
- "futures",
- "jsonrpsee",
+ "frame-support",
+ "frame-system",
"log",
- "pallet-transaction-payment-rpc",
- "parachain-template-runtime",
"parity-scale-codec",
- "polkadot-cli",
- "polkadot-primitives",
- "sc-basic-authorship",
- "sc-chain-spec",
- "sc-cli",
- "sc-client-api",
- "sc-consensus",
- "sc-executor",
- "sc-network",
- "sc-network-sync",
- "sc-offchain",
- "sc-rpc",
- "sc-service",
- "sc-sysinfo",
- "sc-telemetry",
- "sc-tracing",
- "sc-transaction-pool",
- "sc-transaction-pool-api",
+ "scale-info",
"serde",
- "sp-api",
- "sp-block-builder",
- "sp-blockchain",
- "sp-consensus-aura",
"sp-core",
"sp-io",
- "sp-keystore",
"sp-runtime",
- "sp-timestamp",
- "substrate-build-script-utils",
- "substrate-frame-rpc-system",
- "substrate-prometheus-endpoint",
- "try-runtime-cli",
+ "sp-std 8.0.0",
"xcm",
+ "xcm-executor",
]
[[package]]
-name = "parachain-template-runtime"
-version = "0.1.0"
+name = "pallet-xcm-benchmarks"
+version = "0.9.43"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
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-timestamp",
- "cumulus-primitives-utility",
"frame-benchmarking",
- "frame-executive",
"frame-support",
"frame-system",
- "frame-system-benchmarking",
- "frame-system-rpc-runtime-api",
- "frame-try-runtime",
- "hex-literal 0.4.1",
"log",
- "pallet-aura",
- "pallet-authorship",
- "pallet-balances",
- "pallet-collator-selection",
- "pallet-parachain-template",
- "pallet-session",
- "pallet-sudo",
- "pallet-timestamp",
- "pallet-transaction-payment",
- "pallet-transaction-payment-rpc-runtime-api",
- "pallet-xcm",
- "parachain-info",
"parity-scale-codec",
- "polkadot-parachain",
- "polkadot-runtime-common",
"scale-info",
- "smallvec",
- "sp-api",
- "sp-block-builder",
- "sp-consensus-aura",
- "sp-core",
- "sp-inherents",
- "sp-offchain",
+ "sp-io",
"sp-runtime",
- "sp-session",
- "sp-std",
- "sp-transaction-pool",
- "sp-version",
- "substrate-wasm-builder",
+ "sp-std 8.0.0",
"xcm",
"xcm-builder",
"xcm-executor",
]
[[package]]
-name = "parachains-common"
-version = "1.0.0"
+name = "pallet-xcm-bridge-hub-router"
+version = "0.1.0"
dependencies = [
- "cumulus-primitives-core",
- "cumulus-primitives-utility",
+ "bp-xcm-bridge-hub-router",
+ "frame-benchmarking",
"frame-support",
"frame-system",
- "num-traits",
- "pallet-asset-tx-payment",
- "pallet-assets",
- "pallet-authorship",
- "pallet-balances",
- "pallet-collator-selection",
+ "log",
"parity-scale-codec",
- "polkadot-primitives",
"scale-info",
- "sp-consensus-aura",
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std",
- "substrate-wasm-builder",
+ "sp-std 8.0.0",
"xcm",
"xcm-builder",
- "xcm-executor",
]
[[package]]
-name = "parachains-runtimes-test-utils"
-version = "1.0.0"
+name = "parachain-info"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=master#5386d1821a021b3ede941c5c301802856997f53c"
dependencies = [
- "assets-common",
- "cumulus-pallet-dmp-queue",
- "cumulus-pallet-parachain-system",
- "cumulus-pallet-xcmp-queue",
"cumulus-primitives-core",
- "cumulus-primitives-parachain-inherent",
- "cumulus-test-relay-sproof-builder",
"frame-support",
"frame-system",
- "hex-literal 0.3.4",
- "pallet-assets",
- "pallet-balances",
- "pallet-collator-selection",
- "pallet-session",
- "pallet-xcm",
- "parachain-info",
- "parachains-common",
"parity-scale-codec",
- "polkadot-parachain",
- "sp-consensus-aura",
- "sp-core",
- "sp-io",
+ "scale-info",
"sp-runtime",
- "sp-std",
- "substrate-wasm-builder",
- "xcm",
- "xcm-executor",
+ "sp-std 8.0.0",
+]
+
+[[package]]
+name = "parachains-relay"
+version = "0.1.0"
+dependencies = [
+ "async-std",
+ "async-trait",
+ "bp-polkadot-core",
+ "futures",
+ "log",
+ "parity-scale-codec",
+ "relay-substrate-client",
+ "relay-utils",
+ "sp-core",
]
[[package]]
name = "parity-db"
-version = "0.4.8"
+version = "0.4.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4890dcb9556136a4ec2b0c51fa4a08c8b733b829506af8fff2e853f3a065985b"
+checksum = "0dab3ac198341b2f0fec6e7f8a6eeed07a41201d98a124260611598c142e76df"
dependencies = [
"blake2",
"crc32fast",
@@ -8685,18 +7837,24 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2a296c3079b5fefbc499e1de58dc26c09b1b9a5952d26694ee89f04a43ebbb3e"
dependencies = [
"proc-macro-crate",
- "proc-macro2",
- "quote",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
"syn 1.0.109",
]
+[[package]]
+name = "parity-send-wrapper"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "aa9777aa91b8ad9dd5aaa04a9b6bcb02c7f1deb952fca5a66034d5e63afc5c6f"
+
[[package]]
name = "parity-util-mem"
version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0d32c34f4f5ca7f9196001c0aba5a1f9a5a12382c8944b8b0f90233282d1e8f8"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
"ethereum-types",
"hashbrown 0.12.3",
"impl-trait-for-tuples",
@@ -8714,7 +7872,7 @@ version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2"
dependencies = [
- "proc-macro2",
+ "proc-macro2 1.0.66",
"syn 1.0.109",
"synstructure",
]
@@ -8727,9 +7885,9 @@ checksum = "e1ad0aff30c1da14b1254fcb2af73e1fa9a28670e584a626f53a369d0e157304"
[[package]]
name = "parking"
-version = "2.0.0"
+version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "427c3892f9e783d91cc128285287e70a59e206ca452770ece88a76f7a3eddd72"
+checksum = "14f2252c834a40ed9bb5422029649578e63aa341ac401f74e719dd1afda8394e"
[[package]]
name = "parking_lot"
@@ -8739,7 +7897,7 @@ checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99"
dependencies = [
"instant",
"lock_api",
- "parking_lot_core 0.8.5",
+ "parking_lot_core 0.8.6",
]
[[package]]
@@ -8749,34 +7907,34 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
dependencies = [
"lock_api",
- "parking_lot_core 0.9.1",
+ "parking_lot_core 0.9.8",
]
[[package]]
name = "parking_lot_core"
-version = "0.8.5"
+version = "0.8.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d76e8e1493bcac0d2766c42737f34458f1c8c50c0d23bcb24ea953affb273216"
+checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
"instant",
"libc",
- "redox_syscall 0.2.10",
+ "redox_syscall 0.2.16",
"smallvec",
"winapi",
]
[[package]]
name = "parking_lot_core"
-version = "0.9.1"
+version = "0.9.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "28141e0cc4143da2443301914478dc976a61ffdb3f043058310c70df2fed8954"
+checksum = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
"libc",
- "redox_syscall 0.2.10",
+ "redox_syscall 0.3.5",
"smallvec",
- "windows-sys 0.32.0",
+ "windows-targets 0.48.1",
]
[[package]]
@@ -8816,62 +7974,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099"
[[package]]
-name = "penpal-runtime"
-version = "0.9.27"
+name = "pem"
+version = "1.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a8835c273a76a90455d7344889b0964598e3316e2a79ede8e36f16bdcf2228b8"
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-timestamp",
- "cumulus-primitives-utility",
- "frame-benchmarking",
- "frame-executive",
- "frame-support",
- "frame-system",
- "frame-system-benchmarking",
- "frame-system-rpc-runtime-api",
- "frame-try-runtime",
- "hex-literal 0.4.1",
- "log",
- "pallet-asset-tx-payment",
- "pallet-assets",
- "pallet-aura",
- "pallet-authorship",
- "pallet-balances",
- "pallet-collator-selection",
- "pallet-session",
- "pallet-sudo",
- "pallet-timestamp",
- "pallet-transaction-payment",
- "pallet-transaction-payment-rpc-runtime-api",
- "pallet-xcm",
- "parachain-info",
- "parachains-common",
- "parity-scale-codec",
- "polkadot-parachain",
- "polkadot-primitives",
- "polkadot-runtime-common",
- "scale-info",
- "smallvec",
- "sp-api",
- "sp-block-builder",
- "sp-consensus-aura",
- "sp-core",
- "sp-inherents",
- "sp-offchain",
- "sp-runtime",
- "sp-session",
- "sp-std",
- "sp-transaction-pool",
- "sp-version",
- "substrate-wasm-builder",
- "xcm",
- "xcm-builder",
- "xcm-executor",
+ "base64 0.13.1",
+]
+
+[[package]]
+name = "pem-rfc7468"
+version = "0.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "24d159833a9105500e0398934e205e0773f0b27529557134ecfc51c27646adac"
+dependencies = [
+ "base64ct",
]
[[package]]
@@ -8882,18 +7999,19 @@ checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94"
[[package]]
name = "pest"
-version = "2.1.3"
+version = "2.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "10f4872ae94d7b90ae48754df22fd42ad52ce740b8f370b03da4835417403e53"
+checksum = "0d2d1d55045829d65aad9d389139882ad623b33b904e7c9f1b10c5b8927298e5"
dependencies = [
+ "thiserror",
"ucd-trie",
]
[[package]]
name = "pest_derive"
-version = "2.1.0"
+version = "2.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "833d1ae558dc601e9a60366421196a8d94bc0ac980476d0b67e1d0988d72b2d0"
+checksum = "5f94bca7e7a599d89dea5dfa309e217e7906c3c007fb9c3299c40b10d6a315d3"
dependencies = [
"pest",
"pest_generator",
@@ -8901,36 +8019,36 @@ dependencies = [
[[package]]
name = "pest_generator"
-version = "2.1.3"
+version = "2.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "99b8db626e31e5b81787b9783425769681b347011cc59471e33ea46d2ea0cf55"
+checksum = "99d490fe7e8556575ff6911e45567ab95e71617f43781e5c05490dc8d75c965c"
dependencies = [
"pest",
"pest_meta",
- "proc-macro2",
- "quote",
- "syn 1.0.109",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
name = "pest_meta"
-version = "2.1.3"
+version = "2.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "54be6e404f5317079812fc8f9f5279de376d8856929e21c184ecf6bbd692a11d"
+checksum = "2674c66ebb4b4d9036012091b537aae5878970d6999f81a265034d85b136b341"
dependencies = [
- "maplit",
+ "once_cell",
"pest",
- "sha-1 0.8.2",
+ "sha2 0.10.7",
]
[[package]]
name = "petgraph"
-version = "0.6.0"
+version = "0.6.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4a13a2fa9d0b63e5f22328828741e523766fff0ee9e779316902290dff3f824f"
+checksum = "4dd7d28ee937e54fe3080c91faa1c3a46c06de6252988a7f4592ba2310ef22a4"
dependencies = [
"fixedbitset",
- "indexmap 1.9.1",
+ "indexmap 1.9.3",
]
[[package]]
@@ -8948,9 +8066,9 @@ version = "1.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec2e072ecce94ec471b13398d5402c188e76ac03cf74dd1a975161b23a3f6d9c"
dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.28",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
@@ -8961,9 +8079,9 @@ checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777"
[[package]]
name = "pin-project-lite"
-version = "0.2.9"
+version = "0.2.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116"
+checksum = "4c40d25201921e5ff0c862a505c6557ea88568a4e3ace775ab55e93f2f4f9d57"
[[package]]
name = "pin-utils"
@@ -8971,21 +8089,31 @@ version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
+[[package]]
+name = "pkcs8"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9eca2c590a5f85da82668fa685c09ce2888b9430e83299debf1f34b65fd4a4ba"
+dependencies = [
+ "der 0.6.1",
+ "spki 0.6.0",
+]
+
[[package]]
name = "pkcs8"
version = "0.10.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7"
dependencies = [
- "der",
- "spki",
+ "der 0.7.7",
+ "spki 0.7.2",
]
[[package]]
name = "pkg-config"
-version = "0.3.22"
+version = "0.3.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "12295df4f294471248581bc09bef3c38a5e46f1e36d6a37353621a0c6c357e1f"
+checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964"
[[package]]
name = "platforms"
@@ -8993,38 +8121,10 @@ version = "3.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e3d7ddaed09e0eb771a79ab0fd64609ba0afb0a8366421957936ad14cbd13630"
-[[package]]
-name = "plotters"
-version = "0.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32a3fd9ec30b9749ce28cd91f255d569591cdf937fe280c312143e3c4bad6f2a"
-dependencies = [
- "num-traits",
- "plotters-backend",
- "plotters-svg",
- "wasm-bindgen",
- "web-sys",
-]
-
-[[package]]
-name = "plotters-backend"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d88417318da0eaf0fdcdb51a0ee6c3bed624333bff8f946733049380be67ac1c"
-
-[[package]]
-name = "plotters-svg"
-version = "0.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "521fa9638fa597e1dc53e9412a4f9cefb01187ee1f7413076f9e6749e2885ba9"
-dependencies = [
- "plotters-backend",
-]
-
[[package]]
name = "polkadot-approval-distribution"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"futures",
"futures-timer",
@@ -9042,7 +8142,7 @@ dependencies = [
[[package]]
name = "polkadot-availability-bitfield-distribution"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"futures",
"futures-timer",
@@ -9057,12 +8157,12 @@ dependencies = [
[[package]]
name = "polkadot-availability-distribution"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"derive_more",
"fatality",
"futures",
- "lru 0.11.0",
+ "lru 0.9.0",
"parity-scale-codec",
"polkadot-erasure-coding",
"polkadot-node-network-protocol",
@@ -9080,11 +8180,11 @@ dependencies = [
[[package]]
name = "polkadot-availability-recovery"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"fatality",
"futures",
- "lru 0.11.0",
+ "lru 0.9.0",
"parity-scale-codec",
"polkadot-erasure-coding",
"polkadot-node-network-protocol",
@@ -9101,14 +8201,15 @@ dependencies = [
[[package]]
name = "polkadot-cli"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
- "clap",
+ "clap 4.3.16",
"frame-benchmarking-cli",
"futures",
"log",
+ "polkadot-node-core-pvf-execute-worker",
+ "polkadot-node-core-pvf-prepare-worker",
"polkadot-node-metrics",
- "polkadot-performance-test",
"polkadot-service",
"sc-cli",
"sc-executor",
@@ -9128,7 +8229,7 @@ dependencies = [
[[package]]
name = "polkadot-collator-protocol"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"always-assert",
"bitvec",
@@ -9150,26 +8251,26 @@ dependencies = [
[[package]]
name = "polkadot-core-primitives"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"parity-scale-codec",
"scale-info",
"sp-core",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "polkadot-dispute-distribution"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"derive_more",
"fatality",
"futures",
"futures-timer",
- "indexmap 1.9.1",
- "lru 0.11.0",
+ "indexmap 1.9.3",
+ "lru 0.9.0",
"parity-scale-codec",
"polkadot-erasure-coding",
"polkadot-node-network-protocol",
@@ -9187,7 +8288,7 @@ dependencies = [
[[package]]
name = "polkadot-erasure-coding"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"parity-scale-codec",
"polkadot-node-primitives",
@@ -9201,7 +8302,7 @@ dependencies = [
[[package]]
name = "polkadot-gossip-support"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"futures",
"futures-timer",
@@ -9212,7 +8313,6 @@ dependencies = [
"rand 0.8.5",
"rand_chacha 0.3.1",
"sc-network",
- "sc-network-common",
"sp-application-crypto",
"sp-core",
"sp-keystore",
@@ -9222,7 +8322,7 @@ dependencies = [
[[package]]
name = "polkadot-network-bridge"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"always-assert",
"async-trait",
@@ -9245,7 +8345,7 @@ dependencies = [
[[package]]
name = "polkadot-node-collation-generation"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"futures",
"parity-scale-codec",
@@ -9263,15 +8363,15 @@ dependencies = [
[[package]]
name = "polkadot-node-core-approval-voting"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"bitvec",
"derive_more",
"futures",
"futures-timer",
"kvdb",
- "lru 0.11.0",
- "merlin 2.0.1",
+ "lru 0.9.0",
+ "merlin",
"parity-scale-codec",
"polkadot-node-jaeger",
"polkadot-node-primitives",
@@ -9292,7 +8392,7 @@ dependencies = [
[[package]]
name = "polkadot-node-core-av-store"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"bitvec",
"futures",
@@ -9314,7 +8414,7 @@ dependencies = [
[[package]]
name = "polkadot-node-core-backing"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"bitvec",
"fatality",
@@ -9333,7 +8433,7 @@ dependencies = [
[[package]]
name = "polkadot-node-core-bitfield-signing"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"futures",
"polkadot-node-subsystem",
@@ -9348,7 +8448,7 @@ dependencies = [
[[package]]
name = "polkadot-node-core-candidate-validation"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"async-trait",
"futures",
@@ -9359,7 +8459,6 @@ dependencies = [
"polkadot-node-primitives",
"polkadot-node-subsystem",
"polkadot-node-subsystem-util",
- "polkadot-overseer",
"polkadot-parachain",
"polkadot-primitives",
"sp-maybe-compressed-blob",
@@ -9369,7 +8468,7 @@ dependencies = [
[[package]]
name = "polkadot-node-core-chain-api"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"futures",
"polkadot-node-metrics",
@@ -9384,7 +8483,7 @@ dependencies = [
[[package]]
name = "polkadot-node-core-chain-selection"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"futures",
"futures-timer",
@@ -9401,12 +8500,12 @@ dependencies = [
[[package]]
name = "polkadot-node-core-dispute-coordinator"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"fatality",
"futures",
"kvdb",
- "lru 0.11.0",
+ "lru 0.9.0",
"parity-scale-codec",
"polkadot-node-primitives",
"polkadot-node-subsystem",
@@ -9420,7 +8519,7 @@ dependencies = [
[[package]]
name = "polkadot-node-core-parachains-inherent"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"async-trait",
"futures",
@@ -9437,7 +8536,7 @@ dependencies = [
[[package]]
name = "polkadot-node-core-provisioner"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"bitvec",
"fatality",
@@ -9447,6 +8546,7 @@ dependencies = [
"polkadot-node-subsystem",
"polkadot-node-subsystem-util",
"polkadot-primitives",
+ "rand 0.8.5",
"thiserror",
"tracing-gum",
]
@@ -9454,7 +8554,7 @@ dependencies = [
[[package]]
name = "polkadot-node-core-pvf"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"always-assert",
"futures",
@@ -9485,7 +8585,7 @@ dependencies = [
[[package]]
name = "polkadot-node-core-pvf-checker"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"futures",
"polkadot-node-primitives",
@@ -9501,7 +8601,7 @@ dependencies = [
[[package]]
name = "polkadot-node-core-pvf-common"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"cpu-time",
"futures",
@@ -9517,6 +8617,7 @@ dependencies = [
"sp-externalities",
"sp-io",
"sp-tracing",
+ "substrate-build-script-utils",
"tokio",
"tracing-gum",
]
@@ -9524,7 +8625,7 @@ dependencies = [
[[package]]
name = "polkadot-node-core-pvf-execute-worker"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"cpu-time",
"futures",
@@ -9544,7 +8645,7 @@ dependencies = [
[[package]]
name = "polkadot-node-core-pvf-prepare-worker"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"futures",
"libc",
@@ -9567,10 +8668,10 @@ dependencies = [
[[package]]
name = "polkadot-node-core-runtime-api"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"futures",
- "lru 0.11.0",
+ "lru 0.9.0",
"polkadot-node-metrics",
"polkadot-node-subsystem",
"polkadot-node-subsystem-types",
@@ -9582,7 +8683,7 @@ dependencies = [
[[package]]
name = "polkadot-node-jaeger"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"lazy_static",
"log",
@@ -9600,9 +8701,9 @@ dependencies = [
[[package]]
name = "polkadot-node-metrics"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
- "bs58 0.4.0",
+ "bs58",
"futures",
"futures-timer",
"log",
@@ -9619,7 +8720,7 @@ dependencies = [
[[package]]
name = "polkadot-node-network-protocol"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"async-channel",
"async-trait",
@@ -9642,7 +8743,7 @@ dependencies = [
[[package]]
name = "polkadot-node-primitives"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"bounded-vec",
"futures",
@@ -9662,37 +8763,19 @@ dependencies = [
]
[[package]]
-name = "polkadot-node-subsystem"
-version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
-dependencies = [
- "polkadot-node-jaeger",
- "polkadot-node-subsystem-types",
- "polkadot-overseer",
-]
-
-[[package]]
-name = "polkadot-node-subsystem-test-helpers"
+name = "polkadot-node-subsystem"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
- "async-trait",
- "futures",
- "parking_lot 0.12.1",
- "polkadot-node-subsystem",
- "polkadot-node-subsystem-util",
- "polkadot-primitives",
- "sc-keystore",
- "sp-application-crypto",
- "sp-core",
- "sp-keyring",
- "sp-keystore",
+ "polkadot-node-jaeger",
+ "polkadot-node-subsystem-types",
+ "polkadot-overseer",
]
[[package]]
name = "polkadot-node-subsystem-types"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"async-trait",
"derive_more",
@@ -9716,7 +8799,7 @@ dependencies = [
[[package]]
name = "polkadot-node-subsystem-util"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"async-trait",
"derive_more",
@@ -9725,7 +8808,7 @@ dependencies = [
"futures-channel",
"itertools",
"kvdb",
- "lru 0.11.0",
+ "lru 0.9.0",
"parity-db",
"parity-scale-codec",
"parking_lot 0.11.2",
@@ -9749,12 +8832,12 @@ dependencies = [
[[package]]
name = "polkadot-overseer"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"async-trait",
"futures",
"futures-timer",
- "lru 0.11.0",
+ "lru 0.9.0",
"orchestra",
"parking_lot 0.12.1",
"polkadot-node-metrics",
@@ -9772,7 +8855,7 @@ dependencies = [
[[package]]
name = "polkadot-parachain"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"bounded-collections",
"derive_more",
@@ -9783,113 +8866,13 @@ dependencies = [
"serde",
"sp-core",
"sp-runtime",
- "sp-std",
-]
-
-[[package]]
-name = "polkadot-parachain-bin"
-version = "0.9.430"
-dependencies = [
- "assert_cmd",
- "asset-hub-kusama-runtime",
- "asset-hub-polkadot-runtime",
- "asset-hub-westend-runtime",
- "async-trait",
- "bridge-hub-kusama-runtime",
- "bridge-hub-polkadot-runtime",
- "bridge-hub-rococo-runtime",
- "clap",
- "collectives-polkadot-runtime",
- "color-print",
- "contracts-rococo-runtime",
- "cumulus-client-cli",
- "cumulus-client-consensus-aura",
- "cumulus-client-consensus-common",
- "cumulus-client-consensus-relay-chain",
- "cumulus-client-service",
- "cumulus-primitives-core",
- "cumulus-primitives-parachain-inherent",
- "cumulus-relay-chain-interface",
- "frame-benchmarking",
- "frame-benchmarking-cli",
- "futures",
- "glutton-runtime",
- "hex-literal 0.4.1",
- "jsonrpsee",
- "log",
- "nix 0.26.2",
- "pallet-transaction-payment-rpc",
- "parachains-common",
- "parity-scale-codec",
- "penpal-runtime",
- "polkadot-cli",
- "polkadot-primitives",
- "polkadot-service",
- "rococo-parachain-runtime",
- "sc-basic-authorship",
- "sc-chain-spec",
- "sc-cli",
- "sc-client-api",
- "sc-consensus",
- "sc-executor",
- "sc-network",
- "sc-network-sync",
- "sc-rpc",
- "sc-service",
- "sc-sysinfo",
- "sc-telemetry",
- "sc-tracing",
- "sc-transaction-pool",
- "sc-transaction-pool-api",
- "seedling-runtime",
- "serde",
- "serde_json",
- "shell-runtime",
- "sp-api",
- "sp-block-builder",
- "sp-blockchain",
- "sp-consensus-aura",
- "sp-core",
- "sp-io",
- "sp-keystore",
- "sp-offchain",
- "sp-runtime",
- "sp-session",
- "sp-timestamp",
- "sp-transaction-pool",
- "substrate-build-script-utils",
- "substrate-frame-rpc-system",
- "substrate-prometheus-endpoint",
- "substrate-state-trie-migration-rpc",
- "tempfile",
- "tokio",
- "try-runtime-cli",
- "wait-timeout",
- "xcm",
-]
-
-[[package]]
-name = "polkadot-performance-test"
-version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
-dependencies = [
- "env_logger 0.9.0",
- "kusama-runtime",
- "log",
- "polkadot-erasure-coding",
- "polkadot-node-core-pvf-prepare-worker",
- "polkadot-node-primitives",
- "polkadot-primitives",
- "quote",
- "sc-executor-common",
- "sp-maybe-compressed-blob",
- "thiserror",
+ "sp-std 8.0.0",
]
[[package]]
name = "polkadot-primitives"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"bitvec",
"hex-literal 0.4.1",
@@ -9909,15 +8892,15 @@ dependencies = [
"sp-keystore",
"sp-runtime",
"sp-staking",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "polkadot-rpc"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
- "jsonrpsee",
+ "jsonrpsee 0.16.2",
"mmr-rpc",
"pallet-transaction-payment-rpc",
"polkadot-primitives",
@@ -9947,7 +8930,7 @@ dependencies = [
[[package]]
name = "polkadot-runtime"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"bitvec",
"frame-benchmarking",
@@ -10004,7 +8987,6 @@ dependencies = [
"pallet-vesting",
"pallet-whitelist",
"pallet-xcm",
- "pallet-xcm-benchmarks",
"parity-scale-codec",
"polkadot-primitives",
"polkadot-runtime-common",
@@ -10030,7 +9012,7 @@ dependencies = [
"sp-runtime",
"sp-session",
"sp-staking",
- "sp-std",
+ "sp-std 8.0.0",
"sp-transaction-pool",
"sp-version",
"static_assertions",
@@ -10043,7 +9025,7 @@ dependencies = [
[[package]]
name = "polkadot-runtime-common"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"bitvec",
"frame-benchmarking",
@@ -10081,7 +9063,7 @@ dependencies = [
"sp-runtime",
"sp-session",
"sp-staking",
- "sp-std",
+ "sp-std 8.0.0",
"static_assertions",
"xcm",
]
@@ -10089,7 +9071,7 @@ dependencies = [
[[package]]
name = "polkadot-runtime-constants"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"frame-support",
"polkadot-primitives",
@@ -10103,19 +9085,19 @@ dependencies = [
[[package]]
name = "polkadot-runtime-metrics"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
- "bs58 0.4.0",
+ "bs58",
"parity-scale-codec",
"polkadot-primitives",
- "sp-std",
+ "sp-std 8.0.0",
"sp-tracing",
]
[[package]]
name = "polkadot-runtime-parachains"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"bitflags 1.3.2",
"bitvec",
@@ -10151,7 +9133,7 @@ dependencies = [
"sp-runtime",
"sp-session",
"sp-staking",
- "sp-std",
+ "sp-std 8.0.0",
"static_assertions",
"xcm",
"xcm-executor",
@@ -10160,7 +9142,7 @@ dependencies = [
[[package]]
name = "polkadot-service"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"async-trait",
"frame-benchmarking",
@@ -10170,12 +9152,11 @@ dependencies = [
"frame-system-rpc-runtime-api",
"futures",
"hex-literal 0.4.1",
- "is_executable",
"kusama-runtime",
"kvdb",
"kvdb-rocksdb",
"log",
- "lru 0.11.0",
+ "lru 0.9.0",
"mmr-gadget",
"pallet-babe",
"pallet-im-online",
@@ -10204,7 +9185,6 @@ dependencies = [
"polkadot-node-core-dispute-coordinator",
"polkadot-node-core-parachains-inherent",
"polkadot-node-core-provisioner",
- "polkadot-node-core-pvf",
"polkadot-node-core-pvf-checker",
"polkadot-node-core-runtime-api",
"polkadot-node-network-protocol",
@@ -10218,10 +9198,10 @@ dependencies = [
"polkadot-rpc",
"polkadot-runtime",
"polkadot-runtime-common",
+ "polkadot-runtime-constants",
"polkadot-runtime-parachains",
"polkadot-statement-distribution",
"rococo-runtime",
- "rococo-runtime-constants",
"sc-authority-discovery",
"sc-basic-authorship",
"sc-block-builder",
@@ -10280,13 +9260,13 @@ dependencies = [
[[package]]
name = "polkadot-statement-distribution"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"arrayvec 0.5.2",
"fatality",
"futures",
"futures-timer",
- "indexmap 1.9.1",
+ "indexmap 1.9.3",
"parity-scale-codec",
"polkadot-node-network-protocol",
"polkadot-node-primitives",
@@ -10302,164 +9282,27 @@ dependencies = [
[[package]]
name = "polkadot-statement-table"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
-dependencies = [
- "parity-scale-codec",
- "polkadot-primitives",
- "sp-core",
-]
-
-[[package]]
-name = "polkadot-test-client"
-version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
-dependencies = [
- "frame-benchmarking",
- "parity-scale-codec",
- "polkadot-node-subsystem",
- "polkadot-primitives",
- "polkadot-test-runtime",
- "polkadot-test-service",
- "sc-block-builder",
- "sc-consensus",
- "sc-offchain",
- "sc-service",
- "sp-api",
- "sp-blockchain",
- "sp-consensus",
- "sp-consensus-babe",
- "sp-core",
- "sp-inherents",
- "sp-io",
- "sp-runtime",
- "sp-state-machine",
- "sp-timestamp",
- "substrate-test-client",
-]
-
-[[package]]
-name = "polkadot-test-runtime"
-version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
- "bitvec",
- "frame-election-provider-support",
- "frame-executive",
- "frame-support",
- "frame-system",
- "frame-system-rpc-runtime-api",
- "log",
- "pallet-authority-discovery",
- "pallet-authorship",
- "pallet-babe",
- "pallet-balances",
- "pallet-grandpa",
- "pallet-indices",
- "pallet-offences",
- "pallet-session",
- "pallet-staking",
- "pallet-staking-reward-curve",
- "pallet-sudo",
- "pallet-timestamp",
- "pallet-transaction-payment",
- "pallet-transaction-payment-rpc-runtime-api",
- "pallet-vesting",
- "pallet-xcm",
"parity-scale-codec",
- "polkadot-parachain",
- "polkadot-primitives",
- "polkadot-runtime-common",
- "polkadot-runtime-parachains",
- "rustc-hex",
- "scale-info",
- "serde",
- "serde_derive",
- "smallvec",
- "sp-api",
- "sp-authority-discovery",
- "sp-block-builder",
- "sp-consensus-babe",
- "sp-consensus-beefy",
- "sp-core",
- "sp-inherents",
- "sp-io",
- "sp-mmr-primitives",
- "sp-offchain",
- "sp-runtime",
- "sp-session",
- "sp-staking",
- "sp-std",
- "sp-transaction-pool",
- "sp-version",
- "substrate-wasm-builder",
- "test-runtime-constants",
- "xcm",
- "xcm-builder",
- "xcm-executor",
-]
-
-[[package]]
-name = "polkadot-test-service"
-version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
-dependencies = [
- "frame-system",
- "futures",
- "hex",
- "pallet-balances",
- "pallet-staking",
- "pallet-transaction-payment",
- "polkadot-node-primitives",
- "polkadot-node-subsystem",
- "polkadot-overseer",
- "polkadot-parachain",
"polkadot-primitives",
- "polkadot-rpc",
- "polkadot-runtime-common",
- "polkadot-runtime-parachains",
- "polkadot-service",
- "polkadot-test-runtime",
- "rand 0.8.5",
- "sc-authority-discovery",
- "sc-chain-spec",
- "sc-cli",
- "sc-client-api",
- "sc-consensus",
- "sc-consensus-babe",
- "sc-consensus-grandpa",
- "sc-network",
- "sc-service",
- "sc-tracing",
- "sc-transaction-pool",
- "sp-arithmetic",
- "sp-authority-discovery",
- "sp-blockchain",
- "sp-consensus",
- "sp-consensus-babe",
- "sp-consensus-grandpa",
"sp-core",
- "sp-inherents",
- "sp-keyring",
- "sp-runtime",
- "sp-state-machine",
- "substrate-test-client",
- "tempfile",
- "test-runtime-constants",
- "tokio",
- "tracing-gum",
]
[[package]]
name = "polling"
-version = "2.2.0"
+version = "2.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "685404d509889fade3e86fe3a5803bca2ec09b0c0778d5ada6ec8bf7a8de5259"
+checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce"
dependencies = [
- "cfg-if",
+ "autocfg",
+ "bitflags 1.3.2",
+ "cfg-if 1.0.0",
+ "concurrent-queue",
"libc",
"log",
- "wepoll-ffi",
- "winapi",
+ "pin-project-lite 0.2.10",
+ "windows-sys 0.48.0",
]
[[package]]
@@ -10479,7 +9322,7 @@ version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8419d2b623c7c0896ff2d5d96e2cb4ede590fed28fcc34934f4c33c036e620a1"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
"cpufeatures",
"opaque-debug 0.3.0",
"universal-hash 0.4.1",
@@ -10491,7 +9334,7 @@ version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d52cff9d1d4dee5fe6d03729099f4a310a41179e0a10dbf542039873f2e826fb"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
"cpufeatures",
"opaque-debug 0.3.0",
"universal-hash 0.5.1",
@@ -10499,30 +9342,21 @@ dependencies = [
[[package]]
name = "portable-atomic"
-version = "0.3.19"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "26f6a7b87c2e435a3241addceeeff740ff8b7e76b74c13bf9acb17fa454ea00b"
-
-[[package]]
-name = "portpicker"
-version = "0.1.1"
+version = "1.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "be97d76faf1bfab666e1375477b23fde79eccf0276e9b63b92a39d676a889ba9"
-dependencies = [
- "rand 0.8.5",
-]
+checksum = "edc55135a600d700580e406b4de0d59cb9ad25e344a3a091a97ded2622ec4ec6"
[[package]]
name = "ppv-lite86"
-version = "0.2.15"
+version = "0.2.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ed0cfbc8191465bed66e1718596ee0b0b35d5ee1f41c5df2189d0fe8bde535ba"
+checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
[[package]]
name = "predicates"
-version = "2.1.1"
+version = "2.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a5aab5be6e4732b473071984b3164dbbfb7a3674d30ea5ff44410b6bcd960c3c"
+checksum = "59230a63c37f3e18569bdb90e4a89cbf5bf8b06fea0b84e65ea10cc4df47addd"
dependencies = [
"difflib",
"float-cmp",
@@ -10532,18 +9366,6 @@ dependencies = [
"regex",
]
-[[package]]
-name = "predicates"
-version = "3.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ba7d6ead3e3966038f68caa9fc1f860185d95a793180bbcfe0d0da47b3961ed"
-dependencies = [
- "anstyle 0.3.4",
- "difflib",
- "itertools",
- "predicates-core",
-]
-
[[package]]
name = "predicates-core"
version = "1.0.6"
@@ -10552,9 +9374,9 @@ checksum = "b794032607612e7abeb4db69adb4e33590fa6cf1149e95fd7cb00e634b92f174"
[[package]]
name = "predicates-tree"
-version = "1.0.4"
+version = "1.0.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "338c7be2905b732ae3984a2f40032b5e94fd8f52505b186c7d4d68d193445df7"
+checksum = "368ba315fb8c5052ab692e68a0eefec6ec57b23a36959c14496f0b0df2c0cecf"
dependencies = [
"predicates-core",
"termtree",
@@ -10562,12 +9384,22 @@ dependencies = [
[[package]]
name = "prettyplease"
-version = "0.2.4"
+version = "0.1.25"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6c8646e95016a7a6c4adea95bafa8a16baab64b583356217f2c85db4a39d9a86"
+dependencies = [
+ "proc-macro2 1.0.66",
+ "syn 1.0.109",
+]
+
+[[package]]
+name = "prettyplease"
+version = "0.2.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ceca8aaf45b5c46ec7ed39fff75f57290368c1846d33d24a122ca81416ab058"
+checksum = "92139198957b410250d43fad93e630d956499a625c527eda65175c8680f83387"
dependencies = [
- "proc-macro2",
- "syn 2.0.28",
+ "proc-macro2 1.0.66",
+ "syn 2.0.26",
]
[[package]]
@@ -10576,9 +9408,8 @@ version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9f3486ccba82358b11a77516035647c34ba167dfa53312630de83b12bd4f3d66"
dependencies = [
- "fixed-hash",
+ "fixed-hash 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
"impl-codec",
- "impl-num-traits",
"impl-rlp",
"impl-serde",
"scale-info",
@@ -10618,8 +9449,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
dependencies = [
"proc-macro-error-attr",
- "proc-macro2",
- "quote",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
"syn 1.0.109",
"version_check",
]
@@ -10630,26 +9461,29 @@ version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
dependencies = [
- "proc-macro2",
- "quote",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
"version_check",
]
[[package]]
-name = "proc-macro-hack"
-version = "0.5.20+deprecated"
+name = "proc-macro-warning"
+version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068"
+checksum = "70550716265d1ec349c41f70dd4f964b4fd88394efe4405f0c1da679c4799a07"
+dependencies = [
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
+]
[[package]]
-name = "proc-macro-warning"
-version = "0.4.1"
+name = "proc-macro2"
+version = "0.4.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "70550716265d1ec349c41f70dd4f964b4fd88394efe4405f0c1da679c4799a07"
+checksum = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.28",
+ "unicode-xid 0.1.0",
]
[[package]]
@@ -10663,26 +9497,26 @@ dependencies = [
[[package]]
name = "prometheus"
-version = "0.13.0"
+version = "0.13.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b7f64969ffd5dd8f39bd57a68ac53c163a095ed9d0fb707146da1b27025a3504"
+checksum = "449811d15fbdf5ceb5c1144416066429cf82316e2ec8ce0c1f6f8a02e7bbcf8c"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
"fnv",
"lazy_static",
"memchr",
- "parking_lot 0.11.2",
+ "parking_lot 0.12.1",
"thiserror",
]
[[package]]
name = "prometheus-client"
-version = "0.21.2"
+version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3c99afa9a01501019ac3a14d71d9f94050346f55ca471ce90c799a15c58f61e2"
+checksum = "5d6fa99d535dd930d1249e6c79cb3c2915f9172a540fe2b02a4c8f9ca954721e"
dependencies = [
"dtoa",
- "itoa 1.0.4",
+ "itoa",
"parking_lot 0.12.1",
"prometheus-client-derive-encode",
]
@@ -10693,16 +9527,16 @@ version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72b6a5217beb0ad503ee7fa752d451c905113d70721b937126158f3106a48cc1"
dependencies = [
- "proc-macro2",
- "quote",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
"syn 1.0.109",
]
[[package]]
name = "prost"
-version = "0.11.0"
+version = "0.11.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "399c3c31cdec40583bb68f0b18403400d01ec4289c383aa047560439952c4dd7"
+checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd"
dependencies = [
"bytes",
"prost-derive",
@@ -10710,52 +9544,53 @@ dependencies = [
[[package]]
name = "prost-build"
-version = "0.11.1"
+version = "0.11.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7f835c582e6bd972ba8347313300219fed5bfa52caf175298d860b61ff6069bb"
+checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270"
dependencies = [
"bytes",
- "heck",
+ "heck 0.4.1",
"itertools",
"lazy_static",
"log",
"multimap",
"petgraph",
+ "prettyplease 0.1.25",
"prost",
"prost-types",
"regex",
+ "syn 1.0.109",
"tempfile",
"which",
]
[[package]]
name = "prost-derive"
-version = "0.11.0"
+version = "0.11.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7345d5f0e08c0536d7ac7229952590239e77abf0a0100a1b1d890add6ea96364"
+checksum = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4"
dependencies = [
"anyhow",
"itertools",
- "proc-macro2",
- "quote",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
"syn 1.0.109",
]
[[package]]
name = "prost-types"
-version = "0.11.1"
+version = "0.11.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4dfaa718ad76a44b3415e6c4d53b17c8f99160dcb3a99b10470fce8ad43f6e3e"
+checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13"
dependencies = [
- "bytes",
"prost",
]
[[package]]
name = "psm"
-version = "0.1.16"
+version = "0.1.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cd136ff4382c4753fc061cb9e4712ab2af263376b95bbd5bd8cd50c020b78e69"
+checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874"
dependencies = [
"cc",
]
@@ -10766,12 +9601,6 @@ version = "1.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0"
-[[package]]
-name = "quick-error"
-version = "2.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3"
-
[[package]]
name = "quick-protobuf"
version = "0.8.1"
@@ -10783,9 +9612,9 @@ dependencies = [
[[package]]
name = "quick-protobuf-codec"
-version = "0.2.0"
+version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8ededb1cd78531627244d51dd0c7139fbe736c7d57af0092a76f0ffb2f56e98"
+checksum = "1693116345026436eb2f10b677806169c1a1260c1c60eaaffe3fb5a29ae23d8b"
dependencies = [
"asynchronous-codec",
"bytes",
@@ -10805,13 +9634,40 @@ dependencies = [
"pin-project-lite 0.1.12",
]
+[[package]]
+name = "quinn-proto"
+version = "0.9.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "67c10f662eee9c94ddd7135043e544f3c82fa839a1e7b865911331961b53186c"
+dependencies = [
+ "bytes",
+ "rand 0.8.5",
+ "ring",
+ "rustc-hash",
+ "rustls 0.20.8",
+ "slab",
+ "thiserror",
+ "tinyvec",
+ "tracing",
+ "webpki 0.22.0",
+]
+
+[[package]]
+name = "quote"
+version = "0.6.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
+dependencies = [
+ "proc-macro2 0.4.30",
+]
+
[[package]]
name = "quote"
-version = "1.0.32"
+version = "1.0.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "50f3b39ccfb720540debaa0164757101c08ecb8d326b15358ce76a62c7e85965"
+checksum = "5fe8a65d69dd0808184ebb5f836ab526bb259db23c657efa38711b1072ee47f0"
dependencies = [
- "proc-macro2",
+ "proc-macro2 1.0.66",
]
[[package]]
@@ -10879,7 +9735,7 @@ version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
dependencies = [
- "getrandom 0.2.8",
+ "getrandom 0.2.10",
]
[[package]]
@@ -10928,11 +9784,56 @@ dependencies = [
"num_cpus",
]
+[[package]]
+name = "rbtag"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "72c64936fcc0b811890a9d90020f3df5cec9c604efde88af7db6a35d365132a3"
+dependencies = [
+ "rbtag_derive",
+]
+
+[[package]]
+name = "rbtag_derive"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b75511b710ccca8adbb211e04763bd8c78fed585b0ec188a20ed9b0dd95567c4"
+dependencies = [
+ "proc-macro2 0.4.30",
+ "quote 0.6.13",
+ "syn 0.15.44",
+]
+
+[[package]]
+name = "rcgen"
+version = "0.9.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6413f3de1edee53342e6138e75b56d32e7bc6e332b3bd62d497b1929d4cfbcdd"
+dependencies = [
+ "pem",
+ "ring",
+ "time 0.3.23",
+ "x509-parser 0.13.2",
+ "yasna",
+]
+
+[[package]]
+name = "rcgen"
+version = "0.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ffbe84efe2f38dea12e9bfc1f65377fdf03e53a18cb3b995faedf7934c7e785b"
+dependencies = [
+ "pem",
+ "ring",
+ "time 0.3.23",
+ "yasna",
+]
+
[[package]]
name = "redox_syscall"
-version = "0.2.10"
+version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8383f39639269cde97d255a32bdb68c047337295414940c68bdd30c2e13203ff"
+checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
dependencies = [
"bitflags 1.3.2",
]
@@ -10948,12 +9849,13 @@ dependencies = [
[[package]]
name = "redox_users"
-version = "0.4.0"
+version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "528532f3d801c87aec9def2add9ca802fe569e44a544afe633765267840abe64"
+checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b"
dependencies = [
- "getrandom 0.2.8",
- "redox_syscall 0.2.10",
+ "getrandom 0.2.10",
+ "redox_syscall 0.2.16",
+ "thiserror",
]
[[package]]
@@ -10970,63 +9872,352 @@ dependencies = [
]
[[package]]
-name = "ref-cast"
-version = "1.0.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "300f2a835d808734ee295d45007adacb9ebb29dd3ae2424acfa17930cae541da"
+name = "ref-cast"
+version = "1.0.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1641819477c319ef452a075ac34a4be92eb9ba09f6841f62d594d50fdcf0bf6b"
+dependencies = [
+ "ref-cast-impl",
+]
+
+[[package]]
+name = "ref-cast-impl"
+version = "1.0.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "68bf53dad9b6086826722cdc99140793afd9f62faa14a1ad07eb4f955e7a7216"
+dependencies = [
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
+]
+
+[[package]]
+name = "regalloc2"
+version = "0.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "80535183cae11b149d618fbd3c37e38d7cda589d82d7769e196ca9a9042d7621"
+dependencies = [
+ "fxhash",
+ "log",
+ "slice-group-by",
+ "smallvec",
+]
+
+[[package]]
+name = "regex"
+version = "1.9.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b2eae68fc220f7cf2532e4494aded17545fce192d59cd996e0fe7887f4ceb575"
+dependencies = [
+ "aho-corasick",
+ "memchr",
+ "regex-automata 0.3.3",
+ "regex-syntax 0.7.4",
+]
+
+[[package]]
+name = "regex-automata"
+version = "0.1.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
+dependencies = [
+ "regex-syntax 0.6.29",
+]
+
+[[package]]
+name = "regex-automata"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "39354c10dd07468c2e73926b23bb9c2caca74c5501e38a35da70406f1d923310"
+dependencies = [
+ "aho-corasick",
+ "memchr",
+ "regex-syntax 0.7.4",
+]
+
+[[package]]
+name = "regex-syntax"
+version = "0.6.29"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1"
+
+[[package]]
+name = "regex-syntax"
+version = "0.7.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2"
+
+[[package]]
+name = "relay-bridge-hub-kusama-client"
+version = "0.1.0"
+dependencies = [
+ "bp-bridge-hub-kusama",
+ "bp-bridge-hub-polkadot",
+ "bp-header-chain",
+ "bp-messages",
+ "bp-parachains",
+ "bp-polkadot",
+ "bp-runtime",
+ "bridge-runtime-common",
+ "parity-scale-codec",
+ "relay-substrate-client",
+ "scale-info",
+ "sp-core",
+ "sp-runtime",
+]
+
+[[package]]
+name = "relay-bridge-hub-polkadot-client"
+version = "0.1.0"
+dependencies = [
+ "bp-bridge-hub-kusama",
+ "bp-bridge-hub-polkadot",
+ "bp-header-chain",
+ "bp-kusama",
+ "bp-messages",
+ "bp-parachains",
+ "bp-polkadot-core",
+ "bp-runtime",
+ "bridge-runtime-common",
+ "parity-scale-codec",
+ "relay-substrate-client",
+ "scale-info",
+ "sp-consensus-grandpa",
+ "sp-core",
+ "sp-runtime",
+]
+
+[[package]]
+name = "relay-bridge-hub-rococo-client"
+version = "0.1.0"
+dependencies = [
+ "bp-bridge-hub-rococo",
+ "bp-bridge-hub-wococo",
+ "bp-header-chain",
+ "bp-messages",
+ "bp-parachains",
+ "bp-polkadot-core",
+ "bp-runtime",
+ "bp-wococo",
+ "bridge-runtime-common",
+ "parity-scale-codec",
+ "relay-substrate-client",
+ "scale-info",
+ "sp-core",
+ "sp-runtime",
+ "sp-weights",
+ "subxt",
+]
+
+[[package]]
+name = "relay-bridge-hub-wococo-client"
+version = "0.1.0"
+dependencies = [
+ "bp-bridge-hub-rococo",
+ "bp-bridge-hub-wococo",
+ "bp-header-chain",
+ "bp-messages",
+ "bp-parachains",
+ "bp-polkadot-core",
+ "bp-rococo",
+ "bp-runtime",
+ "bridge-runtime-common",
+ "parity-scale-codec",
+ "relay-bridge-hub-rococo-client",
+ "relay-substrate-client",
+ "scale-info",
+ "sp-consensus-grandpa",
+ "sp-core",
+ "sp-runtime",
+ "sp-weights",
+ "subxt",
+]
+
+[[package]]
+name = "relay-kusama-client"
+version = "0.1.0"
+dependencies = [
+ "bp-kusama",
+ "bp-runtime",
+ "relay-substrate-client",
+ "relay-utils",
+ "sp-core",
+ "sp-session",
+]
+
+[[package]]
+name = "relay-millau-client"
+version = "0.1.0"
+dependencies = [
+ "bp-messages",
+ "bp-millau",
+ "bp-runtime",
+ "frame-support",
+ "frame-system",
+ "millau-runtime",
+ "pallet-transaction-payment",
+ "parity-scale-codec",
+ "relay-substrate-client",
+ "relay-utils",
+ "sp-core",
+ "sp-runtime",
+ "sp-session",
+]
+
+[[package]]
+name = "relay-polkadot-client"
+version = "0.1.0"
+dependencies = [
+ "bp-polkadot",
+ "bp-runtime",
+ "relay-substrate-client",
+ "relay-utils",
+ "sp-core",
+ "sp-session",
+]
+
+[[package]]
+name = "relay-rialto-client"
+version = "0.1.0"
+dependencies = [
+ "bp-messages",
+ "bp-rialto",
+ "bp-runtime",
+ "frame-support",
+ "frame-system",
+ "pallet-transaction-payment",
+ "parity-scale-codec",
+ "relay-substrate-client",
+ "relay-utils",
+ "rialto-runtime",
+ "sp-core",
+ "sp-runtime",
+ "sp-session",
+]
+
+[[package]]
+name = "relay-rialto-parachain-client"
+version = "0.1.0"
+dependencies = [
+ "bp-bridge-hub-cumulus",
+ "bp-header-chain",
+ "bp-messages",
+ "bp-millau",
+ "bp-polkadot-core",
+ "bp-rialto-parachain",
+ "bp-runtime",
+ "bridge-runtime-common",
+ "parity-scale-codec",
+ "relay-substrate-client",
+ "scale-info",
+ "sp-core",
+ "sp-runtime",
+ "sp-weights",
+ "subxt",
+]
+
+[[package]]
+name = "relay-rococo-client"
+version = "0.1.0"
dependencies = [
- "ref-cast-impl",
+ "bp-rococo",
+ "bp-runtime",
+ "relay-substrate-client",
+ "relay-utils",
+ "sp-core",
+ "sp-session",
]
[[package]]
-name = "ref-cast-impl"
-version = "1.0.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c38e3aecd2b21cb3959637b883bb3714bc7e43f0268b9a29d3743ee3e55cdd2"
+name = "relay-substrate-client"
+version = "0.1.0"
dependencies = [
- "proc-macro2",
- "quote",
- "syn 1.0.109",
+ "async-std",
+ "async-trait",
+ "bp-header-chain",
+ "bp-messages",
+ "bp-polkadot-core",
+ "bp-runtime",
+ "finality-relay",
+ "frame-support",
+ "frame-system",
+ "futures",
+ "jsonrpsee 0.17.1",
+ "log",
+ "num-traits",
+ "pallet-balances",
+ "pallet-bridge-messages",
+ "pallet-transaction-payment",
+ "pallet-transaction-payment-rpc-runtime-api",
+ "pallet-utility",
+ "parity-scale-codec",
+ "rand 0.8.5",
+ "relay-utils",
+ "sc-chain-spec",
+ "sc-rpc-api",
+ "sc-transaction-pool-api",
+ "scale-info",
+ "sp-consensus-grandpa",
+ "sp-core",
+ "sp-rpc",
+ "sp-runtime",
+ "sp-std 8.0.0",
+ "sp-trie",
+ "sp-version",
+ "thiserror",
+ "tokio",
+ "xcm",
]
[[package]]
-name = "regalloc2"
-version = "0.6.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "80535183cae11b149d618fbd3c37e38d7cda589d82d7769e196ca9a9042d7621"
+name = "relay-utils"
+version = "0.1.0"
dependencies = [
- "fxhash",
+ "ansi_term",
+ "anyhow",
+ "async-std",
+ "async-trait",
+ "backoff",
+ "bp-runtime",
+ "env_logger",
+ "futures",
+ "isahc",
+ "jsonpath_lib",
"log",
- "slice-group-by",
- "smallvec",
+ "num-traits",
+ "serde_json",
+ "sp-runtime",
+ "substrate-prometheus-endpoint",
+ "sysinfo",
+ "thiserror",
+ "time 0.3.23",
+ "tokio",
]
[[package]]
-name = "regex"
-version = "1.6.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b"
+name = "relay-westend-client"
+version = "0.1.0"
dependencies = [
- "aho-corasick",
- "memchr",
- "regex-syntax",
+ "bp-runtime",
+ "bp-westend",
+ "relay-substrate-client",
+ "relay-utils",
+ "sp-core",
+ "sp-session",
]
[[package]]
-name = "regex-automata"
-version = "0.1.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
+name = "relay-wococo-client"
+version = "0.1.0"
dependencies = [
- "regex-syntax",
+ "bp-runtime",
+ "bp-wococo",
+ "relay-substrate-client",
+ "relay-utils",
+ "sp-core",
+ "sp-session",
]
-[[package]]
-name = "regex-syntax"
-version = "0.6.27"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244"
-
[[package]]
name = "resolv-conf"
version = "0.7.0"
@@ -11034,130 +10225,269 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "52e44394d2086d010551b14b53b1f24e31647570cd1deb0379e2c21b329aba00"
dependencies = [
"hostname",
- "quick-error 1.2.3",
+ "quick-error",
]
[[package]]
name = "rfc6979"
-version = "0.4.0"
+version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2"
+checksum = "7743f17af12fa0b03b803ba12cd6a8d9483a587e89c69445e3909655c0b9fabb"
dependencies = [
+ "crypto-bigint 0.4.9",
"hmac 0.12.1",
- "subtle",
-]
-
-[[package]]
-name = "ring"
-version = "0.1.0"
-source = "git+https://github.com/w3f/ring-proof#0e948f3c28cbacecdd3020403c4841c0eb339213"
-dependencies = [
- "ark-ec",
- "ark-ff",
- "ark-poly",
- "ark-serialize",
- "ark-std",
- "common",
- "fflonk",
- "merlin 3.0.0",
-]
-
-[[package]]
-name = "ring"
-version = "0.16.20"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc"
-dependencies = [
- "cc",
- "libc",
- "once_cell",
- "spin 0.5.2",
- "untrusted",
- "web-sys",
- "winapi",
+ "zeroize",
]
[[package]]
-name = "ripemd"
-version = "0.1.3"
+name = "rfc6979"
+version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bd124222d17ad93a644ed9d011a40f4fb64aa54275c08cc216524a9ea82fb09f"
+checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2"
dependencies = [
- "digest 0.10.7",
+ "hmac 0.12.1",
+ "subtle",
]
[[package]]
-name = "rlp"
-version = "0.5.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bb919243f34364b6bd2fc10ef797edbfa75f33c252e7998527479c6d6b47e1ec"
+name = "rialto-bridge-node"
+version = "0.1.0"
dependencies = [
- "bytes",
- "rustc-hex",
+ "clap 4.3.16",
+ "frame-benchmarking",
+ "frame-benchmarking-cli",
+ "frame-support",
+ "node-inspect",
+ "polkadot-node-core-pvf",
+ "polkadot-primitives",
+ "polkadot-runtime-parachains",
+ "polkadot-service",
+ "rialto-runtime",
+ "sc-cli",
+ "sc-executor",
+ "sc-service",
+ "serde_json",
+ "sp-authority-discovery",
+ "sp-consensus-babe",
+ "sp-consensus-beefy",
+ "sp-consensus-grandpa",
+ "sp-core",
+ "sp-runtime",
+ "substrate-build-script-utils",
]
[[package]]
-name = "rocksdb"
-version = "0.21.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bb6f170a4041d50a0ce04b0d2e14916d6ca863ea2e422689a5b694395d299ffe"
+name = "rialto-parachain-collator"
+version = "0.1.0"
dependencies = [
- "libc",
- "librocksdb-sys",
+ "clap 4.3.16",
+ "cumulus-client-cli",
+ "cumulus-client-consensus-aura",
+ "cumulus-client-consensus-common",
+ "cumulus-client-network",
+ "cumulus-client-service",
+ "cumulus-primitives-core",
+ "cumulus-primitives-parachain-inherent",
+ "cumulus-relay-chain-interface",
+ "frame-benchmarking",
+ "frame-benchmarking-cli",
+ "jsonrpsee 0.16.2",
+ "log",
+ "pallet-transaction-payment-rpc",
+ "parity-scale-codec",
+ "polkadot-cli",
+ "polkadot-primitives",
+ "polkadot-service",
+ "rialto-parachain-runtime",
+ "sc-basic-authorship",
+ "sc-chain-spec",
+ "sc-cli",
+ "sc-client-api",
+ "sc-consensus",
+ "sc-executor",
+ "sc-network",
+ "sc-network-sync",
+ "sc-rpc",
+ "sc-rpc-api",
+ "sc-service",
+ "sc-telemetry",
+ "sc-tracing",
+ "sc-transaction-pool",
+ "serde",
+ "sp-api",
+ "sp-block-builder",
+ "sp-consensus-aura",
+ "sp-core",
+ "sp-keystore",
+ "sp-offchain",
+ "sp-runtime",
+ "sp-session",
+ "sp-timestamp",
+ "sp-transaction-pool",
+ "substrate-build-script-utils",
+ "substrate-frame-rpc-system",
+ "substrate-prometheus-endpoint",
]
[[package]]
-name = "rococo-parachain-runtime"
+name = "rialto-parachain-runtime"
version = "0.1.0"
dependencies = [
+ "bp-header-chain",
+ "bp-messages",
+ "bp-millau",
+ "bp-relayers",
+ "bp-rialto-parachain",
+ "bp-runtime",
+ "bridge-runtime-common",
"cumulus-pallet-aura-ext",
"cumulus-pallet-dmp-queue",
"cumulus-pallet-parachain-system",
"cumulus-pallet-xcm",
"cumulus-pallet-xcmp-queue",
- "cumulus-ping",
"cumulus-primitives-core",
"cumulus-primitives-timestamp",
- "cumulus-primitives-utility",
"frame-benchmarking",
"frame-executive",
"frame-support",
"frame-system",
+ "frame-system-benchmarking",
"frame-system-rpc-runtime-api",
- "pallet-assets",
+ "hex-literal 0.4.1",
"pallet-aura",
"pallet-balances",
+ "pallet-bridge-grandpa",
+ "pallet-bridge-messages",
+ "pallet-bridge-relayers",
+ "pallet-sudo",
+ "pallet-timestamp",
+ "pallet-transaction-payment",
+ "pallet-transaction-payment-rpc-runtime-api",
+ "pallet-xcm",
+ "parachain-info",
+ "parity-scale-codec",
+ "polkadot-parachain",
+ "scale-info",
+ "sp-api",
+ "sp-block-builder",
+ "sp-consensus-aura",
+ "sp-core",
+ "sp-inherents",
+ "sp-io",
+ "sp-offchain",
+ "sp-runtime",
+ "sp-session",
+ "sp-std 8.0.0",
+ "sp-transaction-pool",
+ "sp-version",
+ "static_assertions",
+ "substrate-wasm-builder",
+ "xcm",
+ "xcm-builder",
+ "xcm-executor",
+]
+
+[[package]]
+name = "rialto-runtime"
+version = "0.1.0"
+dependencies = [
+ "bp-header-chain",
+ "bp-messages",
+ "bp-millau",
+ "bp-relayers",
+ "bp-rialto",
+ "bp-runtime",
+ "bridge-runtime-common",
+ "env_logger",
+ "frame-benchmarking",
+ "frame-executive",
+ "frame-support",
+ "frame-system",
+ "frame-system-rpc-runtime-api",
+ "pallet-authority-discovery",
+ "pallet-babe",
+ "pallet-balances",
+ "pallet-beefy",
+ "pallet-beefy-mmr",
+ "pallet-bridge-beefy",
+ "pallet-bridge-grandpa",
+ "pallet-bridge-messages",
+ "pallet-bridge-relayers",
+ "pallet-grandpa",
+ "pallet-message-queue",
+ "pallet-mmr",
+ "pallet-session",
+ "pallet-shift-session-manager",
"pallet-sudo",
"pallet-timestamp",
"pallet-transaction-payment",
"pallet-transaction-payment-rpc-runtime-api",
"pallet-xcm",
- "parachain-info",
- "parachains-common",
"parity-scale-codec",
- "polkadot-parachain",
+ "polkadot-primitives",
+ "polkadot-runtime-common",
+ "polkadot-runtime-parachains",
"scale-info",
"sp-api",
+ "sp-authority-discovery",
"sp-block-builder",
- "sp-consensus-aura",
+ "sp-consensus-babe",
+ "sp-consensus-beefy",
"sp-core",
"sp-inherents",
+ "sp-io",
"sp-offchain",
"sp-runtime",
"sp-session",
- "sp-std",
+ "sp-std 8.0.0",
"sp-transaction-pool",
"sp-version",
+ "static_assertions",
"substrate-wasm-builder",
"xcm",
"xcm-builder",
"xcm-executor",
]
+[[package]]
+name = "ring"
+version = "0.16.20"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc"
+dependencies = [
+ "cc",
+ "libc",
+ "once_cell",
+ "spin",
+ "untrusted",
+ "web-sys",
+ "winapi",
+]
+
+[[package]]
+name = "rlp"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bb919243f34364b6bd2fc10ef797edbfa75f33c252e7998527479c6d6b47e1ec"
+dependencies = [
+ "bytes",
+ "rustc-hex",
+]
+
+[[package]]
+name = "rocksdb"
+version = "0.21.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bb6f170a4041d50a0ce04b0d2e14916d6ca863ea2e422689a5b694395d299ffe"
+dependencies = [
+ "libc",
+ "librocksdb-sys",
+]
+
[[package]]
name = "rococo-runtime"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"binary-merkle-tree",
"frame-benchmarking",
@@ -11231,7 +10561,7 @@ dependencies = [
"sp-runtime",
"sp-session",
"sp-staking",
- "sp-std",
+ "sp-std 8.0.0",
"sp-transaction-pool",
"sp-version",
"static_assertions",
@@ -11244,7 +10574,7 @@ dependencies = [
[[package]]
name = "rococo-runtime-constants"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"frame-support",
"polkadot-primitives",
@@ -11257,14 +10587,26 @@ dependencies = [
[[package]]
name = "rpassword"
-version = "7.0.0"
+version = "7.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "26b763cb66df1c928432cc35053f8bd4cec3335d8559fc16010017d16b3c1680"
+checksum = "6678cf63ab3491898c0d021b493c94c9b221d91295294a2a5746eacbe5928322"
dependencies = [
"libc",
+ "rtoolbox",
"winapi",
]
+[[package]]
+name = "rtcp"
+version = "0.7.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1919efd6d4a6a85d13388f9487549bb8e359f17198cc03ffd72f79b553873691"
+dependencies = [
+ "bytes",
+ "thiserror",
+ "webrtc-util",
+]
+
[[package]]
name = "rtnetlink"
version = "0.10.1"
@@ -11275,16 +10617,40 @@ dependencies = [
"log",
"netlink-packet-route",
"netlink-proto",
- "nix 0.24.2",
+ "nix",
"thiserror",
"tokio",
]
+[[package]]
+name = "rtoolbox"
+version = "0.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "034e22c514f5c0cb8a10ff341b9b048b5ceb21591f31c8f44c43b960f9b3524a"
+dependencies = [
+ "libc",
+ "winapi",
+]
+
+[[package]]
+name = "rtp"
+version = "0.6.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a2a095411ff00eed7b12e4c6a118ba984d113e1079582570d56a5ee723f11f80"
+dependencies = [
+ "async-trait",
+ "bytes",
+ "rand 0.8.5",
+ "serde",
+ "thiserror",
+ "webrtc-util",
+]
+
[[package]]
name = "rustc-demangle"
-version = "0.1.21"
+version = "0.1.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342"
+checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76"
[[package]]
name = "rustc-hash"
@@ -11298,61 +10664,47 @@ version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6"
-[[package]]
-name = "rustc_version"
-version = "0.2.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a"
-dependencies = [
- "semver 0.9.0",
-]
-
[[package]]
name = "rustc_version"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366"
dependencies = [
- "semver 1.0.16",
+ "semver 1.0.18",
]
[[package]]
-name = "rustix"
-version = "0.35.13"
+name = "rusticata-macros"
+version = "4.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "727a1a6d65f786ec22df8a81ca3121107f235970dc1705ed681d3e6e8b9cd5f9"
+checksum = "faf0c4a6ece9950b9abdb62b1cfcf2a68b3b67a10ba445b3bb85be2a293d0632"
dependencies = [
- "bitflags 1.3.2",
- "errno 0.2.8",
- "io-lifetimes 0.7.5",
- "libc",
- "linux-raw-sys 0.0.46",
- "windows-sys 0.42.0",
+ "nom",
]
[[package]]
name = "rustix"
-version = "0.36.7"
+version = "0.36.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d4fdebc4b395b7fbb9ab11e462e20ed9051e7b16e42d24042c776eca0ac81b03"
+checksum = "c37f1bd5ef1b5422177b7646cba67430579cfe2ace80f284fee876bca52ad941"
dependencies = [
"bitflags 1.3.2",
- "errno 0.2.8",
- "io-lifetimes 1.0.11",
+ "errno",
+ "io-lifetimes",
"libc",
- "linux-raw-sys 0.1.3",
- "windows-sys 0.42.0",
+ "linux-raw-sys 0.1.4",
+ "windows-sys 0.45.0",
]
[[package]]
name = "rustix"
-version = "0.37.19"
+version = "0.37.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "acf8729d8542766f1b2cf77eb034d52f40d375bb8b615d0b147089946e16613d"
+checksum = "4d69718bf81c6127a49dc64e44a742e8bb9213c0ff8869a22c308f84c1d4ab06"
dependencies = [
"bitflags 1.3.2",
- "errno 0.3.1",
- "io-lifetimes 1.0.11",
+ "errno",
+ "io-lifetimes",
"libc",
"linux-raw-sys 0.3.8",
"windows-sys 0.48.0",
@@ -11365,7 +10717,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0a962918ea88d644592894bc6dc55acc6c0956488adcebbfb6e273506b7fd6e5"
dependencies = [
"bitflags 2.3.3",
- "errno 0.3.1",
+ "errno",
"libc",
"linux-raw-sys 0.4.3",
"windows-sys 0.48.0",
@@ -11373,33 +10725,46 @@ dependencies = [
[[package]]
name = "rustls"
-version = "0.20.7"
+version = "0.19.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7"
+dependencies = [
+ "base64 0.13.1",
+ "log",
+ "ring",
+ "sct 0.6.1",
+ "webpki 0.21.4",
+]
+
+[[package]]
+name = "rustls"
+version = "0.20.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "539a2bfe908f471bfa933876bd1eb6a19cf2176d375f82ef7f99530a40e48c2c"
+checksum = "fff78fc74d175294f4e83b28343315ffcfb114b156f0185e9741cb5570f50e2f"
dependencies = [
"log",
- "ring 0.16.20",
- "sct",
- "webpki",
+ "ring",
+ "sct 0.7.0",
+ "webpki 0.22.0",
]
[[package]]
name = "rustls"
-version = "0.21.1"
+version = "0.21.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c911ba11bc8433e811ce56fde130ccf32f5127cab0e0194e9c68c5a5b671791e"
+checksum = "79ea77c539259495ce8ca47f53e66ae0330a8819f67e23ac96ca02f50e7b7d36"
dependencies = [
"log",
- "ring 0.16.20",
+ "ring",
"rustls-webpki",
- "sct",
+ "sct 0.7.0",
]
[[package]]
name = "rustls-native-certs"
-version = "0.6.1"
+version = "0.6.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5ca9ebdfa27d3fc180e42879037b5338ab1c040c06affd00d8338598e7800943"
+checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00"
dependencies = [
"openssl-probe",
"rustls-pemfile",
@@ -11409,34 +10774,34 @@ dependencies = [
[[package]]
name = "rustls-pemfile"
-version = "0.2.1"
+version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5eebeaeb360c87bfb72e84abdb3447159c0eaececf1bef2aecd65a8be949d1c9"
+checksum = "2d3987094b1d07b653b7dfdc3f70ce9a1da9c51ac18c1b06b662e4f9a0e9f4b2"
dependencies = [
- "base64 0.13.0",
+ "base64 0.21.2",
]
[[package]]
name = "rustls-webpki"
-version = "0.100.1"
+version = "0.101.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d6207cd5ed3d8dca7816f8f3725513a34609c0c765bf652b8c3cb4cfd87db46b"
+checksum = "15f36a6828982f422756984e47912a7a51dcbc2a197aa791158f8ca61cd8204e"
dependencies = [
- "ring 0.16.20",
+ "ring",
"untrusted",
]
[[package]]
name = "rustversion"
-version = "1.0.12"
+version = "1.0.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4f3208ce4d8448b3f3e7d168a73f5e0c43a61e32930de3bceeccedb388b6bf06"
+checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4"
[[package]]
name = "rw-stream-sink"
-version = "0.4.0"
+version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d8c9026ff5d2f23da5e45bbc283f156383001bfb09c4e44256d02c1a685fe9a1"
+checksum = "26338f5e09bb721b85b135ea05af7767c90b52f6de4f087d4f4a3a9d64e7dc04"
dependencies = [
"futures",
"pin-project",
@@ -11445,24 +10810,15 @@ dependencies = [
[[package]]
name = "ryu"
-version = "1.0.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3c9613b5a66ab9ba26415184cfc41156594925a9cf3a2057e57f31ff145f6568"
-
-[[package]]
-name = "safe-mix"
-version = "1.0.1"
+version = "1.0.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6d3d055a2582e6b00ed7a31c1524040aa391092bf636328350813f3a0605215c"
-dependencies = [
- "rustc_version 0.2.3",
-]
+checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741"
[[package]]
name = "safe_arch"
-version = "0.6.0"
+version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "794821e4ccb0d9f979512f9c1973480123f9bd62a90d74ab0f9426fcf8f4a529"
+checksum = "f398075ce1e6a179b46f51bd88d0598b92b00d3551f1a2d4ac49e771b56ac354"
dependencies = [
"bytemuck",
]
@@ -11479,7 +10835,7 @@ dependencies = [
[[package]]
name = "sc-allocator"
version = "4.1.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"log",
"sp-core",
@@ -11490,7 +10846,7 @@ dependencies = [
[[package]]
name = "sc-authority-discovery"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"async-trait",
"futures",
@@ -11498,7 +10854,7 @@ dependencies = [
"ip_network",
"libp2p",
"log",
- "multihash-codetable",
+ "multihash",
"parity-scale-codec",
"prost",
"prost-build",
@@ -11518,7 +10874,7 @@ dependencies = [
[[package]]
name = "sc-basic-authorship"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"futures",
"futures-timer",
@@ -11541,7 +10897,7 @@ dependencies = [
[[package]]
name = "sc-block-builder"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"parity-scale-codec",
"sc-client-api",
@@ -11556,7 +10912,7 @@ dependencies = [
[[package]]
name = "sc-chain-spec"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"memmap2",
"sc-chain-spec-derive",
@@ -11575,22 +10931,22 @@ dependencies = [
[[package]]
name = "sc-chain-spec-derive"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"proc-macro-crate",
- "proc-macro2",
- "quote",
- "syn 2.0.28",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
name = "sc-cli"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"array-bytes",
"chrono",
- "clap",
+ "clap 4.3.16",
"fdlimit",
"futures",
"libp2p-identity",
@@ -11625,7 +10981,7 @@ dependencies = [
[[package]]
name = "sc-client-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"fnv",
"futures",
@@ -11651,7 +11007,7 @@ dependencies = [
[[package]]
name = "sc-client-db"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"hash-db",
"kvdb",
@@ -11677,7 +11033,7 @@ dependencies = [
[[package]]
name = "sc-consensus"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"async-trait",
"futures",
@@ -11702,7 +11058,7 @@ dependencies = [
[[package]]
name = "sc-consensus-aura"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"async-trait",
"futures",
@@ -11731,7 +11087,7 @@ dependencies = [
[[package]]
name = "sc-consensus-babe"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"async-trait",
"fork-tree",
@@ -11767,10 +11123,10 @@ dependencies = [
[[package]]
name = "sc-consensus-babe-rpc"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"futures",
- "jsonrpsee",
+ "jsonrpsee 0.16.2",
"sc-consensus-babe",
"sc-consensus-epochs",
"sc-rpc-api",
@@ -11789,7 +11145,7 @@ dependencies = [
[[package]]
name = "sc-consensus-beefy"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"array-bytes",
"async-channel",
@@ -11823,10 +11179,10 @@ dependencies = [
[[package]]
name = "sc-consensus-beefy-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"futures",
- "jsonrpsee",
+ "jsonrpsee 0.16.2",
"log",
"parity-scale-codec",
"parking_lot 0.12.1",
@@ -11842,7 +11198,7 @@ dependencies = [
[[package]]
name = "sc-consensus-epochs"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"fork-tree",
"parity-scale-codec",
@@ -11855,9 +11211,9 @@ dependencies = [
[[package]]
name = "sc-consensus-grandpa"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
- "ahash 0.8.2",
+ "ahash 0.8.3",
"array-bytes",
"async-trait",
"dyn-clone",
@@ -11896,11 +11252,11 @@ dependencies = [
[[package]]
name = "sc-consensus-grandpa-rpc"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"finality-grandpa",
"futures",
- "jsonrpsee",
+ "jsonrpsee 0.16.2",
"log",
"parity-scale-codec",
"sc-client-api",
@@ -11916,7 +11272,7 @@ dependencies = [
[[package]]
name = "sc-consensus-slots"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"async-trait",
"futures",
@@ -11939,7 +11295,7 @@ dependencies = [
[[package]]
name = "sc-executor"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"parity-scale-codec",
"parking_lot 0.12.1",
@@ -11961,25 +11317,25 @@ dependencies = [
[[package]]
name = "sc-executor-common"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"sc-allocator",
"sp-maybe-compressed-blob",
"sp-wasm-interface",
"thiserror",
- "wasm-instrument 0.3.0",
+ "wasm-instrument",
]
[[package]]
name = "sc-executor-wasmtime"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"anyhow",
- "cfg-if",
+ "cfg-if 1.0.0",
"libc",
"log",
- "rustix 0.36.7",
+ "rustix 0.36.15",
"sc-allocator",
"sc-executor-common",
"sp-runtime-interface",
@@ -11990,7 +11346,7 @@ dependencies = [
[[package]]
name = "sc-informant"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"ansi_term",
"futures",
@@ -12006,7 +11362,7 @@ dependencies = [
[[package]]
name = "sc-keystore"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"array-bytes",
"parking_lot 0.12.1",
@@ -12020,7 +11376,7 @@ dependencies = [
[[package]]
name = "sc-network"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"array-bytes",
"async-channel",
@@ -12033,7 +11389,6 @@ dependencies = [
"futures-timer",
"ip_network",
"libp2p",
- "libp2p-kad",
"linked_hash_set",
"log",
"mockall",
@@ -12055,7 +11410,6 @@ dependencies = [
"substrate-prometheus-endpoint",
"thiserror",
"unsigned-varint",
- "void",
"wasm-timer",
"zeroize",
]
@@ -12063,7 +11417,7 @@ dependencies = [
[[package]]
name = "sc-network-bitswap"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"async-channel",
"cid",
@@ -12083,7 +11437,7 @@ dependencies = [
[[package]]
name = "sc-network-common"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"async-trait",
"bitflags 1.3.2",
@@ -12100,14 +11454,13 @@ dependencies = [
[[package]]
name = "sc-network-gossip"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
- "ahash 0.8.2",
+ "ahash 0.8.3",
"futures",
"futures-timer",
- "libp2p-identity",
+ "libp2p",
"log",
- "multiaddr",
"sc-network",
"sc-network-common",
"schnellru",
@@ -12119,7 +11472,7 @@ dependencies = [
[[package]]
name = "sc-network-light"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"array-bytes",
"async-channel",
@@ -12140,7 +11493,7 @@ dependencies = [
[[package]]
name = "sc-network-sync"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"array-bytes",
"async-channel",
@@ -12174,7 +11527,7 @@ dependencies = [
[[package]]
name = "sc-network-transactions"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"array-bytes",
"futures",
@@ -12192,7 +11545,7 @@ dependencies = [
[[package]]
name = "sc-offchain"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"array-bytes",
"bytes",
@@ -12200,7 +11553,7 @@ dependencies = [
"futures",
"futures-timer",
"hyper",
- "hyper-rustls 0.24.0",
+ "hyper-rustls 0.24.1",
"libp2p",
"log",
"num_cpus",
@@ -12226,7 +11579,7 @@ dependencies = [
[[package]]
name = "sc-proposer-metrics"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"log",
"substrate-prometheus-endpoint",
@@ -12235,10 +11588,10 @@ dependencies = [
[[package]]
name = "sc-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"futures",
- "jsonrpsee",
+ "jsonrpsee 0.16.2",
"log",
"parity-scale-codec",
"parking_lot 0.12.1",
@@ -12266,9 +11619,9 @@ dependencies = [
[[package]]
name = "sc-rpc-api"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
- "jsonrpsee",
+ "jsonrpsee 0.16.2",
"parity-scale-codec",
"sc-chain-spec",
"sc-transaction-pool-api",
@@ -12285,10 +11638,10 @@ dependencies = [
[[package]]
name = "sc-rpc-server"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"http",
- "jsonrpsee",
+ "jsonrpsee 0.16.2",
"log",
"serde_json",
"substrate-prometheus-endpoint",
@@ -12300,20 +11653,19 @@ dependencies = [
[[package]]
name = "sc-rpc-spec-v2"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"array-bytes",
"futures",
"futures-util",
"hex",
- "jsonrpsee",
+ "jsonrpsee 0.16.2",
"log",
"parity-scale-codec",
"parking_lot 0.12.1",
"sc-chain-spec",
"sc-client-api",
"sc-transaction-pool-api",
- "sc-utils",
"serde",
"sp-api",
"sp-blockchain",
@@ -12327,14 +11679,14 @@ dependencies = [
[[package]]
name = "sc-service"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"async-trait",
"directories",
"exit-future",
"futures",
"futures-timer",
- "jsonrpsee",
+ "jsonrpsee 0.16.2",
"log",
"parity-scale-codec",
"parking_lot 0.12.1",
@@ -12391,7 +11743,7 @@ dependencies = [
[[package]]
name = "sc-state-db"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"log",
"parity-scale-codec",
@@ -12402,9 +11754,9 @@ dependencies = [
[[package]]
name = "sc-storage-monitor"
version = "0.1.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
- "clap",
+ "clap 4.3.16",
"fs4",
"log",
"sc-client-db",
@@ -12416,9 +11768,9 @@ dependencies = [
[[package]]
name = "sc-sync-state-rpc"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
- "jsonrpsee",
+ "jsonrpsee 0.16.2",
"parity-scale-codec",
"sc-chain-spec",
"sc-client-api",
@@ -12435,7 +11787,7 @@ dependencies = [
[[package]]
name = "sc-sysinfo"
version = "6.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"futures",
"libc",
@@ -12448,13 +11800,13 @@ dependencies = [
"serde_json",
"sp-core",
"sp-io",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "sc-telemetry"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"chrono",
"futures",
@@ -12473,7 +11825,7 @@ dependencies = [
[[package]]
name = "sc-tracing"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"ansi_term",
"atty",
@@ -12502,18 +11854,18 @@ dependencies = [
[[package]]
name = "sc-tracing-proc-macro"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"proc-macro-crate",
- "proc-macro2",
- "quote",
- "syn 2.0.28",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
name = "sc-transaction-pool"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"async-trait",
"futures",
@@ -12539,7 +11891,7 @@ dependencies = [
[[package]]
name = "sc-transaction-pool-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"async-trait",
"futures",
@@ -12555,7 +11907,7 @@ dependencies = [
[[package]]
name = "sc-utils"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"async-channel",
"futures",
@@ -12567,6 +11919,71 @@ dependencies = [
"sp-arithmetic",
]
+[[package]]
+name = "scale-bits"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8dd7aca73785181cc41f0bbe017263e682b585ca660540ba569133901d013ecf"
+dependencies = [
+ "parity-scale-codec",
+ "scale-info",
+ "serde",
+]
+
+[[package]]
+name = "scale-decode"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c7e5527e4b3bf079d4c0b2f253418598c380722ba37ef20fac9088081407f2b6"
+dependencies = [
+ "parity-scale-codec",
+ "primitive-types",
+ "scale-bits",
+ "scale-decode-derive",
+ "scale-info",
+ "thiserror",
+]
+
+[[package]]
+name = "scale-decode-derive"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b38741b2f78e4391b94eac6b102af0f6ea2b0f7fe65adb55d7f4004f507854db"
+dependencies = [
+ "darling",
+ "proc-macro-crate",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 1.0.109",
+]
+
+[[package]]
+name = "scale-encode"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "15546e5efbb45f0fc2291f7e202dee8623274c5d8bbfdf9c6886cc8b44a7ced3"
+dependencies = [
+ "parity-scale-codec",
+ "primitive-types",
+ "scale-bits",
+ "scale-encode-derive",
+ "scale-info",
+ "thiserror",
+]
+
+[[package]]
+name = "scale-encode-derive"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dd983cf0a9effd76138554ead18a6de542d1af175ac12fd5e91836c5c0268082"
+dependencies = [
+ "darling",
+ "proc-macro-crate",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 1.0.109",
+]
+
[[package]]
name = "scale-info"
version = "2.9.0"
@@ -12574,7 +11991,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "35c0a159d0c45c12b20c5a844feb1fe4bea86e28f17b92a5f0c42193634d3782"
dependencies = [
"bitvec",
- "cfg-if",
+ "cfg-if 1.0.0",
"derive_more",
"parity-scale-codec",
"scale-info-derive",
@@ -12588,19 +12005,36 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "912e55f6d20e0e80d63733872b40e1227c0bce1e1ab81ba67d696339bfd7fd29"
dependencies = [
"proc-macro-crate",
- "proc-macro2",
- "quote",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
"syn 1.0.109",
]
+[[package]]
+name = "scale-value"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "11f549769261561e6764218f847e500588f9a79a289de49ce92f9e26642a3574"
+dependencies = [
+ "either",
+ "frame-metadata 15.1.0",
+ "parity-scale-codec",
+ "scale-bits",
+ "scale-decode",
+ "scale-encode",
+ "scale-info",
+ "serde",
+ "thiserror",
+ "yap",
+]
+
[[package]]
name = "schannel"
-version = "0.1.19"
+version = "0.1.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f05ba609c234e60bee0d547fe94a4c7e9da733d1c962cf6e59efa4cd9c8bc75"
+checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88"
dependencies = [
- "lazy_static",
- "winapi",
+ "windows-sys 0.48.0",
]
[[package]]
@@ -12609,8 +12043,8 @@ version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d"
dependencies = [
- "ahash 0.8.2",
- "cfg-if",
+ "ahash 0.8.3",
+ "cfg-if 1.0.0",
"hashbrown 0.13.2",
]
@@ -12624,7 +12058,7 @@ dependencies = [
"arrayvec 0.5.2",
"curve25519-dalek 2.1.3",
"getrandom 0.1.16",
- "merlin 2.0.1",
+ "merlin",
"rand 0.7.3",
"rand_core 0.5.1",
"sha2 0.8.2",
@@ -12634,15 +12068,25 @@ dependencies = [
[[package]]
name = "scopeguard"
-version = "1.1.0"
+version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
+checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
[[package]]
name = "scratch"
-version = "1.0.2"
+version = "1.0.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a3cf7c11c38cb994f3d40e8a8cde3bbd1f72a435e4c49e85d6553d8312306152"
+
+[[package]]
+name = "sct"
+version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9c8132065adcfd6e02db789d9285a0deb2f3fcb04002865ab67d5fb103533898"
+checksum = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce"
+dependencies = [
+ "ring",
+ "untrusted",
+]
[[package]]
name = "sct"
@@ -12650,38 +12094,64 @@ version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4"
dependencies = [
- "ring 0.16.20",
+ "ring",
"untrusted",
]
+[[package]]
+name = "sdp"
+version = "0.5.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4d22a5ef407871893fd72b4562ee15e4742269b173959db4b8df6f538c414e13"
+dependencies = [
+ "rand 0.8.5",
+ "substring",
+ "thiserror",
+ "url",
+]
+
[[package]]
name = "sec1"
-version = "0.7.1"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3be24c1842290c45df0a7bf069e0c268a747ad05a192f2fd7dcfdbc1cba40928"
+dependencies = [
+ "base16ct 0.1.1",
+ "der 0.6.1",
+ "generic-array 0.14.7",
+ "pkcs8 0.9.0",
+ "subtle",
+ "zeroize",
+]
+
+[[package]]
+name = "sec1"
+version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "48518a2b5775ba8ca5b46596aae011caa431e6ce7e4a67ead66d92f08884220e"
+checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc"
dependencies = [
- "base16ct",
- "der",
- "generic-array 0.14.6",
- "pkcs8",
+ "base16ct 0.2.0",
+ "der 0.7.7",
+ "generic-array 0.14.7",
+ "pkcs8 0.10.2",
"subtle",
"zeroize",
]
[[package]]
name = "secp256k1"
-version = "0.24.2"
+version = "0.24.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d9512ffd81e3a3503ed401f79c33168b9148c75038956039166cd750eaa037c3"
+checksum = "6b1629c9c557ef9b293568b338dddfc8208c98a18c59d722a9d53f859d9c9b62"
dependencies = [
"secp256k1-sys",
]
[[package]]
name = "secp256k1-sys"
-version = "0.6.0"
+version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7058dc8eaf3f2810d7828680320acda0b25a288f6d288e19278e249bbf74226b"
+checksum = "83080e2c2fc1006e625be82e5d1eb6a43b7fd9578b617fcc55814daf286bba4b"
dependencies = [
"cc",
]
@@ -12696,80 +12166,42 @@ dependencies = [
]
[[package]]
-name = "security-framework"
-version = "2.4.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "525bc1abfda2e1998d152c45cf13e696f76d0a4972310b22fac1658b05df7c87"
-dependencies = [
- "bitflags 1.3.2",
- "core-foundation",
- "core-foundation-sys",
- "libc",
- "security-framework-sys",
-]
-
-[[package]]
-name = "security-framework-sys"
-version = "2.4.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a9dd14d83160b528b7bfd66439110573efcfbe281b17fc2ca9f39f550d619c7e"
-dependencies = [
- "core-foundation-sys",
- "libc",
-]
-
-[[package]]
-name = "seedling-runtime"
-version = "0.1.0"
-dependencies = [
- "cumulus-pallet-parachain-system",
- "cumulus-pallet-solo-to-para",
- "cumulus-primitives-core",
- "frame-executive",
- "frame-support",
- "frame-system",
- "pallet-balances",
- "pallet-sudo",
- "parachain-info",
- "parachains-common",
- "parity-scale-codec",
- "scale-info",
- "sp-api",
- "sp-block-builder",
- "sp-core",
- "sp-inherents",
- "sp-offchain",
- "sp-runtime",
- "sp-session",
- "sp-std",
- "sp-transaction-pool",
- "sp-version",
- "substrate-wasm-builder",
+name = "security-framework"
+version = "2.9.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1fc758eb7bffce5b308734e9b0c1468893cae9ff70ebf13e7090be8dcbcc83a8"
+dependencies = [
+ "bitflags 1.3.2",
+ "core-foundation",
+ "core-foundation-sys",
+ "libc",
+ "security-framework-sys",
]
[[package]]
-name = "semver"
-version = "0.6.0"
+name = "security-framework-sys"
+version = "2.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7a3186ec9e65071a2095434b1f5bb24838d4e8e130f584c790f6033c79943537"
+checksum = "f51d0c0d83bec45f16480d0ce0058397a69e48fcdc52d1dc8855fb68acbd31a7"
dependencies = [
- "semver-parser",
+ "core-foundation-sys",
+ "libc",
]
[[package]]
name = "semver"
-version = "0.9.0"
+version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403"
+checksum = "7a3186ec9e65071a2095434b1f5bb24838d4e8e130f584c790f6033c79943537"
dependencies = [
"semver-parser",
]
[[package]]
name = "semver"
-version = "1.0.16"
+version = "1.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "58bc9567378fc7690d6b2addae4e60ac2eeea07becb2c64b9f218b53865cba2a"
+checksum = "b0293b4b29daaf487284529cc2f5675b8e57c61f70167ba415a463651fd6a918"
dependencies = [
"serde",
]
@@ -12780,39 +12212,34 @@ version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
-[[package]]
-name = "send_wrapper"
-version = "0.6.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73"
-
[[package]]
name = "serde"
-version = "1.0.183"
+version = "1.0.171"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32ac8da02677876d532745a130fc9d8e6edfa81a269b107c5b00829b91d8eb3c"
+checksum = "30e27d1e4fd7659406c492fd6cfaf2066ba8773de45ca75e855590f856dc34a9"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.183"
+version = "1.0.171"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aafe972d60b0b9bee71a91b92fee2d4fb3c9d7e8f6b179aa99f27203d99a4816"
+checksum = "389894603bd18c46fa56231694f8d827779c0951a667087194cf9de94ed24682"
dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.28",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
name = "serde_json"
-version = "1.0.104"
+version = "1.0.103"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "076066c5f1078eac5b722a31827a8832fe108bed65dfa75e233c89f8206e976c"
+checksum = "d03b412469450d4404fe8499a268edd7f8b79fecb074b0d812ad64ca21f4031b"
dependencies = [
- "itoa 1.0.4",
+ "indexmap 2.0.0",
+ "itoa",
"ryu",
"serde",
]
@@ -12826,18 +12253,6 @@ dependencies = [
"serde",
]
-[[package]]
-name = "sha-1"
-version = "0.8.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f7d94d0bede923b3cea61f3f1ff57ff8cdfd77b400fb8f9998949e0cf04163df"
-dependencies = [
- "block-buffer 0.7.3",
- "digest 0.8.1",
- "fake-simd",
- "opaque-debug 0.2.3",
-]
-
[[package]]
name = "sha-1"
version = "0.9.8"
@@ -12845,19 +12260,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6"
dependencies = [
"block-buffer 0.9.0",
- "cfg-if",
+ "cfg-if 1.0.0",
"cpufeatures",
"digest 0.9.0",
"opaque-debug 0.3.0",
]
[[package]]
-name = "sha-1"
-version = "0.10.1"
+name = "sha1"
+version = "0.10.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c"
+checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
"cpufeatures",
"digest 0.10.7",
]
@@ -12876,12 +12291,12 @@ dependencies = [
[[package]]
name = "sha2"
-version = "0.9.8"
+version = "0.9.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b69f9a4c9740d74c5baa3fd2e547f9525fa8088a8a958e0ca2409a514e33f5fa"
+checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800"
dependencies = [
"block-buffer 0.9.0",
- "cfg-if",
+ "cfg-if 1.0.0",
"cpufeatures",
"digest 0.9.0",
"opaque-debug 0.3.0",
@@ -12893,16 +12308,16 @@ version = "0.10.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "479fb9d862239e610720565ca91403019f2f00410f1864c5aa7479b950a76ed8"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
"cpufeatures",
"digest 0.10.7",
]
[[package]]
name = "sha3"
-version = "0.10.6"
+version = "0.10.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bdf0c33fae925bdc080598b84bc15c55e7b9a4a43b3c704da051f977469691c9"
+checksum = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60"
dependencies = [
"digest 0.10.7",
"keccak",
@@ -12918,47 +12333,38 @@ dependencies = [
]
[[package]]
-name = "shell-runtime"
-version = "0.1.0"
+name = "shlex"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3"
+
+[[package]]
+name = "signal-hook"
+version = "0.3.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8621587d4798caf8eb44879d42e56b9a93ea5dcd315a6487c357130095b62801"
dependencies = [
- "cumulus-pallet-parachain-system",
- "cumulus-pallet-xcm",
- "cumulus-primitives-core",
- "frame-executive",
- "frame-support",
- "frame-system",
- "frame-try-runtime",
- "parachain-info",
- "parachains-common",
- "parity-scale-codec",
- "scale-info",
- "sp-api",
- "sp-block-builder",
- "sp-core",
- "sp-inherents",
- "sp-offchain",
- "sp-runtime",
- "sp-session",
- "sp-std",
- "sp-transaction-pool",
- "sp-version",
- "substrate-wasm-builder",
- "xcm",
- "xcm-builder",
- "xcm-executor",
+ "libc",
+ "signal-hook-registry",
]
[[package]]
-name = "shlex"
-version = "1.1.0"
+name = "signal-hook-async-std"
+version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3"
+checksum = "0c4aa94397e2023af5b7cff5b8d4785e935cfb77f0e4aab0cae3b26258ace556"
+dependencies = [
+ "async-io",
+ "futures-lite",
+ "libc",
+ "signal-hook",
+]
[[package]]
name = "signal-hook-registry"
-version = "1.4.0"
+version = "1.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e51e73328dc4ac0c7ccbda3a494dfa03df1de2f46018127f60c693f2648455b0"
+checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1"
dependencies = [
"libc",
]
@@ -12968,6 +12374,10 @@ name = "signature"
version = "1.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c"
+dependencies = [
+ "digest 0.10.7",
+ "rand_core 0.6.4",
+]
[[package]]
name = "signature"
@@ -12981,9 +12391,9 @@ dependencies = [
[[package]]
name = "simba"
-version = "0.8.0"
+version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "50582927ed6f77e4ac020c057f37a268fc6aebc29225050365aacbb9deeeddc4"
+checksum = "061507c94fc6ab4ba1c9a0305018408e312e17c041eb63bef8aa726fa33aceae"
dependencies = [
"approx",
"num-complex",
@@ -13000,26 +12410,29 @@ checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de"
[[package]]
name = "slab"
-version = "0.4.5"
+version = "0.4.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9def91fd1e018fe007022791f865d0ccc9b3a0d5001e01aabb8b40e46000afb5"
+checksum = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d"
+dependencies = [
+ "autocfg",
+]
[[package]]
name = "slice-group-by"
-version = "0.3.0"
+version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "03b634d87b960ab1a38c4fe143b508576f075e7c978bfad18217645ebfdfa2ec"
+checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7"
[[package]]
name = "slot-range-helper"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"enumn",
"parity-scale-codec",
"paste",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
@@ -13031,6 +12444,17 @@ dependencies = [
"version_check",
]
+[[package]]
+name = "sluice"
+version = "0.5.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6d7400c0eff44aa2fcb5e31a5f24ba9716ed90138769e4977a2ba6014ae63eb5"
+dependencies = [
+ "async-channel",
+ "futures-core",
+ "futures-io",
+]
+
[[package]]
name = "smallvec"
version = "1.11.0"
@@ -13039,9 +12463,9 @@ checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9"
[[package]]
name = "snap"
-version = "1.0.5"
+version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "45456094d1983e2ee2a18fdfebce3189fa451699d0502cb8e3b49dba5ba41451"
+checksum = "5e9f0ab6ef7eb7353d9119c170a436d1bf248eea575ac42d19d12f4e34130831"
[[package]]
name = "snow"
@@ -13054,8 +12478,8 @@ dependencies = [
"chacha20poly1305",
"curve25519-dalek 4.0.0-rc.1",
"rand_core 0.6.4",
- "ring 0.16.20",
- "rustc_version 0.4.0",
+ "ring",
+ "rustc_version",
"sha2 0.10.7",
"subtle",
]
@@ -13086,20 +12510,21 @@ version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "41d1c5305e39e09653383c2c7244f2f78b3bcae37cf50c64cb4789c9f5096ec2"
dependencies = [
- "base64 0.13.0",
+ "base64 0.13.1",
"bytes",
+ "flate2",
"futures",
"http",
"httparse",
"log",
"rand 0.8.5",
- "sha-1 0.9.8",
+ "sha-1",
]
[[package]]
name = "sp-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"hash-db",
"log",
@@ -13111,7 +12536,7 @@ dependencies = [
"sp-metadata-ir",
"sp-runtime",
"sp-state-machine",
- "sp-std",
+ "sp-std 8.0.0",
"sp-trie",
"sp-version",
"thiserror",
@@ -13120,72 +12545,72 @@ dependencies = [
[[package]]
name = "sp-api-proc-macro"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"Inflector",
"blake2",
"expander 2.0.0",
"proc-macro-crate",
- "proc-macro2",
- "quote",
- "syn 2.0.28",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
name = "sp-application-crypto"
version = "23.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"parity-scale-codec",
"scale-info",
"serde",
"sp-core",
"sp-io",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "sp-arithmetic"
version = "16.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"integer-sqrt",
"num-traits",
"parity-scale-codec",
"scale-info",
"serde",
- "sp-std",
+ "sp-std 8.0.0",
"static_assertions",
]
[[package]]
name = "sp-authority-discovery"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"parity-scale-codec",
"scale-info",
"sp-api",
"sp-application-crypto",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "sp-block-builder"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"sp-api",
"sp-inherents",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "sp-blockchain"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"futures",
"log",
@@ -13203,7 +12628,7 @@ dependencies = [
[[package]]
name = "sp-consensus"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"async-trait",
"futures",
@@ -13218,7 +12643,7 @@ dependencies = [
[[package]]
name = "sp-consensus-aura"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"async-trait",
"parity-scale-codec",
@@ -13228,14 +12653,14 @@ dependencies = [
"sp-consensus-slots",
"sp-inherents",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
"sp-timestamp",
]
[[package]]
name = "sp-consensus-babe"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"async-trait",
"parity-scale-codec",
@@ -13247,14 +12672,14 @@ dependencies = [
"sp-core",
"sp-inherents",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
"sp-timestamp",
]
[[package]]
name = "sp-consensus-beefy"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"lazy_static",
"parity-scale-codec",
@@ -13266,14 +12691,14 @@ dependencies = [
"sp-io",
"sp-mmr-primitives",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
"strum",
]
[[package]]
name = "sp-consensus-grandpa"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"finality-grandpa",
"log",
@@ -13285,33 +12710,31 @@ dependencies = [
"sp-core",
"sp-keystore",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "sp-consensus-slots"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"parity-scale-codec",
"scale-info",
"serde",
- "sp-std",
+ "sp-std 8.0.0",
"sp-timestamp",
]
[[package]]
name = "sp-core"
version = "21.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"array-bytes",
- "arrayvec 0.7.4",
- "bandersnatch_vrfs",
"bitflags 1.3.2",
"blake2",
"bounded-collections",
- "bs58 0.4.0",
+ "bs58",
"dyn-clonable",
"ed25519-zebra",
"futures",
@@ -13321,7 +12744,7 @@ dependencies = [
"lazy_static",
"libsecp256k1",
"log",
- "merlin 2.0.1",
+ "merlin",
"parity-scale-codec",
"parking_lot 0.12.1",
"paste",
@@ -13333,11 +12756,11 @@ dependencies = [
"secp256k1",
"secrecy",
"serde",
- "sp-core-hashing",
+ "sp-core-hashing 9.0.0",
"sp-debug-derive",
"sp-externalities",
"sp-runtime-interface",
- "sp-std",
+ "sp-std 8.0.0",
"sp-storage",
"ss58-registry",
"substrate-bip39",
@@ -13347,10 +12770,25 @@ dependencies = [
"zeroize",
]
+[[package]]
+name = "sp-core-hashing"
+version = "8.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "27449abdfbe41b473e625bce8113745e81d65777dd1d5a8462cf24137930dad8"
+dependencies = [
+ "blake2b_simd",
+ "byteorder",
+ "digest 0.10.7",
+ "sha2 0.10.7",
+ "sha3",
+ "sp-std 7.0.0",
+ "twox-hash",
+]
+
[[package]]
name = "sp-core-hashing"
version = "9.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"blake2b_simd",
"byteorder",
@@ -13363,17 +12801,17 @@ dependencies = [
[[package]]
name = "sp-core-hashing-proc-macro"
version = "9.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
- "quote",
- "sp-core-hashing",
- "syn 2.0.28",
+ "quote 1.0.31",
+ "sp-core-hashing 9.0.0",
+ "syn 2.0.26",
]
[[package]]
name = "sp-database"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"kvdb",
"parking_lot 0.12.1",
@@ -13382,53 +12820,42 @@ dependencies = [
[[package]]
name = "sp-debug-derive"
version = "8.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.28",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
name = "sp-externalities"
version = "0.19.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"environmental",
"parity-scale-codec",
- "sp-std",
+ "sp-std 8.0.0",
"sp-storage",
]
-[[package]]
-name = "sp-genesis-builder"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
-dependencies = [
- "serde_json",
- "sp-api",
- "sp-runtime",
- "sp-std",
-]
-
[[package]]
name = "sp-inherents"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"async-trait",
"impl-trait-for-tuples",
"parity-scale-codec",
"scale-info",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
"thiserror",
]
[[package]]
name = "sp-io"
version = "23.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"bytes",
"ed25519",
@@ -13443,7 +12870,7 @@ dependencies = [
"sp-keystore",
"sp-runtime-interface",
"sp-state-machine",
- "sp-std",
+ "sp-std 8.0.0",
"sp-tracing",
"sp-trie",
"tracing",
@@ -13453,7 +12880,7 @@ dependencies = [
[[package]]
name = "sp-keyring"
version = "24.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"lazy_static",
"sp-core",
@@ -13464,7 +12891,7 @@ dependencies = [
[[package]]
name = "sp-keystore"
version = "0.27.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"parity-scale-codec",
"parking_lot 0.12.1",
@@ -13476,7 +12903,7 @@ dependencies = [
[[package]]
name = "sp-maybe-compressed-blob"
version = "4.1.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"thiserror",
"zstd 0.12.3+zstd.1.5.2",
@@ -13485,20 +12912,20 @@ dependencies = [
[[package]]
name = "sp-metadata-ir"
version = "0.1.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
- "frame-metadata",
+ "frame-metadata 16.0.0",
"parity-scale-codec",
"scale-info",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "sp-mmr-primitives"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
- "ckb-merkle-mountain-range",
+ "ckb-merkle-mountain-range 0.5.2",
"log",
"parity-scale-codec",
"scale-info",
@@ -13507,14 +12934,14 @@ dependencies = [
"sp-core",
"sp-debug-derive",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
"thiserror",
]
[[package]]
name = "sp-npos-elections"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -13522,13 +12949,13 @@ dependencies = [
"sp-arithmetic",
"sp-core",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "sp-offchain"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"sp-api",
"sp-core",
@@ -13538,7 +12965,7 @@ dependencies = [
[[package]]
name = "sp-panic-handler"
version = "8.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"backtrace",
"lazy_static",
@@ -13548,7 +12975,7 @@ dependencies = [
[[package]]
name = "sp-rpc"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"rustc-hash",
"serde",
@@ -13558,7 +12985,7 @@ dependencies = [
[[package]]
name = "sp-runtime"
version = "24.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"either",
"hash256-std-hasher",
@@ -13573,14 +13000,14 @@ dependencies = [
"sp-arithmetic",
"sp-core",
"sp-io",
- "sp-std",
+ "sp-std 8.0.0",
"sp-weights",
]
[[package]]
name = "sp-runtime-interface"
version = "17.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"bytes",
"impl-trait-for-tuples",
@@ -13588,7 +13015,7 @@ dependencies = [
"primitive-types",
"sp-externalities",
"sp-runtime-interface-proc-macro",
- "sp-std",
+ "sp-std 8.0.0",
"sp-storage",
"sp-tracing",
"sp-wasm-interface",
@@ -13598,19 +13025,19 @@ dependencies = [
[[package]]
name = "sp-runtime-interface-proc-macro"
version = "11.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"Inflector",
"proc-macro-crate",
- "proc-macro2",
- "quote",
- "syn 2.0.28",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
name = "sp-session"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -13619,13 +13046,13 @@ dependencies = [
"sp-keystore",
"sp-runtime",
"sp-staking",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "sp-staking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"impl-trait-for-tuples",
"parity-scale-codec",
@@ -13633,13 +13060,13 @@ dependencies = [
"serde",
"sp-core",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "sp-state-machine"
version = "0.28.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"hash-db",
"log",
@@ -13650,7 +13077,7 @@ dependencies = [
"sp-core",
"sp-externalities",
"sp-panic-handler",
- "sp-std",
+ "sp-std 8.0.0",
"sp-trie",
"thiserror",
"tracing",
@@ -13660,7 +13087,7 @@ dependencies = [
[[package]]
name = "sp-statement-store"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"aes-gcm 0.10.2",
"curve25519-dalek 3.2.0",
@@ -13676,49 +13103,55 @@ dependencies = [
"sp-externalities",
"sp-runtime",
"sp-runtime-interface",
- "sp-std",
+ "sp-std 8.0.0",
"thiserror",
"x25519-dalek 2.0.0-pre.1",
]
+[[package]]
+name = "sp-std"
+version = "7.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1de8eef39962b5b97478719c493bed2926cf70cb621005bbf68ebe58252ff986"
+
[[package]]
name = "sp-std"
version = "8.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
[[package]]
name = "sp-storage"
version = "13.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"impl-serde",
"parity-scale-codec",
"ref-cast",
"serde",
"sp-debug-derive",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
name = "sp-timestamp"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"async-trait",
"parity-scale-codec",
"sp-inherents",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
"thiserror",
]
[[package]]
name = "sp-tracing"
version = "10.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"parity-scale-codec",
- "sp-std",
+ "sp-std 8.0.0",
"tracing",
"tracing-core",
"tracing-subscriber",
@@ -13727,7 +13160,7 @@ dependencies = [
[[package]]
name = "sp-transaction-pool"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"sp-api",
"sp-runtime",
@@ -13736,7 +13169,7 @@ dependencies = [
[[package]]
name = "sp-transaction-storage-proof"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"async-trait",
"parity-scale-codec",
@@ -13744,16 +13177,16 @@ dependencies = [
"sp-core",
"sp-inherents",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
"sp-trie",
]
[[package]]
name = "sp-trie"
version = "22.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
- "ahash 0.8.2",
+ "ahash 0.8.3",
"hash-db",
"hashbrown 0.13.2",
"lazy_static",
@@ -13764,7 +13197,7 @@ dependencies = [
"scale-info",
"schnellru",
"sp-core",
- "sp-std",
+ "sp-std 8.0.0",
"thiserror",
"tracing",
"trie-db",
@@ -13774,7 +13207,7 @@ dependencies = [
[[package]]
name = "sp-version"
version = "22.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"impl-serde",
"parity-scale-codec",
@@ -13783,7 +13216,7 @@ dependencies = [
"serde",
"sp-core-hashing-proc-macro",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
"sp-version-proc-macro",
"thiserror",
]
@@ -13791,31 +13224,31 @@ dependencies = [
[[package]]
name = "sp-version-proc-macro"
version = "8.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"parity-scale-codec",
- "proc-macro2",
- "quote",
- "syn 2.0.28",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
name = "sp-wasm-interface"
version = "14.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"anyhow",
"impl-trait-for-tuples",
"log",
"parity-scale-codec",
- "sp-std",
+ "sp-std 8.0.0",
"wasmtime",
]
[[package]]
name = "sp-weights"
version = "20.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -13824,7 +13257,7 @@ dependencies = [
"sp-arithmetic",
"sp-core",
"sp-debug-derive",
- "sp-std",
+ "sp-std 8.0.0",
]
[[package]]
@@ -13833,12 +13266,6 @@ version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
-[[package]]
-name = "spin"
-version = "0.9.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7f6002a767bff9e83f8eeecf883ecb8011875a21ae8da43bffb817a57e78cc09"
-
[[package]]
name = "spinners"
version = "4.1.0"
@@ -13850,6 +13277,16 @@ dependencies = [
"strum",
]
+[[package]]
+name = "spki"
+version = "0.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "67cf02bbac7a337dc36e4f5a693db6c21e7863f45070f7064577eb4367a3212b"
+dependencies = [
+ "base64ct",
+ "der 0.6.1",
+]
+
[[package]]
name = "spki"
version = "0.7.2"
@@ -13857,22 +13294,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9d1e996ef02c474957d681f1b05213dfb0abab947b446a62d37770b23500184a"
dependencies = [
"base64ct",
- "der",
+ "der 0.7.7",
]
[[package]]
name = "ss58-registry"
-version = "1.34.0"
+version = "1.41.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "37a9821878e1f13aba383aa40a86fb1b33c7265774ec91e32563cb1dd1577496"
+checksum = "bfc443bad666016e012538782d9e3006213a7db43e9fb1dda91657dc06a6fa08"
dependencies = [
"Inflector",
"num-format",
- "proc-macro2",
- "quote",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
"serde",
"serde_json",
- "unicode-xid",
+ "unicode-xid 0.2.4",
]
[[package]]
@@ -13909,7 +13346,7 @@ dependencies = [
"cfg_aliases",
"libc",
"parking_lot 0.11.2",
- "parking_lot_core 0.8.5",
+ "parking_lot_core 0.8.6",
"static_init_macro 1.0.2",
"winapi",
]
@@ -13922,8 +13359,8 @@ checksum = "f2261c91034a1edc3fc4d1b80e89d82714faede0515c14a75da10cb941546bbf"
dependencies = [
"cfg_aliases",
"memchr",
- "proc-macro2",
- "quote",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
"syn 1.0.109",
]
@@ -13935,30 +13372,62 @@ checksum = "70a2595fc3aa78f2d0e45dd425b22282dd863273761cc77780914b2cf3003acf"
dependencies = [
"cfg_aliases",
"memchr",
- "proc-macro2",
- "quote",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
"syn 1.0.109",
]
[[package]]
-name = "strobe-rs"
-version = "0.8.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fabb238a1cccccfa4c4fb703670c0d157e1256c1ba695abf1b93bd2bb14bab2d"
+name = "storage-proof-fuzzer"
+version = "0.1.0"
dependencies = [
- "bitflags 1.3.2",
- "byteorder",
- "keccak",
- "subtle",
- "zeroize",
+ "bp-runtime",
+ "env_logger",
+ "honggfuzz",
+ "log",
+ "sp-core",
+ "sp-runtime",
+ "sp-state-machine",
+ "sp-std 8.0.0",
+ "sp-trie",
]
+[[package]]
+name = "strsim"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
+
[[package]]
name = "strsim"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
+[[package]]
+name = "structopt"
+version = "0.3.26"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0c6b5c64445ba8094a6ab0c3cd2ad323e07171012d9c98b0b15651daf1787a10"
+dependencies = [
+ "clap 2.34.0",
+ "lazy_static",
+ "structopt-derive",
+]
+
+[[package]]
+name = "structopt-derive"
+version = "0.4.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dcb5ae327f9cc13b68763b5749770cb9e048a99bd9dfdfa58d0cf05d5f64afe0"
+dependencies = [
+ "heck 0.3.3",
+ "proc-macro-error",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 1.0.109",
+]
+
[[package]]
name = "strum"
version = "0.24.1"
@@ -13970,17 +13439,36 @@ dependencies = [
[[package]]
name = "strum_macros"
-version = "0.24.0"
+version = "0.24.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6878079b17446e4d3eba6192bb0a2950d5b14f0ed8424b852310e5a94345d0ef"
+checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59"
dependencies = [
- "heck",
- "proc-macro2",
- "quote",
+ "heck 0.4.1",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
"rustversion",
"syn 1.0.109",
]
+[[package]]
+name = "stun"
+version = "0.4.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a7e94b1ec00bad60e6410e058b52f1c66de3dc5fe4d62d09b3e52bb7d3b73e25"
+dependencies = [
+ "base64 0.13.1",
+ "crc",
+ "lazy_static",
+ "md-5",
+ "rand 0.8.5",
+ "ring",
+ "subtle",
+ "thiserror",
+ "tokio",
+ "url",
+ "webrtc-util",
+]
+
[[package]]
name = "substrate-bip39"
version = "0.4.4"
@@ -13990,23 +13478,23 @@ dependencies = [
"hmac 0.11.0",
"pbkdf2 0.8.0",
"schnorrkel",
- "sha2 0.9.8",
+ "sha2 0.9.9",
"zeroize",
]
[[package]]
name = "substrate-build-script-utils"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
[[package]]
name = "substrate-frame-rpc-system"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"frame-system-rpc-runtime-api",
"futures",
- "jsonrpsee",
+ "jsonrpsee 0.16.2",
"log",
"parity-scale-codec",
"sc-rpc-api",
@@ -14016,27 +13504,138 @@ dependencies = [
"sp-blockchain",
"sp-core",
"sp-runtime",
-]
-
-[[package]]
-name = "substrate-prometheus-endpoint"
-version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
-dependencies = [
- "hyper",
- "log",
- "prometheus",
+]
+
+[[package]]
+name = "substrate-prometheus-endpoint"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
+dependencies = [
+ "hyper",
+ "log",
+ "prometheus",
+ "thiserror",
+ "tokio",
+]
+
+[[package]]
+name = "substrate-relay"
+version = "1.0.1"
+dependencies = [
+ "anyhow",
+ "async-std",
+ "async-trait",
+ "bp-header-chain",
+ "bp-messages",
+ "bp-millau",
+ "bp-parachains",
+ "bp-polkadot-core",
+ "bp-rialto",
+ "bp-rialto-parachain",
+ "bp-runtime",
+ "bp-test-utils",
+ "bridge-runtime-common",
+ "finality-grandpa",
+ "frame-support",
+ "futures",
+ "hex",
+ "hex-literal 0.4.1",
+ "log",
+ "millau-runtime",
+ "num-format",
+ "num-traits",
+ "pallet-bridge-parachains",
+ "parachains-relay",
+ "parity-scale-codec",
+ "polkadot-parachain",
+ "polkadot-primitives",
+ "polkadot-runtime-common",
+ "polkadot-runtime-parachains",
+ "rbtag",
+ "relay-bridge-hub-kusama-client",
+ "relay-bridge-hub-polkadot-client",
+ "relay-bridge-hub-rococo-client",
+ "relay-bridge-hub-wococo-client",
+ "relay-kusama-client",
+ "relay-millau-client",
+ "relay-polkadot-client",
+ "relay-rialto-client",
+ "relay-rialto-parachain-client",
+ "relay-rococo-client",
+ "relay-substrate-client",
+ "relay-utils",
+ "relay-westend-client",
+ "relay-wococo-client",
+ "rialto-parachain-runtime",
+ "rialto-runtime",
+ "signal-hook",
+ "signal-hook-async-std",
+ "sp-core",
+ "sp-keyring",
+ "sp-runtime",
+ "structopt",
+ "strum",
+ "substrate-relay-helper",
+ "tempfile",
+ "xcm",
+ "xcm-executor",
+]
+
+[[package]]
+name = "substrate-relay-helper"
+version = "0.1.0"
+dependencies = [
+ "anyhow",
+ "async-std",
+ "async-trait",
+ "bp-header-chain",
+ "bp-messages",
+ "bp-parachains",
+ "bp-polkadot-core",
+ "bp-relayers",
+ "bp-rialto",
+ "bp-rialto-parachain",
+ "bp-rococo",
+ "bp-runtime",
+ "bp-wococo",
+ "bridge-runtime-common",
+ "equivocation-detector",
+ "finality-grandpa",
+ "finality-relay",
+ "frame-support",
+ "frame-system",
+ "futures",
+ "hex",
+ "log",
+ "messages-relay",
+ "num-traits",
+ "pallet-balances",
+ "pallet-bridge-grandpa",
+ "pallet-bridge-messages",
+ "pallet-bridge-parachains",
+ "pallet-grandpa",
+ "pallet-transaction-payment",
+ "parachains-relay",
+ "parity-scale-codec",
+ "relay-rialto-client",
+ "relay-rococo-client",
+ "relay-substrate-client",
+ "relay-utils",
+ "relay-wococo-client",
+ "rialto-runtime",
+ "sp-consensus-grandpa",
+ "sp-core",
+ "sp-runtime",
"thiserror",
- "tokio",
]
[[package]]
name = "substrate-rpc-client"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"async-trait",
- "jsonrpsee",
+ "jsonrpsee 0.16.2",
"log",
"sc-rpc-api",
"serde",
@@ -14046,9 +13645,9 @@ dependencies = [
[[package]]
name = "substrate-state-trie-migration-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
- "jsonrpsee",
+ "jsonrpsee 0.16.2",
"parity-scale-codec",
"sc-client-api",
"sc-rpc-api",
@@ -14061,75 +13660,125 @@ dependencies = [
]
[[package]]
-name = "substrate-test-client"
-version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+name = "substrate-wasm-builder"
+version = "5.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
- "array-bytes",
- "async-trait",
+ "ansi_term",
+ "build-helper",
+ "cargo_metadata",
+ "filetime",
+ "parity-wasm",
+ "sp-maybe-compressed-blob",
+ "strum",
+ "tempfile",
+ "toml 0.7.6",
+ "walkdir",
+ "wasm-opt",
+]
+
+[[package]]
+name = "substring"
+version = "1.4.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "42ee6433ecef213b2e72f587ef64a2f5943e7cd16fbd82dbe8bc07486c534c86"
+dependencies = [
+ "autocfg",
+]
+
+[[package]]
+name = "subtle"
+version = "2.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601"
+
+[[package]]
+name = "subxt"
+version = "0.28.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "53b9c4ddefcb2d87eb18a6336f65635c29208f766d0deefaa2a1a19f7426a993"
+dependencies = [
+ "base58",
+ "blake2",
+ "derivative",
+ "either",
+ "frame-metadata 15.1.0",
"futures",
+ "getrandom 0.2.10",
+ "hex",
+ "impl-serde",
"parity-scale-codec",
- "sc-client-api",
- "sc-client-db",
- "sc-consensus",
- "sc-executor",
- "sc-offchain",
- "sc-service",
+ "parking_lot 0.12.1",
+ "primitive-types",
+ "scale-bits",
+ "scale-decode",
+ "scale-encode",
+ "scale-info",
+ "scale-value",
"serde",
"serde_json",
- "sp-blockchain",
- "sp-consensus",
- "sp-core",
- "sp-keyring",
- "sp-keystore",
- "sp-runtime",
- "sp-state-machine",
+ "sp-core-hashing 8.0.0",
+ "subxt-macro",
+ "subxt-metadata",
+ "thiserror",
+ "tracing",
]
[[package]]
-name = "substrate-test-utils"
-version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+name = "subxt-codegen"
+version = "0.28.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e924f41069e9273236398ff89662d6d336468a5d94faac812129d44547db0e7f"
dependencies = [
- "futures",
- "substrate-test-utils-derive",
+ "darling",
+ "frame-metadata 15.1.0",
+ "heck 0.4.1",
+ "hex",
+ "jsonrpsee 0.16.2",
+ "parity-scale-codec",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "scale-info",
+ "subxt-metadata",
+ "syn 1.0.109",
+ "thiserror",
"tokio",
]
[[package]]
-name = "substrate-test-utils-derive"
-version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+name = "subxt-macro"
+version = "0.28.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ced0b043a069ee039f8700d3dfda01be156e4229c82277c305bc8e79a7dd855d"
dependencies = [
- "proc-macro-crate",
- "proc-macro2",
- "quote",
- "syn 2.0.28",
+ "darling",
+ "proc-macro-error",
+ "subxt-codegen",
+ "syn 1.0.109",
]
[[package]]
-name = "substrate-wasm-builder"
-version = "5.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+name = "subxt-metadata"
+version = "0.28.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "18be3b8f4308fe7369ee1df66ae59c2eca79de20eab57b0f41c75736e843300f"
dependencies = [
- "ansi_term",
- "build-helper",
- "cargo_metadata",
- "filetime",
- "parity-wasm",
- "sp-maybe-compressed-blob",
- "strum",
- "tempfile",
- "toml 0.7.6",
- "walkdir",
- "wasm-opt",
+ "frame-metadata 15.1.0",
+ "parity-scale-codec",
+ "scale-info",
+ "sp-core-hashing 8.0.0",
]
[[package]]
-name = "subtle"
-version = "2.4.1"
+name = "syn"
+version = "0.15.44"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601"
+checksum = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
+dependencies = [
+ "proc-macro2 0.4.30",
+ "quote 0.6.13",
+ "unicode-xid 0.1.0",
+]
[[package]]
name = "syn"
@@ -14137,19 +13786,19 @@ version = "1.0.109"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
dependencies = [
- "proc-macro2",
- "quote",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
"unicode-ident",
]
[[package]]
name = "syn"
-version = "2.0.28"
+version = "2.0.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "04361975b3f5e348b2189d8dc55bc942f278b2d482a6a0365de5bdd62d351567"
+checksum = "45c3457aacde3c65315de5031ec191ce46604304d2446e803d71ade03308d970"
dependencies = [
- "proc-macro2",
- "quote",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
"unicode-ident",
]
@@ -14159,17 +13808,32 @@ version = "0.12.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f"
dependencies = [
- "proc-macro2",
- "quote",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
"syn 1.0.109",
- "unicode-xid",
+ "unicode-xid 0.2.4",
+]
+
+[[package]]
+name = "sysinfo"
+version = "0.29.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6b949f01f9c23823744b71e0060472ecbde578ef68cc2a9e46d114efd77c3034"
+dependencies = [
+ "cfg-if 1.0.0",
+ "core-foundation-sys",
+ "libc",
+ "ntapi",
+ "once_cell",
+ "rayon",
+ "winapi",
]
[[package]]
name = "system-configuration"
-version = "0.5.0"
+version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d75182f12f490e953596550b65ee31bda7c8e043d9386174b353bda50838c3fd"
+checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7"
dependencies = [
"bitflags 1.3.2",
"core-foundation",
@@ -14194,70 +13858,66 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
[[package]]
name = "target-lexicon"
-version = "0.12.5"
+version = "0.12.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9410d0f6853b1d94f0e519fb95df60f29d2c1eff2d921ffdf01a4c8a3b54f12d"
+checksum = "1d2faeef5759ab89935255b1a4cd98e0baf99d1085e37d36599c625dac49ae8e"
[[package]]
name = "tempfile"
-version = "3.7.0"
+version = "3.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5486094ee78b2e5038a6382ed7645bc084dc2ec433426ca4c3cb61e2007b8998"
+checksum = "31c0432476357e58790aaa47a8efb0c5138f137343f3b5f23bd36a27e3b0a6d6"
dependencies = [
- "cfg-if",
- "fastrand 2.0.0",
+ "autocfg",
+ "cfg-if 1.0.0",
+ "fastrand",
"redox_syscall 0.3.5",
- "rustix 0.38.4",
+ "rustix 0.37.23",
"windows-sys 0.48.0",
]
[[package]]
name = "termcolor"
-version = "1.1.2"
+version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2dfed899f0eb03f32ee8c6a0aabdb8a7949659e3466561fc0adf54e26d88c5f4"
+checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6"
dependencies = [
"winapi-util",
]
[[package]]
name = "termtree"
-version = "0.2.3"
+version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "13a4ec180a2de59b57434704ccfad967f789b12737738798fa08798cd5824c16"
+checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76"
[[package]]
-name = "test-runtime-constants"
-version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+name = "textwrap"
+version = "0.11.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
dependencies = [
- "frame-support",
- "polkadot-primitives",
- "polkadot-runtime-common",
- "smallvec",
- "sp-core",
- "sp-runtime",
- "sp-weights",
+ "unicode-width",
]
[[package]]
name = "thiserror"
-version = "1.0.44"
+version = "1.0.43"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "611040a08a0439f8248d1990b111c95baa9c704c805fa1f62104b39655fd7f90"
+checksum = "a35fc5b8971143ca348fa6df4f024d4d55264f3468c71ad1c2f365b0a4d58c42"
dependencies = [
"thiserror-impl",
]
[[package]]
name = "thiserror-impl"
-version = "1.0.44"
+version = "1.0.43"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "090198534930841fab3a5d1bb637cde49e339654e606195f8d9c76eeb081dc96"
+checksum = "463fe12d7993d3b327787537ce8dd4dfa058de32fc2b195ef3cde03dc4771e8f"
dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.28",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
@@ -14268,10 +13928,11 @@ checksum = "3bf63baf9f5039dadc247375c29eb13706706cfde997d0330d05aa63a77d8820"
[[package]]
name = "thread_local"
-version = "1.1.4"
+version = "1.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5516c27b78311c50bf42c071425c560ac799b11c30b31f87e3081965fe5e0180"
+checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152"
dependencies = [
+ "cfg-if 1.0.0",
"once_cell",
]
@@ -14310,26 +13971,54 @@ dependencies = [
[[package]]
name = "tikv-jemalloc-sys"
-version = "0.5.2+5.3.0-patched"
+version = "0.5.3+5.3.0-patched"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec45c14da997d0925c7835883e4d5c181f196fa142f8c19d7643d1e9af2592c3"
+checksum = "a678df20055b43e57ef8cddde41cdfda9a3c1a060b67f4c5836dfb1d78543ba8"
dependencies = [
"cc",
- "fs_extra",
"libc",
]
[[package]]
name = "time"
-version = "0.1.44"
+version = "0.1.45"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255"
+checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a"
dependencies = [
"libc",
"wasi 0.10.0+wasi-snapshot-preview1",
"winapi",
]
+[[package]]
+name = "time"
+version = "0.3.23"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "59e399c068f43a5d116fedaf73b203fa4f9c519f17e2b34f63221d3792f81446"
+dependencies = [
+ "itoa",
+ "libc",
+ "num_threads",
+ "serde",
+ "time-core",
+ "time-macros",
+]
+
+[[package]]
+name = "time-core"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb"
+
+[[package]]
+name = "time-macros"
+version = "0.2.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "96ba15a897f3c86766b757e5ac7221554c6750054d74d5b28844fce5fb36a6c4"
+dependencies = [
+ "time-core",
+]
+
[[package]]
name = "tiny-bip39"
version = "1.0.0"
@@ -14379,9 +14068,9 @@ dependencies = [
[[package]]
name = "tinyvec_macros"
-version = "0.1.0"
+version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
+checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
[[package]]
name = "tokio"
@@ -14396,7 +14085,7 @@ dependencies = [
"mio",
"num_cpus",
"parking_lot 0.12.1",
- "pin-project-lite 0.2.9",
+ "pin-project-lite 0.2.10",
"signal-hook-registry",
"socket2 0.4.9",
"tokio-macros",
@@ -14409,9 +14098,9 @@ version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e"
dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.28",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
@@ -14427,13 +14116,13 @@ dependencies = [
[[package]]
name = "tokio-rustls"
-version = "0.23.2"
+version = "0.23.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a27d5f2b839802bd8267fa19b0530f5a08b9c08cd417976be2a65d130fe1c11b"
+checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59"
dependencies = [
- "rustls 0.20.7",
+ "rustls 0.20.8",
"tokio",
- "webpki",
+ "webpki 0.22.0",
]
[[package]]
@@ -14442,42 +14131,42 @@ version = "0.24.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081"
dependencies = [
- "rustls 0.21.1",
+ "rustls 0.21.5",
"tokio",
]
[[package]]
name = "tokio-stream"
-version = "0.1.9"
+version = "0.1.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "df54d54117d6fdc4e4fea40fe1e4e566b3505700e148a6827e59b34b0d2600d9"
+checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842"
dependencies = [
"futures-core",
- "pin-project-lite 0.2.9",
+ "pin-project-lite 0.2.10",
"tokio",
"tokio-util",
]
[[package]]
name = "tokio-util"
-version = "0.7.1"
+version = "0.7.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0edfdeb067411dba2044da6d1cb2df793dd35add7888d73c16e3381ded401764"
+checksum = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d"
dependencies = [
"bytes",
"futures-core",
"futures-io",
"futures-sink",
- "pin-project-lite 0.2.9",
+ "pin-project-lite 0.2.10",
"tokio",
"tracing",
]
[[package]]
name = "toml"
-version = "0.5.10"
+version = "0.5.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1333c76748e868a4d9d1017b5ab53171dfd095f70c712fdb4653a406547f598f"
+checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234"
dependencies = [
"serde",
]
@@ -14505,9 +14194,9 @@ dependencies = [
[[package]]
name = "toml_edit"
-version = "0.19.12"
+version = "0.19.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c500344a19072298cd05a7224b3c0c629348b78692bf48466c5238656e315a78"
+checksum = "f8123f27e969974a3dfba720fdb560be359f57b44302d280ba72e76a74480e8a"
dependencies = [
"indexmap 2.0.0",
"serde",
@@ -14529,18 +14218,18 @@ dependencies = [
[[package]]
name = "tower-http"
-version = "0.4.0"
+version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5d1d42a9b3f3ec46ba828e8d376aec14592ea199f70a06a548587ecd1c4ab658"
+checksum = "7ac8060a61f8758a61562f6fb53ba3cbe1ca906f001df2e53cccddcdbee91e7c"
dependencies = [
- "bitflags 1.3.2",
+ "bitflags 2.3.3",
"bytes",
"futures-core",
"futures-util",
"http",
"http-body",
"http-range-header",
- "pin-project-lite 0.2.9",
+ "pin-project-lite 0.2.10",
"tower-layer",
"tower-service",
]
@@ -14553,9 +14242,9 @@ checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0"
[[package]]
name = "tower-service"
-version = "0.3.1"
+version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6"
+checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52"
[[package]]
name = "tracing"
@@ -14563,29 +14252,29 @@ version = "0.1.37"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
"log",
- "pin-project-lite 0.2.9",
+ "pin-project-lite 0.2.10",
"tracing-attributes",
"tracing-core",
]
[[package]]
name = "tracing-attributes"
-version = "0.1.23"
+version = "0.1.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4017f8f45139870ca7e672686113917c71c7a6e02d4924eda67186083c03081a"
+checksum = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab"
dependencies = [
- "proc-macro2",
- "quote",
- "syn 1.0.109",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
name = "tracing-core"
-version = "0.1.30"
+version = "0.1.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a"
+checksum = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a"
dependencies = [
"once_cell",
"valuable",
@@ -14604,7 +14293,7 @@ dependencies = [
[[package]]
name = "tracing-gum"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"coarsetime",
"polkadot-node-jaeger",
@@ -14616,13 +14305,13 @@ dependencies = [
[[package]]
name = "tracing-gum-proc-macro"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"expander 2.0.0",
"proc-macro-crate",
- "proc-macro2",
- "quote",
- "syn 2.0.28",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
@@ -14638,9 +14327,9 @@ dependencies = [
[[package]]
name = "tracing-serde"
-version = "0.1.2"
+version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fb65ea441fbb84f9f6748fd496cf7f63ec9af5bca94dd86456978d055e8eb28b"
+checksum = "bc6b213177105856957181934e4920de57730fc69bf42c37ee5bb664d406d9e1"
dependencies = [
"serde",
"tracing-core",
@@ -14698,7 +14387,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4f7f83d1e4a0e4358ac54c5c3681e5d7da5efc5a7a632c90bb6d6669ddd9bc26"
dependencies = [
"async-trait",
- "cfg-if",
+ "cfg-if 1.0.0",
"data-encoding",
"enum-as-inner",
"futures-channel",
@@ -14723,7 +14412,7 @@ version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aff21aa4dcefb0a1afbfac26deb0adc93888c7d295fb63ab273ef276ba2b7cfe"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
"futures-util",
"ipconfig",
"lazy_static",
@@ -14739,19 +14428,18 @@ dependencies = [
[[package]]
name = "try-lock"
-version = "0.2.3"
+version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642"
+checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed"
[[package]]
name = "try-runtime-cli"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=master#19eb56a3fc51140b269e339ecb7e9a4a378c26ff"
+source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9"
dependencies = [
"async-trait",
- "clap",
+ "clap 4.3.16",
"frame-remote-externalities",
- "frame-try-runtime",
"hex",
"log",
"parity-scale-codec",
@@ -14781,9 +14469,28 @@ dependencies = [
[[package]]
name = "tt-call"
-version = "1.0.8"
+version = "1.0.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f4f195fd851901624eee5a58c4bb2b4f06399148fcd0ed336e6f1cb60a9881df"
+
+[[package]]
+name = "turn"
+version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5e66dcbec4290c69dd03c57e76c2469ea5c7ce109c6dd4351c13055cf71ea055"
+checksum = "4712ee30d123ec7ae26d1e1b218395a16c87cdbaf4b3925d170d684af62ea5e8"
+dependencies = [
+ "async-trait",
+ "base64 0.13.1",
+ "futures",
+ "log",
+ "md-5",
+ "rand 0.8.5",
+ "ring",
+ "stun",
+ "thiserror",
+ "tokio",
+ "webrtc-util",
+]
[[package]]
name = "twox-hash"
@@ -14791,7 +14498,7 @@ version = "1.6.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
"digest 0.10.7",
"rand 0.8.5",
"static_assertions",
@@ -14799,15 +14506,15 @@ dependencies = [
[[package]]
name = "typenum"
-version = "1.14.0"
+version = "1.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b63708a265f51345575b27fe43f9500ad611579e764c79edbc2037b1121959ec"
+checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba"
[[package]]
name = "ucd-trie"
-version = "0.1.3"
+version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "56dee185309b50d1f11bfedef0fe6d036842e3fb77413abef29f8f8d1c5d4c1c"
+checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9"
[[package]]
name = "uint"
@@ -14829,9 +14536,9 @@ checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460"
[[package]]
name = "unicode-ident"
-version = "1.0.0"
+version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d22af068fba1eb5edcb4aea19d382b2a3deb4c8f9d475c589b6ada9e0fd493ee"
+checksum = "301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c"
[[package]]
name = "unicode-normalization"
@@ -14842,17 +14549,29 @@ dependencies = [
"tinyvec",
]
+[[package]]
+name = "unicode-segmentation"
+version = "1.10.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36"
+
[[package]]
name = "unicode-width"
-version = "0.1.9"
+version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973"
+checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b"
[[package]]
name = "unicode-xid"
-version = "0.2.2"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
+
+[[package]]
+name = "unicode-xid"
+version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3"
+checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c"
[[package]]
name = "universal-hash"
@@ -14860,7 +14579,7 @@ version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9f214e8f697e925001e66ec2c6e37a4ef93f0f78c2eed7814394e10c62025b05"
dependencies = [
- "generic-array 0.14.6",
+ "generic-array 0.14.7",
"subtle",
]
@@ -14909,18 +14628,39 @@ version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a"
+[[package]]
+name = "uuid"
+version = "1.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "79daa5ed5740825c40b389c5e50312b9c86df53fccd33f281df655642b43869d"
+dependencies = [
+ "getrandom 0.2.10",
+]
+
[[package]]
name = "valuable"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d"
+[[package]]
+name = "value-bag"
+version = "1.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d92ccd67fb88503048c01b59152a04effd0782d035a83a6d256ce6085f08f4a3"
+
[[package]]
name = "vcpkg"
version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
+[[package]]
+name = "vec_map"
+version = "0.8.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
+
[[package]]
name = "version_check"
version = "0.9.4"
@@ -14934,12 +14674,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d"
[[package]]
-name = "wait-timeout"
-version = "0.2.0"
+name = "waitgroup"
+version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6"
+checksum = "d1f50000a783467e6c0200f9d10642f4bc424e39efc1b770203e88b488f79292"
dependencies = [
- "libc",
+ "atomic-waker",
]
[[package]]
@@ -14950,22 +14690,20 @@ checksum = "9d5b2c62b4012a3e1eca5a7e077d13b3bf498c4073e33ccd58626607748ceeca"
[[package]]
name = "walkdir"
-version = "2.3.2"
+version = "2.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56"
+checksum = "36df944cda56c7d8d8b7496af378e6b16de9284591917d307c9b4d313c44e698"
dependencies = [
"same-file",
- "winapi",
"winapi-util",
]
[[package]]
name = "want"
-version = "0.3.0"
+version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0"
+checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e"
dependencies = [
- "log",
"try-lock",
]
@@ -14993,7 +14731,7 @@ version = "0.2.87"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
"wasm-bindgen-macro",
]
@@ -15006,9 +14744,9 @@ dependencies = [
"bumpalo",
"log",
"once_cell",
- "proc-macro2",
- "quote",
- "syn 2.0.28",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
"wasm-bindgen-shared",
]
@@ -15018,7 +14756,7 @@ version = "0.4.37"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c02dbc21516f9f1f04f187958890d7e6026df8d16540b7ad9492bc34a67cea03"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
"js-sys",
"wasm-bindgen",
"web-sys",
@@ -15030,7 +14768,7 @@ version = "0.2.87"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d"
dependencies = [
- "quote",
+ "quote 1.0.31",
"wasm-bindgen-macro-support",
]
@@ -15040,9 +14778,9 @@ version = "0.2.87"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b"
dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.28",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
"wasm-bindgen-backend",
"wasm-bindgen-shared",
]
@@ -15062,15 +14800,6 @@ dependencies = [
"parity-wasm",
]
-[[package]]
-name = "wasm-instrument"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2a47ecb37b9734d1085eaa5ae1a81e60801fd8c28d4cabdd8aedb982021918bc"
-dependencies = [
- "parity-wasm",
-]
-
[[package]]
name = "wasm-opt"
version = "0.112.0"
@@ -15123,39 +14852,7 @@ dependencies = [
"pin-utils",
"wasm-bindgen",
"wasm-bindgen-futures",
- "web-sys",
-]
-
-[[package]]
-name = "wasmi"
-version = "0.30.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e51fb5c61993e71158abf5bb863df2674ca3ec39ed6471c64f07aeaf751d67b4"
-dependencies = [
- "intx",
- "smallvec",
- "spin 0.9.4",
- "wasmi_arena",
- "wasmi_core",
- "wasmparser-nostd",
-]
-
-[[package]]
-name = "wasmi_arena"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "401c1f35e413fac1846d4843745589d9ec678977ab35a384db8ae7830525d468"
-
-[[package]]
-name = "wasmi_core"
-version = "0.12.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "624e6333e861ef49095d2d678b76ebf30b06bf37effca845be7e5b87c90071b7"
-dependencies = [
- "downcast-rs",
- "libm 0.2.1",
- "num-traits",
- "paste",
+ "web-sys",
]
[[package]]
@@ -15164,19 +14861,10 @@ version = "0.102.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "48134de3d7598219ab9eaf6b91b15d8e50d31da76b8519fe4ecfcec2cf35104b"
dependencies = [
- "indexmap 1.9.1",
+ "indexmap 1.9.3",
"url",
]
-[[package]]
-name = "wasmparser-nostd"
-version = "0.100.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9157cab83003221bfd385833ab587a039f5d6fa7304854042ba358a3b09e0724"
-dependencies = [
- "indexmap-nostd",
-]
-
[[package]]
name = "wasmtime"
version = "8.0.1"
@@ -15185,11 +14873,11 @@ checksum = "f907fdead3153cb9bfb7a93bbd5b62629472dc06dee83605358c64c52ed3dda9"
dependencies = [
"anyhow",
"bincode",
- "cfg-if",
- "indexmap 1.9.1",
+ "cfg-if 1.0.0",
+ "indexmap 1.9.3",
"libc",
"log",
- "object",
+ "object 0.30.4",
"once_cell",
"paste",
"psm",
@@ -15211,7 +14899,7 @@ version = "8.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d3b9daa7c14cd4fa3edbf69de994408d5f4b7b0959ac13fa69d465f6597f810d"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
]
[[package]]
@@ -15221,15 +14909,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c86437fa68626fe896e5afc69234bb2b5894949083586535f200385adfd71213"
dependencies = [
"anyhow",
- "base64 0.21.1",
+ "base64 0.21.2",
"bincode",
"directories-next",
"file-per-thread-logger",
"log",
- "rustix 0.36.7",
+ "rustix 0.36.15",
"serde",
"sha2 0.10.7",
- "toml 0.5.10",
+ "toml 0.5.11",
"windows-sys 0.45.0",
"zstd 0.11.2+zstd.1.5.2",
]
@@ -15248,7 +14936,7 @@ dependencies = [
"cranelift-wasm",
"gimli",
"log",
- "object",
+ "object 0.30.4",
"target-lexicon",
"thiserror",
"wasmparser",
@@ -15266,7 +14954,7 @@ dependencies = [
"cranelift-codegen",
"cranelift-native",
"gimli",
- "object",
+ "object 0.30.4",
"target-lexicon",
"wasmtime-environ",
]
@@ -15280,9 +14968,9 @@ dependencies = [
"anyhow",
"cranelift-entity",
"gimli",
- "indexmap 1.9.1",
+ "indexmap 1.9.3",
"log",
- "object",
+ "object 0.30.4",
"serde",
"target-lexicon",
"thiserror",
@@ -15296,14 +14984,14 @@ version = "8.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0de48df552cfca1c9b750002d3e07b45772dd033b0b206d5c0968496abf31244"
dependencies = [
- "addr2line",
+ "addr2line 0.19.0",
"anyhow",
"bincode",
- "cfg-if",
+ "cfg-if 1.0.0",
"cpp_demangle",
"gimli",
"log",
- "object",
+ "object 0.30.4",
"rustc-demangle",
"serde",
"target-lexicon",
@@ -15320,9 +15008,9 @@ version = "8.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6e0554b84c15a27d76281d06838aed94e13a77d7bf604bbbaf548aa20eb93846"
dependencies = [
- "object",
+ "object 0.30.4",
"once_cell",
- "rustix 0.36.7",
+ "rustix 0.36.15",
]
[[package]]
@@ -15331,7 +15019,7 @@ version = "8.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aecae978b13f7f67efb23bd827373ace4578f2137ec110bbf6a4a7cde4121bbd"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
"libc",
"windows-sys 0.45.0",
]
@@ -15344,8 +15032,8 @@ checksum = "658cf6f325232b6760e202e5255d823da5e348fdea827eff0a2a22319000b441"
dependencies = [
"anyhow",
"cc",
- "cfg-if",
- "indexmap 1.9.1",
+ "cfg-if 1.0.0",
+ "indexmap 1.9.3",
"libc",
"log",
"mach",
@@ -15353,7 +15041,7 @@ dependencies = [
"memoffset 0.8.0",
"paste",
"rand 0.8.5",
- "rustix 0.36.7",
+ "rustix 0.36.15",
"wasmtime-asm-macros",
"wasmtime-environ",
"wasmtime-jit-debug",
@@ -15374,55 +15062,256 @@ dependencies = [
[[package]]
name = "web-sys"
-version = "0.3.55"
+version = "0.3.64"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "38eb105f1c59d9eaa6b5cdc92b859d85b926e82cb2e0945cd0c9259faa6fe9fb"
+checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b"
dependencies = [
"js-sys",
"wasm-bindgen",
]
+[[package]]
+name = "webpki"
+version = "0.21.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea"
+dependencies = [
+ "ring",
+ "untrusted",
+]
+
[[package]]
name = "webpki"
version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f095d78192e208183081cc07bc5515ef55216397af48b873e5edcd72637fa1bd"
dependencies = [
- "ring 0.16.20",
+ "ring",
"untrusted",
]
[[package]]
name = "webpki-roots"
-version = "0.22.2"
+version = "0.22.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "552ceb903e957524388c4d3475725ff2c8b7960922063af6ce53c9a43da07449"
+checksum = "b6c71e40d7d2c34a5106301fb632274ca37242cd0c9d3e64dbece371a40a2d87"
dependencies = [
- "webpki",
+ "webpki 0.22.0",
]
[[package]]
-name = "webpki-roots"
-version = "0.23.1"
+name = "webrtc"
+version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b03058f88386e5ff5310d9111d53f48b17d732b401aeb83a8d5190f2ac459338"
+checksum = "2d3bc9049bdb2cea52f5fd4f6f728184225bdb867ed0dc2410eab6df5bdd67bb"
dependencies = [
- "rustls-webpki",
+ "arc-swap",
+ "async-trait",
+ "bytes",
+ "hex",
+ "interceptor",
+ "lazy_static",
+ "log",
+ "rand 0.8.5",
+ "rcgen 0.9.3",
+ "regex",
+ "ring",
+ "rtcp",
+ "rtp",
+ "rustls 0.19.1",
+ "sdp",
+ "serde",
+ "serde_json",
+ "sha2 0.10.7",
+ "stun",
+ "thiserror",
+ "time 0.3.23",
+ "tokio",
+ "turn",
+ "url",
+ "waitgroup",
+ "webrtc-data",
+ "webrtc-dtls",
+ "webrtc-ice",
+ "webrtc-mdns",
+ "webrtc-media",
+ "webrtc-sctp",
+ "webrtc-srtp",
+ "webrtc-util",
]
[[package]]
-name = "wepoll-ffi"
-version = "0.1.2"
+name = "webrtc-data"
+version = "0.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0ef36a4d12baa6e842582fe9ec16a57184ba35e1a09308307b67d43ec8883100"
+dependencies = [
+ "bytes",
+ "derive_builder",
+ "log",
+ "thiserror",
+ "tokio",
+ "webrtc-sctp",
+ "webrtc-util",
+]
+
+[[package]]
+name = "webrtc-dtls"
+version = "0.7.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "942be5bd85f072c3128396f6e5a9bfb93ca8c1939ded735d177b7bcba9a13d05"
+dependencies = [
+ "aes 0.6.0",
+ "aes-gcm 0.10.2",
+ "async-trait",
+ "bincode",
+ "block-modes",
+ "byteorder",
+ "ccm",
+ "curve25519-dalek 3.2.0",
+ "der-parser 8.2.0",
+ "elliptic-curve 0.12.3",
+ "hkdf",
+ "hmac 0.12.1",
+ "log",
+ "oid-registry 0.6.1",
+ "p256",
+ "p384",
+ "rand 0.8.5",
+ "rand_core 0.6.4",
+ "rcgen 0.9.3",
+ "ring",
+ "rustls 0.19.1",
+ "sec1 0.3.0",
+ "serde",
+ "sha1",
+ "sha2 0.10.7",
+ "signature 1.6.4",
+ "subtle",
+ "thiserror",
+ "tokio",
+ "webpki 0.21.4",
+ "webrtc-util",
+ "x25519-dalek 2.0.0-pre.1",
+ "x509-parser 0.13.2",
+]
+
+[[package]]
+name = "webrtc-ice"
+version = "0.9.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "465a03cc11e9a7d7b4f9f99870558fe37a102b65b93f8045392fef7c67b39e80"
+dependencies = [
+ "arc-swap",
+ "async-trait",
+ "crc",
+ "log",
+ "rand 0.8.5",
+ "serde",
+ "serde_json",
+ "stun",
+ "thiserror",
+ "tokio",
+ "turn",
+ "url",
+ "uuid",
+ "waitgroup",
+ "webrtc-mdns",
+ "webrtc-util",
+]
+
+[[package]]
+name = "webrtc-mdns"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f08dfd7a6e3987e255c4dbe710dde5d94d0f0574f8a21afa95d171376c143106"
+dependencies = [
+ "log",
+ "socket2 0.4.9",
+ "thiserror",
+ "tokio",
+ "webrtc-util",
+]
+
+[[package]]
+name = "webrtc-media"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f72e1650a8ae006017d1a5280efb49e2610c19ccc3c0905b03b648aee9554991"
+dependencies = [
+ "byteorder",
+ "bytes",
+ "rand 0.8.5",
+ "rtp",
+ "thiserror",
+]
+
+[[package]]
+name = "webrtc-sctp"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0d47adcd9427eb3ede33d5a7f3424038f63c965491beafcc20bc650a2f6679c0"
+dependencies = [
+ "arc-swap",
+ "async-trait",
+ "bytes",
+ "crc",
+ "log",
+ "rand 0.8.5",
+ "thiserror",
+ "tokio",
+ "webrtc-util",
+]
+
+[[package]]
+name = "webrtc-srtp"
+version = "0.9.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6183edc4c1c6c0175f8812eefdce84dfa0aea9c3ece71c2bf6ddd3c964de3da5"
+dependencies = [
+ "aead 0.4.3",
+ "aes 0.7.5",
+ "aes-gcm 0.9.4",
+ "async-trait",
+ "byteorder",
+ "bytes",
+ "ctr 0.8.0",
+ "hmac 0.11.0",
+ "log",
+ "rtcp",
+ "rtp",
+ "sha-1",
+ "subtle",
+ "thiserror",
+ "tokio",
+ "webrtc-util",
+]
+
+[[package]]
+name = "webrtc-util"
+version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d743fdedc5c64377b5fc2bc036b01c7fd642205a0d96356034ae3404d49eb7fb"
+checksum = "93f1db1727772c05cf7a2cfece52c3aca8045ca1e176cd517d323489aa3c6d87"
dependencies = [
+ "async-trait",
+ "bitflags 1.3.2",
+ "bytes",
"cc",
+ "ipnet",
+ "lazy_static",
+ "libc",
+ "log",
+ "nix",
+ "rand 0.8.5",
+ "thiserror",
+ "tokio",
+ "winapi",
]
[[package]]
name = "westend-runtime"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"bitvec",
"frame-benchmarking",
@@ -15502,7 +15391,7 @@ dependencies = [
"sp-runtime",
"sp-session",
"sp-staking",
- "sp-std",
+ "sp-std 8.0.0",
"sp-transaction-pool",
"sp-version",
"substrate-wasm-builder",
@@ -15515,7 +15404,7 @@ dependencies = [
[[package]]
name = "westend-runtime-constants"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"frame-support",
"polkadot-primitives",
@@ -15528,20 +15417,20 @@ dependencies = [
[[package]]
name = "which"
-version = "4.2.2"
+version = "4.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ea187a8ef279bc014ec368c27a920da2024d2a711109bfbe3440585d5cf27ad9"
+checksum = "2441c784c52b289a054b7201fc93253e288f094e2f4be9058343127c4226a269"
dependencies = [
"either",
- "lazy_static",
"libc",
+ "once_cell",
]
[[package]]
name = "wide"
-version = "0.7.6"
+version = "0.7.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "feff0a412894d67223777b6cc8d68c0dab06d52d95e9890d5f2d47f10dd9366c"
+checksum = "aa469ffa65ef7e0ba0f164183697b89b854253fd31aeb92358b7b6155177d62f"
dependencies = [
"bytemuck",
"safe_arch",
@@ -15549,9 +15438,9 @@ dependencies = [
[[package]]
name = "widestring"
-version = "0.5.1"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "17882f045410753661207383517a6f62ec3dbeb6a4ed2acce01f0728238d1983"
+checksum = "653f141f39ec16bba3c5abe400a0c60da7468261cc2cbf36805022876bc721a8"
[[package]]
name = "winapi"
@@ -15598,31 +15487,12 @@ dependencies = [
]
[[package]]
-name = "windows-sys"
-version = "0.32.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3df6e476185f92a12c072be4a189a0210dcdcf512a1891d6dff9edb874deadc6"
-dependencies = [
- "windows_aarch64_msvc 0.32.0",
- "windows_i686_gnu 0.32.0",
- "windows_i686_msvc 0.32.0",
- "windows_x86_64_gnu 0.32.0",
- "windows_x86_64_msvc 0.32.0",
-]
-
-[[package]]
-name = "windows-sys"
-version = "0.42.0"
+name = "windows"
+version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7"
+checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f"
dependencies = [
- "windows_aarch64_gnullvm 0.42.2",
- "windows_aarch64_msvc 0.42.2",
- "windows_i686_gnu 0.42.2",
- "windows_i686_msvc 0.42.2",
- "windows_x86_64_gnu 0.42.2",
- "windows_x86_64_gnullvm 0.42.2",
- "windows_x86_64_msvc 0.42.2",
+ "windows-targets 0.48.1",
]
[[package]]
@@ -15640,7 +15510,7 @@ version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
dependencies = [
- "windows-targets 0.48.0",
+ "windows-targets 0.48.1",
]
[[package]]
@@ -15660,9 +15530,9 @@ dependencies = [
[[package]]
name = "windows-targets"
-version = "0.48.0"
+version = "0.48.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5"
+checksum = "05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f"
dependencies = [
"windows_aarch64_gnullvm 0.48.0",
"windows_aarch64_msvc 0.48.0",
@@ -15685,12 +15555,6 @@ version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc"
-[[package]]
-name = "windows_aarch64_msvc"
-version = "0.32.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d8e92753b1c443191654ec532f14c199742964a061be25d77d7a96f09db20bf5"
-
[[package]]
name = "windows_aarch64_msvc"
version = "0.34.0"
@@ -15709,12 +15573,6 @@ version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3"
-[[package]]
-name = "windows_i686_gnu"
-version = "0.32.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6a711c68811799e017b6038e0922cb27a5e2f43a2ddb609fe0b6f3eeda9de615"
-
[[package]]
name = "windows_i686_gnu"
version = "0.34.0"
@@ -15733,12 +15591,6 @@ version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241"
-[[package]]
-name = "windows_i686_msvc"
-version = "0.32.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "146c11bb1a02615db74680b32a68e2d61f553cc24c4eb5b4ca10311740e44172"
-
[[package]]
name = "windows_i686_msvc"
version = "0.34.0"
@@ -15757,12 +15609,6 @@ version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00"
-[[package]]
-name = "windows_x86_64_gnu"
-version = "0.32.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c912b12f7454c6620635bbff3450962753834be2a594819bd5e945af18ec64bc"
-
[[package]]
name = "windows_x86_64_gnu"
version = "0.34.0"
@@ -15793,12 +15639,6 @@ version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953"
-[[package]]
-name = "windows_x86_64_msvc"
-version = "0.32.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "504a2476202769977a040c6364301a3f65d0cc9e3fb08600b2bda150a0488316"
-
[[package]]
name = "windows_x86_64_msvc"
version = "0.34.0"
@@ -15819,27 +15659,28 @@ checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a"
[[package]]
name = "winnow"
-version = "0.4.6"
+version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "61de7bac303dc551fe038e2b3cef0f571087a47571ea6e79a87692ac99b99699"
+checksum = "81fac9742fd1ad1bd9643b991319f72dd031016d44b77039a26977eb667141e7"
dependencies = [
"memchr",
]
[[package]]
name = "winreg"
-version = "0.7.0"
+version = "0.50.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0120db82e8a1e0b9fb3345a539c478767c0048d842860994d96113d5b667bd69"
+checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1"
dependencies = [
- "winapi",
+ "cfg-if 1.0.0",
+ "windows-sys 0.48.0",
]
[[package]]
name = "wyz"
-version = "0.5.0"
+version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "30b31594f29d27036c383b53b59ed3476874d518f0efb151b27a4c275141390e"
+checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed"
dependencies = [
"tap",
]
@@ -15866,10 +15707,47 @@ dependencies = [
"zeroize",
]
+[[package]]
+name = "x509-parser"
+version = "0.13.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9fb9bace5b5589ffead1afb76e43e34cff39cd0f3ce7e170ae0c29e53b88eb1c"
+dependencies = [
+ "asn1-rs 0.3.1",
+ "base64 0.13.1",
+ "data-encoding",
+ "der-parser 7.0.0",
+ "lazy_static",
+ "nom",
+ "oid-registry 0.4.0",
+ "ring",
+ "rusticata-macros",
+ "thiserror",
+ "time 0.3.23",
+]
+
+[[package]]
+name = "x509-parser"
+version = "0.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e0ecbeb7b67ce215e40e3cc7f2ff902f94a223acf44995934763467e7b1febc8"
+dependencies = [
+ "asn1-rs 0.5.2",
+ "base64 0.13.1",
+ "data-encoding",
+ "der-parser 8.2.0",
+ "lazy_static",
+ "nom",
+ "oid-registry 0.6.1",
+ "rusticata-macros",
+ "thiserror",
+ "time 0.3.23",
+]
+
[[package]]
name = "xcm"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"bounded-collections",
"derivative",
@@ -15885,7 +15763,7 @@ dependencies = [
[[package]]
name = "xcm-builder"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"frame-support",
"frame-system",
@@ -15898,48 +15776,16 @@ dependencies = [
"sp-arithmetic",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
"sp-weights",
"xcm",
"xcm-executor",
]
-[[package]]
-name = "xcm-emulator"
-version = "0.1.0"
-dependencies = [
- "casey",
- "cumulus-pallet-dmp-queue",
- "cumulus-pallet-parachain-system",
- "cumulus-pallet-xcmp-queue",
- "cumulus-primitives-core",
- "cumulus-primitives-parachain-inherent",
- "cumulus-test-relay-sproof-builder",
- "frame-support",
- "frame-system",
- "log",
- "pallet-balances",
- "pallet-message-queue",
- "parachain-info",
- "parachains-common",
- "parity-scale-codec",
- "paste",
- "polkadot-primitives",
- "polkadot-runtime-parachains",
- "quote",
- "sp-arithmetic",
- "sp-core",
- "sp-io",
- "sp-runtime",
- "sp-std",
- "sp-trie",
- "xcm",
-]
-
[[package]]
name = "xcm-executor"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"environmental",
"frame-benchmarking",
@@ -15951,7 +15797,7 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std",
+ "sp-std 8.0.0",
"sp-weights",
"xcm",
]
@@ -15959,12 +15805,12 @@ dependencies = [
[[package]]
name = "xcm-procedural"
version = "0.9.43"
-source = "git+https://github.com/paritytech/polkadot?branch=master#a3bde921bafcd7a790c59b2753aa90839afa6ee7"
+source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4"
dependencies = [
"Inflector",
- "proc-macro2",
- "quote",
- "syn 2.0.28",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
@@ -15981,6 +15827,21 @@ dependencies = [
"static_assertions",
]
+[[package]]
+name = "yap"
+version = "0.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e2a7eb6d82a11e4d0b8e6bda8347169aff4ccd8235d039bba7c47482d977dcf7"
+
+[[package]]
+name = "yasna"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e17bb3549cc1321ae1296b9cdc2698e2b6cb1992adfa19a8c72e5b7a738f44cd"
+dependencies = [
+ "time 0.3.23",
+]
+
[[package]]
name = "zeroize"
version = "1.6.0"
@@ -15992,14 +15853,13 @@ dependencies = [
[[package]]
name = "zeroize_derive"
-version = "1.3.2"
+version = "1.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3f8f187641dad4f680d25c4bfc4225b418165984179f26ca76ec4fb6441d3a17"
+checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69"
dependencies = [
- "proc-macro2",
- "quote",
- "syn 1.0.109",
- "synstructure",
+ "proc-macro2 1.0.66",
+ "quote 1.0.31",
+ "syn 2.0.26",
]
[[package]]
diff --git a/Cargo.toml b/Cargo.toml
index 4ae4ea191ae..baf10f7e24a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -2,81 +2,63 @@
resolver = "2"
members = [
- "bridges/bin/runtime-common",
- "bridges/modules/grandpa",
- "bridges/modules/messages",
- "bridges/modules/parachains",
- "bridges/modules/relayers",
- "client/cli",
- "client/collator",
- "client/consensus/aura",
- "client/consensus/common",
- "client/consensus/proposer",
- "client/consensus/relay-chain",
- "client/network",
- "client/pov-recovery",
- "client/relay-chain-inprocess-interface",
- "client/relay-chain-interface",
- "client/relay-chain-minimal-node",
- "client/relay-chain-rpc-interface",
- "client/service",
- "pallets/aura-ext",
- "pallets/collator-selection",
- "pallets/dmp-queue",
- "pallets/parachain-system",
- "pallets/parachain-system/proc-macro",
- "pallets/session-benchmarking",
- "pallets/solo-to-para",
- "pallets/xcm",
- "pallets/xcmp-queue",
- "parachain-template/node",
- "parachain-template/pallets/template",
- "parachain-template/runtime",
- "parachains/common",
- "parachains/integration-tests/emulated/assets/asset-hub-kusama",
- "parachains/integration-tests/emulated/assets/asset-hub-polkadot",
- "parachains/integration-tests/emulated/assets/asset-hub-westend",
- "parachains/integration-tests/emulated/bridges/bridge-hub-rococo",
- "parachains/integration-tests/emulated/collectives/collectives-polkadot",
- "parachains/integration-tests/emulated/common",
- "parachains/pallets/parachain-info",
- "parachains/pallets/ping",
- "parachains/runtimes/assets/asset-hub-kusama",
- "parachains/runtimes/assets/asset-hub-polkadot",
- "parachains/runtimes/assets/asset-hub-westend",
- "parachains/runtimes/assets/common",
- "parachains/runtimes/assets/test-utils",
- "parachains/runtimes/bridge-hubs/bridge-hub-kusama",
- "parachains/runtimes/bridge-hubs/bridge-hub-polkadot",
- "parachains/runtimes/bridge-hubs/bridge-hub-rococo",
- "parachains/runtimes/bridge-hubs/test-utils",
- "parachains/runtimes/collectives/collectives-polkadot",
- "parachains/runtimes/contracts/contracts-rococo",
- "parachains/runtimes/glutton/glutton-kusama",
- "parachains/runtimes/starters/seedling",
- "parachains/runtimes/starters/shell",
- "parachains/runtimes/test-utils",
- "parachains/runtimes/testing/penpal",
- "parachains/runtimes/testing/rococo-parachain",
- "polkadot-parachain",
- "primitives/aura",
- "primitives/core",
- "primitives/parachain-inherent",
- "primitives/timestamp",
- "primitives/utility",
- "test/client",
- "test/relay-sproof-builder",
- "test/relay-validation-worker-provider",
- "test/runtime",
- "test/service",
- "xcm/xcm-emulator",
+ "bin/millau/node",
+ "bin/millau/runtime",
+ "bin/rialto/node",
+ "bin/rialto/runtime",
+ "bin/rialto-parachain/node",
+ "bin/rialto-parachain/runtime",
+ "bin/runtime-common",
+ "fuzz/storage-proof",
+ "modules/beefy",
+ "modules/grandpa",
+ "modules/messages",
+ "modules/parachains",
+ "modules/relayers",
+ "modules/shift-session-manager",
+ "modules/xcm-bridge-hub-router",
+ "primitives/beefy",
+ "primitives/chain-asset-hub-kusama",
+ "primitives/chain-asset-hub-polkadot",
+ "primitives/chain-bridge-hub-cumulus",
+ "primitives/chain-bridge-hub-kusama",
+ "primitives/chain-bridge-hub-polkadot",
+ "primitives/chain-bridge-hub-rococo",
+ "primitives/chain-bridge-hub-wococo",
+ "primitives/chain-kusama",
+ "primitives/chain-millau",
+ "primitives/chain-polkadot",
+ "primitives/chain-rialto",
+ "primitives/chain-rialto-parachain",
+ "primitives/chain-rococo",
+ "primitives/chain-westend",
+ "primitives/chain-wococo",
+ "primitives/header-chain",
+ "primitives/messages",
+ "primitives/parachains",
+ "primitives/polkadot-core",
+ "primitives/relayers",
+ "primitives/runtime",
+ "primitives/test-utils",
+ "primitives/xcm-bridge-hub-router",
+ "relays/bin-substrate",
+ "relays/client-bridge-hub-kusama",
+ "relays/client-bridge-hub-polkadot",
+ "relays/client-bridge-hub-rococo",
+ "relays/client-bridge-hub-wococo",
+ "relays/client-kusama",
+ "relays/client-millau",
+ "relays/client-polkadot",
+ "relays/client-rialto",
+ "relays/client-rialto-parachain",
+ "relays/client-rococo",
+ "relays/client-substrate",
+ "relays/client-westend",
+ "relays/client-wococo",
+ "relays/equivocation",
+ "relays/finality",
+ "relays/lib-substrate-relay",
+ "relays/messages",
+ "relays/parachains",
+ "relays/utils",
]
-
-[profile.release]
-panic = "unwind"
-opt-level = 3
-
-[profile.production]
-inherits = "release"
-lto = true
-codegen-units = 1
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 00000000000..a64b59e7081
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,72 @@
+# Builds images used by the bridge.
+#
+# In particular, it can be used to build Substrate nodes and bridge relayers. The binary that gets
+# built can be specified with the `PROJECT` build-arg. For example, to build the `substrate-relay`
+# you would do the following:
+#
+# `docker build . -t local/substrate-relay --build-arg=PROJECT=substrate-relay`
+#
+# See the `deployments/README.md` for all the available `PROJECT` values.
+
+FROM docker.io/paritytech/bridges-ci:production as builder
+USER root
+WORKDIR /parity-bridges-common
+
+COPY . .
+
+ARG PROJECT=substrate-relay
+RUN cargo build --release --verbose -p ${PROJECT} && \
+ strip ./target/release/${PROJECT}
+
+# In this final stage we copy over the final binary and do some checks
+# to make sure that everything looks good.
+FROM docker.io/library/ubuntu:20.04 as runtime
+
+# show backtraces
+ENV RUST_BACKTRACE 1
+ENV DEBIAN_FRONTEND=noninteractive
+
+RUN set -eux; \
+ apt-get update && \
+ apt-get install -y --no-install-recommends \
+ curl ca-certificates libssl-dev && \
+ update-ca-certificates && \
+ groupadd -g 1000 user && \
+ useradd -u 1000 -g user -s /bin/sh -m user && \
+ # apt clean up
+ apt-get autoremove -y && \
+ apt-get clean && \
+ rm -rf /var/lib/apt/lists/*
+
+# switch to non-root user
+USER user
+
+WORKDIR /home/user
+
+ARG PROJECT=substrate-relay
+
+COPY --chown=user:user --from=builder /parity-bridges-common/target/release/${PROJECT} ./
+COPY --chown=user:user --from=builder /parity-bridges-common/deployments/local-scripts/bridge-entrypoint.sh ./
+
+# check if executable works in this container
+RUN ./${PROJECT} --version
+
+ENV PROJECT=$PROJECT
+ENTRYPOINT ["/home/user/bridge-entrypoint.sh"]
+
+# metadata
+ARG VCS_REF=master
+ARG BUILD_DATE=""
+ARG VERSION=""
+
+LABEL org.opencontainers.image.title="${PROJECT}" \
+ org.opencontainers.image.description="${PROJECT} - component of Parity Bridges Common" \
+ org.opencontainers.image.source="https://github.com/paritytech/parity-bridges-common/blob/${VCS_REF}/Dockerfile" \
+ org.opencontainers.image.url="https://github.com/paritytech/parity-bridges-common/blob/${VCS_REF}/Dockerfile" \
+ org.opencontainers.image.documentation="https://github.com/paritytech/parity-bridges-common/blob/${VCS_REF}/README.md" \
+ org.opencontainers.image.created="${BUILD_DATE}" \
+ org.opencontainers.image.version="${VERSION}" \
+ org.opencontainers.image.revision="${VCS_REF}" \
+ org.opencontainers.image.authors="devops-team@parity.io" \
+ org.opencontainers.image.vendor="Parity Technologies" \
+ org.opencontainers.image.licenses="GPL-3.0 License"
diff --git a/README.md b/README.md
index c4dfa4e0ba4..2f8c5ca9abb 100644
--- a/README.md
+++ b/README.md
@@ -1,244 +1,259 @@
-# Cumulus ☁️
+# Parity Bridges Common
-[![Doc](https://img.shields.io/badge/cumulus%20docs-master-brightgreen)](https://paritytech.github.io/cumulus/)
+This is a collection of components for building bridges.
-This repository contains both the Cumulus SDK and also specific chains implemented
-on top of this SDK.
+These components include Substrate pallets for syncing headers, passing arbitrary messages, as well
+as libraries for building relayers to provide cross-chain communication capabilities.
-If you only want to run a **Polkadot Parachain Node**, check out our [container section](./docs/container.md).
-
-## Cumulus SDK
+Three bridge nodes are also available. The nodes can be used to run test networks which bridge other
+Substrate chains.
-A set of tools for writing [Substrate](https://substrate.io/)-based
-[Polkadot](https://wiki.polkadot.network/en/)
-[parachains](https://wiki.polkadot.network/docs/en/learn-parachains). Refer to the included
-[overview](docs/overview.md) for architectural details, and the
-[Connect to a relay chain how-to guide](https://docs.substrate.io/reference/how-to-guides/parachains/connect-to-a-relay-chain/) for a
-guided walk-through of using these tools.
+🚧 The bridges are currently under construction - a hardhat is recommended beyond this point 🚧
-It's easy to write blockchains using Substrate, and the overhead of writing parachains'
-distribution, p2p, database, and synchronization layers should be just as low. This project aims to
-make it easy to write parachains for Polkadot by leveraging the power of Substrate.
+## Contents
-Cumulus clouds are shaped sort of like dots; together they form a system that is intricate,
-beautiful and functional.
+- [Installation](#installation)
+- [High-Level Architecture](#high-level-architecture)
+- [Project Layout](#project-layout)
+- [Running the Bridge](#running-the-bridge)
+- [How to send a message](#how-to-send-a-message)
+- [Community](#community)
-### Consensus
+## Installation
-[`parachain-consensus`](https://github.com/paritytech/cumulus/blob/master/client/consensus/common/src/parachain_consensus.rs) is a
-[consensus engine](https://docs.substrate.io/v3/advanced/consensus) for Substrate
-that follows a Polkadot
-[relay chain](https://wiki.polkadot.network/docs/en/learn-architecture#relay-chain). This will run
-a Polkadot node internally, and dictate to the client and synchronization algorithms which chain
-to follow,
-[finalize](https://wiki.polkadot.network/docs/en/learn-consensus#probabilistic-vs-provable-finality),
-and treat as best.
+To get up and running you need both stable and nightly Rust. Rust nightly is used to build the Web
+Assembly (WASM) runtime for the node. You can configure the WASM support as so:
-### Collator
-
-A Polkadot [collator](https://wiki.polkadot.network/docs/en/learn-collator) for the parachain is
-implemented by the `polkadot-parachain` binary (previously called `polkadot-collator`).
-
-You may run `polkadot-parachain` locally after building it or using one of the container option described [here](./docs/container.md).
+```bash
+rustup install nightly
+rustup target add wasm32-unknown-unknown --toolchain nightly
+```
-### Relay Chain Interaction
-To operate a parachain node, a connection to the corresponding relay chain is necessary. This can be
-achieved in one of two ways:
-1. Run a full relay chain node within the parachain node (default)
-2. Connect to an external relay chain node via WebSocket RPC
+Once this is configured you can build and test the repo as follows:
-#### In-process Relay Chain Node
-If an external relay chain node is not specified (default behavior), then a full relay chain node is
-spawned within the same process.
+```
+git clone https://github.com/paritytech/parity-bridges-common.git
+cd parity-bridges-common
+cargo build --all
+cargo test --all
+```
-This node has all of the typical components of a regular Polkadot node and will have to fully sync
-with the relay chain to work.
+Also you can build the repo with
+[Parity CI Docker image](https://github.com/paritytech/scripts/tree/master/dockerfiles/bridges-ci):
-##### Example command
-```shell=
-polkadot-parachain \
- --chain parachain-chainspec.json \
- --tmp \
- -- \
- --chain relaychain-chainspec.json
+```bash
+docker pull paritytech/bridges-ci:production
+mkdir ~/cache
+chown 1000:1000 ~/cache #processes in the container runs as "nonroot" user with UID 1000
+docker run --rm -it -w /shellhere/parity-bridges-common \
+ -v /home/$(whoami)/cache/:/cache/ \
+ -v "$(pwd)":/shellhere/parity-bridges-common \
+ -e CARGO_HOME=/cache/cargo/ \
+ -e SCCACHE_DIR=/cache/sccache/ \
+ -e CARGO_TARGET_DIR=/cache/target/ paritytech/bridges-ci:production cargo build --all
+#artifacts can be found in ~/cache/target
```
-#### External Relay Chain Node
-An external relay chain node is connected via WebsSocket RPC by using the `--relay-chain-rpc-urls`
-command line argument. This option accepts one or more space-separated WebSocket URLs to a full relay
-chain node. By default, only the first URL will be used, with the rest as a backup in case the
-connection to the first node is lost.
+If you want to reproduce other steps of CI process you can use the following
+[guide](https://github.com/paritytech/scripts#reproduce-ci-locally).
-Parachain nodes using this feature won't have to fully sync with the relay chain to work, so in general
-they will use fewer system resources.
+If you need more information about setting up your development environment [Substrate's
+Installation page](https://docs.substrate.io/main-docs/install/) is a good
+resource.
-**Note:** At this time, any parachain nodes using this feature will still spawn a significantly cut-down
-relay chain node in-process. Even though they lack the majority of normal Polkadot subsystems, they
-will still need to connect directly to the relay chain network.
-##### Example command
-```shell=
-polkadot-parachain \
- --chain parachain-chainspec.json \
- --tmp \
- --relay-chain-rpc-urls \
- "ws://relaychain-rpc-endpoint:9944" \
- "ws://relaychain-rpc-endpoint-backup:9944" \
- -- \
- --chain relaychain-chainspec.json
-```
+## High-Level Architecture
-## Installation and Setup
-Before building Cumulus SDK based nodes / runtimes prepare your environment by following Substrate
-[installation instructions](https://docs.substrate.io/main-docs/install/).
+This repo has support for bridging foreign chains together using a combination of Substrate pallets
+and external processes called relayers. A bridge chain is one that is able to follow the consensus
+of a foreign chain independently. For example, consider the case below where we want to bridge two
+Substrate based chains.
-To launch a local network, you can use [zombienet](https://github.com/paritytech/zombienet) for
-quick setup and experimentation or follow the [manual setup](#manual-setup).
+```
++---------------+ +---------------+
+| | | |
+| Rialto | | Millau |
+| | | |
++-------+-------+ +-------+-------+
+ ^ ^
+ | +---------------+ |
+ | | | |
+ +-----> | Bridge Relay | <-------+
+ | |
+ +---------------+
+```
-### Zombienet
-We use Zombienet to spin up networks for integration tests and local networks.
-Follow [these installation steps](https://github.com/paritytech/zombienet#requirements-by-provider)
-to set it up on your machine. A simple network specification with two relay chain nodes and one collator is
-located at [zombienet/examples/small_network.toml](zombienet/examples/small_network.toml).
+The Millau chain must be able to accept Rialto headers and verify their integrity. It does this by
+using a runtime module designed to track GRANDPA finality. Since two blockchains can't interact
+directly they need an external service, called a relayer, to communicate. The relayer will subscribe
+to new Rialto headers via RPC and submit them to the Millau chain for verification.
+Take a look at [Bridge High Level Documentation](./docs/high-level-overview.md) for more in-depth
+description of the bridge interaction.
-#### Which provider should I use?
-Zombienet offers multiple providers to run networks. Choose the one that best fits your needs:
-- **Podman:** Choose this if you want to spin up a network quick and easy.
-- **Native:** Choose this if you want to develop and deploy your changes. Requires compilation
-of the binaries.
-- **Kubernetes:** Choose this for advanced use-cases or running on cloud-infrastructure.
-
-#### How to run
-To run the example network, use the following commands:
+## Project Layout
-```bash
-# Podman provider
-zombienet --provider podman spawn ./zombienet/examples/small_network.toml
+Here's an overview of how the project is laid out. The main bits are the `bin`, which is the actual
+"blockchain", the `modules` which are used to build the blockchain's logic (a.k.a the runtime) and
+the `relays` which are used to pass messages between chains.
-# Native provider, assumes polkadot and polkadot-parachains binary in $PATH
-zombienet --provider native spawn ./zombienet/examples/small_network.toml
+```
+├── bin // Node and Runtime for the various Substrate chains
+│ └── ...
+├── deployments // Useful tools for deploying test networks
+│ └── ...
+├── modules // Substrate Runtime Modules (a.k.a Pallets)
+│ ├── beefy // On-Chain BEEFY Light Client (in progress)
+│ ├── grandpa // On-Chain GRANDPA Light Client
+│ ├── messages // Cross Chain Message Passing
+│ ├── parachains // On-Chain Parachains Light Client
+│ ├── relayers // Relayer rewards registry
+│ └── ...
+├── primitives // Code shared between modules, runtimes, and relays
+│ └── ...
+├── relays // Application for sending finality proofs and messages between chains
+│ └── ...
+└── scripts // Useful development and maintenance scripts
```
-### Manual Setup
-#### Launch the Relay Chain
+## Running the Bridge
-```bash
-# Clone
-git clone https://github.com/paritytech/polkadot
-cd polkadot
+To run the Bridge you need to be able to connect the bridge relay node to the RPC interface of nodes
+on each side of the bridge (source and target chain).
-# Compile Polkadot with the real overseer feature
-cargo build --release --bin polkadot
+There are 2 ways to run the bridge, described below:
-# Generate a raw chain spec
-./target/release/polkadot build-spec --chain rococo-local --disable-default-bootnode --raw > rococo-local-cfde.json
+- building & running from source: with this option, you'll be able to run the bridge between two standalone
+chains that are running GRANDPA finality gadget to achieve finality;
-# Alice
-./target/release/polkadot --chain rococo-local-cfde.json --alice --tmp
+- running a Docker Compose setup: this is a recommended option, where you'll see bridges with parachains,
+complex relays and more.
-# Bob (In a separate terminal)
-./target/release/polkadot --chain rococo-local-cfde.json --bob --tmp --port 30334
-```
+### Using the Source
-#### Launch the Parachain
+First you'll need to build the bridge nodes and relay. This can be done as follows:
```bash
-# Clone
-git clone https://github.com/paritytech/cumulus
-cd cumulus
-
-# Compile
-cargo build --release --bin polkadot-parachain
+# In `parity-bridges-common` folder
+cargo build -p rialto-bridge-node
+cargo build -p millau-bridge-node
+cargo build -p substrate-relay
+```
-# Export genesis state
-./target/release/polkadot-parachain export-genesis-state > genesis-state
+### Running a Dev network
-# Export genesis wasm
-./target/release/polkadot-parachain export-genesis-wasm > genesis-wasm
+We will launch a dev network to demonstrate how to relay a message between two Substrate based
+chains (named Rialto and Millau).
-# Collator1
-./target/release/polkadot-parachain --collator --alice --force-authoring --tmp --port 40335 --rpc-port 9946 -- --chain ../polkadot/rococo-local-cfde.json --port 30335
+To do this we will need two nodes, two relayers which will relay headers, and two relayers which
+will relay messages.
-# Collator2
-./target/release/polkadot-parachain --collator --bob --force-authoring --tmp --port 40336 --rpc-port 9947 -- --chain ../polkadot/rococo-local-cfde.json --port 30336
+#### Running from local scripts
-# Parachain Full Node 1
-./target/release/polkadot-parachain --tmp --port 40337 --rpc-port 9948 -- --chain ../polkadot/rococo-local-cfde.json --port 30337
-```
+To run a simple dev network you can use the scripts located in the
+[`deployments/local-scripts` folder](./deployments/local-scripts).
-#### Register the parachain
+First, we must run the two Substrate nodes.
-![image](https://user-images.githubusercontent.com/2915325/99548884-1be13580-2987-11eb-9a8b-20be658d34f9.png)
+```bash
+# In `parity-bridges-common` folder
+./deployments/local-scripts/run-rialto-node.sh
+./deployments/local-scripts/run-millau-node.sh
+```
+After the nodes are up we can run the header relayers.
-## Asset Hub 🪙
+```bash
+./deployments/local-scripts/relay-millau-to-rialto.sh
+./deployments/local-scripts/relay-rialto-to-millau.sh
+```
-This repository also contains the Asset Hub runtimes. Asset Hub is a system parachain providing an
-asset store for the Polkadot ecosystem.
+At this point you should see the relayer submitting headers from the Millau Substrate chain to the
+Rialto Substrate chain.
-### Build & Launch a Node
+```
+# Header Relayer Logs
+[Millau_to_Rialto_Sync] [date] DEBUG bridge Going to submit finality proof of Millau header #147 to Rialto
+[...] [date] INFO bridge Synced 147 of 147 headers
+[...] [date] DEBUG bridge Going to submit finality proof of Millau header #148 to Rialto
+[...] [date] INFO bridge Synced 148 of 149 headers
+```
-To run an Asset Hub node, you will need to compile the `polkadot-parachain` binary:
+Finally, we can run the message relayers.
```bash
-cargo build --release --locked --bin polkadot-parachain
+./deployments/local-scripts/relay-messages-millau-to-rialto.sh
+./deployments/local-scripts/relay-messages-rialto-to-millau.sh
```
-Once the executable is built, launch the parachain node via:
+You will also see the message lane relayers listening for new messages.
-```bash
-CHAIN=asset-hub-westend # or asset-hub-kusama
-./target/release/polkadot-parachain --chain $CHAIN
+```
+# Message Relayer Logs
+[Millau_to_Rialto_MessageLane_00000000] [date] DEBUG bridge Asking Millau::ReceivingConfirmationsDelivery about best message nonces
+[...] [date] INFO bridge Synced Some(2) of Some(3) nonces in Millau::MessagesDelivery -> Rialto::MessagesDelivery race
+[...] [date] DEBUG bridge Asking Millau::MessagesDelivery about message nonces
+[...] [date] DEBUG bridge Received best nonces from Millau::ReceivingConfirmationsDelivery: TargetClientNonces { latest_nonce: 0, nonces_data: () }
+[...] [date] DEBUG bridge Asking Millau::ReceivingConfirmationsDelivery about finalized message nonces
+[...] [date] DEBUG bridge Received finalized nonces from Millau::ReceivingConfirmationsDelivery: TargetClientNonces { latest_nonce: 0, nonces_data: () }
+[...] [date] DEBUG bridge Received nonces from Millau::MessagesDelivery: SourceClientNonces { new_nonces: {}, confirmed_nonce: Some(0) }
+[...] [date] DEBUG bridge Asking Millau node about its state
+[...] [date] DEBUG bridge Received state from Millau node: ClientState { best_self: HeaderId(1593, 0xacac***), best_finalized_self: HeaderId(1590, 0x0be81d...), best_finalized_peer_at_best_self: HeaderId(0, 0xdcdd89...) }
```
-Refer to the [setup instructions](#manual-setup) to run a local network for development.
+To send a message see the ["How to send a message" section](#how-to-send-a-message).
-## Contracts 📝
+### How to send a message
-See [the `contracts-rococo` readme](parachains/runtimes/contracts/contracts-rococo/README.md) for details.
+In this section we'll show you how to quickly send a bridge message. The message is just an encoded XCM
+`Trap(43)` message.
-## Bridge-hub 📝
+```bash
+# In `parity-bridges-common` folder
+./scripts/send-message-from-millau-rialto.sh
+```
-See [the `bridge-hubs` readme](parachains/runtimes/bridge-hubs/README.md) for details.
+After sending a message you will see the following logs showing a message was successfully sent:
-## Rococo 👑
+```
+INFO bridge Sending message to Rialto. Size: 11.
+TRACE bridge Sent transaction to Millau node: 0x5e68...
+```
-[Rococo](https://polkadot.js.org/apps/?rpc=wss://rococo-rpc.polkadot.io) is becoming a
-[Community Parachain Testbed](https://polkadot.network/blog/rococo-revamp-becoming-a-community-parachain-testbed/)
-for parachain teams in the Polkadot ecosystem. It supports multiple parachains with the
-differentiation of long-term connections and recurring short-term connections, to see which
-parachains are currently connected and how long they will be connected for
-[see here](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frococo-rpc.polkadot.io#/parachains).
+And at the Rialto node logs you'll something like this:
-Rococo is an elaborate style of design and the name describes the painstaking effort that has gone
-into this project.
+```
+... runtime::bridge-messages: Received messages: total=1, valid=1. Weight used: Weight(ref_time: 1215065371, proof_size: 48559)/Weight(ref_time: 1215065371, proof_size: 54703).
+```
-### Build & Launch Rococo Collators
+It means that the message has been delivered and dispatched. Message may be dispatched with an
+error, though - the goal of our test bridge is to ensure that messages are successfully delivered
+and all involved components are working.
-Collators are similar to validators in the relay chain. These nodes build the blocks that will
-eventually be included by the relay chain for a parachain.
+## Full Network Docker Compose Setup
-To run a Rococo collator you will need to compile the following binary:
+For a more sophisticated deployment which includes bidirectional header sync, message passing,
+monitoring dashboards, etc. see the [Deployments README](./deployments/README.md).
-```bash
-cargo build --release --locked --bin polkadot-parachain
-```
+You should note that you can find images for all the bridge components published on
+[Docker Hub](https://hub.docker.com/u/paritytech).
-Once the executable is built, launch collators for each parachain (repeat once each for chain
-`tick`, `trick`, `track`):
+To run a Rialto node for example, you can use the following command:
```bash
-./target/release/polkadot-parachain --chain $CHAIN --validator
+docker run -p 30333:30333 -p 9933:9933 -p 9944:9944 \
+ -it paritytech/rialto-bridge-node --dev --tmp \
+ --rpc-cors=all --unsafe-rpc-external
```
-You can also build [using a container](./docs/container.md).
+## Community
-### Parachains
+Main hangout for the community is [Element](https://element.io/) (formerly Riot). Element is a chat
+server like, for example, Discord. Most discussions around Polkadot and Substrate happen
+in various Element "rooms" (channels). So, joining Element might be a good idea, anyway.
-* [Asset Hub](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frococo-statemint-rpc.polkadot.io#/explorer)
-* [Contracts on Rococo](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frococo-contracts-rpc.polkadot.io#/explorer)
-* [RILT](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frococo.kilt.io#/explorer)
+If you are interested in information exchange and development of Polkadot related bridges please
+feel free to join the [Polkadot Bridges](https://app.element.io/#/room/#bridges:web3.foundation)
+Element channel.
-The network uses horizontal message passing (HRMP) to enable communication between parachains and
-the relay chain and, in turn, between parachains. This means that every message is sent to the relay
-chain, and from the relay chain to its destination parachain.
+The [Substrate Technical](https://app.element.io/#/room/#substrate-technical:matrix.org) Element
+channel is most suited for discussions regarding Substrate itself.
diff --git a/bridges/SECURITY.md b/SECURITY.md
similarity index 100%
rename from bridges/SECURITY.md
rename to SECURITY.md
diff --git a/scripts/ci/changelog/digests/.gitkeep b/bin/.keep
similarity index 100%
rename from scripts/ci/changelog/digests/.gitkeep
rename to bin/.keep
diff --git a/bin/millau/node/Cargo.toml b/bin/millau/node/Cargo.toml
new file mode 100644
index 00000000000..a0a0e4ffbd1
--- /dev/null
+++ b/bin/millau/node/Cargo.toml
@@ -0,0 +1,63 @@
+[package]
+name = "millau-bridge-node"
+description = "Substrate node compatible with Millau runtime"
+version = "0.1.0"
+authors = ["Parity Technologies "]
+edition = "2021"
+build = "build.rs"
+repository = "https://github.com/paritytech/parity-bridges-common/"
+license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
+
+[dependencies]
+clap = { version = "4.3.12", features = ["derive"] }
+futures = "0.3.28"
+jsonrpsee = { version = "0.16.2", features = ["server"] }
+serde_json = "1.0.96"
+
+# Bridge dependencies
+
+millau-runtime = { path = "../runtime" }
+
+# Substrate Dependencies
+
+sc-consensus-beefy = { git = "https://github.com/paritytech/substrate", branch = "master" }
+sc-consensus-beefy-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" }
+sp-consensus-beefy = { git = "https://github.com/paritytech/substrate", branch = "master" }
+frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" }
+frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "master" }
+node-inspect = { git = "https://github.com/paritytech/substrate", branch = "master" }
+mmr-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" }
+pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" }
+sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "master" }
+sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master"}
+sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
+sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" }
+sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" }
+sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" }
+sc-consensus-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" }
+sc-consensus-grandpa-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" }
+sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" }
+sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" }
+sc-offchain = { git = "https://github.com/paritytech/substrate", branch = "master" }
+sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" }
+sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" }
+sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "master" }
+sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" }
+sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
+sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" }
+sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
+sp-consensus-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" }
+sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" }
+sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" }
+substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "master" }
+sc-network-common = { git = "https://github.com/paritytech/substrate", branch = "master" }
+
+[build-dependencies]
+substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "master" }
+frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "master" }
+
+[features]
+default = []
+runtime-benchmarks = [
+ "millau-runtime/runtime-benchmarks",
+]
diff --git a/bin/millau/node/build.rs b/bin/millau/node/build.rs
new file mode 100644
index 00000000000..d9b50049e26
--- /dev/null
+++ b/bin/millau/node/build.rs
@@ -0,0 +1,23 @@
+// Copyright 2019-2021 Parity Technologies (UK) Ltd.
+// This file is part of Parity Bridges Common.
+
+// Parity Bridges Common is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Parity Bridges Common is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Parity Bridges Common. If not, see .
+
+use substrate_build_script_utils::{generate_cargo_keys, rerun_if_git_head_changed};
+
+fn main() {
+ generate_cargo_keys();
+
+ rerun_if_git_head_changed();
+}
diff --git a/bin/millau/node/src/chain_spec.rs b/bin/millau/node/src/chain_spec.rs
new file mode 100644
index 00000000000..f985d4d9783
--- /dev/null
+++ b/bin/millau/node/src/chain_spec.rs
@@ -0,0 +1,237 @@
+// Copyright 2019-2021 Parity Technologies (UK) Ltd.
+// This file is part of Parity Bridges Common.
+
+// Parity Bridges Common is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Parity Bridges Common is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Parity Bridges Common. If not, see .
+
+use millau_runtime::{
+ AccountId, AuraConfig, BalancesConfig, BeefyConfig, BridgeRialtoMessagesConfig,
+ BridgeRialtoParachainMessagesConfig, BridgeWestendGrandpaConfig, GrandpaConfig,
+ RuntimeGenesisConfig, SessionConfig, SessionKeys, Signature, SudoConfig, SystemConfig,
+ WASM_BINARY,
+};
+use sp_consensus_aura::sr25519::AuthorityId as AuraId;
+use sp_consensus_beefy::crypto::AuthorityId as BeefyId;
+use sp_consensus_grandpa::AuthorityId as GrandpaId;
+use sp_core::{sr25519, Pair, Public};
+use sp_runtime::traits::{IdentifyAccount, Verify};
+
+/// "Names" of the authorities accounts at local testnet.
+const LOCAL_AUTHORITIES_ACCOUNTS: [&str; 5] = ["Alice", "Bob", "Charlie", "Dave", "Eve"];
+/// "Names" of the authorities accounts at development testnet.
+const DEV_AUTHORITIES_ACCOUNTS: [&str; 1] = [LOCAL_AUTHORITIES_ACCOUNTS[0]];
+/// "Names" of all possible authorities accounts.
+const ALL_AUTHORITIES_ACCOUNTS: [&str; 5] = LOCAL_AUTHORITIES_ACCOUNTS;
+/// "Name" of the `sudo` account.
+const SUDO_ACCOUNT: &str = "Sudo";
+/// "Name" of the account, which owns the with-Westend GRANDPA pallet.
+const WESTEND_GRANDPA_PALLET_OWNER: &str = "Westend.GrandpaOwner";
+/// "Name" of the account, which owns the with-Rialto messages pallet.
+const RIALTO_MESSAGES_PALLET_OWNER: &str = "Rialto.MessagesOwner";
+/// "Name" of the account, which owns the with-RialtoParachain messages pallet.
+const RIALTO_PARACHAIN_MESSAGES_PALLET_OWNER: &str = "RialtoParachain.MessagesOwner";
+
+/// Specialized `ChainSpec`. This is a specialization of the general Substrate ChainSpec type.
+pub type ChainSpec = sc_service::GenericChainSpec;
+
+/// The chain specification option. This is expected to come in from the CLI and
+/// is little more than one of a number of alternatives which can easily be converted
+/// from a string (`--chain=...`) into a `ChainSpec`.
+#[derive(Clone, Debug)]
+pub enum Alternative {
+ /// Whatever the current runtime is, with just Alice as an auth.
+ Development,
+ /// Whatever the current runtime is, with simple Alice/Bob/Charlie/Dave/Eve auths.
+ LocalTestnet,
+}
+
+/// Helper function to generate a crypto pair from seed
+pub fn get_from_seed(seed: &str) -> ::Public {
+ TPublic::Pair::from_string(&format!("//{seed}"), None)
+ .expect("static values are valid; qed")
+ .public()
+}
+
+type AccountPublic = ::Signer;
+
+/// Helper function to generate an account ID from seed
+pub fn get_account_id_from_seed(seed: &str) -> AccountId
+where
+ AccountPublic: From<::Public>,
+{
+ AccountPublic::from(get_from_seed::(seed)).into_account()
+}
+
+/// Helper function to generate an authority key for Aura
+pub fn get_authority_keys_from_seed(s: &str) -> (AccountId, AuraId, BeefyId, GrandpaId) {
+ (
+ get_account_id_from_seed::(s),
+ get_from_seed::(s),
+ get_from_seed::(s),
+ get_from_seed::(s),
+ )
+}
+
+impl Alternative {
+ /// Get an actual chain config from one of the alternatives.
+ pub(crate) fn load(self) -> ChainSpec {
+ let properties = Some(
+ serde_json::json!({
+ "tokenDecimals": 9,
+ "tokenSymbol": "MLAU"
+ })
+ .as_object()
+ .expect("Map given; qed")
+ .clone(),
+ );
+ match self {
+ Alternative::Development => ChainSpec::from_genesis(
+ "Millau Development",
+ "millau_dev",
+ sc_service::ChainType::Development,
+ || {
+ testnet_genesis(
+ DEV_AUTHORITIES_ACCOUNTS
+ .into_iter()
+ .map(get_authority_keys_from_seed)
+ .collect(),
+ get_account_id_from_seed::(SUDO_ACCOUNT),
+ endowed_accounts(),
+ true,
+ )
+ },
+ vec![],
+ None,
+ None,
+ None,
+ properties,
+ None,
+ ),
+ Alternative::LocalTestnet => ChainSpec::from_genesis(
+ "Millau Local",
+ "millau_local",
+ sc_service::ChainType::Local,
+ || {
+ testnet_genesis(
+ LOCAL_AUTHORITIES_ACCOUNTS
+ .into_iter()
+ .map(get_authority_keys_from_seed)
+ .collect(),
+ get_account_id_from_seed::(SUDO_ACCOUNT),
+ endowed_accounts(),
+ true,
+ )
+ },
+ vec![],
+ None,
+ None,
+ None,
+ properties,
+ None,
+ ),
+ }
+ }
+}
+
+/// We're using the same set of endowed accounts on all Millau chains (dev/local) to make
+/// sure that all accounts, required for bridge to be functional (e.g. relayers fund account,
+/// accounts used by relayers in our test deployments, accounts used for demonstration
+/// purposes), are all available on these chains.
+fn endowed_accounts() -> Vec {
+ let all_authorities = ALL_AUTHORITIES_ACCOUNTS.iter().flat_map(|x| {
+ [
+ get_account_id_from_seed::(x),
+ get_account_id_from_seed::(&format!("{x}//stash")),
+ ]
+ });
+ vec![
+ // Sudo account
+ get_account_id_from_seed::(SUDO_ACCOUNT),
+ // Regular (unused) accounts
+ get_account_id_from_seed::("Ferdie"),
+ get_account_id_from_seed::("Ferdie//stash"),
+ // Accounts, used by Westend<>Millau bridge
+ get_account_id_from_seed::(WESTEND_GRANDPA_PALLET_OWNER),
+ get_account_id_from_seed::("Westend.HeadersRelay1"),
+ get_account_id_from_seed::("Westend.HeadersRelay2"),
+ get_account_id_from_seed::("Westend.AssetHubWestendHeaders1"),
+ get_account_id_from_seed::("Westend.AssetHubWestendHeaders2"),
+ // Accounts, used by Rialto<>Millau bridge
+ get_account_id_from_seed::(RIALTO_MESSAGES_PALLET_OWNER),
+ get_account_id_from_seed::("Rialto.HeadersAndMessagesRelay"),
+ get_account_id_from_seed::("Rialto.OutboundMessagesRelay.Lane00000001"),
+ get_account_id_from_seed::("Rialto.InboundMessagesRelay.Lane00000001"),
+ get_account_id_from_seed::("Rialto.MessagesSender"),
+ // Accounts, used by RialtoParachain<>Millau bridge
+ get_account_id_from_seed::(RIALTO_PARACHAIN_MESSAGES_PALLET_OWNER),
+ get_account_id_from_seed::("RialtoParachain.HeadersAndMessagesRelay1"),
+ get_account_id_from_seed::("RialtoParachain.HeadersAndMessagesRelay2"),
+ get_account_id_from_seed::("RialtoParachain.RialtoHeadersRelay1"),
+ get_account_id_from_seed::("RialtoParachain.RialtoHeadersRelay2"),
+ get_account_id_from_seed::("RialtoParachain.MessagesSender"),
+ ]
+ .into_iter()
+ .chain(all_authorities)
+ .collect()
+}
+
+fn session_keys(aura: AuraId, beefy: BeefyId, grandpa: GrandpaId) -> SessionKeys {
+ SessionKeys { aura, beefy, grandpa }
+}
+
+fn testnet_genesis(
+ initial_authorities: Vec<(AccountId, AuraId, BeefyId, GrandpaId)>,
+ root_key: AccountId,
+ endowed_accounts: Vec,
+ _enable_println: bool,
+) -> RuntimeGenesisConfig {
+ RuntimeGenesisConfig {
+ system: SystemConfig {
+ code: WASM_BINARY.expect("Millau development WASM not available").to_vec(),
+ ..Default::default()
+ },
+ balances: BalancesConfig {
+ balances: endowed_accounts.iter().cloned().map(|k| (k, 1 << 50)).collect(),
+ },
+ aura: AuraConfig { authorities: Vec::new() },
+ beefy: BeefyConfig::default(),
+ grandpa: GrandpaConfig { authorities: Vec::new(), ..Default::default() },
+ sudo: SudoConfig { key: Some(root_key) },
+ session: SessionConfig {
+ keys: initial_authorities
+ .iter()
+ .map(|x| {
+ (x.0.clone(), x.0.clone(), session_keys(x.1.clone(), x.2.clone(), x.3.clone()))
+ })
+ .collect::>(),
+ },
+ bridge_westend_grandpa: BridgeWestendGrandpaConfig {
+ // for our deployments to avoid multiple same-nonces transactions:
+ // //Alice is already used to initialize Rialto<->Millau bridge
+ // => let's use //Westend.GrandpaOwner to initialize Westend->Millau bridge
+ owner: Some(get_account_id_from_seed::(WESTEND_GRANDPA_PALLET_OWNER)),
+ ..Default::default()
+ },
+ bridge_rialto_messages: BridgeRialtoMessagesConfig {
+ owner: Some(get_account_id_from_seed::(RIALTO_MESSAGES_PALLET_OWNER)),
+ ..Default::default()
+ },
+ bridge_rialto_parachain_messages: BridgeRialtoParachainMessagesConfig {
+ owner: Some(get_account_id_from_seed::(
+ RIALTO_PARACHAIN_MESSAGES_PALLET_OWNER,
+ )),
+ ..Default::default()
+ },
+ xcm_pallet: Default::default(),
+ }
+}
diff --git a/bin/millau/node/src/cli.rs b/bin/millau/node/src/cli.rs
new file mode 100644
index 00000000000..12499b5718d
--- /dev/null
+++ b/bin/millau/node/src/cli.rs
@@ -0,0 +1,73 @@
+// Copyright 2019-2021 Parity Technologies (UK) Ltd.
+// This file is part of Parity Bridges Common.
+
+// Parity Bridges Common is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Parity Bridges Common is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Parity Bridges Common. If not, see .
+
+use clap::Parser;
+use sc_cli::RunCmd;
+
+#[derive(Debug, Parser)]
+pub struct Cli {
+ #[structopt(subcommand)]
+ pub subcommand: Option,
+
+ #[structopt(flatten)]
+ pub run: RunCmd,
+}
+
+/// Possible subcommands of the main binary.
+#[derive(Debug, Parser)]
+#[allow(clippy::large_enum_variant)]
+pub enum Subcommand {
+ /// Key management CLI utilities
+ #[clap(subcommand)]
+ Key(sc_cli::KeySubcommand),
+
+ /// Verify a signature for a message, provided on `STDIN`, with a given (public or secret) key.
+ Verify(sc_cli::VerifyCmd),
+
+ /// Generate a seed that provides a vanity address.
+ Vanity(sc_cli::VanityCmd),
+
+ /// Sign a message, with a given (secret) key.
+ Sign(sc_cli::SignCmd),
+
+ /// Build a chain specification.
+ BuildSpec(sc_cli::BuildSpecCmd),
+
+ /// Validate blocks.
+ CheckBlock(sc_cli::CheckBlockCmd),
+
+ /// Export blocks.
+ ExportBlocks(sc_cli::ExportBlocksCmd),
+
+ /// Export the state of a given block into a chain spec.
+ ExportState(sc_cli::ExportStateCmd),
+
+ /// Import blocks.
+ ImportBlocks(sc_cli::ImportBlocksCmd),
+
+ /// Remove the whole chain.
+ PurgeChain(sc_cli::PurgeChainCmd),
+
+ /// Revert the chain to a previous state.
+ Revert(sc_cli::RevertCmd),
+
+ /// Inspect blocks or extrinsics.
+ Inspect(node_inspect::cli::InspectCmd),
+
+ /// Benchmark runtime pallets.
+ #[clap(subcommand)]
+ Benchmark(frame_benchmarking_cli::BenchmarkCmd),
+}
diff --git a/bin/millau/node/src/command.rs b/bin/millau/node/src/command.rs
new file mode 100644
index 00000000000..745b393786e
--- /dev/null
+++ b/bin/millau/node/src/command.rs
@@ -0,0 +1,154 @@
+// Copyright 2019-2021 Parity Technologies (UK) Ltd.
+// This file is part of Parity Bridges Common.
+
+// Parity Bridges Common is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Parity Bridges Common is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Parity Bridges Common. If not, see .
+
+use crate::{
+ cli::{Cli, Subcommand},
+ service,
+ service::new_partial,
+};
+use frame_benchmarking_cli::BenchmarkCmd;
+use millau_runtime::{Block, RuntimeApi};
+use sc_cli::SubstrateCli;
+use sc_service::PartialComponents;
+
+impl SubstrateCli for Cli {
+ fn impl_name() -> String {
+ "Millau Bridge Node".into()
+ }
+
+ fn impl_version() -> String {
+ env!("CARGO_PKG_VERSION").into()
+ }
+
+ fn description() -> String {
+ "Millau Bridge Node".into()
+ }
+
+ fn author() -> String {
+ "Parity Technologies".into()
+ }
+
+ fn support_url() -> String {
+ "https://github.com/paritytech/parity-bridges-common/".into()
+ }
+
+ fn copyright_start_year() -> i32 {
+ 2019
+ }
+
+ fn executable_name() -> String {
+ "millau-bridge-node".into()
+ }
+
+ fn load_spec(&self, id: &str) -> Result, String> {
+ Ok(Box::new(
+ match id {
+ "" | "dev" => crate::chain_spec::Alternative::Development,
+ "local" => crate::chain_spec::Alternative::LocalTestnet,
+ _ => return Err(format!("Unsupported chain specification: {id}")),
+ }
+ .load(),
+ ))
+ }
+}
+
+/// Parse and run command line arguments
+pub fn run() -> sc_cli::Result<()> {
+ let cli = Cli::from_args();
+ // make sure to set correct crypto version.
+ sp_core::crypto::set_default_ss58_version(sp_core::crypto::Ss58AddressFormat::custom(
+ millau_runtime::SS58Prefix::get() as u16,
+ ));
+
+ match &cli.subcommand {
+ Some(Subcommand::Benchmark(cmd)) => {
+ let runner = cli.create_runner(cmd)?;
+ match cmd {
+ BenchmarkCmd::Pallet(cmd) =>
+ if cfg!(feature = "runtime-benchmarks") {
+ runner.sync_run(|config| cmd.run::(config))
+ } else {
+ println!(
+ "Benchmarking wasn't enabled when building the node. \
+ You can enable it with `--features runtime-benchmarks`."
+ );
+ Ok(())
+ },
+ _ => Err("Unsupported benchmarking subcommand".into()),
+ }
+ },
+ Some(Subcommand::Key(cmd)) => cmd.run(&cli),
+ Some(Subcommand::Sign(cmd)) => cmd.run(),
+ Some(Subcommand::Verify(cmd)) => cmd.run(),
+ Some(Subcommand::Vanity(cmd)) => cmd.run(),
+ Some(Subcommand::BuildSpec(cmd)) => {
+ let runner = cli.create_runner(cmd)?;
+ runner.sync_run(|config| cmd.run(config.chain_spec, config.network))
+ },
+ Some(Subcommand::CheckBlock(cmd)) => {
+ let runner = cli.create_runner(cmd)?;
+ runner.async_run(|config| {
+ let PartialComponents { client, task_manager, import_queue, .. } =
+ new_partial(&config)?;
+ Ok((cmd.run(client, import_queue), task_manager))
+ })
+ },
+ Some(Subcommand::ExportBlocks(cmd)) => {
+ let runner = cli.create_runner(cmd)?;
+ runner.async_run(|config| {
+ let PartialComponents { client, task_manager, .. } = new_partial(&config)?;
+ Ok((cmd.run(client, config.database), task_manager))
+ })
+ },
+ Some(Subcommand::ExportState(cmd)) => {
+ let runner = cli.create_runner(cmd)?;
+ runner.async_run(|config| {
+ let PartialComponents { client, task_manager, .. } = new_partial(&config)?;
+ Ok((cmd.run(client, config.chain_spec), task_manager))
+ })
+ },
+ Some(Subcommand::ImportBlocks(cmd)) => {
+ let runner = cli.create_runner(cmd)?;
+ runner.async_run(|config| {
+ let PartialComponents { client, task_manager, import_queue, .. } =
+ new_partial(&config)?;
+ Ok((cmd.run(client, import_queue), task_manager))
+ })
+ },
+ Some(Subcommand::PurgeChain(cmd)) => {
+ let runner = cli.create_runner(cmd)?;
+ runner.sync_run(|config| cmd.run(config.database))
+ },
+ Some(Subcommand::Revert(cmd)) => {
+ let runner = cli.create_runner(cmd)?;
+ runner.async_run(|config| {
+ let PartialComponents { client, task_manager, backend, .. } = new_partial(&config)?;
+ Ok((cmd.run(client, backend, None), task_manager))
+ })
+ },
+ Some(Subcommand::Inspect(cmd)) => {
+ let runner = cli.create_runner(cmd)?;
+ runner
+ .sync_run(|config| cmd.run::(config))
+ },
+ None => {
+ let runner = cli.create_runner(&cli.run)?;
+ runner.run_node_until_exit(|config| async move {
+ service::new_full(config).map_err(sc_cli::Error::Service)
+ })
+ },
+ }
+}
diff --git a/bin/millau/node/src/lib.rs b/bin/millau/node/src/lib.rs
new file mode 100644
index 00000000000..382d1c2d7fb
--- /dev/null
+++ b/bin/millau/node/src/lib.rs
@@ -0,0 +1,32 @@
+// Copyright 2019-2021 Parity Technologies (UK) Ltd.
+// This file is part of Parity Bridges Common.
+
+// Parity Bridges Common is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Parity Bridges Common is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Parity Bridges Common. If not, see .
+
+//! Substrate Node Template CLI library.
+#![warn(missing_docs)]
+
+mod chain_spec;
+#[macro_use]
+mod service;
+mod cli;
+mod command;
+
+/// Node run result.
+pub type Result = sc_cli::Result<()>;
+
+/// Run node.
+pub fn run() -> Result {
+ command::run()
+}
diff --git a/bin/millau/node/src/main.rs b/bin/millau/node/src/main.rs
new file mode 100644
index 00000000000..cf6dd9f733a
--- /dev/null
+++ b/bin/millau/node/src/main.rs
@@ -0,0 +1,30 @@
+// Copyright 2019-2021 Parity Technologies (UK) Ltd.
+// This file is part of Parity Bridges Common.
+
+// Parity Bridges Common is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Parity Bridges Common is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Parity Bridges Common. If not, see .
+
+//! Millau bridge node.
+
+#![warn(missing_docs)]
+
+mod chain_spec;
+#[macro_use]
+mod service;
+mod cli;
+mod command;
+
+/// Run the Millau Node
+fn main() -> sc_cli::Result<()> {
+ command::run()
+}
diff --git a/bin/millau/node/src/service.rs b/bin/millau/node/src/service.rs
new file mode 100644
index 00000000000..954b46fe0ce
--- /dev/null
+++ b/bin/millau/node/src/service.rs
@@ -0,0 +1,478 @@
+// Copyright 2019-2021 Parity Technologies (UK) Ltd.
+// This file is part of Parity Bridges Common.
+
+// Parity Bridges Common is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Parity Bridges Common is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Parity Bridges Common. If not, see .
+
+//! Service and ServiceFactory implementation. Specialized wrapper over substrate service.
+
+use jsonrpsee::RpcModule;
+use millau_runtime::{self, opaque::Block, RuntimeApi};
+use sc_client_api::{Backend, BlockBackend};
+use sc_consensus_aura::{CompatibilityMode, ImportQueueParams, SlotProportion, StartAuraParams};
+use sc_consensus_grandpa::SharedVoterState;
+pub use sc_executor::NativeElseWasmExecutor;
+use sc_executor::{HeapAllocStrategy, WasmExecutor, DEFAULT_HEAP_ALLOC_STRATEGY};
+use sc_service::{error::Error as ServiceError, Configuration, TaskManager};
+use sc_telemetry::{Telemetry, TelemetryWorker};
+use sc_transaction_pool_api::OffchainTransactionPoolFactory;
+use sp_consensus_aura::sr25519::AuthorityPair as AuraPair;
+use std::{sync::Arc, time::Duration};
+
+// Our native executor instance.
+pub struct ExecutorDispatch;
+
+impl sc_executor::NativeExecutionDispatch for ExecutorDispatch {
+ /// Only enable the benchmarking host functions when we actually want to benchmark.
+ #[cfg(feature = "runtime-benchmarks")]
+ type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions;
+ /// Otherwise we only use the default Substrate host functions.
+ #[cfg(not(feature = "runtime-benchmarks"))]
+ type ExtendHostFunctions = ();
+
+ fn dispatch(method: &str, data: &[u8]) -> Option> {
+ millau_runtime::api::dispatch(method, data)
+ }
+
+ fn native_version() -> sc_executor::NativeVersion {
+ millau_runtime::native_version()
+ }
+}
+
+type FullClient =
+ sc_service::TFullClient>;
+type FullBackend = sc_service::TFullBackend;
+type FullSelectChain = sc_consensus::LongestChain;
+
+#[allow(clippy::type_complexity)]
+pub fn new_partial(
+ config: &Configuration,
+) -> Result<
+ sc_service::PartialComponents<
+ FullClient,
+ FullBackend,
+ FullSelectChain,
+ sc_consensus::DefaultImportQueue,
+ sc_transaction_pool::FullPool,
+ (
+ sc_consensus_grandpa::GrandpaBlockImport<
+ FullBackend,
+ Block,
+ FullClient,
+ FullSelectChain,
+ >,
+ sc_consensus_grandpa::LinkHalf,
+ sc_consensus_beefy::BeefyVoterLinks,
+ sc_consensus_beefy::BeefyRPCLinks,
+ Option,
+ ),
+ >,
+ ServiceError,
+> {
+ let telemetry = config
+ .telemetry_endpoints
+ .clone()
+ .filter(|x| !x.is_empty())
+ .map(|endpoints| -> Result<_, sc_telemetry::Error> {
+ let worker = TelemetryWorker::new(16)?;
+ let telemetry = worker.handle().new_telemetry(endpoints);
+ Ok((worker, telemetry))
+ })
+ .transpose()?;
+
+ let heap_pages = config
+ .default_heap_pages
+ .map_or(DEFAULT_HEAP_ALLOC_STRATEGY, |h| HeapAllocStrategy::Static { extra_pages: h as _ });
+ let executor = NativeElseWasmExecutor::::new_with_wasm_executor(
+ WasmExecutor::builder()
+ .with_execution_method(config.wasm_method)
+ .with_onchain_heap_alloc_strategy(heap_pages)
+ .with_offchain_heap_alloc_strategy(heap_pages)
+ .with_max_runtime_instances(config.max_runtime_instances)
+ .with_runtime_cache_size(config.runtime_cache_size)
+ .build(),
+ );
+
+ let (client, backend, keystore_container, task_manager) =
+ sc_service::new_full_parts::(
+ config,
+ telemetry.as_ref().map(|(_, telemetry)| telemetry.handle()),
+ executor,
+ )?;
+ let client = Arc::new(client);
+
+ let telemetry = telemetry.map(|(worker, telemetry)| {
+ task_manager.spawn_handle().spawn("telemetry", None, worker.run());
+ telemetry
+ });
+
+ let select_chain = sc_consensus::LongestChain::new(backend.clone());
+
+ let transaction_pool = sc_transaction_pool::BasicPool::new_full(
+ config.transaction_pool.clone(),
+ config.role.is_authority().into(),
+ config.prometheus_registry(),
+ task_manager.spawn_essential_handle(),
+ client.clone(),
+ );
+
+ let (grandpa_block_import, grandpa_link) = sc_consensus_grandpa::block_import(
+ client.clone(),
+ 512,
+ &client,
+ select_chain.clone(),
+ telemetry.as_ref().map(|x| x.handle()),
+ )?;
+
+ let (beefy_block_import, beefy_voter_links, beefy_rpc_links) =
+ sc_consensus_beefy::beefy_block_import_and_links(
+ grandpa_block_import.clone(),
+ backend.clone(),
+ client.clone(),
+ config.prometheus_registry().cloned(),
+ );
+
+ let slot_duration = sc_consensus_aura::slot_duration(&*client)?;
+
+ let import_queue =
+ sc_consensus_aura::import_queue::(ImportQueueParams {
+ block_import: beefy_block_import,
+ justification_import: Some(Box::new(grandpa_block_import.clone())),
+ client: client.clone(),
+ create_inherent_data_providers: move |_, ()| async move {
+ let timestamp = sp_timestamp::InherentDataProvider::from_system_time();
+
+ let slot =
+ sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_slot_duration(
+ *timestamp,
+ slot_duration,
+ );
+
+ Ok((slot, timestamp))
+ },
+ spawner: &task_manager.spawn_essential_handle(),
+ registry: config.prometheus_registry(),
+ check_for_equivocation: Default::default(),
+ telemetry: telemetry.as_ref().map(|x| x.handle()),
+ compatibility_mode: CompatibilityMode::None,
+ })?;
+
+ Ok(sc_service::PartialComponents {
+ client,
+ backend,
+ task_manager,
+ import_queue,
+ keystore_container,
+ select_chain,
+ transaction_pool,
+ other: (grandpa_block_import, grandpa_link, beefy_voter_links, beefy_rpc_links, telemetry),
+ })
+}
+
+/// Builds a new service for a full client.
+pub fn new_full(config: Configuration) -> Result {
+ use sc_network_common::sync::warp::WarpSyncParams;
+
+ let sc_service::PartialComponents {
+ client,
+ backend,
+ mut task_manager,
+ import_queue,
+ keystore_container,
+ select_chain,
+ transaction_pool,
+ other: (block_import, grandpa_link, beefy_voter_links, beefy_rpc_links, mut telemetry),
+ } = new_partial(&config)?;
+
+ let genesis_hash = client.block_hash(0).ok().flatten().expect("Genesis block exists; qed");
+
+ let mut net_config = sc_network::config::FullNetworkConfiguration::new(&config.network);
+
+ // Note: GrandPa is pushed before the Polkadot-specific protocols. This doesn't change
+ // anything in terms of behaviour, but makes the logs more consistent with the other
+ // Substrate nodes.
+ let grandpa_protocol_name = sc_consensus_grandpa::protocol_standard_name(
+ &client.block_hash(0).ok().flatten().expect("Genesis block exists; qed"),
+ &config.chain_spec,
+ );
+ net_config.add_notification_protocol(sc_consensus_grandpa::grandpa_peers_set_config(
+ grandpa_protocol_name.clone(),
+ ));
+
+ let beefy_gossip_proto_name =
+ sc_consensus_beefy::gossip_protocol_name(genesis_hash, config.chain_spec.fork_id());
+ // `beefy_on_demand_justifications_handler` is given to `beefy-gadget` task to be run,
+ // while `beefy_req_resp_cfg` is added to `config.network.request_response_protocols`.
+ let (beefy_on_demand_justifications_handler, beefy_req_resp_cfg) =
+ sc_consensus_beefy::communication::request_response::BeefyJustifsRequestHandler::new(
+ genesis_hash,
+ config.chain_spec.fork_id(),
+ client.clone(),
+ config.prometheus_registry().cloned(),
+ );
+ net_config.add_notification_protocol(
+ sc_consensus_beefy::communication::beefy_peers_set_config(beefy_gossip_proto_name.clone()),
+ );
+ net_config.add_request_response_protocol(beefy_req_resp_cfg);
+
+ let role = config.role.clone();
+ let warp_sync = Arc::new(sc_consensus_grandpa::warp_proof::NetworkProvider::new(
+ backend.clone(),
+ grandpa_link.shared_authority_set().clone(),
+ Vec::default(),
+ ));
+
+ let (network, system_rpc_tx, tx_handler_controller, network_starter, sync_service) =
+ sc_service::build_network(sc_service::BuildNetworkParams {
+ config: &config,
+ net_config,
+ client: client.clone(),
+ transaction_pool: transaction_pool.clone(),
+ spawn_handle: task_manager.spawn_handle(),
+ import_queue,
+ block_announce_validator_builder: None,
+ warp_sync_params: Some(WarpSyncParams::WithProvider(warp_sync)),
+ })?;
+
+ if config.offchain_worker.enabled {
+ use futures::FutureExt;
+
+ task_manager.spawn_handle().spawn(
+ "offchain-workers-runner",
+ "offchain-work",
+ sc_offchain::OffchainWorkers::new(sc_offchain::OffchainWorkerOptions {
+ runtime_api_provider: client.clone(),
+ keystore: Some(keystore_container.keystore()),
+ offchain_db: backend.offchain_storage(),
+ transaction_pool: Some(OffchainTransactionPoolFactory::new(
+ transaction_pool.clone(),
+ )),
+ network_provider: network.clone(),
+ is_validator: role.is_authority(),
+ enable_http_requests: false,
+ custom_extensions: move |_| vec![],
+ })
+ .run(client.clone(), task_manager.spawn_handle())
+ .boxed(),
+ );
+ }
+
+ let force_authoring = config.force_authoring;
+ let backoff_authoring_blocks: Option<()> = None;
+ let name = config.network.node_name.clone();
+ let enable_grandpa = !config.disable_grandpa;
+ let prometheus_registry = config.prometheus_registry().cloned();
+ let shared_voter_state = SharedVoterState::empty();
+
+ let rpc_extensions_builder = {
+ use sc_consensus_grandpa::FinalityProofProvider as GrandpaFinalityProofProvider;
+
+ use mmr_rpc::{Mmr, MmrApiServer};
+ use pallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApiServer};
+ use sc_consensus_beefy_rpc::{Beefy, BeefyApiServer};
+ use sc_consensus_grandpa_rpc::{Grandpa, GrandpaApiServer};
+ use sc_rpc::DenyUnsafe;
+ use substrate_frame_rpc_system::{System, SystemApiServer};
+
+ let backend = backend.clone();
+ let client = client.clone();
+ let pool = transaction_pool.clone();
+
+ let justification_stream = grandpa_link.justification_stream();
+ let shared_authority_set = grandpa_link.shared_authority_set().clone();
+ let shared_voter_state = shared_voter_state.clone();
+
+ let finality_proof_provider = GrandpaFinalityProofProvider::new_for_service(
+ backend.clone(),
+ Some(shared_authority_set.clone()),
+ );
+
+ Box::new(move |_, subscription_executor: sc_rpc::SubscriptionTaskExecutor| {
+ let mut io = RpcModule::new(());
+ let map_err = |e| sc_service::Error::Other(format!("{e}"));
+ io.merge(System::new(client.clone(), pool.clone(), DenyUnsafe::No).into_rpc())
+ .map_err(map_err)?;
+ io.merge(TransactionPayment::new(client.clone()).into_rpc()).map_err(map_err)?;
+ io.merge(
+ Grandpa::new(
+ subscription_executor.clone(),
+ shared_authority_set.clone(),
+ shared_voter_state.clone(),
+ justification_stream.clone(),
+ finality_proof_provider.clone(),
+ )
+ .into_rpc(),
+ )
+ .map_err(map_err)?;
+ io.merge(
+ Beefy::::new(
+ beefy_rpc_links.from_voter_justif_stream.clone(),
+ beefy_rpc_links.from_voter_best_beefy_stream.clone(),
+ subscription_executor,
+ )
+ .map_err(|e| sc_service::Error::Other(format!("{e}")))?
+ .into_rpc(),
+ )
+ .map_err(map_err)?;
+ io.merge(
+ Mmr::new(
+ client.clone(),
+ backend
+ .offchain_storage()
+ .ok_or("Backend doesn't provide the required offchain storage")?,
+ )
+ .into_rpc(),
+ )
+ .map_err(map_err)?;
+ Ok(io)
+ })
+ };
+
+ let _rpc_handlers = sc_service::spawn_tasks(sc_service::SpawnTasksParams {
+ network: network.clone(),
+ client: client.clone(),
+ keystore: keystore_container.keystore(),
+ task_manager: &mut task_manager,
+ transaction_pool: transaction_pool.clone(),
+ sync_service: sync_service.clone(),
+ rpc_builder: rpc_extensions_builder,
+ backend: backend.clone(),
+ system_rpc_tx,
+ config,
+ tx_handler_controller,
+ telemetry: telemetry.as_mut(),
+ })?;
+
+ if role.is_authority() {
+ let proposer_factory = sc_basic_authorship::ProposerFactory::new(
+ task_manager.spawn_handle(),
+ client.clone(),
+ transaction_pool.clone(),
+ prometheus_registry.as_ref(),
+ telemetry.as_ref().map(|x| x.handle()),
+ );
+
+ let slot_duration = sc_consensus_aura::slot_duration(&*client)?;
+
+ let aura = sc_consensus_aura::start_aura::(
+ StartAuraParams {
+ slot_duration,
+ client: client.clone(),
+ select_chain,
+ block_import,
+ proposer_factory,
+ create_inherent_data_providers: move |_, ()| async move {
+ let timestamp = sp_timestamp::InherentDataProvider::from_system_time();
+
+ let slot =
+ sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_slot_duration(
+ *timestamp,
+ slot_duration,
+ );
+
+ Ok((slot, timestamp))
+ },
+ force_authoring,
+ backoff_authoring_blocks,
+ keystore: keystore_container.keystore(),
+ sync_oracle: sync_service.clone(),
+ justification_sync_link: sync_service.clone(),
+ block_proposal_slot_portion: SlotProportion::new(2f32 / 3f32),
+ max_block_proposal_slot_portion: None,
+ telemetry: telemetry.as_ref().map(|x| x.handle()),
+ compatibility_mode: CompatibilityMode::None,
+ },
+ )?;
+
+ // the AURA authoring task is considered essential, i.e. if it
+ // fails we take down the service with it.
+ task_manager
+ .spawn_essential_handle()
+ .spawn_blocking("aura", Some("block-authoring"), aura);
+ }
+
+ // if the node isn't actively participating in consensus then it doesn't
+ // need a keystore, regardless of which protocol we use below.
+ let keystore = if role.is_authority() { Some(keystore_container.keystore()) } else { None };
+
+ let justifications_protocol_name = beefy_on_demand_justifications_handler.protocol_name();
+ let payload_provider = sp_consensus_beefy::mmr::MmrRootProvider::new(client.clone());
+ let beefy_params = sc_consensus_beefy::BeefyParams {
+ client: client.clone(),
+ backend,
+ payload_provider,
+ runtime: client,
+ key_store: keystore.clone(),
+ network_params: sc_consensus_beefy::BeefyNetworkParams {
+ network: network.clone(),
+ sync: sync_service.clone(),
+ gossip_protocol_name: beefy_gossip_proto_name,
+ justifications_protocol_name,
+ _phantom: core::marker::PhantomData::,
+ },
+ min_block_delta: 2,
+ prometheus_registry: prometheus_registry.clone(),
+ links: beefy_voter_links,
+ on_demand_justifications_handler: beefy_on_demand_justifications_handler,
+ };
+
+ // Start the BEEFY bridge gadget.
+ task_manager.spawn_essential_handle().spawn_blocking(
+ "beefy-gadget",
+ None,
+ sc_consensus_beefy::start_beefy_gadget::<_, _, _, _, _, _, _>(beefy_params),
+ );
+
+ let grandpa_config = sc_consensus_grandpa::Config {
+ // FIXME #1578 make this available through chainspec
+ gossip_duration: Duration::from_millis(333),
+ justification_generation_period: 512,
+ name: Some(name),
+ observer_enabled: false,
+ keystore,
+ local_role: role,
+ telemetry: telemetry.as_ref().map(|x| x.handle()),
+ protocol_name: grandpa_protocol_name,
+ };
+
+ if enable_grandpa {
+ // start the full GRANDPA voter
+ // NOTE: non-authorities could run the GRANDPA observer protocol, but at
+ // this point the full voter should provide better guarantees of block
+ // and vote data availability than the observer. The observer has not
+ // been tested extensively yet and having most nodes in a network run it
+ // could lead to finality stalls.
+ let grandpa_config = sc_consensus_grandpa::GrandpaParams {
+ config: grandpa_config,
+ link: grandpa_link,
+ network,
+ sync: sync_service,
+ voting_rule: sc_consensus_grandpa::VotingRulesBuilder::default().build(),
+ prometheus_registry,
+ shared_voter_state,
+ telemetry: telemetry.as_ref().map(|x| x.handle()),
+ offchain_tx_pool_factory: OffchainTransactionPoolFactory::new(transaction_pool),
+ };
+
+ // the GRANDPA voter task is considered infallible, i.e.
+ // if it fails we take down the service with it.
+ task_manager.spawn_essential_handle().spawn_blocking(
+ "grandpa-voter",
+ None,
+ sc_consensus_grandpa::run_grandpa_voter(grandpa_config)?,
+ );
+ }
+
+ network_starter.start_network();
+ Ok(task_manager)
+}
diff --git a/bin/millau/runtime/Cargo.toml b/bin/millau/runtime/Cargo.toml
new file mode 100644
index 00000000000..ccff85b99eb
--- /dev/null
+++ b/bin/millau/runtime/Cargo.toml
@@ -0,0 +1,150 @@
+[package]
+name = "millau-runtime"
+version = "0.1.0"
+authors = ["Parity Technologies "]
+edition = "2021"
+repository = "https://github.com/paritytech/parity-bridges-common/"
+license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
+
+[dependencies]
+hex-literal = "0.4"
+codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false, features = ["derive"] }
+scale-info = { version = "2.9.0", default-features = false, features = ["derive"] }
+
+# Bridge dependencies
+
+bp-header-chain = { path = "../../../primitives/header-chain", default-features = false }
+bp-messages = { path = "../../../primitives/messages", default-features = false }
+bp-millau = { path = "../../../primitives/chain-millau", default-features = false }
+bp-parachains = { path = "../../../primitives/parachains", default-features = false }
+bp-polkadot-core = { path = "../../../primitives/polkadot-core", default-features = false }
+bp-relayers = { path = "../../../primitives/relayers", default-features = false }
+bp-rialto = { path = "../../../primitives/chain-rialto", default-features = false }
+bp-rialto-parachain = { path = "../../../primitives/chain-rialto-parachain", default-features = false }
+bp-runtime = { path = "../../../primitives/runtime", default-features = false }
+bp-westend = { path = "../../../primitives/chain-westend", default-features = false }
+bp-xcm-bridge-hub-router = { path = "../../../primitives/xcm-bridge-hub-router", default-features = false }
+bridge-runtime-common = { path = "../../runtime-common", default-features = false }
+pallet-bridge-grandpa = { path = "../../../modules/grandpa", default-features = false }
+pallet-bridge-messages = { path = "../../../modules/messages", default-features = false }
+pallet-bridge-parachains = { path = "../../../modules/parachains", default-features = false }
+pallet-bridge-relayers = { path = "../../../modules/relayers", default-features = false }
+pallet-shift-session-manager = { path = "../../../modules/shift-session-manager", default-features = false }
+pallet-xcm-bridge-hub-router = { path = "../../../modules/xcm-bridge-hub-router", default-features = false }
+
+# Substrate Dependencies
+
+sp-consensus-beefy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
+frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
+frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
+frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
+frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
+frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
+pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
+pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
+pallet-beefy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
+pallet-beefy-mmr = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
+pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
+pallet-mmr = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
+pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, features = ["historical"]}
+pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
+pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
+pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
+pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
+pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
+sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
+sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
+sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
+sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
+sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
+sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
+sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
+sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
+sp-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
+sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
+sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
+sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
+
+# Polkadot Dependencies
+pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false }
+xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false }
+xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false }
+xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false }
+
+[dev-dependencies]
+bridge-runtime-common = { path = "../../runtime-common", features = ["integrity-test", "std"] }
+env_logger = "0.10"
+static_assertions = "1.1"
+
+[build-dependencies]
+substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "master" }
+
+[features]
+default = ["std"]
+std = [
+ "sp-consensus-beefy/std",
+ "bp-messages/std",
+ "bp-millau/std",
+ "bp-parachains/std",
+ "bp-polkadot-core/std",
+ "bp-relayers/std",
+ "bp-rialto/std",
+ "bp-rialto-parachain/std",
+ "bp-runtime/std",
+ "bp-westend/std",
+ "bp-xcm-bridge-hub-router/std",
+ "bridge-runtime-common/std",
+ "codec/std",
+ "frame-executive/std",
+ "frame-support/std",
+ "frame-system-rpc-runtime-api/std",
+ "frame-system/std",
+ "pallet-aura/std",
+ "pallet-balances/std",
+ "pallet-beefy/std",
+ "pallet-beefy-mmr/std",
+ "pallet-bridge-grandpa/std",
+ "pallet-bridge-messages/std",
+ "pallet-bridge-parachains/std",
+ "pallet-bridge-relayers/std",
+ "pallet-grandpa/std",
+ "pallet-mmr/std",
+ "pallet-session/std",
+ "pallet-shift-session-manager/std",
+ "pallet-sudo/std",
+ "pallet-timestamp/std",
+ "pallet-transaction-payment-rpc-runtime-api/std",
+ "pallet-transaction-payment/std",
+ "pallet-utility/std",
+ "pallet-xcm/std",
+ "pallet-xcm-bridge-hub-router/std",
+ "scale-info/std",
+ "sp-api/std",
+ "sp-block-builder/std",
+ "sp-consensus-aura/std",
+ "sp-core/std",
+ "sp-inherents/std",
+ "sp-io/std",
+ "sp-offchain/std",
+ "sp-runtime/std",
+ "sp-session/std",
+ "sp-std/std",
+ "sp-transaction-pool/std",
+ "sp-version/std",
+ "xcm/std",
+ "xcm-builder/std",
+ "xcm-executor/std",
+]
+runtime-benchmarks = [
+ "bridge-runtime-common/runtime-benchmarks",
+ "frame-benchmarking/runtime-benchmarks",
+ "frame-support/runtime-benchmarks",
+ "frame-system/runtime-benchmarks",
+ "pallet-bridge-messages/runtime-benchmarks",
+ "pallet-bridge-parachains/runtime-benchmarks",
+ "pallet-bridge-relayers/runtime-benchmarks",
+ "pallet-xcm/runtime-benchmarks",
+ "pallet-xcm-bridge-hub-router/runtime-benchmarks",
+ "sp-runtime/runtime-benchmarks",
+ "xcm-builder/runtime-benchmarks",
+]
diff --git a/bin/millau/runtime/build.rs b/bin/millau/runtime/build.rs
new file mode 100644
index 00000000000..25e220e46fc
--- /dev/null
+++ b/bin/millau/runtime/build.rs
@@ -0,0 +1,26 @@
+// Copyright 2019-2021 Parity Technologies (UK) Ltd.
+// This file is part of Parity Bridges Common.
+
+// Parity Bridges Common is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Parity Bridges Common is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Parity Bridges Common. If not, see .
+
+use substrate_wasm_builder::WasmBuilder;
+
+fn main() {
+ WasmBuilder::new()
+ .with_current_project()
+ .import_memory()
+ .export_heap_base()
+ .disable_runtime_version_section_check()
+ .build()
+}
diff --git a/bin/millau/runtime/src/lib.rs b/bin/millau/runtime/src/lib.rs
new file mode 100644
index 00000000000..2067dfccb56
--- /dev/null
+++ b/bin/millau/runtime/src/lib.rs
@@ -0,0 +1,1206 @@
+// Copyright 2019-2021 Parity Technologies (UK) Ltd.
+// This file is part of Parity Bridges Common.
+
+// Parity Bridges Common is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Parity Bridges Common is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Parity Bridges Common. If not, see .
+
+//! The Millau runtime. This can be compiled with `#[no_std]`, ready for Wasm.
+
+#![cfg_attr(not(feature = "std"), no_std)]
+// `construct_runtime!` does a lot of recursion and requires us to increase the limit to 256.
+#![recursion_limit = "256"]
+// Runtime-generated enums
+#![allow(clippy::large_enum_variant)]
+// From construct_runtime macro
+#![allow(clippy::from_over_into)]
+
+// Make the WASM binary available.
+#[cfg(feature = "std")]
+include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs"));
+
+pub mod rialto_messages;
+pub mod rialto_parachain_messages;
+pub mod weights;
+pub mod xcm_config;
+
+use bp_parachains::SingleParaStoredHeaderDataBuilder;
+#[cfg(feature = "runtime-benchmarks")]
+use bp_relayers::{RewardsAccountOwner, RewardsAccountParams};
+use bp_runtime::HeaderId;
+use pallet_grandpa::{
+ fg_primitives, AuthorityId as GrandpaId, AuthorityList as GrandpaAuthorityList,
+};
+use pallet_transaction_payment::{FeeDetails, Multiplier, RuntimeDispatchInfo};
+use sp_api::impl_runtime_apis;
+use sp_consensus_aura::sr25519::AuthorityId as AuraId;
+use sp_consensus_beefy::{crypto::AuthorityId as BeefyId, mmr::MmrLeafVersion, ValidatorSet};
+use sp_core::OpaqueMetadata;
+use sp_runtime::{
+ create_runtime_str, generic, impl_opaque_keys,
+ traits::{Block as BlockT, IdentityLookup, Keccak256, NumberFor, OpaqueKeys},
+ transaction_validity::{TransactionSource, TransactionValidity},
+ ApplyExtrinsicResult, FixedPointNumber, Perquintill,
+};
+use sp_std::prelude::*;
+#[cfg(feature = "std")]
+use sp_version::NativeVersion;
+use sp_version::RuntimeVersion;
+use xcm_builder::NetworkExportTable;
+
+// to be able to use Millau runtime in `bridge-runtime-common` tests
+pub use bridge_runtime_common;
+
+// A few exports that help ease life for downstream crates.
+pub use frame_support::{
+ construct_runtime,
+ dispatch::DispatchClass,
+ parameter_types,
+ traits::{
+ ConstBool, ConstU128, ConstU32, ConstU64, ConstU8, Currency, ExistenceRequirement,
+ Imbalance, KeyOwnerProofSystem,
+ },
+ weights::{
+ constants::WEIGHT_REF_TIME_PER_SECOND, ConstantMultiplier, IdentityFee, RuntimeDbWeight,
+ Weight,
+ },
+ RuntimeDebug, StorageValue,
+};
+
+pub use frame_system::Call as SystemCall;
+pub use pallet_balances::Call as BalancesCall;
+pub use pallet_bridge_grandpa::Call as BridgeGrandpaCall;
+pub use pallet_bridge_messages::Call as MessagesCall;
+pub use pallet_bridge_parachains::Call as BridgeParachainsCall;
+pub use pallet_sudo::Call as SudoCall;
+pub use pallet_timestamp::Call as TimestampCall;
+pub use pallet_xcm::Call as XcmCall;
+
+use bridge_runtime_common::{
+ generate_bridge_reject_obsolete_headers_and_messages,
+ refund_relayer_extension::{
+ ActualFeeRefund, RefundBridgedParachainMessages, RefundableMessagesLane,
+ RefundableParachain,
+ },
+};
+#[cfg(any(feature = "std", test))]
+pub use sp_runtime::BuildStorage;
+pub use sp_runtime::{Perbill, Permill};
+
+/// An index to a block.
+pub type BlockNumber = bp_millau::BlockNumber;
+
+/// Alias to 512-bit hash when used in the context of a transaction signature on the chain.
+pub type Signature = bp_millau::Signature;
+
+/// Some way of identifying an account on the chain. We intentionally make it equivalent
+/// to the public key of our transaction signing scheme.
+pub type AccountId = bp_millau::AccountId;
+
+/// The type for looking up accounts. We don't expect more than 4 billion of them, but you
+/// never know...
+pub type AccountIndex = u32;
+
+/// Balance of an account.
+pub type Balance = bp_millau::Balance;
+
+/// Nonce of a transaction in the chain.
+pub type Nonce = bp_millau::Nonce;
+
+/// A hash of some data used by the chain.
+pub type Hash = bp_millau::Hash;
+
+/// Hashing algorithm used by the chain.
+pub type Hashing = bp_millau::Hasher;
+
+/// Opaque types. These are used by the CLI to instantiate machinery that don't need to know
+/// the specifics of the runtime. They can then be made to be agnostic over specific formats
+/// of data like extrinsics, allowing for them to continue syncing the network through upgrades
+/// to even the core data structures.
+pub mod opaque {
+ use super::*;
+
+ pub use sp_runtime::OpaqueExtrinsic as UncheckedExtrinsic;
+
+ /// Opaque block header type.
+ pub type Header = generic::Header;
+ /// Opaque block type.
+ pub type Block = generic::Block;
+ /// Opaque block identifier type.
+ pub type BlockId = generic::BlockId;
+}
+
+impl_opaque_keys! {
+ pub struct SessionKeys {
+ pub aura: Aura,
+ pub beefy: Beefy,
+ pub grandpa: Grandpa,
+ }
+}
+
+/// This runtime version.
+#[sp_version::runtime_version]
+pub const VERSION: RuntimeVersion = RuntimeVersion {
+ spec_name: create_runtime_str!("millau-runtime"),
+ impl_name: create_runtime_str!("millau-runtime"),
+ authoring_version: 1,
+ spec_version: 1,
+ impl_version: 1,
+ apis: RUNTIME_API_VERSIONS,
+ transaction_version: 1,
+ state_version: 0,
+};
+
+/// The version information used to identify this runtime when compiled natively.
+#[cfg(feature = "std")]
+pub fn native_version() -> NativeVersion {
+ NativeVersion { runtime_version: VERSION, can_author_with: Default::default() }
+}
+
+parameter_types! {
+ pub const BlockHashCount: BlockNumber = 250;
+ pub const Version: RuntimeVersion = VERSION;
+ pub const DbWeight: RuntimeDbWeight = RuntimeDbWeight {
+ read: 60_000_000, // ~0.06 ms = ~60 µs
+ write: 200_000_000, // ~0.2 ms = 200 µs
+ };
+ pub const SS58Prefix: u8 = 60;
+}
+
+impl frame_system::Config for Runtime {
+ /// The basic call filter to use in dispatchable.
+ type BaseCallFilter = frame_support::traits::Everything;
+ /// The identifier used to distinguish between accounts.
+ type AccountId = AccountId;
+ /// The aggregated dispatch type that is available for extrinsics.
+ type RuntimeCall = RuntimeCall;
+ /// The lookup mechanism to get account ID from whatever is passed in dispatchers.
+ type Lookup = IdentityLookup;
+ /// The index type for storing how many extrinsics an account has signed.
+ type Nonce = Nonce;
+ /// The type for hashing blocks and tries.
+ type Hash = Hash;
+ /// The hashing algorithm used.
+ type Hashing = Hashing;
+ /// The header type.
+ type Block = Block;
+ /// The ubiquitous event type.
+ type RuntimeEvent = RuntimeEvent;
+ /// The ubiquitous origin type.
+ type RuntimeOrigin = RuntimeOrigin;
+ /// Maximum number of block number to block hash mappings to keep (oldest pruned first).
+ type BlockHashCount = BlockHashCount;
+ /// Version of the runtime.
+ type Version = Version;
+ /// Provides information about the pallet setup in the runtime.
+ type PalletInfo = PalletInfo;
+ /// What to do if a new account is created.
+ type OnNewAccount = ();
+ /// What to do if an account is fully reaped from the system.
+ type OnKilledAccount = ();
+ /// The data to be stored in an account.
+ type AccountData = pallet_balances::AccountData;
+ // TODO: update me (https://github.com/paritytech/parity-bridges-common/issues/78)
+ /// Weight information for the extrinsics of this pallet.
+ type SystemWeightInfo = ();
+ /// Block and extrinsics weights: base values and limits.
+ type BlockWeights = bp_millau::BlockWeights;
+ /// The maximum length of a block (in bytes).
+ type BlockLength = bp_millau::BlockLength;
+ /// The weight of database operations that the runtime can invoke.
+ type DbWeight = DbWeight;
+ /// The designated SS58 prefix of this chain.
+ type SS58Prefix = SS58Prefix;
+ /// The set code logic, just the default since we're not a parachain.
+ type OnSetCode = ();
+ type MaxConsumers = frame_support::traits::ConstU32<16>;
+}
+
+impl pallet_aura::Config for Runtime {
+ type AuthorityId = AuraId;
+ type MaxAuthorities = ConstU32<10>;
+ type DisabledValidators = ();
+ type AllowMultipleBlocksPerSlot = ConstBool;
+}
+
+impl pallet_beefy::Config for Runtime {
+ type BeefyId = BeefyId;
+ type MaxAuthorities = ConstU32<10>;
+ type MaxSetIdSessionEntries = ConstU64<0>;
+ type OnNewValidatorSet = MmrLeaf;
+ type WeightInfo = ();
+ type KeyOwnerProof = sp_core::Void;
+ type EquivocationReportSystem = ();
+ type MaxNominators = ConstU32<256>;
+}
+
+impl pallet_grandpa::Config for Runtime {
+ type RuntimeEvent = RuntimeEvent;
+ // TODO: update me (https://github.com/paritytech/parity-bridges-common/issues/78)
+ type WeightInfo = ();
+ type MaxAuthorities = ConstU32<10>;
+ type MaxSetIdSessionEntries = ConstU64<0>;
+ type KeyOwnerProof = sp_core::Void;
+ type EquivocationReportSystem = ();
+ type MaxNominators = ConstU32<256>;
+}
+
+/// MMR helper types.
+mod mmr {
+ use super::Runtime;
+ pub use pallet_mmr::primitives::*;
+
+ pub type Leaf = <::LeafData as LeafDataProvider>::LeafData;
+ pub type Hashing = ::Hashing;
+ pub type Hash = ::Output;
+}
+
+impl pallet_mmr::Config for Runtime {
+ const INDEXING_PREFIX: &'static [u8] = b"mmr";
+ type Hashing = Keccak256;
+ type OnNewRoot = pallet_beefy_mmr::DepositBeefyDigest;
+ type WeightInfo = ();
+ type LeafData = pallet_beefy_mmr::Pallet;
+}
+
+parameter_types! {
+ /// Version of the produced MMR leaf.
+ ///
+ /// The version consists of two parts;
+ /// - `major` (3 bits)
+ /// - `minor` (5 bits)
+ ///
+ /// `major` should be updated only if decoding the previous MMR Leaf format from the payload
+ /// is not possible (i.e. backward incompatible change).
+ /// `minor` should be updated if fields are added to the previous MMR Leaf, which given SCALE
+ /// encoding does not prevent old leafs from being decoded.
+ ///
+ /// Hence we expect `major` to be changed really rarely (think never).
+ /// See [`MmrLeafVersion`] type documentation for more details.
+ pub LeafVersion: MmrLeafVersion = MmrLeafVersion::new(0, 0);
+}
+
+pub struct BeefyDummyDataProvider;
+
+impl sp_consensus_beefy::mmr::BeefyDataProvider<()> for BeefyDummyDataProvider {
+ fn extra_data() {}
+}
+
+impl pallet_beefy_mmr::Config for Runtime {
+ type LeafVersion = LeafVersion;
+ type BeefyAuthorityToMerkleLeaf = pallet_beefy_mmr::BeefyEcdsaToEthereum;
+ type LeafExtra = ();
+ type BeefyDataProvider = BeefyDummyDataProvider;
+}
+
+parameter_types! {
+ pub const MinimumPeriod: u64 = bp_millau::SLOT_DURATION / 2;
+}
+
+impl pallet_timestamp::Config for Runtime {
+ /// A timestamp: milliseconds since the UNIX epoch.
+ type Moment = u64;
+ type OnTimestampSet = Aura;
+ type MinimumPeriod = MinimumPeriod;
+ // TODO: update me (https://github.com/paritytech/parity-bridges-common/issues/78)
+ type WeightInfo = ();
+}
+
+parameter_types! {
+ pub const ExistentialDeposit: bp_millau::Balance = 500;
+}
+
+impl pallet_balances::Config for Runtime {
+ /// The type for recording an account's balance.
+ type Balance = Balance;
+ /// The ubiquitous event type.
+ type RuntimeEvent = RuntimeEvent;
+ type DustRemoval = ();
+ type ExistentialDeposit = ExistentialDeposit;
+ type AccountStore = System;
+ // TODO: update me (https://github.com/paritytech/parity-bridges-common/issues/78)
+ type WeightInfo = ();
+ // For weight estimation, we assume that the most locks on an individual account will be 50.
+ // This number may need to be adjusted in the future if this assumption no longer holds true.
+ type MaxLocks = ConstU32<50>;
+ type MaxReserves = ConstU32<50>;
+ type ReserveIdentifier = [u8; 8];
+ type RuntimeHoldReason = RuntimeHoldReason;
+ type FreezeIdentifier = ();
+ type MaxHolds = ConstU32<0>;
+ type MaxFreezes = ConstU32<0>;
+}
+
+parameter_types! {
+ pub const TransactionBaseFee: Balance = 0;
+ pub const TransactionByteFee: Balance = 1;
+ // values for following parameters are copied from polkadot repo, but it is fine
+ // not to sync them - we're not going to make Rialto a full copy of one of Polkadot-like chains
+ pub const TargetBlockFullness: Perquintill = Perquintill::from_percent(25);
+ pub AdjustmentVariable: Multiplier = Multiplier::saturating_from_rational(3, 100_000);
+ pub MinimumMultiplier: Multiplier = Multiplier::saturating_from_rational(1, 1_000_000u128);
+ pub MaximumMultiplier: Multiplier = sp_runtime::traits::Bounded::max_value();
+}
+
+impl pallet_transaction_payment::Config for Runtime {
+ type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter;
+ type OperationalFeeMultiplier = ConstU8<5>;
+ type WeightToFee = bp_millau::WeightToFee;
+ type LengthToFee = ConstantMultiplier;
+ type FeeMultiplierUpdate = pallet_transaction_payment::TargetedFeeAdjustment<
+ Runtime,
+ TargetBlockFullness,
+ AdjustmentVariable,
+ MinimumMultiplier,
+ MaximumMultiplier,
+ >;
+ type RuntimeEvent = RuntimeEvent;
+}
+
+impl pallet_sudo::Config for Runtime {
+ type RuntimeEvent = RuntimeEvent;
+ type RuntimeCall = RuntimeCall;
+ type WeightInfo = pallet_sudo::weights::SubstrateWeight;
+}
+
+parameter_types! {
+ /// Authorities are changing every 5 minutes.
+ pub const Period: BlockNumber = bp_millau::SESSION_LENGTH;
+ pub const Offset: BlockNumber = 0;
+ pub const RelayerStakeReserveId: [u8; 8] = *b"brdgrlrs";
+}
+
+impl pallet_session::Config for Runtime {
+ type RuntimeEvent = RuntimeEvent;
+ type ValidatorId = ::AccountId;
+ type ValidatorIdOf = ();
+ type ShouldEndSession = pallet_session::PeriodicSessions;
+ type NextSessionRotation = pallet_session::PeriodicSessions;
+ type SessionManager = pallet_shift_session_manager::Pallet;
+ type SessionHandler = ::KeyTypeIdProviders;
+ type Keys = SessionKeys;
+ // TODO: update me (https://github.com/paritytech/parity-bridges-common/issues/78)
+ type WeightInfo = ();
+}
+
+impl pallet_bridge_relayers::Config for Runtime {
+ type RuntimeEvent = RuntimeEvent;
+ type Reward = Balance;
+ type PaymentProcedure =
+ bp_relayers::PayRewardFromAccount, AccountId>;
+ type StakeAndSlash = pallet_bridge_relayers::StakeAndSlashNamed<
+ AccountId,
+ BlockNumber,
+ Balances,
+ RelayerStakeReserveId,
+ ConstU64<1_000>,
+ ConstU64<8>,
+ >;
+ type WeightInfo = ();
+}
+
+pub type RialtoGrandpaInstance = ();
+impl pallet_bridge_grandpa::Config for Runtime {
+ type RuntimeEvent = RuntimeEvent;
+ type BridgedChain = bp_rialto::Rialto;
+ type MaxFreeMandatoryHeadersPerBlock = ConstU32<4>;
+ type HeadersToKeep = ConstU32<{ bp_rialto::DAYS }>;
+ type WeightInfo = pallet_bridge_grandpa::weights::BridgeWeight;
+}
+
+pub type WestendGrandpaInstance = pallet_bridge_grandpa::Instance1;
+impl pallet_bridge_grandpa::Config for Runtime {
+ type RuntimeEvent = RuntimeEvent;
+ type BridgedChain = bp_westend::Westend;
+ type MaxFreeMandatoryHeadersPerBlock = ConstU32<4>;
+ type HeadersToKeep = ConstU32<{ bp_westend::DAYS }>;
+ type WeightInfo = pallet_bridge_grandpa::weights::BridgeWeight;
+}
+
+impl pallet_shift_session_manager::Config for Runtime {}
+
+parameter_types! {
+ pub const MaxMessagesToPruneAtOnce: bp_messages::MessageNonce = 8;
+ pub const MaxUnrewardedRelayerEntriesAtInboundLane: bp_messages::MessageNonce =
+ bp_rialto::MAX_UNREWARDED_RELAYERS_IN_CONFIRMATION_TX;
+ pub const MaxUnconfirmedMessagesAtInboundLane: bp_messages::MessageNonce =
+ bp_rialto::MAX_UNCONFIRMED_MESSAGES_IN_CONFIRMATION_TX;
+ pub const RootAccountForPayments: Option = None;
+ pub const RialtoChainId: bp_runtime::ChainId = bp_runtime::RIALTO_CHAIN_ID;
+ pub const RialtoParachainChainId: bp_runtime::ChainId = bp_runtime::RIALTO_PARACHAIN_CHAIN_ID;
+ pub RialtoActiveOutboundLanes: &'static [bp_messages::LaneId] = &[rialto_messages::XCM_LANE];
+ pub RialtoParachainActiveOutboundLanes: &'static [bp_messages::LaneId] = &[rialto_parachain_messages::XCM_LANE];
+}
+
+/// Instance of the messages pallet used to relay messages to/from Rialto chain.
+pub type WithRialtoMessagesInstance = ();
+
+impl pallet_bridge_messages::Config for Runtime {
+ type RuntimeEvent = RuntimeEvent;
+ type WeightInfo = weights::RialtoMessagesWeightInfo;
+ type ActiveOutboundLanes = RialtoActiveOutboundLanes;
+ type MaxUnrewardedRelayerEntriesAtInboundLane = MaxUnrewardedRelayerEntriesAtInboundLane;
+ type MaxUnconfirmedMessagesAtInboundLane = MaxUnconfirmedMessagesAtInboundLane;
+
+ type MaximalOutboundPayloadSize = crate::rialto_messages::ToRialtoMaximalOutboundPayloadSize;
+ type OutboundPayload = crate::rialto_messages::ToRialtoMessagePayload;
+
+ type InboundPayload = crate::rialto_messages::FromRialtoMessagePayload;
+ type InboundRelayer = bp_rialto::AccountId;
+ type DeliveryPayments = ();
+
+ type TargetHeaderChain = crate::rialto_messages::RialtoAsTargetHeaderChain;
+ type LaneMessageVerifier = crate::rialto_messages::ToRialtoMessageVerifier;
+ type DeliveryConfirmationPayments = pallet_bridge_relayers::DeliveryConfirmationPaymentsAdapter<
+ Runtime,
+ WithRialtoMessagesInstance,
+ frame_support::traits::ConstU64<100_000>,
+ >;
+ type OnMessagesDelivered = ();
+
+ type SourceHeaderChain = crate::rialto_messages::RialtoAsSourceHeaderChain;
+ type MessageDispatch = crate::rialto_messages::FromRialtoMessageDispatch;
+ type BridgedChainId = RialtoChainId;
+}
+
+/// Instance of the messages pallet used to relay messages to/from RialtoParachain chain.
+pub type WithRialtoParachainMessagesInstance = pallet_bridge_messages::Instance1;
+
+impl pallet_bridge_messages::Config for Runtime {
+ type RuntimeEvent = RuntimeEvent;
+ type WeightInfo = weights::RialtoParachainMessagesWeightInfo;
+ type ActiveOutboundLanes = RialtoParachainActiveOutboundLanes;
+ type MaxUnrewardedRelayerEntriesAtInboundLane = MaxUnrewardedRelayerEntriesAtInboundLane;
+ type MaxUnconfirmedMessagesAtInboundLane = MaxUnconfirmedMessagesAtInboundLane;
+
+ type MaximalOutboundPayloadSize =
+ crate::rialto_parachain_messages::ToRialtoParachainMaximalOutboundPayloadSize;
+ type OutboundPayload = crate::rialto_parachain_messages::ToRialtoParachainMessagePayload;
+
+ type InboundPayload = crate::rialto_parachain_messages::FromRialtoParachainMessagePayload;
+ type InboundRelayer = bp_rialto_parachain::AccountId;
+ type DeliveryPayments = ();
+
+ type TargetHeaderChain = crate::rialto_parachain_messages::RialtoParachainAsTargetHeaderChain;
+ type LaneMessageVerifier = crate::rialto_parachain_messages::ToRialtoParachainMessageVerifier;
+ type DeliveryConfirmationPayments = pallet_bridge_relayers::DeliveryConfirmationPaymentsAdapter<
+ Runtime,
+ WithRialtoParachainMessagesInstance,
+ frame_support::traits::ConstU64<100_000>,
+ >;
+ type OnMessagesDelivered = ();
+
+ type SourceHeaderChain = crate::rialto_parachain_messages::RialtoParachainAsSourceHeaderChain;
+ type MessageDispatch = crate::rialto_parachain_messages::FromRialtoParachainMessageDispatch;
+ type BridgedChainId = RialtoParachainChainId;
+}
+
+parameter_types! {
+ pub const RialtoParachainMessagesLane: bp_messages::LaneId = rialto_parachain_messages::XCM_LANE;
+ pub const RialtoParasPalletName: &'static str = bp_rialto::PARAS_PALLET_NAME;
+ pub const WestendParasPalletName: &'static str = bp_westend::PARAS_PALLET_NAME;
+ pub const MaxRialtoParaHeadDataSize: u32 = bp_rialto::MAX_NESTED_PARACHAIN_HEAD_DATA_SIZE;
+ pub const MaxWestendParaHeadDataSize: u32 = bp_westend::MAX_NESTED_PARACHAIN_HEAD_DATA_SIZE;
+}
+
+/// Instance of the with-Rialto parachains pallet.
+pub type WithRialtoParachainsInstance = ();
+
+impl pallet_bridge_parachains::Config for Runtime {
+ type RuntimeEvent = RuntimeEvent;
+ type WeightInfo = pallet_bridge_parachains::weights::BridgeWeight;
+ type BridgesGrandpaPalletInstance = RialtoGrandpaInstance;
+ type ParasPalletName = RialtoParasPalletName;
+ type ParaStoredHeaderDataBuilder =
+ SingleParaStoredHeaderDataBuilder;
+ type HeadsToKeep = ConstU32<1024>;
+ type MaxParaHeadDataSize = MaxRialtoParaHeadDataSize;
+}
+
+/// Instance of the with-Westend parachains pallet.
+pub type WithWestendParachainsInstance = pallet_bridge_parachains::Instance1;
+
+impl pallet_bridge_parachains::Config for Runtime {
+ type RuntimeEvent = RuntimeEvent;
+ type WeightInfo = pallet_bridge_parachains::weights::BridgeWeight;
+ type BridgesGrandpaPalletInstance = WestendGrandpaInstance;
+ type ParasPalletName = WestendParasPalletName;
+ type ParaStoredHeaderDataBuilder =
+ SingleParaStoredHeaderDataBuilder;
+ type HeadsToKeep = ConstU32<1024>;
+ type MaxParaHeadDataSize = MaxWestendParaHeadDataSize;
+}
+
+impl pallet_utility::Config for Runtime {
+ type RuntimeEvent = RuntimeEvent;
+ type RuntimeCall = RuntimeCall;
+ type PalletsOrigin = OriginCaller;
+ type WeightInfo = ();
+}
+
+// this config is totally incorrect - the pallet is not actually used at this runtime. We need
+// it only to be able to run benchmarks and make required traits (and default weights for tests).
+parameter_types! {
+ pub BridgeTable: Vec<(xcm::prelude::NetworkId, xcm::prelude::MultiLocation, Option)>
+ = vec![(xcm_config::RialtoNetwork::get(), xcm_config::TokenLocation::get(), Some((xcm_config::TokenAssetId::get(), 1_000_000_000_u128).into()))];
+}
+impl pallet_xcm_bridge_hub_router::Config for Runtime {
+ type WeightInfo = ();
+
+ type UniversalLocation = xcm_config::UniversalLocation;
+ type BridgedNetworkId = xcm_config::RialtoNetwork;
+ type Bridges = NetworkExportTable;
+
+ type BridgeHubOrigin = frame_system::EnsureRoot;
+ type ToBridgeHubSender = xcm_config::XcmRouter;
+ type WithBridgeHubChannel = xcm_config::EmulatedSiblingXcmpChannel;
+
+ type ByteFee = ConstU128<1_000>;
+ type FeeAsset = xcm_config::TokenAssetId;
+}
+
+construct_runtime!(
+ pub enum Runtime {
+ System: frame_system::{Pallet, Call, Config, Storage, Event},
+ Sudo: pallet_sudo::{Pallet, Call, Config, Storage, Event},
+ Utility: pallet_utility,
+
+ // Must be before session.
+ Aura: pallet_aura::{Pallet, Config},
+
+ Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent},
+ Balances: pallet_balances::{Pallet, Call, Storage, Config, Event},
+ TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Event},
+
+ // Consensus support.
+ Session: pallet_session::{Pallet, Call, Storage, Event, Config},
+ Grandpa: pallet_grandpa::{Pallet, Call, Storage, Config, Event},
+ ShiftSessionManager: pallet_shift_session_manager::{Pallet},
+
+ // BEEFY Bridges support.
+ Beefy: pallet_beefy::{Pallet, Storage, Config},
+ Mmr: pallet_mmr::{Pallet, Storage},
+ MmrLeaf: pallet_beefy_mmr::{Pallet, Storage},
+
+ // Rialto bridge modules.
+ BridgeRelayers: pallet_bridge_relayers::{Pallet, Call, Storage, Event},
+ BridgeRialtoGrandpa: pallet_bridge_grandpa::{Pallet, Call, Storage, Event},
+ BridgeRialtoMessages: pallet_bridge_messages::{Pallet, Call, Storage, Event, Config},
+
+ // Westend bridge modules.
+ BridgeWestendGrandpa: pallet_bridge_grandpa::::{Pallet, Call, Config, Storage, Event},
+ BridgeWestendParachains: pallet_bridge_parachains::::{Pallet, Call, Storage, Event},
+
+ // RialtoParachain bridge modules.
+ BridgeRialtoParachains: pallet_bridge_parachains::{Pallet, Call, Storage, Event},
+ BridgeRialtoParachainMessages: pallet_bridge_messages::::{Pallet, Call, Storage, Event, Config},
+
+ // Pallet for sending XCM.
+ XcmPallet: pallet_xcm::{Pallet, Call, Storage, Event, Origin, Config} = 99,
+
+ // Pallets that are not actually used here (yet?), but we need to run benchmarks on it.
+ XcmBridgeHubRouter: pallet_xcm_bridge_hub_router::{Pallet, Storage} = 200,
+ }
+);
+
+generate_bridge_reject_obsolete_headers_and_messages! {
+ RuntimeCall, AccountId,
+ // Grandpa
+ BridgeRialtoGrandpa, BridgeWestendGrandpa,
+ // Parachains
+ BridgeRialtoParachains,
+ //Messages
+ BridgeRialtoMessages, BridgeRialtoParachainMessages
+}
+
+bp_runtime::generate_static_str_provider!(BridgeRefundRialtoPara2000Lane0Msgs);
+/// Signed extension that refunds relayers that are delivering messages from the Rialto parachain.
+pub type PriorityBoostPerMessage = ConstU64<324_316_715>;
+pub type BridgeRefundRialtoParachainMessages = RefundBridgedParachainMessages<
+ Runtime,
+ RefundableParachain,
+ RefundableMessagesLane,
+ ActualFeeRefund,
+ PriorityBoostPerMessage,
+ StrBridgeRefundRialtoPara2000Lane0Msgs,
+>;
+
+/// The address format for describing accounts.
+pub type Address = AccountId;
+/// Block header type as expected by this runtime.
+pub type Header = generic::Header;
+/// Block type as expected by this runtime.
+pub type Block = generic::Block;
+/// A Block signed with a Justification
+pub type SignedBlock = generic::SignedBlock;
+/// BlockId type as expected by this runtime.
+pub type BlockId = generic::BlockId;
+/// The SignedExtension to the basic transaction logic.
+pub type SignedExtra = (
+ frame_system::CheckNonZeroSender,
+ frame_system::CheckSpecVersion,
+ frame_system::CheckTxVersion,
+ frame_system::CheckGenesis,
+ frame_system::CheckEra,
+ frame_system::CheckNonce,
+ frame_system::CheckWeight,
+ pallet_transaction_payment::ChargeTransactionPayment,
+ BridgeRejectObsoleteHeadersAndMessages,
+ BridgeRefundRialtoParachainMessages,
+);
+/// The payload being signed in transactions.
+pub type SignedPayload = generic::SignedPayload;
+/// Unchecked extrinsic type as expected by this runtime.
+pub type UncheckedExtrinsic =
+ generic::UncheckedExtrinsic;
+/// Extrinsic type that has already been checked.
+pub type CheckedExtrinsic = generic::CheckedExtrinsic;
+/// Executive: handles dispatch to the various modules.
+pub type Executive = frame_executive::Executive<
+ Runtime,
+ Block,
+ frame_system::ChainContext,
+ Runtime,
+ AllPalletsWithSystem,
+>;
+
+#[cfg(feature = "runtime-benchmarks")]
+mod benches {
+ frame_benchmarking::define_benchmarks!(
+ [pallet_bridge_messages, MessagesBench::]
+ [pallet_bridge_messages, MessagesBench::]
+ [pallet_bridge_grandpa, BridgeRialtoGrandpa]
+ [pallet_bridge_parachains, ParachainsBench::]
+ [pallet_bridge_relayers, RelayersBench::]
+ [pallet_xcm_bridge_hub_router, XcmBridgeHubRouterBench::]
+ );
+}
+
+impl_runtime_apis! {
+ impl sp_api::Core for Runtime {
+ fn version() -> RuntimeVersion {
+ VERSION
+ }
+
+ fn execute_block(block: Block) {
+ Executive::execute_block(block);
+ }
+
+ fn initialize_block(header: &::Header) {
+ Executive::initialize_block(header)
+ }
+ }
+
+ impl sp_api::Metadata for Runtime {
+ fn metadata() -> OpaqueMetadata {
+ OpaqueMetadata::new(Runtime::metadata().into())
+ }
+
+ fn metadata_at_version(version: u32) -> Option {
+ Runtime::metadata_at_version(version)
+ }
+
+ fn metadata_versions() -> sp_std::vec::Vec {
+ Runtime::metadata_versions()
+ }
+ }
+
+ impl sp_block_builder::BlockBuilder for Runtime {
+ fn apply_extrinsic(extrinsic: ::Extrinsic) -> ApplyExtrinsicResult {
+ Executive::apply_extrinsic(extrinsic)
+ }
+
+ fn finalize_block() -> ::Header {
+ Executive::finalize_block()
+ }
+
+ fn inherent_extrinsics(data: sp_inherents::InherentData) -> Vec<::Extrinsic> {
+ data.create_extrinsics()
+ }
+
+ fn check_inherents(
+ block: Block,
+ data: sp_inherents::InherentData,
+ ) -> sp_inherents::CheckInherentsResult {
+ data.check_extrinsics(&block)
+ }
+ }
+
+ impl frame_system_rpc_runtime_api::AccountNonceApi for Runtime {
+ fn account_nonce(account: AccountId) -> Nonce {
+ System::account_nonce(account)
+ }
+ }
+
+ impl sp_transaction_pool::runtime_api::TaggedTransactionQueue for Runtime {
+ fn validate_transaction(
+ source: TransactionSource,
+ tx: ::Extrinsic,
+ block_hash: ::Hash,
+ ) -> TransactionValidity {
+ Executive::validate_transaction(source, tx, block_hash)
+ }
+ }
+
+ impl sp_offchain::OffchainWorkerApi for Runtime {
+ fn offchain_worker(header: &::Header) {
+ Executive::offchain_worker(header)
+ }
+ }
+
+ impl sp_consensus_aura::AuraApi for Runtime {
+ fn slot_duration() -> sp_consensus_aura::SlotDuration {
+ sp_consensus_aura::SlotDuration::from_millis(Aura::slot_duration())
+ }
+
+ fn authorities() -> Vec {
+ Aura::authorities().to_vec()
+ }
+ }
+
+ impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi<
+ Block,
+ Balance,
+ > for Runtime {
+ fn query_info(uxt: ::Extrinsic, len: u32) -> RuntimeDispatchInfo {
+ TransactionPayment::query_info(uxt, len)
+ }
+ fn query_fee_details(uxt: ::Extrinsic, len: u32) -> FeeDetails {
+ TransactionPayment::query_fee_details(uxt, len)
+ }
+ fn query_weight_to_fee(weight: Weight) -> Balance {
+ TransactionPayment::weight_to_fee(weight)
+ }
+ fn query_length_to_fee(length: u32) -> Balance {
+ TransactionPayment::length_to_fee(length)
+ }
+ }
+
+ impl sp_session::SessionKeys for Runtime {
+ fn generate_session_keys(seed: Option>) -> Vec {
+ SessionKeys::generate(seed)
+ }
+
+ fn decode_session_keys(
+ encoded: Vec,
+ ) -> Option, sp_core::crypto::KeyTypeId)>> {
+ SessionKeys::decode_into_raw_public_keys(&encoded)
+ }
+ }
+
+ impl sp_consensus_beefy::BeefyApi for Runtime {
+ fn beefy_genesis() -> Option {
+ Beefy::genesis_block()
+ }
+
+ fn validator_set() -> Option> {
+ Beefy::validator_set()
+ }
+
+ fn submit_report_equivocation_unsigned_extrinsic(
+ _equivocation_proof: sp_consensus_beefy::EquivocationProof<
+ NumberFor,
+ sp_consensus_beefy::crypto::AuthorityId,
+ sp_consensus_beefy::crypto::Signature
+ >,
+ _key_owner_proof: sp_consensus_beefy::OpaqueKeyOwnershipProof,
+ ) -> Option<()> { None }
+
+ fn generate_key_ownership_proof(
+ _set_id: sp_consensus_beefy::ValidatorSetId,
+ _authority_id: sp_consensus_beefy::crypto::AuthorityId,
+ ) -> Option { None }
+ }
+
+ impl pallet_mmr::primitives::MmrApi<
+ Block,
+ mmr::Hash,
+ BlockNumber,
+ > for Runtime {
+ fn mmr_root() -> Result {
+ Ok(Mmr::mmr_root())
+ }
+
+ fn mmr_leaf_count() -> Result {
+ Ok(Mmr::mmr_leaves())
+ }
+
+ fn generate_proof(
+ block_numbers: Vec,
+ best_known_block_number: Option,
+ ) -> Result<(Vec, mmr::Proof), mmr::Error> {
+ Mmr::generate_proof(block_numbers, best_known_block_number).map(
+ |(leaves, proof)| {
+ (
+ leaves
+ .into_iter()
+ .map(|leaf| mmr::EncodableOpaqueLeaf::from_leaf(&leaf))
+ .collect(),
+ proof,
+ )
+ },
+ )
+ }
+
+ fn verify_proof(leaves: Vec, proof: mmr::Proof)
+ -> Result<(), mmr::Error>
+ {
+ let leaves = leaves.into_iter().map(|leaf|
+ leaf.into_opaque_leaf()
+ .try_decode()
+ .ok_or(mmr::Error::Verify)).collect::, mmr::Error>>()?;
+ Mmr::verify_leaves(leaves, proof)
+ }
+
+ fn verify_proof_stateless(
+ root: mmr::Hash,
+ leaves: Vec,
+ proof: mmr::Proof
+ ) -> Result<(), mmr::Error> {
+ let nodes = leaves.into_iter().map(|leaf|mmr::DataOrHash::Data(leaf.into_opaque_leaf())).collect();
+ pallet_mmr::verify_leaves_proof::(root, nodes, proof)
+ }
+ }
+
+ impl fg_primitives::GrandpaApi for Runtime {
+ fn current_set_id() -> fg_primitives::SetId {
+ Grandpa::current_set_id()
+ }
+
+ fn grandpa_authorities() -> GrandpaAuthorityList {
+ Grandpa::grandpa_authorities()
+ }
+
+ fn submit_report_equivocation_unsigned_extrinsic(
+ equivocation_proof: fg_primitives::EquivocationProof<
+ ::Hash,
+ NumberFor,
+ >,
+ key_owner_proof: fg_primitives::OpaqueKeyOwnershipProof,
+ ) -> Option<()> {
+ let key_owner_proof = key_owner_proof.decode()?;
+
+ Grandpa::submit_unsigned_equivocation_report(
+ equivocation_proof,
+ key_owner_proof,
+ )
+ }
+
+ fn generate_key_ownership_proof(
+ _set_id: fg_primitives::SetId,
+ _authority_id: GrandpaId,
+ ) -> Option {
+ // NOTE: this is the only implementation possible since we've
+ // defined our key owner proof type as a bottom type (i.e. a type
+ // with no values).
+ None
+ }
+ }
+
+ impl bp_rialto::RialtoFinalityApi for Runtime {
+ fn best_finalized() -> Option> {
+ BridgeRialtoGrandpa::best_finalized()
+ }
+
+ fn synced_headers_grandpa_info(
+ ) -> Vec> {
+ BridgeRialtoGrandpa::synced_headers_grandpa_info()
+ }
+ }
+
+ impl bp_westend::WestendFinalityApi for Runtime {
+ fn best_finalized() -> Option> {
+ BridgeWestendGrandpa::best_finalized()
+ }
+
+ fn synced_headers_grandpa_info(
+ ) -> Vec> {
+ BridgeWestendGrandpa::synced_headers_grandpa_info()
+ }
+ }
+
+ impl bp_westend::AssetHubWestendFinalityApi for Runtime {
+ fn best_finalized() -> Option> {
+ pallet_bridge_parachains::Pallet::<
+ Runtime,
+ WithWestendParachainsInstance,
+ >::best_parachain_head_id::().unwrap_or(None)
+ }
+ }
+
+ impl bp_rialto_parachain::RialtoParachainFinalityApi for Runtime {
+ fn best_finalized() -> Option> {
+ pallet_bridge_parachains::Pallet::<
+ Runtime,
+ WithRialtoParachainsInstance,
+ >::best_parachain_head_id::().unwrap_or(None)
+ }
+ }
+
+ impl bp_rialto::ToRialtoOutboundLaneApi for Runtime {
+ fn message_details(
+ lane: bp_messages::LaneId,
+ begin: bp_messages::MessageNonce,
+ end: bp_messages::MessageNonce,
+ ) -> Vec {
+ bridge_runtime_common::messages_api::outbound_message_details::<
+ Runtime,
+ WithRialtoMessagesInstance,
+ >(lane, begin, end)
+ }
+ }
+
+ impl bp_rialto::FromRialtoInboundLaneApi for Runtime {
+ fn message_details(
+ lane: bp_messages::LaneId,
+ messages: Vec<(bp_messages::MessagePayload, bp_messages::OutboundMessageDetails)>,
+ ) -> Vec {
+ bridge_runtime_common::messages_api::inbound_message_details::<
+ Runtime,
+ WithRialtoMessagesInstance,
+ >(lane, messages)
+ }
+ }
+
+ impl bp_rialto_parachain::ToRialtoParachainOutboundLaneApi for Runtime {
+ fn message_details(
+ lane: bp_messages::LaneId,
+ begin: bp_messages::MessageNonce,
+ end: bp_messages::MessageNonce,
+ ) -> Vec {
+ bridge_runtime_common::messages_api::outbound_message_details::<
+ Runtime,
+ WithRialtoParachainMessagesInstance,
+ >(lane, begin, end)
+ }
+ }
+
+ impl bp_rialto_parachain::FromRialtoParachainInboundLaneApi for Runtime {
+ fn message_details(
+ lane: bp_messages::LaneId,
+ messages: Vec<(bp_messages::MessagePayload, bp_messages::OutboundMessageDetails)>,
+ ) -> Vec {
+ bridge_runtime_common::messages_api::inbound_message_details::<
+ Runtime,
+ WithRialtoParachainMessagesInstance,
+ >(lane, messages)
+ }
+ }
+
+ #[cfg(feature = "runtime-benchmarks")]
+ impl frame_benchmarking::Benchmark for Runtime {
+ fn benchmark_metadata(extra: bool) -> (
+ Vec,
+ Vec,
+ ) {
+ use frame_benchmarking::{Benchmarking, BenchmarkList};
+ use frame_support::traits::StorageInfoTrait;
+
+ use pallet_bridge_messages::benchmarking::Pallet as MessagesBench;
+ use pallet_bridge_parachains::benchmarking::Pallet as ParachainsBench;
+ use pallet_bridge_relayers::benchmarking::Pallet as RelayersBench;
+ use pallet_xcm_bridge_hub_router::benchmarking::Pallet as XcmBridgeHubRouterBench;
+
+ let mut list = Vec::::new();
+ list_benchmarks!(list, extra);
+
+ let storage_info = AllPalletsWithSystem::storage_info();
+ return (list, storage_info)
+ }
+
+ fn dispatch_benchmark(
+ config: frame_benchmarking::BenchmarkConfig,
+ ) -> Result, sp_runtime::RuntimeString> {
+ use frame_benchmarking::{Benchmarking, BenchmarkBatch, TrackedStorageKey};
+
+ let whitelist: Vec = vec![
+ // Block Number
+ hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef702a5c1b19ab7a04f536c519aca4983ac").to_vec().into(),
+ // Execution Phase
+ hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef7ff553b5a9862a516939d82b3d3d8661a").to_vec().into(),
+ // Event Count
+ hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef70a98fdbe9ce6c55837576c60c7af3850").to_vec().into(),
+ // System Events
+ hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef780d41e5e16056765bc8461851072c9d7").to_vec().into(),
+ // Caller 0 Account
+ hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da946c154ffd9992e395af90b5b13cc6f295c77033fce8a9045824a6690bbf99c6db269502f0a8d1d2a008542d5690a0749").to_vec().into(),
+ ];
+
+ use bridge_runtime_common::messages_benchmarking::{
+ prepare_message_delivery_proof_from_grandpa_chain,
+ prepare_message_delivery_proof_from_parachain,
+ prepare_message_proof_from_grandpa_chain,
+ prepare_message_proof_from_parachain,
+ };
+ use pallet_bridge_messages::benchmarking::{
+ Pallet as MessagesBench,
+ Config as MessagesConfig,
+ MessageDeliveryProofParams,
+ MessageProofParams,
+ };
+ use pallet_bridge_parachains::benchmarking::{
+ Pallet as ParachainsBench,
+ Config as ParachainsConfig,
+ };
+ use pallet_bridge_relayers::benchmarking::{
+ Pallet as RelayersBench,
+ Config as RelayersConfig,
+ };
+ use pallet_xcm_bridge_hub_router::benchmarking::{
+ Pallet as XcmBridgeHubRouterBench,
+ Config as XcmBridgeHubRouterConfig,
+ };
+ use rialto_messages::WithRialtoMessageBridge;
+ use rialto_parachain_messages::WithRialtoParachainMessageBridge;
+
+ impl MessagesConfig for Runtime {
+ fn prepare_message_proof(
+ params: MessageProofParams,
+ ) -> (rialto_messages::FromRialtoMessagesProof, Weight) {
+ prepare_message_proof_from_parachain::<
+ Runtime,
+ WithRialtoParachainsInstance,
+ WithRialtoParachainMessageBridge,
+ >(params, xcm::v3::Junctions::Here)
+ }
+
+ fn prepare_message_delivery_proof(
+ params: MessageDeliveryProofParams,
+ ) -> rialto_messages::ToRialtoMessagesDeliveryProof {
+ prepare_message_delivery_proof_from_parachain::<
+ Runtime,
+ WithRialtoParachainsInstance,
+ WithRialtoParachainMessageBridge,
+ >(params)
+ }
+
+ fn is_relayer_rewarded(relayer: &Self::AccountId) -> bool {
+ let lane = >::bench_lane_id();
+ let bridged_chain_id = bp_runtime::RIALTO_PARACHAIN_CHAIN_ID;
+ pallet_bridge_relayers::Pallet::::relayer_reward(
+ relayer,
+ RewardsAccountParams::new(lane, bridged_chain_id, RewardsAccountOwner::BridgedChain)
+ ).is_some()
+ }
+ }
+
+ impl MessagesConfig for Runtime {
+ fn prepare_message_proof(
+ params: MessageProofParams,
+ ) -> (rialto_messages::FromRialtoMessagesProof, Weight) {
+ prepare_message_proof_from_grandpa_chain::<
+ Runtime,
+ RialtoGrandpaInstance,
+ WithRialtoMessageBridge,
+ >(params, xcm::v3::Junctions::Here)
+ }
+
+ fn prepare_message_delivery_proof(
+ params: MessageDeliveryProofParams,
+ ) -> rialto_messages::ToRialtoMessagesDeliveryProof {
+ prepare_message_delivery_proof_from_grandpa_chain::<
+ Runtime,
+ RialtoGrandpaInstance,
+ WithRialtoMessageBridge,
+ >(params)
+ }
+
+ fn is_relayer_rewarded(relayer: &Self::AccountId) -> bool {
+ let lane = >::bench_lane_id();
+ let bridged_chain_id = bp_runtime::RIALTO_CHAIN_ID;
+ pallet_bridge_relayers::Pallet::::relayer_reward(
+ relayer,
+ RewardsAccountParams::new(lane, bridged_chain_id, RewardsAccountOwner::BridgedChain)
+ ).is_some()
+ }
+ }
+
+ impl ParachainsConfig for Runtime {
+ fn parachains() -> Vec {
+ use bp_runtime::Parachain;
+ vec![bp_polkadot_core::parachains::ParaId(bp_rialto_parachain::RialtoParachain::PARACHAIN_ID)]
+ }
+
+ fn prepare_parachain_heads_proof(
+ parachains: &[bp_polkadot_core::parachains::ParaId],
+ parachain_head_size: u32,
+ proof_size: bp_runtime::StorageProofSize,
+ ) -> (
+ pallet_bridge_parachains::RelayBlockNumber,
+ pallet_bridge_parachains::RelayBlockHash,
+ bp_polkadot_core::parachains::ParaHeadsProof,
+ Vec<(bp_polkadot_core::parachains::ParaId, bp_polkadot_core::parachains::ParaHash)>,
+ ) {
+ bridge_runtime_common::parachains_benchmarking::prepare_parachain_heads_proof::<
+ Runtime,
+ WithRialtoParachainsInstance,
+ >(
+ parachains,
+ parachain_head_size,
+ proof_size,
+ )
+ }
+ }
+
+ impl RelayersConfig for Runtime {
+ fn prepare_rewards_account(
+ account_params: RewardsAccountParams,
+ reward: Balance,
+ ) {
+ let rewards_account = bp_relayers::PayRewardFromAccount::<
+ Balances,
+ AccountId
+ >::rewards_account(account_params);
+ Self::deposit_account(rewards_account, reward);
+ }
+
+ fn deposit_account(account: AccountId, balance: Balance) {
+ use frame_support::traits::fungible::Mutate;
+ Balances::mint_into(&account, balance.saturating_add(ExistentialDeposit::get())).unwrap();
+ }
+ }
+
+ impl XcmBridgeHubRouterConfig<()> for Runtime {
+ fn make_congested() {
+ xcm_config::EmulatedSiblingXcmpChannel::make_congested()
+ }
+ }
+
+ let mut batches = Vec::::new();
+ let params = (&config, &whitelist);
+
+ add_benchmarks!(params, batches);
+
+ Ok(batches)
+ }
+ }
+}
+
+#[cfg(test)]
+mod tests {
+ use super::*;
+
+ #[test]
+ fn call_size() {
+ const BRIDGES_PALLETS_MAX_CALL_SIZE: usize = 200;
+ assert!(
+ core::mem::size_of::>() <=
+ BRIDGES_PALLETS_MAX_CALL_SIZE
+ );
+ assert!(
+ core::mem::size_of::>() <=
+ BRIDGES_PALLETS_MAX_CALL_SIZE
+ );
+ const MAX_CALL_SIZE: usize = 230; // value from polkadot-runtime tests
+ assert!(core::mem::size_of::() <= MAX_CALL_SIZE);
+ }
+}
diff --git a/bin/millau/runtime/src/rialto_messages.rs b/bin/millau/runtime/src/rialto_messages.rs
new file mode 100644
index 00000000000..884f994feaa
--- /dev/null
+++ b/bin/millau/runtime/src/rialto_messages.rs
@@ -0,0 +1,215 @@
+// Copyright 2019-2021 Parity Technologies (UK) Ltd.
+// This file is part of Parity Bridges Common.
+
+// Parity Bridges Common is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Parity Bridges Common is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Parity Bridges Common. If not, see .
+
+//! Everything required to serve Millau <-> Rialto messages.
+
+use crate::{RialtoGrandpaInstance, Runtime, RuntimeOrigin, WithRialtoMessagesInstance};
+
+use bp_messages::LaneId;
+use bridge_runtime_common::{
+ messages::{
+ self, source::TargetHeaderChainAdapter, target::SourceHeaderChainAdapter, MessageBridge,
+ },
+ messages_xcm_extension::{SenderAndLane, XcmBlobHauler, XcmBlobHaulerAdapter},
+};
+use frame_support::{parameter_types, weights::Weight, RuntimeDebug};
+use pallet_bridge_relayers::WeightInfoExt as _;
+use xcm::latest::prelude::*;
+use xcm_builder::HaulBlobExporter;
+
+/// Default lane that is used to send messages to Rialto.
+pub const XCM_LANE: LaneId = LaneId([0, 0, 0, 0]);
+/// Weight of 2 XCM instructions is for simple `Trap(42)` program, coming through bridge
+/// (it is prepended with `UniversalOrigin` instruction). It is used just for simplest manual
+/// tests, confirming that we don't break encoding somewhere between.
+pub const BASE_XCM_WEIGHT_TWICE: Weight = crate::xcm_config::BaseXcmWeight::get().saturating_mul(2);
+
+parameter_types! {
+ /// Weight credit for our test messages.
+ ///
+ /// 2 XCM instructions is for simple `Trap(42)` program, coming through bridge
+ /// (it is prepended with `UniversalOrigin` instruction).
+ pub const WeightCredit: Weight = BASE_XCM_WEIGHT_TWICE;
+ /// Lane used by the with-Rialto bridge.
+ pub RialtoSenderAndLane: SenderAndLane = SenderAndLane::new(Here.into(), XCM_LANE);
+
+ /// Dummy message used in configuration.
+ pub DummyXcmMessage: Xcm<()> = Xcm::new();
+}
+
+/// Message payload for Millau -> Rialto messages.
+pub type ToRialtoMessagePayload = messages::source::FromThisChainMessagePayload;
+
+/// Message verifier for Millau -> Rialto messages.
+pub type ToRialtoMessageVerifier =
+ messages::source::FromThisChainMessageVerifier;
+
+/// Message payload for Rialto -> Millau messages.
+pub type FromRialtoMessagePayload = messages::target::FromBridgedChainMessagePayload;
+
+/// Messages proof for Rialto -> Millau messages.
+pub type FromRialtoMessagesProof = messages::target::FromBridgedChainMessagesProof;
+
+/// Messages delivery proof for Millau -> Rialto messages.
+pub type ToRialtoMessagesDeliveryProof =
+ messages::source::FromBridgedChainMessagesDeliveryProof;
+
+/// Call-dispatch based message dispatch for Rialto -> Millau messages.
+pub type FromRialtoMessageDispatch =
+ bridge_runtime_common::messages_xcm_extension::XcmBlobMessageDispatch<
+ crate::xcm_config::OnMillauBlobDispatcher,
+ (),
+ (),
+ >;
+
+/// Maximal outbound payload size of Millau -> Rialto messages.
+pub type ToRialtoMaximalOutboundPayloadSize =
+ messages::source::FromThisChainMaximalOutboundPayloadSize;
+
+/// Millau <-> Rialto message bridge.
+#[derive(RuntimeDebug, Clone, Copy)]
+pub struct WithRialtoMessageBridge;
+
+impl MessageBridge for WithRialtoMessageBridge {
+ const BRIDGED_MESSAGES_PALLET_NAME: &'static str = bp_millau::WITH_MILLAU_MESSAGES_PALLET_NAME;
+
+ type ThisChain = Millau;
+ type BridgedChain = Rialto;
+ type BridgedHeaderChain =
+ pallet_bridge_grandpa::GrandpaChainHeaders;
+}
+
+/// Millau chain from message lane point of view.
+#[derive(RuntimeDebug, Clone, Copy)]
+pub struct Millau;
+
+impl messages::UnderlyingChainProvider for Millau {
+ type Chain = bp_millau::Millau;
+}
+
+impl messages::ThisChainWithMessages for Millau {
+ type RuntimeOrigin = RuntimeOrigin;
+}
+
+/// Rialto chain from message lane point of view.
+#[derive(RuntimeDebug, Clone, Copy)]
+pub struct Rialto;
+/// Rialto as source header chain.
+pub type RialtoAsSourceHeaderChain = SourceHeaderChainAdapter;
+/// Rialto as target header chain.
+pub type RialtoAsTargetHeaderChain = TargetHeaderChainAdapter;
+
+impl messages::UnderlyingChainProvider for Rialto {
+ type Chain = bp_rialto::Rialto;
+}
+
+impl messages::BridgedChainWithMessages for Rialto {}
+
+/// Export XCM messages to be relayed to Rialto.
+pub type ToRialtoBlobExporter = HaulBlobExporter<
+ XcmBlobHaulerAdapter,
+ crate::xcm_config::RialtoNetwork,
+ (),
+>;
+
+/// To-Rialto XCM hauler.
+pub struct ToRialtoXcmBlobHauler;
+
+impl XcmBlobHauler for ToRialtoXcmBlobHauler {
+ type Runtime = Runtime;
+ type MessagesInstance = WithRialtoMessagesInstance;
+ type SenderAndLane = RialtoSenderAndLane;
+
+ type ToSourceChainSender = crate::xcm_config::XcmRouter;
+ type CongestedMessage = DummyXcmMessage;
+ type UncongestedMessage = DummyXcmMessage;
+}
+
+impl pallet_bridge_messages::WeightInfoExt for crate::weights::RialtoMessagesWeightInfo {
+ fn expected_extra_storage_proof_size() -> u32 {
+ bp_rialto::EXTRA_STORAGE_PROOF_SIZE
+ }
+
+ fn receive_messages_proof_overhead_from_runtime() -> Weight {
+ pallet_bridge_relayers::weights::BridgeWeight::::receive_messages_proof_overhead_from_runtime()
+ }
+
+ fn receive_messages_delivery_proof_overhead_from_runtime() -> Weight {
+ pallet_bridge_relayers::weights::BridgeWeight::::receive_messages_delivery_proof_overhead_from_runtime()
+ }
+}
+
+#[cfg(test)]
+mod tests {
+ use super::*;
+ use crate::{Runtime, WithRialtoMessagesInstance};
+
+ use bridge_runtime_common::{
+ assert_complete_bridge_types,
+ integrity::{
+ assert_complete_bridge_constants, check_message_lane_weights,
+ AssertBridgeMessagesPalletConstants, AssertBridgePalletNames, AssertChainConstants,
+ AssertCompleteBridgeConstants,
+ },
+ };
+
+ #[test]
+ fn ensure_millau_message_lane_weights_are_correct() {
+ check_message_lane_weights::(
+ bp_rialto::EXTRA_STORAGE_PROOF_SIZE,
+ bp_millau::MAX_UNREWARDED_RELAYERS_IN_CONFIRMATION_TX,
+ bp_millau::MAX_UNCONFIRMED_MESSAGES_IN_CONFIRMATION_TX,
+ false,
+ );
+ }
+
+ #[test]
+ fn ensure_bridge_integrity() {
+ assert_complete_bridge_types!(
+ runtime: Runtime,
+ with_bridged_chain_grandpa_instance: RialtoGrandpaInstance,
+ with_bridged_chain_messages_instance: WithRialtoMessagesInstance,
+ bridge: WithRialtoMessageBridge,
+ this_chain: bp_millau::Millau,
+ bridged_chain: bp_rialto::Rialto,
+ );
+
+ assert_complete_bridge_constants::<
+ Runtime,
+ RialtoGrandpaInstance,
+ WithRialtoMessagesInstance,
+ WithRialtoMessageBridge,
+ >(AssertCompleteBridgeConstants {
+ this_chain_constants: AssertChainConstants {
+ block_length: bp_millau::BlockLength::get(),
+ block_weights: bp_millau::BlockWeights::get(),
+ },
+ messages_pallet_constants: AssertBridgeMessagesPalletConstants {
+ max_unrewarded_relayers_in_bridged_confirmation_tx:
+ bp_rialto::MAX_UNREWARDED_RELAYERS_IN_CONFIRMATION_TX,
+ max_unconfirmed_messages_in_bridged_confirmation_tx:
+ bp_rialto::MAX_UNCONFIRMED_MESSAGES_IN_CONFIRMATION_TX,
+ bridged_chain_id: bp_runtime::RIALTO_CHAIN_ID,
+ },
+ pallet_names: AssertBridgePalletNames {
+ with_this_chain_messages_pallet_name: bp_millau::WITH_MILLAU_MESSAGES_PALLET_NAME,
+ with_bridged_chain_grandpa_pallet_name: bp_rialto::WITH_RIALTO_GRANDPA_PALLET_NAME,
+ with_bridged_chain_messages_pallet_name:
+ bp_rialto::WITH_RIALTO_MESSAGES_PALLET_NAME,
+ },
+ });
+ }
+}
diff --git a/bin/millau/runtime/src/rialto_parachain_messages.rs b/bin/millau/runtime/src/rialto_parachain_messages.rs
new file mode 100644
index 00000000000..2eff0835c39
--- /dev/null
+++ b/bin/millau/runtime/src/rialto_parachain_messages.rs
@@ -0,0 +1,226 @@
+// Copyright 2019-2021 Parity Technologies (UK) Ltd.
+// This file is part of Parity Bridges Common.
+
+// Parity Bridges Common is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Parity Bridges Common is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Parity Bridges Common. If not, see