diff --git a/.claude/skills/bump-polkadot-sdk/SKILL.md b/.claude/skills/bump-polkadot-sdk/SKILL.md new file mode 100644 index 0000000000..3c46721933 --- /dev/null +++ b/.claude/skills/bump-polkadot-sdk/SKILL.md @@ -0,0 +1,365 @@ +--- +name: bump-polkadot-sdk +description: Bump polkadot-sdk master hash & regenerate BridgeHub Westend/Rococo codegen +allowed-tools: Bash Read Edit Write Grep Glob WebFetch +--- + +# Bump polkadot-sdk & Regenerate BridgeHub Codegen + +Bump the polkadot-sdk master dependency hash in this repo and regenerate the BridgeHubWestend/BridgeHubRococo codegen runtime files. + +## Prerequisites + +- A local checkout of `polkadot-sdk` exists +- Rust nightly toolchain installed (for `cargo +nightly fmt`) + +## Steps + +### Step 0: Ask for polkadot-sdk location + +Ask the user for the local polkadot-sdk repo path. Default to `../polkadot-sdk` (relative to this project root) if not specified. +Store this as `POLKADOT_SDK_PATH`. + +Then checkout master and pull latest: + +```bash +cd +git checkout master && git pull +``` + +### Step 1: Get latest polkadot-sdk master hash + +Get the latest commit hash from the local polkadot-sdk master branch: + +```bash +cd +git rev-parse HEAD +``` + +Store this as `NEW_HASH`. + +### Step 2: Update Cargo.lock + +Find the current polkadot-sdk hash in `Cargo.lock`: + +```bash +grep -m1 -oP '(?<=polkadot-sdk\?branch=master#)[a-f0-9]+' Cargo.lock +``` + +Store this as `OLD_HASH`. Then replace all occurrences: + +```bash +sed -i "s/${OLD_HASH}/${NEW_HASH}/g" Cargo.lock +``` + +Verify the replacement: + +```bash +grep -c "${NEW_HASH}" Cargo.lock +``` + +### Step 3: Check spec_version updates + +Fetch the `spec_version` from the polkadot-sdk repo for both runtimes and compare with local values. + +#### BridgeHub Westend + +Fetch upstream spec_version from: +`https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/src/lib.rs` + +Look for the `spec_version:` field inside the `RuntimeVersion` definition. + +Compare with the local value in `relay-clients/client-bridge-hub-westend/src/lib.rs` in the `ChainWithRuntimeVersion` impl: +```rust +Some(SimpleRuntimeVersion { spec_version: XXXXXXX, transaction_version: Y }) +``` + +If upstream has a newer version, update the local file. + +#### BridgeHub Rococo + +Fetch upstream spec_version from: +`https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs` + +Compare with local value in `relay-clients/client-bridge-hub-rococo/src/lib.rs`. + +If upstream has a newer version, update the local file. + +### Step 4: Build WASM runtimes from local polkadot-sdk + +Using the `POLKADOT_SDK_PATH` from Step 0: + +```bash +cd +cargo build --release -p bridge-hub-rococo-runtime +cargo build --release -p bridge-hub-westend-runtime +``` + +Once built, copy the WASM files to this project: + +```bash +cp /target/release/wbuild/bridge-hub-rococo-runtime/bridge_hub_rococo_runtime.compact.compressed.wasm tools/runtime-codegen/wbuild/ +cp /target/release/wbuild/bridge-hub-westend-runtime/bridge_hub_westend_runtime.compact.compressed.wasm tools/runtime-codegen/wbuild/ +``` + +### Step 5: Regenerate codegen_runtime.rs + +From the `tools/runtime-codegen/` directory. Capture stderr separately to check for warnings: + +```bash +cd tools/runtime-codegen +cargo run --bin runtime-codegen --release -- --from-wasm-file wbuild/bridge_hub_rococo_runtime.compact.compressed.wasm 1> ../../relay-clients/client-bridge-hub-rococo/src/codegen_runtime.rs 2> /tmp/codegen-rococo-stderr.log +cargo run --bin runtime-codegen --release -- --from-wasm-file wbuild/bridge_hub_westend_runtime.compact.compressed.wasm 1> ../../relay-clients/client-bridge-hub-westend/src/codegen_runtime.rs 2> /tmp/codegen-westend-stderr.log +``` + +After codegen, check stderr logs for warnings and report them to the user: + +```bash +grep -E "warning:|future-incompat" /tmp/codegen-rococo-stderr.log /tmp/codegen-westend-stderr.log +``` + +If any warnings are found, print them for the user and let them decide on further action. + +### Step 6: Fix codegen and format + +```bash +# First format pass +cargo +nightly fmt --all + +# Fix the Header type in generated files (missing BlakeTwo256 generic) +find . -name codegen_runtime.rs -exec \ + sed -i 's/::sp_runtime::generic::Header<::core::primitive::u32>/::sp_runtime::generic::Header<::core::primitive::u32, ::sp_runtime::traits::BlakeTwo256>/g' {} + + +# Second format pass +cargo +nightly fmt --all +``` + +### Step 7: Check, clippy, and resolve dependency mismatches + +```bash +SKIP_WASM_BUILD=1 cargo check --workspace +SKIP_WASM_BUILD=1 cargo clippy --workspace --all-targets --all-features +``` + +If there are build errors due to dependency version mismatches in Cargo.lock, resolve them by aligning with polkadot-sdk's Cargo.lock: + +1. Identify the failing crate and version from the build error. +2. Look up that crate's version in `/Cargo.lock` to find what version polkadot-sdk uses. +3. Compare with the version in this project's `Cargo.lock`. If they differ, update this project's `Cargo.toml` (root workspace or member crate) to match polkadot-sdk's version. +4. Run `cargo update -p ` if needed, or manually edit `Cargo.lock` to align the version. +5. Re-run `SKIP_WASM_BUILD=1 cargo check --workspace` after each fix. + +Common issues: +- Third-party crate version conflicts (e.g. `clap`, `syn`, `tokio`, `tempfile`) — match the version polkadot-sdk uses +- New/removed crate features — check polkadot-sdk's `Cargo.toml` for feature flag changes +- API changes in polkadot-sdk dependencies — may require code changes in relay crates +- Duplicate crate versions — ensure only one version is resolved by aligning with polkadot-sdk + +### Step 8: Report results + +Report to the user: +- Old hash vs new hash +- Whether spec_versions were updated (and from/to values) +- Build/clippy status +- Any errors that need manual intervention + +--- + +## Bridges Tests: Local Rococo <-> Westend Bridge + +Run the `0001-asset-transfer` bridge test locally using zombienet to verify the bump works end-to-end. + +Reference: https://github.com/paritytech/polkadot-sdk/blob/master/bridges/testing/README.md + +### Step 9: Check prerequisites + +#### Node.js + +Check if `node` is installed: + +```bash +node --version +``` + +If not found, ask the user to install Node.js (https://nodejs.org/) before continuing. + +Also ensure `@polkadot/api-cli` is installed: + +```bash +npx --yes @polkadot/api-cli --version || yarn global add @polkadot/api-cli +``` + +#### Zombienet + +Check if zombienet exists at `~/local_bridge_testing/bin/zombienet`: + +```bash +ls ~/local_bridge_testing/bin/zombienet +``` + +If not found, ask the user to download the latest zombienet release from https://github.com/nickvdyck/zombienet-sdk/releases (or the appropriate zombienet releases page) and place the binary at `~/local_bridge_testing/bin/zombienet`: + +```bash +mkdir -p ~/local_bridge_testing/bin +# User must download zombienet binary to ~/local_bridge_testing/bin/zombienet +chmod +x ~/local_bridge_testing/bin/zombienet +``` + +#### jq (required by test scripts) + +```bash +jq --version || echo "jq not found — install with: sudo apt install jq (Linux) or brew install jq (macOS)" +``` + +### Step 10: Build required binaries + +From the local polkadot-sdk repo (``): + +```bash +cd +cargo build --release -p polkadot --features fast-runtime +cargo build --release -p polkadot-parachain-bin +``` + +These produce: +- `/target/release/polkadot` +- `/target/release/polkadot-parachain` + +Build substrate-relay from this project (parity-bridges-common): + +```bash +cd +cargo build --release -p substrate-relay +``` + +Copy the relay binary to the expected location: + +```bash +mkdir -p ~/local_bridge_testing/bin +cp /target/release/substrate-relay ~/local_bridge_testing/bin/substrate-relay +``` + +### Step 11: Run the asset transfer test + +From the polkadot-sdk repo's bridges testing directory: + +```bash +cd /bridges/testing +./run-test.sh 0001-asset-transfer +``` + +The script auto-detects local mode and expects binaries at: +- `/target/release/polkadot` +- `/target/release/polkadot-parachain` +- `~/local_bridge_testing/bin/zombienet` +- `~/local_bridge_testing/bin/substrate-relay` + +### Step 12: Report Rococo <-> Westend test results + +If the test passes, report success to the user. + +If the test fails, check the zombienet logs (paths are printed in the output) and report: +- Which step failed +- Relevant log snippets +- Whether the failure is related to the polkadot-sdk bump or a pre-existing issue + +--- + +## Bridges Tests: Local Polkadot <-> Kusama Bridge + +Run the `0001-polkadot-kusama-asset-transfer` bridge test locally to verify the Polkadot <-> Kusama bridge works end-to-end. + +Reference: https://github.com/polkadot-fellows/runtimes/blob/main/integration-tests/bridges/README.md + +### Prerequisites + +This section requires a local clone of the `polkadot-fellows/runtimes` repo. Ask the user for its path (default: `../runtimes` relative to this project root). Store as `FELLOWS_RUNTIMES_PATH`. + +The prerequisites from Steps 9-10 (Node.js, zombienet, jq) still apply. Ensure those are satisfied first. + +### Step 13: Build additional binaries for Polkadot <-> Kusama + +#### Polkadot binaries (without fast-runtime) + +From ``: + +```bash +cd +cargo build -p polkadot --release +cargo build --bin polkadot-prepare-worker --release +cargo build --bin polkadot-execute-worker --release +cargo build -p polkadot-parachain-bin --release +``` + +Copy all binaries to `~/local_bridge_testing/bin/`: + +```bash +mkdir -p ~/local_bridge_testing/bin +cp /target/release/polkadot ~/local_bridge_testing/bin/polkadot +cp /target/release/polkadot-prepare-worker ~/local_bridge_testing/bin/polkadot-prepare-worker +cp /target/release/polkadot-execute-worker ~/local_bridge_testing/bin/polkadot-execute-worker +cp /target/release/polkadot-parachain ~/local_bridge_testing/bin/polkadot-parachain +``` + +#### substrate-relay + +If not already built in Step 10, build and copy: + +```bash +cd +cargo build --release -p substrate-relay +cp /target/release/substrate-relay ~/local_bridge_testing/bin/substrate-relay +``` + +#### chain-spec-generator (from polkadot-fellows/runtimes) + +First, apply the sudo patch: + +```bash +cd +git apply ./integration-tests/bridges/sudo-relay.patch +``` + +Then build the chain-spec-generator with the required features: + +```bash +cd +cargo build --release -p chain-spec-generator --no-default-features --features fast-runtime,polkadot,kusama,bridge-hub-kusama,bridge-hub-polkadot,asset-hub-kusama,asset-hub-polkadot +``` + +Copy the binary twice (once for each chain): + +```bash +cp /target/release/chain-spec-generator ~/local_bridge_testing/bin/chain-spec-generator-polkadot +cp /target/release/chain-spec-generator ~/local_bridge_testing/bin/chain-spec-generator-kusama +``` + +### Step 14: Run the Polkadot <-> Kusama asset transfer test + +From the `polkadot-fellows/runtimes` repo's integration tests directory: + +```bash +cd /integration-tests/bridges +FRAMEWORK_REPO_PATH= ./run-test.sh 0001-polkadot-kusama-asset-transfer +``` + +Setting `FRAMEWORK_REPO_PATH` tells the test script to use the local polkadot-sdk checkout instead of cloning it. + +The test expects all binaries at `~/local_bridge_testing/bin/`: +- `polkadot` +- `polkadot-prepare-worker` +- `polkadot-execute-worker` +- `polkadot-parachain` +- `zombienet` +- `substrate-relay` +- `chain-spec-generator-polkadot` +- `chain-spec-generator-kusama` + +### Step 15: Report Polkadot <-> Kusama test results + +If the test passes, report success to the user. + +If the test fails, check the zombienet logs (paths are printed in the output) and report: +- Which step failed +- Relevant log snippets +- Whether the failure is related to the polkadot-sdk bump, the fellows runtimes, or a pre-existing issue diff --git a/.github/workflows/build-tag.yml b/.github/workflows/build-tag.yml index c20ac32643..2b65828115 100644 --- a/.github/workflows/build-tag.yml +++ b/.github/workflows/build-tag.yml @@ -18,7 +18,7 @@ concurrency: # common variable is defined in the workflow # repo env variable doesn't work for PR from forks env: - CI_IMAGE: "paritytech/ci-unified:bullseye-1.84.1-2025-01-28-v202502131220" + CI_IMAGE: "paritytech/ci-unified:bullseye-1.93.0-2026-01-27-v202603042356" #to use reusable workflow permissions: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa35d1469f..5120b95227 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ concurrency: # common variable is defined in the workflow # repo env variable doesn't work for PR from forks env: - CI_IMAGE: "paritytech/ci-unified:bullseye-1.84.1-2025-01-28-v202502131220" + CI_IMAGE: "paritytech/ci-unified:bullseye-1.93.0-2026-01-27-v202603042356" jobs: set-variables: diff --git a/Cargo.lock b/Cargo.lock index fe332e0587..8870adff87 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,20 +14,20 @@ dependencies = [ [[package]] name = "addr2line" -version = "0.19.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a76fd60b23679b7d19bd066031410fb7e458ccc5e958eb5c325888ce4baedc97" +checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" dependencies = [ - "gimli 0.27.3", + "gimli 0.28.0", ] [[package]] name = "addr2line" -version = "0.21.0" +version = "0.24.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" +checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" dependencies = [ - "gimli 0.28.0", + "gimli 0.31.1", ] [[package]] @@ -95,9 +95,9 @@ dependencies = [ [[package]] name = "allocator-api2" -version = "0.2.16" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" +checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" [[package]] name = "android-tzdata" @@ -191,6 +191,12 @@ dependencies = [ "syn 2.0.98", ] +[[package]] +name = "arbitrary" +version = "1.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3d036a3c4ab069c7b410a2ce876bd74808d2d0888a82667669f8e783a898bf1" + [[package]] name = "ark-bls12-377" version = "0.4.0" @@ -256,7 +262,7 @@ dependencies = [ "ark-std 0.5.0", "educe", "fnv", - "hashbrown 0.15.2", + "hashbrown 0.15.5", "itertools 0.13.0", "num-bigint", "num-integer", @@ -306,7 +312,7 @@ dependencies = [ "ark-ff-macros 0.5.0", "ark-serialize 0.5.0", "ark-std 0.5.0", - "arrayvec 0.7.4", + "arrayvec 0.7.6", "digest 0.10.7", "educe", "itertools 0.13.0", @@ -387,7 +393,7 @@ dependencies = [ "ark-std 0.5.0", "educe", "fnv", - "hashbrown 0.15.2", + "hashbrown 0.15.5", ] [[package]] @@ -410,7 +416,7 @@ checksum = "3f4d068aaf107ebcd7dfb52bc748f8030e0fc930ac8e360146ca54c1203088f7" dependencies = [ "ark-serialize-derive 0.5.0", "ark-std 0.5.0", - "arrayvec 0.7.4", + "arrayvec 0.7.6", "digest 0.10.7", "num-bigint", ] @@ -473,9 +479,9 @@ dependencies = [ [[package]] name = "ark-vrf" -version = "0.1.0" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9501da18569b2afe0eb934fb7afd5a247d238b94116155af4dd068f319adfe6d" +checksum = "0d815a2faa9e0fe6c342cc7f25f1f30016774cfbc966f56ea1967377a7ac2066" dependencies = [ "ark-bls12-381 0.5.0", "ark-ec 0.5.0", @@ -485,7 +491,7 @@ dependencies = [ "ark-std 0.5.0", "digest 0.10.7", "rand_chacha 0.3.1", - "sha2 0.10.8", + "sha2 0.10.9", "w3f-ring-proof", "zeroize", ] @@ -513,9 +519,9 @@ dependencies = [ [[package]] name = "arrayvec" -version = "0.7.4" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" +checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" [[package]] name = "asn1-rs" @@ -526,7 +532,7 @@ dependencies = [ "asn1-rs-derive 0.5.0", "asn1-rs-impl", "displaydoc", - "nom", + "nom 7.1.3", "num-traits", "rusticata-macros", "thiserror 1.0.65", @@ -542,10 +548,10 @@ dependencies = [ "asn1-rs-derive 0.6.0", "asn1-rs-impl", "displaydoc", - "nom", + "nom 7.1.3", "num-traits", "rusticata-macros", - "thiserror 2.0.11", + "thiserror 2.0.18", "time", ] @@ -584,16 +590,6 @@ dependencies = [ "syn 2.0.98", ] -[[package]] -name = "async-attributes" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3203e79f4dd9bdda415ed03cf14dae5a2bf775c683a00f94e9cd1faf0f596e5" -dependencies = [ - "quote 1.0.45", - "syn 1.0.109", -] - [[package]] name = "async-channel" version = "1.9.0" @@ -741,7 +737,6 @@ version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2c8e079a4ab67ae52b7403632e4618815d6db36d2a010cfe41b02c1b1578f93b" dependencies = [ - "async-attributes", "async-channel 1.9.0", "async-global-executor", "async-io", @@ -884,12 +879,6 @@ version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" -[[package]] -name = "base64" -version = "0.21.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" - [[package]] name = "base64" version = "0.22.1" @@ -905,29 +894,24 @@ checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" [[package]] name = "binary-merkle-tree" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "hash-db", "log", "parity-scale-codec", ] -[[package]] -name = "bincode" -version = "1.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" -dependencies = [ - "serde", -] - [[package]] name = "bip39" -version = "2.1.0" +version = "2.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33415e24172c1b7d6066f6d999545375ab8e1d95421d6784bdfff9496f292387" +checksum = "90dbd31c98227229239363921e60fcf5e558e43ec69094d46fc4996f08d1d5bc" dependencies = [ "bitcoin_hashes", + "rand 0.8.5", + "rand_core 0.6.4", + "serde", + "unicode-normalization", ] [[package]] @@ -1009,31 +993,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23285ad32269793932e830392f2fe2f83e26488fd3ec778883a93c8323735780" dependencies = [ "arrayref", - "arrayvec 0.7.4", - "constant_time_eq 0.3.0", -] - -[[package]] -name = "blake2s_simd" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6637f448b9e61dfadbdcbae9a885fadee1f3eaffb1f8d3c1965d3ade8bdfd44f" -dependencies = [ - "arrayref", - "arrayvec 0.7.4", - "constant_time_eq 0.2.6", -] - -[[package]] -name = "blake3" -version = "1.5.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d82033247fd8e890df8f740e407ad4d038debb9eb1f40533fffb32e7d17dc6f7" -dependencies = [ - "arrayref", - "arrayvec 0.7.4", - "cc", - "cfg-if", + "arrayvec 0.7.6", "constant_time_eq 0.3.0", ] @@ -1070,10 +1030,11 @@ dependencies = [ [[package]] name = "bounded-collections" -version = "0.2.3" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32ed0a820ed50891d36358e997d27741a6142e382242df40ff01c89bcdcc7a2b" +checksum = "dee8eddd066a8825ec5570528e6880471210fd5d88cb6abbe1cfdd51ca249c33" dependencies = [ + "jam-codec", "log", "parity-scale-codec", "scale-info", @@ -1083,7 +1044,7 @@ dependencies = [ [[package]] name = "bp-asset-hub-rococo" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bp-bridge-hub-cumulus", "bp-messages", @@ -1101,7 +1062,7 @@ dependencies = [ [[package]] name = "bp-asset-hub-westend" version = "0.3.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bp-bridge-hub-cumulus", "bp-messages", @@ -1119,13 +1080,14 @@ dependencies = [ [[package]] name = "bp-bridge-hub-cumulus" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bp-messages", "bp-polkadot-core", "bp-runtime", "frame-support", "frame-system", + "parachains-common", "polkadot-primitives", "sp-api", "sp-std", @@ -1160,7 +1122,7 @@ dependencies = [ [[package]] name = "bp-bridge-hub-rococo" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bp-bridge-hub-cumulus", "bp-messages", @@ -1176,7 +1138,7 @@ dependencies = [ [[package]] name = "bp-bridge-hub-westend" version = "0.3.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bp-bridge-hub-cumulus", "bp-messages", @@ -1192,7 +1154,7 @@ dependencies = [ [[package]] name = "bp-header-chain" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bp-runtime", "finality-grandpa", @@ -1221,7 +1183,7 @@ dependencies = [ [[package]] name = "bp-messages" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bp-header-chain", "bp-runtime", @@ -1237,7 +1199,7 @@ dependencies = [ [[package]] name = "bp-parachains" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bp-header-chain", "bp-polkadot-core", @@ -1266,7 +1228,7 @@ dependencies = [ [[package]] name = "bp-polkadot-bulletin" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bp-header-chain", "bp-messages", @@ -1284,7 +1246,7 @@ dependencies = [ [[package]] name = "bp-polkadot-core" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bp-messages", "bp-runtime", @@ -1301,7 +1263,7 @@ dependencies = [ [[package]] name = "bp-relayers" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bp-header-chain", "bp-messages", @@ -1319,7 +1281,7 @@ dependencies = [ [[package]] name = "bp-rococo" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bp-header-chain", "bp-polkadot-core", @@ -1332,13 +1294,12 @@ dependencies = [ [[package]] name = "bp-runtime" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "frame-support", "frame-system", "hash-db", "impl-trait-for-tuples", - "log", "num-traits", "parity-scale-codec", "scale-info", @@ -1349,13 +1310,14 @@ dependencies = [ "sp-state-machine", "sp-std", "sp-trie", + "tracing", "trie-db", ] [[package]] name = "bp-test-utils" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bp-header-chain", "bp-parachains", @@ -1375,7 +1337,7 @@ dependencies = [ [[package]] name = "bp-westend" version = "0.3.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bp-header-chain", "bp-polkadot-core", @@ -1388,7 +1350,7 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bp-messages", "bp-runtime", @@ -1405,7 +1367,7 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub-router" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "parity-scale-codec", "scale-info", @@ -1417,7 +1379,7 @@ dependencies = [ [[package]] name = "bridge-runtime-common" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bp-header-chain", "bp-messages", @@ -1427,7 +1389,6 @@ dependencies = [ "bp-runtime", "frame-support", "frame-system", - "log", "pallet-bridge-grandpa", "pallet-bridge-messages", "pallet-bridge-parachains", @@ -1442,6 +1403,7 @@ dependencies = [ "sp-trie", "sp-weights", "staging-xcm", + "tracing", "tuplex", ] @@ -1456,15 +1418,18 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.13.0" +version = "3.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" +checksum = "5d20789868f4b01b2f2caec9f5c4e0213b41e3e5702a50157d699ae31ced2fcb" +dependencies = [ + "allocator-api2", +] [[package]] name = "byte-slice-cast" -version = "1.2.2" +version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3ac9f8b63eca6fd385229b3675f6cc0dc5c8a5c8a54a59d4f52ffd670d87b0c" +checksum = "7575182f7272186991736b70173b0ea045398f984bf5ebbb3804736ce1330c9d" [[package]] name = "byte-tools" @@ -1508,10 +1473,11 @@ checksum = "a2698f953def977c68f935bb0dfa959375ad4638570e969e2f1e9f433cbf1af6" [[package]] name = "cc" -version = "1.1.24" +version = "1.2.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "812acba72f0a070b003d3697490d2b55b837230ae7c6c6497f05cc2ddbb8d938" +checksum = "e1e928d4b69e3077709075a938a05ffbedfa53a84c8f766efbf8220bb1ff60e1" dependencies = [ + "find-msvc-tools", "jobserver", "libc", "shlex", @@ -1582,34 +1548,21 @@ dependencies = [ "iana-time-zone", "js-sys", "num-traits", + "serde", "wasm-bindgen", "windows-targets 0.48.5", ] [[package]] name = "cid" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9b68e3193982cd54187d71afdb2a271ad4cf8af157858e9cb911b91321de143" -dependencies = [ - "core2", - "multibase", - "multihash 0.17.0", - "serde", - "unsigned-varint 0.7.2", -] - -[[package]] -name = "cid" -version = "0.10.1" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd94671561e36e4e7de75f753f577edafb0e7c05d6e4547229fdf7938fbcd2c3" +checksum = "3147d8272e8fa0ccd29ce51194dd98f79ddfb8191ba9e3409884e751798acf3a" dependencies = [ "core2", "multibase", - "multihash 0.18.1", - "serde", - "unsigned-varint 0.7.2", + "multihash 0.19.1", + "unsigned-varint 0.8.0", ] [[package]] @@ -1672,6 +1625,15 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" +[[package]] +name = "cobs" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fa961b519f0b462e3a3b4a34b64d119eeaca1d59af726fe450bbba07a9fc0a1" +dependencies = [ + "thiserror 2.0.18", +] + [[package]] name = "colorchoice" version = "1.0.0" @@ -1759,27 +1721,33 @@ checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" [[package]] name = "constant_time_eq" -version = "0.2.6" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21a53c0a4d288377e7415b53dcfc3c04da5cdc2cc95c8d5ac178b58f0b861ad6" +checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" [[package]] -name = "constant_time_eq" -version = "0.3.0" +name = "convert_case" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" +checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" [[package]] -name = "constcat" -version = "0.3.0" +name = "convert_case" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f272d0c4cf831b4fa80ee529c7707f76585986e910e1fbce1d7921970bc1a241" +checksum = "ec182b0ca2f35d8fc196cf3404988fd8b8c739a4d270ff118a398feb0cbec1ca" +dependencies = [ + "unicode-segmentation", +] [[package]] name = "convert_case" -version = "0.4.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" +checksum = "633458d4ef8c78b72454de2d54fd6ab2e60f9e02be22f3c6104cdc8a4e0fceb9" +dependencies = [ + "unicode-segmentation", +] [[package]] name = "core-foundation" @@ -1818,9 +1786,9 @@ dependencies = [ [[package]] name = "cpp_demangle" -version = "0.3.5" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eeaa953eaad386a53111e47172c2fedba671e5684c8dd601a5f474f4f118710f" +checksum = "f2bb79cb74d735044c972aae58ed0aaa9a837e85b01106a54c39e42e97f62253" dependencies = [ "cfg-if", ] @@ -1834,64 +1802,113 @@ dependencies = [ "libc", ] +[[package]] +name = "cranelift-assembler-x64" +version = "0.122.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ae7b60ec3fd7162427d3b3801520a1908bef7c035b52983cd3ca11b8e7deb51" +dependencies = [ + "cranelift-assembler-x64-meta", +] + +[[package]] +name = "cranelift-assembler-x64-meta" +version = "0.122.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6511c200fed36452697b4b6b161eae57d917a2044e6333b1c1389ed63ccadeee" +dependencies = [ + "cranelift-srcgen", +] + [[package]] name = "cranelift-bforest" -version = "0.95.1" +version = "0.122.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1277fbfa94bc82c8ec4af2ded3e639d49ca5f7f3c7eeab2c66accd135ece4e70" +checksum = "5f7086a645aa58bae979312f64e3029ac760ac1b577f5cd2417844842a2ca07f" dependencies = [ "cranelift-entity", ] +[[package]] +name = "cranelift-bitset" +version = "0.122.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5225b4dec45f3f3dbf383f12560fac5ce8d780f399893607e21406e12e77f491" +dependencies = [ + "serde", + "serde_derive", +] + [[package]] name = "cranelift-codegen" -version = "0.95.1" +version = "0.122.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6e8c31ad3b2270e9aeec38723888fe1b0ace3bea2b06b3f749ccf46661d3220" +checksum = "858fb3331e53492a95979378d6df5208dd1d0d315f19c052be8115f4efc888e0" dependencies = [ "bumpalo", + "cranelift-assembler-x64", "cranelift-bforest", + "cranelift-bitset", "cranelift-codegen-meta", "cranelift-codegen-shared", + "cranelift-control", "cranelift-entity", "cranelift-isle", - "gimli 0.27.3", - "hashbrown 0.13.2", + "gimli 0.31.1", + "hashbrown 0.15.5", "log", + "pulley-interpreter", "regalloc2", + "rustc-hash 2.0.0", + "serde", "smallvec", "target-lexicon", + "wasmtime-internal-math", ] [[package]] name = "cranelift-codegen-meta" -version = "0.95.1" +version = "0.122.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8ac5ac30d62b2d66f12651f6b606dbdfd9c2cfd0908de6b387560a277c5c9da" +checksum = "456715b9d5f12398f156d5081096e7b5d039f01b9ecc49790a011c8e43e65b5f" dependencies = [ + "cranelift-assembler-x64-meta", "cranelift-codegen-shared", + "cranelift-srcgen", + "pulley-interpreter", ] [[package]] name = "cranelift-codegen-shared" -version = "0.95.1" +version = "0.122.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0306041099499833f167a0ddb707e1e54100f1a84eab5631bc3dad249708f482" + +[[package]] +name = "cranelift-control" +version = "0.122.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd82b8b376247834b59ed9bdc0ddeb50f517452827d4a11bccf5937b213748b8" +checksum = "1672945e1f9afc2297f49c92623f5eabc64398e2cb0d824f8f72a2db2df5af23" +dependencies = [ + "arbitrary", +] [[package]] name = "cranelift-entity" -version = "0.95.1" +version = "0.122.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40099d38061b37e505e63f89bab52199037a72b931ad4868d9089ff7268660b0" +checksum = "aa3cd55eb5f3825b9ae5de1530887907360a6334caccdc124c52f6d75246c98a" dependencies = [ + "cranelift-bitset", "serde", + "serde_derive", ] [[package]] name = "cranelift-frontend" -version = "0.95.1" +version = "0.122.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64a25d9d0a0ae3079c463c34115ec59507b4707175454f0eee0891e83e30e82d" +checksum = "781f9905f8139b8de22987b66b522b416fe63eb76d823f0b3a8c02c8fd9500c7" dependencies = [ "cranelift-codegen", "log", @@ -1901,15 +1918,15 @@ dependencies = [ [[package]] name = "cranelift-isle" -version = "0.95.1" +version = "0.122.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80de6a7d0486e4acbd5f9f87ec49912bf4c8fb6aea00087b989685460d4469ba" +checksum = "a05337a2b02c3df00b4dd9a263a027a07b3dff49f61f7da3b5d195c21eaa633d" [[package]] name = "cranelift-native" -version = "0.95.1" +version = "0.122.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb6b03e0e03801c4b3fd8ce0758a94750c07a44e7944cc0ffbf0d3f2e7c79b00" +checksum = "2eee7a496dd66380082c9c5b6f2d5fa149cec0ec383feec5caf079ca2b3671c2" dependencies = [ "cranelift-codegen", "libc", @@ -1917,20 +1934,10 @@ dependencies = [ ] [[package]] -name = "cranelift-wasm" -version = "0.95.1" +name = "cranelift-srcgen" +version = "0.122.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff3220489a3d928ad91e59dd7aeaa8b3de18afb554a6211213673a71c90737ac" -dependencies = [ - "cranelift-codegen", - "cranelift-entity", - "cranelift-frontend", - "itertools 0.10.5", - "log", - "smallvec", - "wasmparser", - "wasmtime-types", -] +checksum = "b530783809a55cb68d070e0de60cfbb3db0dc94c8850dd5725411422bedcf6bb" [[package]] name = "crc32fast" @@ -1941,6 +1948,21 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "critical-section" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "790eea4361631c5e7d22598ecd5723ff611904e3344ce8720784c93e3d83d40b" + +[[package]] +name = "crossbeam-channel" +version = "0.5.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2" +dependencies = [ + "crossbeam-utils", +] + [[package]] name = "crossbeam-deque" version = "0.8.3" @@ -1961,7 +1983,7 @@ dependencies = [ "autocfg", "cfg-if", "crossbeam-utils", - "memoffset 0.9.0", + "memoffset", "scopeguard", ] @@ -2038,10 +2060,23 @@ dependencies = [ "cipher 0.4.4", ] +[[package]] +name = "cumulus-pallet-session-benchmarking" +version = "9.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "pallet-session", + "parity-scale-codec", + "sp-runtime", +] + [[package]] name = "cumulus-primitives-core" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2052,6 +2087,24 @@ dependencies = [ "sp-runtime", "sp-trie", "staging-xcm", + "tracing", +] + +[[package]] +name = "cumulus-primitives-utility" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" +dependencies = [ + "cumulus-primitives-core", + "frame-support", + "log", + "pallet-asset-conversion", + "parity-scale-codec", + "polkadot-runtime-common", + "sp-runtime", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", ] [[package]] @@ -2065,7 +2118,7 @@ dependencies = [ "openssl-probe", "openssl-sys", "schannel", - "socket2", + "socket2 0.5.9", "windows-sys 0.52.0", ] @@ -2118,8 +2171,18 @@ version = "0.20.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6f63b86c8a8826a49b8c21f08a2d07338eec8d900540f8630dc76284be802989" dependencies = [ - "darling_core", - "darling_macro", + "darling_core 0.20.10", + "darling_macro 0.20.10", +] + +[[package]] +name = "darling" +version = "0.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25ae13da2f202d56bd7f91c25fba009e7717a1e4a1cc98a76d844b65ae912e9d" +dependencies = [ + "darling_core 0.23.0", + "darling_macro 0.23.0", ] [[package]] @@ -2136,13 +2199,37 @@ dependencies = [ "syn 2.0.98", ] +[[package]] +name = "darling_core" +version = "0.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9865a50f7c335f53564bb694ef660825eb8610e0a53d3e11bf1b0d3df31e03b0" +dependencies = [ + "ident_case", + "proc-macro2 1.0.106", + "quote 1.0.45", + "strsim", + "syn 2.0.98", +] + [[package]] name = "darling_macro" version = "0.20.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806" dependencies = [ - "darling_core", + "darling_core 0.20.10", + "quote 1.0.45", + "syn 2.0.98", +] + +[[package]] +name = "darling_macro" +version = "0.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3984ec7bd6cfa798e62b4a642426a5be0e68f9401cfc2a01e3fa9ea2fcdb8d" +dependencies = [ + "darling_core 0.23.0", "quote 1.0.45", "syn 2.0.98", ] @@ -2173,6 +2260,15 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "debugid" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef552e6f588e446098f6ba40d89ac146c8c7b64aade83c051ee00bb5d2bc18d" +dependencies = [ + "uuid", +] + [[package]] name = "der" version = "0.7.8" @@ -2191,7 +2287,7 @@ checksum = "5cd0a5c643689626bec213c4d8bd4d96acc8ffdb4ad4bb6bc16abf27d5f4b553" dependencies = [ "asn1-rs 0.6.1", "displaydoc", - "nom", + "nom 7.1.3", "num-bigint", "num-traits", "rusticata-macros", @@ -2205,7 +2301,7 @@ checksum = "07da5016415d5a3c4dd39b11ed26f915f52fc4e0dc197d87908bc916e51bc1a6" dependencies = [ "asn1-rs 0.7.1", "displaydoc", - "nom", + "nom 7.1.3", "num-bigint", "num-traits", "rusticata-macros", @@ -2213,9 +2309,9 @@ dependencies = [ [[package]] name = "deranged" -version = "0.3.11" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" +checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c" dependencies = [ "powerfmt", ] @@ -2259,7 +2355,7 @@ version = "0.99.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" dependencies = [ - "convert_case", + "convert_case 0.4.0", "proc-macro2 1.0.106", "quote 1.0.45", "rustc_version", @@ -2272,7 +2368,16 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4a9b99b9cbbe49445b21764dc0625032a89b145a2642e67603e1c936f5458d05" dependencies = [ - "derive_more-impl", + "derive_more-impl 1.0.0", +] + +[[package]] +name = "derive_more" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d751e9e49156b02b44f9c1815bcb94b984cdcc4396ecc32521c739452808b134" +dependencies = [ + "derive_more-impl 2.1.1", ] [[package]] @@ -2286,6 +2391,20 @@ dependencies = [ "syn 2.0.98", ] +[[package]] +name = "derive_more-impl" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb" +dependencies = [ + "convert_case 0.10.0", + "proc-macro2 1.0.106", + "quote 1.0.45", + "rustc_version", + "syn 2.0.98", + "unicode-xid 0.2.4", +] + [[package]] name = "digest" version = "0.8.1" @@ -2371,7 +2490,7 @@ dependencies = [ "regex", "syn 2.0.98", "termcolor", - "toml 0.8.19", + "toml", "walkdir", ] @@ -2393,32 +2512,11 @@ version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dcbb2bf8e87535c23f7a8a321e364ce21462d0ff10cb6407820e8e96dfff6653" -[[package]] -name = "dyn-clonable" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e9232f0e607a262ceb9bd5141a3dfb3e4db6994b31989bbfd845878cba59fd4" -dependencies = [ - "dyn-clonable-impl", - "dyn-clone", -] - -[[package]] -name = "dyn-clonable-impl" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "558e40ea573c374cf53507fd240b7ee2f5477df7cfebdb97323ec61c719399c5" -dependencies = [ - "proc-macro2 1.0.106", - "quote 1.0.45", - "syn 1.0.109", -] - [[package]] name = "dyn-clone" -version = "1.0.16" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "545b22097d44f8a9581187cdf93de7a71e4722bf51200cfaba810865b49a495d" +checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555" [[package]] name = "ecdsa" @@ -2455,7 +2553,7 @@ dependencies = [ "ed25519", "rand_core 0.6.4", "serde", - "sha2 0.10.8", + "sha2 0.10.9", "subtle 2.5.0", "zeroize", ] @@ -2471,7 +2569,7 @@ dependencies = [ "hashbrown 0.14.5", "hex", "rand_core 0.6.4", - "sha2 0.10.8", + "sha2 0.10.9", "zeroize", ] @@ -2489,9 +2587,9 @@ dependencies = [ [[package]] name = "either" -version = "1.13.0" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" +checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" [[package]] name = "elliptic-curve" @@ -2514,12 +2612,24 @@ dependencies = [ ] [[package]] -name = "encoding_rs" -version = "0.8.33" +name = "embedded-io" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1" -dependencies = [ - "cfg-if", +checksum = "ef1a6892d9eef45c8fa6b9e0086428a2cca8491aca8f787c534a3d6d0bcb3ced" + +[[package]] +name = "embedded-io" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "edd0f118536f44f5ccd48bcb8b111bdc3de888b58c74639dfb034a357d0f206d" + +[[package]] +name = "encoding_rs" +version = "0.8.33" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1" +dependencies = [ + "cfg-if", ] [[package]] @@ -2534,6 +2644,26 @@ dependencies = [ "syn 2.0.98", ] +[[package]] +name = "enum-display" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02058bb25d8d0605829af88230427dd5cd50661590bd2b09d1baf7c64c417f24" +dependencies = [ + "enum-display-macro", +] + +[[package]] +name = "enum-display-macro" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4be2cf2fe7b971b1865febbacd4d8df544aa6bd377cca011a6d69dcf4c60d94" +dependencies = [ + "convert_case 0.6.0", + "quote 1.0.45", + "syn 1.0.109", +] + [[package]] name = "enum-ordinalize" version = "4.3.0" @@ -2585,19 +2715,6 @@ dependencies = [ "syn 2.0.98", ] -[[package]] -name = "env_logger" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95b3f3e67048839cb0d0781f445682a35113da7121f7c949db0e2be96a4fbece" -dependencies = [ - "humantime", - "is-terminal", - "log", - "regex", - "termcolor", -] - [[package]] name = "environmental" version = "1.1.4" @@ -2613,16 +2730,16 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "equivocation-detector" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ - "async-std", "async-trait", "bp-header-chain", "finality-relay", "futures", - "log", "num-traits", "relay-utils", + "tokio", + "tracing", ] [[package]] @@ -2679,9 +2796,9 @@ dependencies = [ [[package]] name = "fallible-iterator" -version = "0.2.0" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" +checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649" [[package]] name = "fastrand" @@ -2724,16 +2841,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "file-per-thread-logger" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84f2e425d9790201ba4af4630191feac6dcc98765b118d4d18e91d23c2353866" -dependencies = [ - "env_logger", - "log", -] - [[package]] name = "finality-grandpa" version = "0.16.3" @@ -2753,18 +2860,24 @@ dependencies = [ [[package]] name = "finality-relay" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ - "async-std", "async-trait", "backoff", "bp-header-chain", "futures", - "log", "num-traits", "relay-utils", + "tokio", + "tracing", ] +[[package]] +name = "find-msvc-tools" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582" + [[package]] name = "fixed-hash" version = "0.8.0" @@ -2783,12 +2896,24 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" +[[package]] +name = "fixedbitset" +version = "0.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d674e81391d1e1ab681a28d99df07927c6d4aa5b027d7da16ba32d1d21ecd99" + [[package]] name = "fnv" version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" +[[package]] +name = "foldhash" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" + [[package]] name = "form_urlencoded" version = "1.2.1" @@ -2807,7 +2932,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "frame-support", "frame-support-procedural", @@ -2830,11 +2955,11 @@ dependencies = [ [[package]] name = "frame-decode" -version = "0.6.1" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7af3d1149d6063985bb62d97f3ea83060ce4d6f2d04c21f551d270e8d84a27c" +checksum = "6e56c0e51972d7b26ff76966c4d0f2307030df9daa5ce0885149ece1ab7ca5ad" dependencies = [ - "frame-metadata 18.0.0", + "frame-metadata", "parity-scale-codec", "scale-decode", "scale-info", @@ -2845,9 +2970,9 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.5.0", "proc-macro2 1.0.106", "quote 1.0.45", "syn 2.0.98", @@ -2856,7 +2981,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2867,12 +2992,13 @@ dependencies = [ "sp-core", "sp-npos-elections", "sp-runtime", + "sp-std", ] [[package]] name = "frame-executive" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "aquamarine", "frame-support", @@ -2889,21 +3015,9 @@ dependencies = [ [[package]] name = "frame-metadata" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daaf440c68eb2c3d88e5760fe8c7af3f9fee9181fab6c2f2c4e7cc48dcc40bb8" -dependencies = [ - "cfg-if", - "parity-scale-codec", - "scale-info", - "serde", -] - -[[package]] -name = "frame-metadata" -version = "20.0.0" +version = "23.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26de808fa6461f2485dc51811aefed108850064994fb4a62b3ac21ffa62ac8df" +checksum = "9ba5be0edbdb824843a0f9c6f0906ecfc66c5316218d74457003218b24909ed0" dependencies = [ "cfg-if", "parity-scale-codec", @@ -2914,7 +3028,7 @@ dependencies = [ [[package]] name = "frame-support" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "aquamarine", "array-bytes", @@ -2922,7 +3036,7 @@ dependencies = [ "bitflags 1.3.2", "docify", "environmental", - "frame-metadata 20.0.0", + "frame-metadata", "frame-support-procedural", "impl-trait-for-tuples", "k256", @@ -2955,7 +3069,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "Inflector", "cfg-expr", @@ -2975,10 +3089,10 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "frame-support-procedural-tools-derive", - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.5.0", "proc-macro2 1.0.106", "quote 1.0.45", "syn 2.0.98", @@ -2987,7 +3101,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "proc-macro2 1.0.106", "quote 1.0.45", @@ -2997,7 +3111,7 @@ dependencies = [ [[package]] name = "frame-system" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "cfg-if", "docify", @@ -3016,7 +3130,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "frame-benchmarking", "frame-support", @@ -3030,7 +3144,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "docify", "parity-scale-codec", @@ -3040,7 +3154,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "frame-support", "parity-scale-codec", @@ -3164,7 +3278,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8f2f12607f92c69b12ed746fabf9ca4f5c482cba46679c1a75b874ed7c26adb" dependencies = [ "futures-io", - "rustls 0.23.18", + "rustls", "rustls-pki-types", ] @@ -3212,6 +3326,34 @@ dependencies = [ "byteorder", ] +[[package]] +name = "fxprof-processed-profile" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27d12c0aed7f1e24276a241aadc4cb8ea9f83000f34bc062b7cc2d51e3b0fabd" +dependencies = [ + "bitflags 2.6.0", + "debugid", + "fxhash", + "serde", + "serde_json", +] + +[[package]] +name = "generator" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52f04ae4152da20c76fe800fa48659201d5cf627c5149ca0b707b69d7eef6cf9" +dependencies = [ + "cc", + "cfg-if", + "libc", + "log", + "rustversion", + "windows-link", + "windows-result", +] + [[package]] name = "generic-array" version = "0.12.4" @@ -3277,20 +3419,20 @@ dependencies = [ [[package]] name = "gimli" -version = "0.27.3" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" -dependencies = [ - "fallible-iterator", - "indexmap 1.9.3", - "stable_deref_trait", -] +checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" [[package]] name = "gimli" -version = "0.28.0" +version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" +checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" +dependencies = [ + "fallible-iterator", + "indexmap", + "stable_deref_trait", +] [[package]] name = "gloo-timers" @@ -3327,7 +3469,7 @@ dependencies = [ "futures-sink", "futures-util", "http 0.2.9", - "indexmap 2.8.0", + "indexmap", "slab", "tokio", "tokio-util", @@ -3346,7 +3488,7 @@ dependencies = [ "futures-core", "futures-sink", "http 1.1.0", - "indexmap 2.8.0", + "indexmap", "slab", "tokio", "tokio-util", @@ -3368,12 +3510,6 @@ dependencies = [ "crunchy", ] -[[package]] -name = "hashbrown" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" - [[package]] name = "hashbrown" version = "0.13.2" @@ -3391,18 +3527,26 @@ checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" dependencies = [ "ahash", "allocator-api2", - "serde", ] [[package]] name = "hashbrown" -version = "0.15.2" +version = "0.15.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" +checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" dependencies = [ "allocator-api2", + "equivalent", + "foldhash", + "serde", ] +[[package]] +name = "hashbrown" +version = "0.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" + [[package]] name = "hashlink" version = "0.8.4" @@ -3465,7 +3609,7 @@ dependencies = [ "ipnet", "once_cell", "rand 0.8.5", - "socket2", + "socket2 0.5.9", "thiserror 1.0.65", "tinyvec", "tokio", @@ -3473,6 +3617,31 @@ dependencies = [ "url", ] +[[package]] +name = "hickory-proto" +version = "0.25.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8a6fe56c0038198998a6f217ca4e7ef3a5e51f46163bd6dd60b5c71ca6c6502" +dependencies = [ + "async-trait", + "cfg-if", + "data-encoding", + "enum-as-inner", + "futures-channel", + "futures-io", + "futures-util", + "idna", + "ipnet", + "once_cell", + "rand 0.9.0", + "ring 0.17.14", + "thiserror 2.0.18", + "tinyvec", + "tokio", + "tracing", + "url", +] + [[package]] name = "hickory-resolver" version = "0.24.2" @@ -3481,7 +3650,7 @@ checksum = "0a2e2aba9c389ce5267d31cf1e4dace82390ae276b0b364ea55630b1fa1b44b4" dependencies = [ "cfg-if", "futures-util", - "hickory-proto", + "hickory-proto 0.24.4", "ipconfig", "lru-cache", "once_cell", @@ -3494,6 +3663,27 @@ dependencies = [ "tracing", ] +[[package]] +name = "hickory-resolver" +version = "0.25.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc62a9a99b0bfb44d2ab95a7208ac952d31060efc16241c87eaf36406fecf87a" +dependencies = [ + "cfg-if", + "futures-util", + "hickory-proto 0.25.2", + "ipconfig", + "moka", + "once_cell", + "parking_lot 0.12.3", + "rand 0.9.0", + "resolv-conf", + "smallvec", + "thiserror 2.0.18", + "tokio", + "tracing", +] + [[package]] name = "hkdf" version = "0.12.4" @@ -3612,12 +3802,6 @@ version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" -[[package]] -name = "humantime" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" - [[package]] name = "hyper" version = "0.14.29" @@ -3635,7 +3819,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite", - "socket2", + "socket2 0.5.9", "tokio", "tower-service", "tracing", @@ -3954,31 +4138,16 @@ dependencies = [ [[package]] name = "indexmap" -version = "1.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" -dependencies = [ - "autocfg", - "hashbrown 0.12.3", - "serde", -] - -[[package]] -name = "indexmap" -version = "2.8.0" +version = "2.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3954d50fe15b02142bf25d3b8bdadb634ec3948f103d04ffe3031bc8fe9d7058" +checksum = "7714e70437a7dc3ac8eb7e6f8df75fd8eb422675fc7678aff7364301092b1017" dependencies = [ "equivalent", - "hashbrown 0.15.2", + "hashbrown 0.16.1", + "serde", + "serde_core", ] -[[package]] -name = "indexmap-nostd" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e04e2fd2b8188ea827b32ef11de88377086d690286ab35747ef7f9bf3ccb590" - [[package]] name = "inout" version = "0.1.3" @@ -4029,7 +4198,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f" dependencies = [ - "socket2", + "socket2 0.5.9", "widestring", "windows-sys 0.48.0", "winreg", @@ -4041,17 +4210,6 @@ version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "28b29a3cd74f0f4598934efe3aeba42bae0eb4680554128851ebbecb02af14e6" -[[package]] -name = "is-terminal" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" -dependencies = [ - "hermit-abi", - "rustix 0.38.42", - "windows-sys 0.48.0", -] - [[package]] name = "isahc" version = "1.7.2" @@ -4115,24 +4273,83 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" +[[package]] +name = "ittapi" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b996fe614c41395cdaedf3cf408a9534851090959d90d54a535f675550b64b1" +dependencies = [ + "anyhow", + "ittapi-sys", + "log", +] + +[[package]] +name = "ittapi-sys" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52f5385394064fa2c886205dba02598013ce83d3e92d33dbdc0c52fe0e7bf4fc" +dependencies = [ + "cc", +] + +[[package]] +name = "jam-codec" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb948eace373d99de60501a02fb17125d30ac632570de20dccc74370cdd611b9" +dependencies = [ + "arrayvec 0.7.6", + "bitvec", + "byte-slice-cast", + "const_format", + "impl-trait-for-tuples", + "jam-codec-derive", + "rustversion", + "serde", +] + +[[package]] +name = "jam-codec-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "319af585c4c8a6b5552a52b7787a1ab3e4d59df7614190b1f85b9b842488789d" +dependencies = [ + "proc-macro-crate 3.5.0", + "proc-macro2 1.0.106", + "quote 1.0.45", + "syn 2.0.98", +] + [[package]] name = "jni" -version = "0.19.0" +version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6df18c2e3db7e453d3c6ac5b3e9d5182664d28788126d39b91f2d1e22b017ec" +checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97" dependencies = [ "cesu8", + "cfg-if", "combine", "jni-sys", "log", "thiserror 1.0.65", "walkdir", + "windows-sys 0.45.0", ] [[package]] @@ -4152,10 +4369,11 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.72" +version = "0.3.94" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a88f1bda2bd75b0452a14784937d796722fdebfe50df998aeb3f0b7603019a9" +checksum = "2e04e2ef80ce82e13552136fabeef8a5ed1f985a96805761cbb9a2c34e7664d9" dependencies = [ + "once_cell", "wasm-bindgen", ] @@ -4172,9 +4390,9 @@ dependencies = [ [[package]] name = "jsonrpsee" -version = "0.24.7" +version = "0.24.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5c71d8c1a731cc4227c2f698d377e7848ca12c8a48866fc5e6951c43a4db843" +checksum = "e281ae70cc3b98dac15fced3366a880949e65fc66e345ce857a5682d152f3e62" dependencies = [ "jsonrpsee-client-transport", "jsonrpsee-core", @@ -4186,16 +4404,16 @@ dependencies = [ [[package]] name = "jsonrpsee-client-transport" -version = "0.24.7" +version = "0.24.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "548125b159ba1314104f5bb5f38519e03a41862786aa3925cf349aae9cdd546e" +checksum = "cc4280b709ac3bb5e16cf3bad5056a0ec8df55fa89edfe996361219aadc2c7ea" dependencies = [ "base64 0.22.1", "futures-util", "http 1.1.0", "jsonrpsee-core", "pin-project", - "rustls 0.23.18", + "rustls", "rustls-pki-types", "rustls-platform-verifier", "soketto", @@ -4209,9 +4427,9 @@ dependencies = [ [[package]] name = "jsonrpsee-core" -version = "0.24.7" +version = "0.24.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2882f6f8acb9fdaec7cefc4fd607119a9bd709831df7d7672a1d3b644628280" +checksum = "348ee569eaed52926b5e740aae20863762b16596476e943c9e415a6479021622" dependencies = [ "async-trait", "futures-timer", @@ -4232,12 +4450,12 @@ dependencies = [ [[package]] name = "jsonrpsee-proc-macros" -version = "0.24.7" +version = "0.24.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06c01ae0007548e73412c08e2285ffe5d723195bf268bce67b1b77c3bb2a14d" +checksum = "7398cddf5013cca4702862a2692b66c48a3bd6cf6ec681a47453c93d63cf8de5" dependencies = [ "heck 0.5.0", - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.5.0", "proc-macro2 1.0.106", "quote 1.0.45", "syn 2.0.98", @@ -4245,9 +4463,9 @@ dependencies = [ [[package]] name = "jsonrpsee-types" -version = "0.24.7" +version = "0.24.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a178c60086f24cc35bb82f57c651d0d25d99c4742b4d335de04e97fa1f08a8a1" +checksum = "b0f05e0028e55b15dbd2107163b3c744cd3bb4474f193f95d9708acbf5677e44" dependencies = [ "http 1.1.0", "serde", @@ -4257,9 +4475,9 @@ dependencies = [ [[package]] name = "jsonrpsee-ws-client" -version = "0.24.7" +version = "0.24.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fe322e0896d0955a3ebdd5bf813571c53fea29edd713bc315b76620b327e86d" +checksum = "78fc744f17e7926d57f478cf9ca6e1ee5d8332bf0514860b1a3cdf1742e614cc" dependencies = [ "http 1.1.0", "jsonrpsee-client-transport", @@ -4279,7 +4497,7 @@ dependencies = [ "elliptic-curve", "once_cell", "serdect", - "sha2 0.10.8", + "sha2 0.10.9", ] [[package]] @@ -4331,6 +4549,12 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" +[[package]] +name = "leb128fmt" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2" + [[package]] name = "libc" version = "0.2.182" @@ -4448,7 +4672,7 @@ checksum = "97f37f30d5c7275db282ecd86e54f29dd2176bd3ac656f06abf43bedb21eb8bd" dependencies = [ "async-trait", "futures", - "hickory-resolver", + "hickory-resolver 0.24.2", "libp2p-core", "libp2p-identity", "parking_lot 0.12.3", @@ -4491,7 +4715,7 @@ dependencies = [ "multihash 0.19.1", "quick-protobuf", "rand 0.8.5", - "sha2 0.10.8", + "sha2 0.10.9", "thiserror 1.0.65", "tracing", "zeroize", @@ -4503,7 +4727,7 @@ version = "0.46.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ced237d0bd84bbebb7c2cad4c073160dacb4fe40534963c32ed6d4c6bb7702a3" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "asynchronous-codec 0.7.0", "bytes", "either", @@ -4517,7 +4741,7 @@ dependencies = [ "quick-protobuf", "quick-protobuf-codec", "rand 0.8.5", - "sha2 0.10.8", + "sha2 0.10.9", "smallvec", "thiserror 1.0.65", "tracing", @@ -4534,14 +4758,14 @@ checksum = "14b8546b6644032565eb29046b42744aee1e9f261ed99671b2c93fb140dba417" dependencies = [ "data-encoding", "futures", - "hickory-proto", + "hickory-proto 0.24.4", "if-watch", "libp2p-core", "libp2p-identity", "libp2p-swarm", "rand 0.8.5", "smallvec", - "socket2", + "socket2 0.5.9", "tokio", "tracing", "void", @@ -4582,7 +4806,7 @@ dependencies = [ "once_cell", "quick-protobuf", "rand 0.8.5", - "sha2 0.10.8", + "sha2 0.10.9", "snow", "static_assertions", "thiserror 1.0.65", @@ -4625,9 +4849,9 @@ dependencies = [ "parking_lot 0.12.3", "quinn", "rand 0.8.5", - "ring 0.17.8", - "rustls 0.23.18", - "socket2", + "ring 0.17.14", + "rustls", + "socket2 0.5.9", "thiserror 1.0.65", "tokio", "tracing", @@ -4701,7 +4925,7 @@ dependencies = [ "libc", "libp2p-core", "libp2p-identity", - "socket2", + "socket2 0.5.9", "tokio", "tracing", ] @@ -4716,9 +4940,9 @@ dependencies = [ "futures-rustls", "libp2p-core", "libp2p-identity", - "rcgen 0.11.3", - "ring 0.17.8", - "rustls 0.23.18", + "rcgen", + "ring 0.17.14", + "rustls", "rustls-webpki 0.101.4", "thiserror 1.0.65", "x509-parser 0.16.0", @@ -4759,7 +4983,7 @@ dependencies = [ "thiserror 1.0.65", "tracing", "url", - "webpki-roots 0.25.2", + "webpki-roots", ] [[package]] @@ -4774,7 +4998,7 @@ dependencies = [ "thiserror 1.0.65", "tracing", "yamux 0.12.1", - "yamux 0.13.4", + "yamux 0.13.10", ] [[package]] @@ -4861,12 +5085,6 @@ dependencies = [ "nalgebra", ] -[[package]] -name = "linux-raw-sys" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" - [[package]] name = "linux-raw-sys" version = "0.3.8" @@ -4905,20 +5123,21 @@ checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104" [[package]] name = "litep2p" -version = "0.9.3" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa3aa5628ae2b2283aa01dfa58947f1926aedba0160dd25041e2cd4bc71534c9" +checksum = "cbf3924cf539a761465543592b34c4198d60db2cda16594769edd43451e5ab41" dependencies = [ "async-trait", "bs58", "bytes", - "cid 0.10.1", + "cid", "ed25519-dalek", + "enum-display", "futures", "futures-timer", - "hex-literal", - "hickory-resolver", - "indexmap 2.8.0", + "hickory-resolver 0.25.2", + "indexmap", + "ip_network", "libc", "mockall", "multiaddr 0.17.1", @@ -4926,19 +5145,17 @@ dependencies = [ "network-interface", "parking_lot 0.12.3", "pin-project", - "prost 0.12.6", - "prost-build", + "prost 0.13.5", + "prost-build 0.14.3", "rand 0.8.5", - "rcgen 0.10.0", - "ring 0.16.20", - "rustls 0.20.9", + "ring 0.17.14", "serde", - "sha2 0.10.8", + "sha2 0.10.9", "simple-dns", "smallvec", "snow", - "socket2", - "thiserror 2.0.11", + "socket2 0.5.9", + "thiserror 2.0.18", "tokio", "tokio-stream", "tokio-tungstenite", @@ -4949,7 +5166,7 @@ dependencies = [ "url", "x25519-dalek", "x509-parser 0.17.0", - "yamux 0.13.4", + "yamux 0.13.10", "yasna", "zeroize", ] @@ -4974,12 +5191,25 @@ dependencies = [ ] [[package]] -name = "lru" -version = "0.12.3" +name = "loom" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3262e75e648fce39813cb56ac41f3c3e3f65217ebf3844d818d1f9398cfb0dc" +checksum = "419e0dc8046cb947daa77eb95ae174acfbddb7673b4151f56d1eed8e93fbfaca" dependencies = [ - "hashbrown 0.14.5", + "cfg-if", + "generator", + "scoped-tls", + "tracing", + "tracing-subscriber", +] + +[[package]] +name = "lru" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3262e75e648fce39813cb56ac41f3c3e3f65217ebf3844d818d1f9398cfb0dc" +dependencies = [ + "hashbrown 0.14.5", ] [[package]] @@ -4992,10 +5222,10 @@ dependencies = [ ] [[package]] -name = "mach" -version = "0.3.2" +name = "mach2" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa" +checksum = "d640282b302c0bb0a2a8e0233ead9035e3bed871f0b7e81fe4a1ec829765db44" dependencies = [ "libc", ] @@ -5097,15 +5327,6 @@ dependencies = [ "libc", ] -[[package]] -name = "memoffset" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" -dependencies = [ - "autocfg", -] - [[package]] name = "memoffset" version = "0.9.0" @@ -5117,11 +5338,13 @@ dependencies = [ [[package]] name = "memory-db" -version = "0.32.0" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "808b50db46293432a45e63bc15ea51e0ab4c0a1647b8eb114e31a3e698dd6fbe" +checksum = "7e300c54e3239a86f9c61cc63ab0f03862eb40b1c6e065dc6fd6ceaeff6da93d" dependencies = [ + "foldhash", "hash-db", + "hashbrown 0.15.5", ] [[package]] @@ -5139,19 +5362,19 @@ dependencies = [ [[package]] name = "messages-relay" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ - "async-std", "async-trait", "bp-messages", "finality-relay", "futures", "hex", - "log", "num-traits", "parking_lot 0.12.3", "relay-utils", "sp-arithmetic", + "tokio", + "tracing", ] [[package]] @@ -5194,7 +5417,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "daa3eb39495d8e2e2947a1d862852c90cc6a4a8845f8b41c8829cb9fcc047f4a" dependencies = [ "arrayref", - "arrayvec 0.7.4", + "arrayvec 0.7.6", "bitflags 1.3.2", "blake2 0.10.6", "c2-chacha", @@ -5238,6 +5461,25 @@ dependencies = [ "syn 2.0.98", ] +[[package]] +name = "moka" +version = "0.12.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9321642ca94a4282428e6ea4af8cc2ca4eac48ac7a6a4ea8f33f76d0ce70926" +dependencies = [ + "crossbeam-channel", + "crossbeam-epoch", + "crossbeam-utils", + "loom", + "parking_lot 0.12.3", + "portable-atomic", + "rustc_version", + "smallvec", + "tagptr", + "thiserror 1.0.65", + "uuid", +] + [[package]] name = "multi-stash" version = "0.2.0" @@ -5300,29 +5542,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "835d6ff01d610179fbce3de1694d007e500bf33a7f29689838941d6bf783ae40" dependencies = [ "blake2b_simd", - "blake2s_simd", - "blake3", "core2", "digest 0.10.7", "multihash-derive", - "sha2 0.10.8", - "sha3", - "unsigned-varint 0.7.2", -] - -[[package]] -name = "multihash" -version = "0.18.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfd8a792c1694c6da4f68db0a9d707c72bd260994da179e6030a5dcee00bb815" -dependencies = [ - "blake2b_simd", - "blake2s_simd", - "blake3", - "core2", - "digest 0.10.7", - "multihash-derive", - "sha2 0.10.8", + "sha2 0.10.9", "sha3", "unsigned-varint 0.7.2", ] @@ -5466,13 +5689,13 @@ dependencies = [ [[package]] name = "network-interface" -version = "1.1.3" +version = "2.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae72fd9dbd7f55dda80c00d66acc3b2130436fcba9ea89118fc508eaae48dfb0" +checksum = "4ddcb8865ad3d9950f22f42ffa0ef0aecbfbf191867b3122413602b0a360b2a6" dependencies = [ "cc", "libc", - "thiserror 1.0.65", + "thiserror 2.0.18", "winapi", ] @@ -5509,6 +5732,15 @@ dependencies = [ "minimal-lexical", ] +[[package]] +name = "nom" +version = "8.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df9761775871bdef83bee530e60050f7e54b1105350d6884eb0fb4f46c2f9405" +dependencies = [ + "memchr", +] + [[package]] name = "ntapi" version = "0.4.1" @@ -5550,20 +5782,9 @@ dependencies = [ [[package]] name = "num-conv" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" - -[[package]] -name = "num-derive" -version = "0.4.2" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" -dependencies = [ - "proc-macro2 1.0.106", - "quote 1.0.45", - "syn 2.0.98", -] +checksum = "c6673768db2d862beb9b39a78fdcb1a69439615d5794a1be50caa9bc92c81967" [[package]] name = "num-format" @@ -5571,7 +5792,7 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a652d9771a63711fd3c3deb670acfbe5c30a4072e664d7a3bf5a9e1056ac72c3" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "itoa", ] @@ -5618,22 +5839,22 @@ dependencies = [ [[package]] name = "object" -version = "0.30.4" +version = "0.32.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03b4680b86d9cfafba8fc491dc9b6df26b68cf40e9e6cd73909194759a63c385" +checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" dependencies = [ - "crc32fast", - "hashbrown 0.13.2", - "indexmap 1.9.3", "memchr", ] [[package]] name = "object" -version = "0.32.2" +version = "0.36.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" +checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87" dependencies = [ + "crc32fast", + "hashbrown 0.15.5", + "indexmap", "memchr", ] @@ -5657,9 +5878,13 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.19.0" +version = "1.21.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" +dependencies = [ + "critical-section", + "portable-atomic", +] [[package]] name = "opaque-debug" @@ -5700,7 +5925,7 @@ checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" [[package]] name = "pallet-asset-conversion" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "frame-benchmarking", "frame-support", @@ -5718,7 +5943,7 @@ dependencies = [ [[package]] name = "pallet-asset-rate" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "frame-benchmarking", "frame-support", @@ -5729,10 +5954,42 @@ dependencies = [ "sp-runtime", ] +[[package]] +name = "pallet-asset-tx-payment" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "pallet-transaction-payment", + "parity-scale-codec", + "scale-info", + "serde", + "sp-io", + "sp-runtime", +] + +[[package]] +name = "pallet-assets" +version = "29.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-runtime", +] + [[package]] name = "pallet-authority-discovery" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "frame-support", "frame-system", @@ -5747,7 +6004,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "frame-support", "frame-system", @@ -5760,7 +6017,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "frame-benchmarking", "frame-support", @@ -5783,7 +6040,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "docify", "frame-benchmarking", @@ -5799,7 +6056,7 @@ dependencies = [ [[package]] name = "pallet-bridge-grandpa" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bp-header-chain", "bp-runtime", @@ -5807,18 +6064,18 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log", "parity-scale-codec", "scale-info", "sp-consensus-grandpa", "sp-runtime", "sp-std", + "tracing", ] [[package]] name = "pallet-bridge-messages" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bp-header-chain", "bp-messages", @@ -5826,18 +6083,18 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log", "parity-scale-codec", "scale-info", "sp-runtime", "sp-std", "sp-trie", + "tracing", ] [[package]] name = "pallet-bridge-parachains" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bp-header-chain", "bp-parachains", @@ -5846,18 +6103,18 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log", "pallet-bridge-grandpa", "parity-scale-codec", "scale-info", "sp-runtime", "sp-std", + "tracing", ] [[package]] name = "pallet-bridge-relayers" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bp-header-chain", "bp-messages", @@ -5866,7 +6123,6 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log", "pallet-bridge-grandpa", "pallet-bridge-messages", "pallet-bridge-parachains", @@ -5875,12 +6131,13 @@ dependencies = [ "scale-info", "sp-arithmetic", "sp-runtime", + "tracing", ] [[package]] name = "pallet-broker" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bitvec", "frame-benchmarking", @@ -5896,44 +6153,50 @@ dependencies = [ ] [[package]] -name = "pallet-election-provider-multi-phase" -version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +name = "pallet-collator-selection" +version = "9.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ + "cumulus-pallet-session-benchmarking", "frame-benchmarking", - "frame-election-provider-support", "frame-support", "frame-system", "log", - "pallet-election-provider-support-benchmarking", + "pallet-authorship", + "pallet-balances", + "pallet-session", "parity-scale-codec", "rand 0.8.5", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-npos-elections", "sp-runtime", - "strum 0.26.3", + "sp-staking", ] [[package]] -name = "pallet-election-provider-support-benchmarking" +name = "pallet-election-provider-multi-phase" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "frame-benchmarking", "frame-election-provider-support", + "frame-support", "frame-system", + "log", "parity-scale-codec", + "rand 0.8.5", + "scale-info", + "sp-arithmetic", + "sp-core", + "sp-io", "sp-npos-elections", "sp-runtime", + "strum 0.26.3", ] [[package]] name = "pallet-fast-unstake" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "docify", "frame-benchmarking", @@ -5951,7 +6214,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "frame-benchmarking", "frame-support", @@ -5973,7 +6236,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5989,7 +6252,7 @@ dependencies = [ [[package]] name = "pallet-message-queue" version = "31.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "environmental", "frame-benchmarking", @@ -6008,7 +6271,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "log", "parity-scale-codec", @@ -6017,15 +6280,33 @@ dependencies = [ "sp-mmr-primitives", ] +[[package]] +name = "pallet-multi-asset-bounties" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" +dependencies = [ + "docify", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", +] + [[package]] name = "pallet-session" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "frame-support", "frame-system", "impl-trait-for-tuples", "log", + "pallet-balances", "pallet-timestamp", "parity-scale-codec", "scale-info", @@ -6038,10 +6319,26 @@ dependencies = [ "sp-trie", ] +[[package]] +name = "pallet-session-benchmarking" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "pallet-session", + "pallet-staking", + "parity-scale-codec", + "rand 0.8.5", + "sp-runtime", + "sp-session", +] + [[package]] name = "pallet-staking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6062,7 +6359,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "log", "sp-arithmetic", @@ -6071,7 +6368,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "docify", "frame-benchmarking", @@ -6081,7 +6378,6 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-inherents", - "sp-io", "sp-runtime", "sp-storage", "sp-timestamp", @@ -6090,15 +6386,15 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", "serde", - "sp-core", "sp-io", "sp-runtime", ] @@ -6106,7 +6402,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -6118,7 +6414,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "docify", "frame-benchmarking", @@ -6137,7 +6433,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "frame-benchmarking", "frame-support", @@ -6152,7 +6448,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "frame-benchmarking", "frame-support", @@ -6163,40 +6459,94 @@ dependencies = [ "sp-runtime", ] +[[package]] +name = "pallet-xcm" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" +dependencies = [ + "bounded-collections", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal", + "pallet-balances", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", + "tracing", + "xcm-runtime-apis", +] + +[[package]] +name = "parachains-common" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" +dependencies = [ + "cumulus-primitives-core", + "cumulus-primitives-utility", + "frame-support", + "frame-system", + "pallet-asset-tx-payment", + "pallet-assets", + "pallet-authorship", + "pallet-balances", + "pallet-collator-selection", + "pallet-message-queue", + "pallet-multi-asset-bounties", + "pallet-treasury", + "pallet-xcm", + "parachains-common-types", + "parity-scale-codec", + "polkadot-primitives", + "polkadot-runtime-common", + "scale-info", + "sp-consensus-aura", + "sp-core", + "sp-io", + "sp-runtime", + "staging-parachain-info", + "staging-xcm", + "staging-xcm-executor", + "tracing", +] + +[[package]] +name = "parachains-common-types" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" +dependencies = [ + "sp-consensus-aura", + "sp-core", + "sp-runtime", +] + [[package]] name = "parachains-relay" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ - "async-std", "async-trait", "bp-polkadot-core", "futures", - "log", "relay-substrate-client", "relay-utils", -] - -[[package]] -name = "parity-bip39" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e69bf016dc406eff7d53a7d3f7cf1c2e72c82b9088aac1118591e36dd2cd3e9" -dependencies = [ - "bitcoin_hashes", - "rand 0.8.5", - "rand_core 0.6.4", - "serde", - "unicode-normalization", + "tokio", + "tracing", ] [[package]] name = "parity-scale-codec" -version = "3.7.4" +version = "3.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9fde3d0718baf5bc92f577d652001da0f8d54cd03a7974e118d04fc888dc23d" +checksum = "799781ae679d79a948e13d4824a40970bfa500058d245760dd857301059810fa" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "bitvec", "byte-slice-cast", "bytes", @@ -6209,11 +6559,11 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "3.7.4" +version = "3.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "581c837bb6b9541ce7faa9377c20616e4fb7650f6b0f68bc93c827ee504fb7b3" +checksum = "34b4653168b563151153c9e4c08ebed57fb8262bebfa79711552fa983c623e7a" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.5.0", "proc-macro2 1.0.106", "quote 1.0.45", "syn 2.0.98", @@ -6312,15 +6662,6 @@ dependencies = [ "password-hash", ] -[[package]] -name = "pem" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8835c273a76a90455d7344889b0964598e3316e2a79ede8e36f16bdcf2228b8" -dependencies = [ - "base64 0.13.1", -] - [[package]] name = "pem" version = "3.0.4" @@ -6343,24 +6684,41 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" dependencies = [ - "fixedbitset", - "indexmap 2.8.0", + "fixedbitset 0.4.2", + "indexmap", ] +[[package]] +name = "petgraph" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8701b58ea97060d5e5b155d383a69952a60943f0e6dfe30b04c287beb0b27455" +dependencies = [ + "fixedbitset 0.5.7", + "hashbrown 0.15.5", + "indexmap", +] + +[[package]] +name = "picosimd" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f8cf1ae70818c6476eb2da0ac8f3f55ecdea41a7aa16824ea6efc4a31cccf41" + [[package]] name = "pin-project" -version = "1.1.7" +version = "1.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be57f64e946e500c8ee36ef6331845d40a93055567ec57e8fae13efd33759b95" +checksum = "f1749c7ed4bcaf4c3d0a3efc28538844fb29bcdd7d2b67b2be7e20ba861ff517" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.7" +version = "1.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c0f5fad0874fc7abcd4d750e76917eaebbecaa2c20bde22e1dbeeba8beb758c" +checksum = "d9b20ed30f105399776b9c883e68e536ef602a16ae6f596d2c473591d6ad64c6" dependencies = [ "proc-macro2 1.0.106", "quote 1.0.45", @@ -6402,9 +6760,9 @@ dependencies = [ [[package]] name = "pkg-config" -version = "0.3.27" +version = "0.3.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" +checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" [[package]] name = "polkadot-ckb-merkle-mountain-range" @@ -6419,7 +6777,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "parity-scale-codec", "scale-info", @@ -6430,8 +6788,9 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" version = "6.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ + "array-bytes", "bounded-collections", "derive_more 0.99.17", "parity-scale-codec", @@ -6446,9 +6805,10 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bitvec", + "bounded-collections", "hex-literal", "log", "parity-scale-codec", @@ -6474,7 +6834,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bitvec", "frame-benchmarking", @@ -6523,7 +6883,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bs58", "frame-benchmarking", @@ -6535,11 +6895,12 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bitflags 1.3.2", "bitvec", "frame-benchmarking", + "frame-election-provider-support", "frame-support", "frame-system", "impl-trait-for-tuples", @@ -6552,6 +6913,7 @@ dependencies = [ "pallet-message-queue", "pallet-mmr", "pallet-session", + "pallet-session-benchmarking", "pallet-staking", "pallet-timestamp", "parity-scale-codec", @@ -6581,7 +6943,7 @@ dependencies = [ [[package]] name = "polkadot-sdk-frame" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "docify", "frame-benchmarking", @@ -6615,12 +6977,13 @@ dependencies = [ [[package]] name = "polkavm" -version = "0.18.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd044ab1d3b11567ab6b98ca71259a992b4034220d5972988a0e96518e5d343d" +checksum = "34ddb26cbe473e21bf5c329723e72fdf9208b5f9674e54721bf436e2efdbb26f" dependencies = [ "libc", "log", + "picosimd", "polkavm-assembler", "polkavm-common", "polkavm-linux-raw", @@ -6628,37 +6991,38 @@ dependencies = [ [[package]] name = "polkavm-assembler" -version = "0.18.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eaad38dc420bfed79e6f731471c973ce5ff5e47ab403e63cf40358fef8a6368f" +checksum = "9f9006f0a135c6d035487fa88fa75b97b32a53d1d914c757f131c8e10a2af295" dependencies = [ "log", ] [[package]] name = "polkavm-common" -version = "0.18.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31ff33982a807d8567645d4784b9b5d7ab87bcb494f534a57cadd9012688e102" +checksum = "a0a3e43fa1a54b955a2f9422b1690c3cc29252ac8828c02a99d2370b9f2a188e" dependencies = [ "log", + "picosimd", "polkavm-assembler", ] [[package]] name = "polkavm-derive" -version = "0.18.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2eb703f3b6404c13228402e98a5eae063fd16b8f58afe334073ec105ee4117e" +checksum = "c3d944b6b4e792c2a120232b52bd6f2c9dd3071d3f48462afb2b5d00cb9f7ac9" dependencies = [ "polkavm-derive-impl-macro", ] [[package]] name = "polkavm-derive-impl" -version = "0.18.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12d2840cc62a0550156b1676fed8392271ddf2fab4a00661db56231424674624" +checksum = "57c14b030150f81dfde110997b6fafc19741998130908fdab85f1a66bb735025" dependencies = [ "polkavm-common", "proc-macro2 1.0.106", @@ -6668,9 +7032,9 @@ dependencies = [ [[package]] name = "polkavm-derive-impl-macro" -version = "0.18.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48c16669ddc7433e34c1007d31080b80901e3e8e523cb9d4b441c3910cf9294b" +checksum = "f3fcadb13edfcc3b4046fcd2d292597782f5b7a2af140e6363fbf71fe196b425" dependencies = [ "polkavm-derive-impl", "syn 2.0.98", @@ -6678,9 +7042,9 @@ dependencies = [ [[package]] name = "polkavm-linux-raw" -version = "0.18.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23eff02c070c70f31878a3d915e88a914ecf3e153741e2fb572dde28cce20fde" +checksum = "cbcd9ed5f77c60f3878289001d3e789da301746249b622bfb2876e2d0fe32c0b" [[package]] name = "polling" @@ -6735,6 +7099,24 @@ dependencies = [ "universal-hash", ] +[[package]] +name = "portable-atomic" +version = "1.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49" + +[[package]] +name = "postcard" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6764c3b5dd454e283a30e6dfe78e9b31096d9e32036b5d1eaac7a6119ccb9a24" +dependencies = [ + "cobs", + "embedded-io 0.4.0", + "embedded-io 0.6.1", + "serde", +] + [[package]] name = "powerfmt" version = "0.2.0" @@ -6810,11 +7192,11 @@ dependencies = [ [[package]] name = "proc-macro-crate" -version = "3.1.0" +version = "3.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" +checksum = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f" dependencies = [ - "toml_edit 0.21.0", + "toml_edit 0.25.10+spec-1.1.0", ] [[package]] @@ -6947,12 +7329,22 @@ dependencies = [ [[package]] name = "prost" -version = "0.13.2" +version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b2ecbe40f08db5c006b5764a2645f7f3f141ce756412ac9e1dd6087e6d32995" +checksum = "2796faa41db3ec313a31f7624d9286acf277b52de526150b7e69f3debf891ee5" dependencies = [ "bytes", - "prost-derive 0.13.2", + "prost-derive 0.13.5", +] + +[[package]] +name = "prost" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2ea70524a2f82d518bce41317d0fae74151505651af45faf1ffbd6fd33f0568" +dependencies = [ + "bytes", + "prost-derive 0.14.3", ] [[package]] @@ -6967,10 +7359,29 @@ dependencies = [ "log", "multimap", "once_cell", - "petgraph", + "petgraph 0.6.4", + "prettyplease", + "prost 0.13.5", + "prost-types 0.13.2", + "regex", + "syn 2.0.98", + "tempfile", +] + +[[package]] +name = "prost-build" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "343d3bd7056eda839b03204e68deff7d1b13aba7af2b2fd16890697274262ee7" +dependencies = [ + "heck 0.5.0", + "itertools 0.13.0", + "log", + "multimap", + "petgraph 0.8.3", "prettyplease", - "prost 0.13.2", - "prost-types", + "prost 0.14.3", + "prost-types 0.14.3", "regex", "syn 2.0.98", "tempfile", @@ -6991,9 +7402,22 @@ dependencies = [ [[package]] name = "prost-derive" -version = "0.13.2" +version = "0.13.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a56d757972c98b346a9b766e3f02746cde6dd1cd1d1d563472929fdd74bec4d" +dependencies = [ + "anyhow", + "itertools 0.13.0", + "proc-macro2 1.0.106", + "quote 1.0.45", + "syn 2.0.98", +] + +[[package]] +name = "prost-derive" +version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acf0c195eebb4af52c752bec4f52f645da98b6e92077a04110c7f349477ae5ac" +checksum = "27c6023962132f4b30eb4c172c91ce92d933da334c59c23cddee82358ddafb0b" dependencies = [ "anyhow", "itertools 0.13.0", @@ -7008,16 +7432,39 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "60caa6738c7369b940c3d49246a8d1749323674c65cb13010134f5c9bad5b519" dependencies = [ - "prost 0.13.2", + "prost 0.13.5", ] [[package]] -name = "psm" -version = "0.1.21" +name = "prost-types" +version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874" +checksum = "8991c4cbdb8bc5b11f0b074ffe286c30e523de90fee5ba8132f1399f23cb3dd7" dependencies = [ - "cc", + "prost 0.14.3", +] + +[[package]] +name = "pulley-interpreter" +version = "35.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b89c4319786b16c1a6a38ee04788d32c669b61ba4b69da2162c868c18be99c1b" +dependencies = [ + "cranelift-bitset", + "log", + "pulley-macros", + "wasmtime-internal-math", +] + +[[package]] +name = "pulley-macros" +version = "35.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "938543690519c20c3a480d20a8efcc8e69abeb44093ab1df4e7c1f81f26c677a" +dependencies = [ + "proc-macro2 1.0.106", + "quote 1.0.45", + "syn 2.0.98", ] [[package]] @@ -7071,8 +7518,8 @@ dependencies = [ "quinn-proto", "quinn-udp", "rustc-hash 2.0.0", - "rustls 0.23.18", - "socket2", + "rustls", + "socket2 0.5.9", "thiserror 1.0.65", "tokio", "tracing", @@ -7086,9 +7533,9 @@ checksum = "fadfaed2cd7f389d0161bb73eeb07b7b78f8691047a6f3e73caaeae55310a4a6" dependencies = [ "bytes", "rand 0.8.5", - "ring 0.17.8", + "ring 0.17.14", "rustc-hash 2.0.0", - "rustls 0.23.18", + "rustls", "slab", "thiserror 1.0.65", "tinyvec", @@ -7103,7 +7550,7 @@ checksum = "8bffec3605b73c6f1754535084a85229fa8a30f86014e6c81aeec4abb68b0285" dependencies = [ "libc", "once_cell", - "socket2", + "socket2 0.5.9", "tracing", "windows-sys 0.52.0", ] @@ -7243,21 +7690,9 @@ 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.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffbe84efe2f38dea12e9bfc1f65377fdf03e53a18cb3b995faedf7934c7e785b" -dependencies = [ - "pem 1.1.1", - "ring 0.16.20", - "time", - "yasna", + "proc-macro2 0.4.30", + "quote 0.6.13", + "syn 0.15.44", ] [[package]] @@ -7266,7 +7701,7 @@ version = "0.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "52c4f3084aa3bc7dfbba4eff4fab2a54db4324965d8872ab933565e6fbd83bc6" dependencies = [ - "pem 3.0.4", + "pem", "ring 0.16.20", "time", "yasna", @@ -7323,13 +7758,15 @@ dependencies = [ [[package]] name = "regalloc2" -version = "0.6.1" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80535183cae11b149d618fbd3c37e38d7cda589d82d7769e196ca9a9042d7621" +checksum = "5216b1837de2149f8bc8e6d5f88a9326b63b8c836ed58ce4a0a29ec736a59734" dependencies = [ - "fxhash", + "allocator-api2", + "bumpalo", + "hashbrown 0.15.5", "log", - "slice-group-by", + "rustc-hash 2.0.0", "smallvec", ] @@ -7568,9 +8005,9 @@ dependencies = [ [[package]] name = "relay-substrate-client" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ - "async-std", + "async-channel 1.9.0", "async-trait", "bp-header-chain", "bp-messages", @@ -7580,7 +8017,6 @@ dependencies = [ "frame-support", "futures", "jsonrpsee", - "log", "num-traits", "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", @@ -7604,22 +8040,21 @@ dependencies = [ "staging-xcm", "thiserror 1.0.65", "tokio", + "tracing", ] [[package]] name = "relay-utils" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "anyhow", - "async-std", "async-trait", "backoff", "bp-runtime", "futures", "isahc", "jsonpath_lib", - "log", "num-traits", "parking_lot 0.12.3", "serde_json", @@ -7630,6 +8065,7 @@ dependencies = [ "thiserror 1.0.65", "time", "tokio", + "tracing", ] [[package]] @@ -7688,15 +8124,14 @@ dependencies = [ [[package]] name = "ring" -version = "0.17.8" +version = "0.17.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" +checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" dependencies = [ "cc", "cfg-if", "getrandom 0.2.10", "libc", - "spin 0.9.8", "untrusted 0.9.0", "windows-sys 0.52.0", ] @@ -7704,7 +8139,7 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "frame-support", "polkadot-primitives", @@ -7771,21 +8206,7 @@ version = "4.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "faf0c4a6ece9950b9abdb62b1cfcf2a68b3b67a10ba445b3bb85be2a293d0632" dependencies = [ - "nom", -] - -[[package]] -name = "rustix" -version = "0.36.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "305efbd14fde4139eb501df5f136994bb520b033fa9fbdce287507dc23b8c7ed" -dependencies = [ - "bitflags 1.3.2", - "errno", - "io-lifetimes", - "libc", - "linux-raw-sys 0.1.4", - "windows-sys 0.45.0", + "nom 7.1.3", ] [[package]] @@ -7830,43 +8251,19 @@ dependencies = [ [[package]] name = "rustls" -version = "0.20.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b80e3dec595989ea8510028f30c408a4630db12c9cbb8de34203b89d6577e99" -dependencies = [ - "ring 0.16.20", - "sct", - "webpki", -] - -[[package]] -name = "rustls" -version = "0.23.18" +version = "0.23.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c9cc1d47e243d655ace55ed38201c19ae02c148ae56412ab8750e8f0166ab7f" +checksum = "758025cb5fccfd3bc2fd74708fd4682be41d99e5dff73c377c0646c6012c73a4" dependencies = [ "log", "once_cell", - "ring 0.17.8", + "ring 0.17.14", "rustls-pki-types", - "rustls-webpki 0.102.8", + "rustls-webpki 0.103.10", "subtle 2.5.0", "zeroize", ] -[[package]] -name = "rustls-native-certs" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f1fb85efa936c42c6d5fc28d2629bb51e4b2f4b8a5211e297d599cc5a093792" -dependencies = [ - "openssl-probe", - "rustls-pemfile", - "rustls-pki-types", - "schannel", - "security-framework 2.11.0", -] - [[package]] name = "rustls-native-certs" version = "0.8.1" @@ -7876,44 +8273,37 @@ dependencies = [ "openssl-probe", "rustls-pki-types", "schannel", - "security-framework 3.2.0", + "security-framework", ] [[package]] -name = "rustls-pemfile" -version = "2.0.0" +name = "rustls-pki-types" +version = "1.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35e4980fa29e4c4b212ffb3db068a564cbf560e51d3944b7c88bd8bf5bec64f4" +checksum = "be040f8b0a225e40375822a563fa9524378b9d63112f53e19ffff34df5d33fdd" dependencies = [ - "base64 0.21.7", - "rustls-pki-types", + "zeroize", ] -[[package]] -name = "rustls-pki-types" -version = "1.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16f1201b3c9a7ee8039bcadc17b7e605e2945b27eee7631788c1bd2b0643674b" - [[package]] name = "rustls-platform-verifier" -version = "0.3.1" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5f0d26fa1ce3c790f9590868f0109289a044acb954525f933e2aa3b871c157d" +checksum = "19787cda76408ec5404443dc8b31795c87cd8fec49762dc75fa727740d34acc1" dependencies = [ - "core-foundation 0.9.4", + "core-foundation 0.10.0", "core-foundation-sys", "jni", "log", "once_cell", - "rustls 0.23.18", - "rustls-native-certs 0.7.0", + "rustls", + "rustls-native-certs", "rustls-platform-verifier-android", - "rustls-webpki 0.102.8", - "security-framework 2.11.0", + "rustls-webpki 0.103.10", + "security-framework", "security-framework-sys", - "webpki-roots 0.26.3", - "winapi", + "webpki-root-certs 0.26.11", + "windows-sys 0.59.0", ] [[package]] @@ -7934,11 +8324,11 @@ dependencies = [ [[package]] name = "rustls-webpki" -version = "0.102.8" +version = "0.103.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9" +checksum = "df33b2b81ac578cabaf06b89b0631153a3f416b0a886e8a7a1707fb51abbd1ef" dependencies = [ - "ring 0.17.8", + "ring 0.17.14", "rustls-pki-types", "untrusted 0.9.0", ] @@ -7951,13 +8341,9 @@ checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" [[package]] name = "ruzstd" -version = "0.6.0" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5174a470eeb535a721ae9fdd6e291c2411a906b96592182d05217591d5c5cf7b" -dependencies = [ - "byteorder", - "derive_more 0.99.17", -] +checksum = "e5ff0cc5e135c8870a775d3320910cd9b564ec036b4dc0b8741629020be63f01" [[package]] name = "rw-stream-sink" @@ -7970,12 +8356,6 @@ dependencies = [ "static_assertions", ] -[[package]] -name = "ryu" -version = "1.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" - [[package]] name = "safe_arch" version = "0.7.1" @@ -7997,7 +8377,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "log", "sp-core", @@ -8008,7 +8388,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "array-bytes", "docify", @@ -8034,9 +8414,9 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.5.0", "proc-macro2 1.0.106", "quote 1.0.45", "syn 2.0.98", @@ -8045,7 +8425,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "fnv", "futures", @@ -8071,7 +8451,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -8094,7 +8474,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "polkavm", "sc-allocator", @@ -8107,23 +8487,24 @@ dependencies = [ [[package]] name = "sc-executor-polkavm" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "log", "polkavm", "sc-executor-common", + "sp-runtime-interface", "sp-wasm-interface", ] [[package]] name = "sc-executor-wasmtime" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "anyhow", "log", "parking_lot 0.12.3", - "rustix 0.36.17", + "rustix 1.1.4", "sc-allocator", "sc-executor-common", "sp-runtime-interface", @@ -8134,10 +8515,10 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "array-bytes", - "arrayvec 0.7.4", + "arrayvec 0.7.6", "blake2 0.10.6", "bytes", "futures", @@ -8162,14 +8543,14 @@ dependencies = [ [[package]] name = "sc-network" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "array-bytes", "async-channel 1.9.0", "async-trait", "asynchronous-codec 0.6.2", "bytes", - "cid 0.9.0", + "cid", "either", "fnv", "futures", @@ -8185,7 +8566,7 @@ dependencies = [ "partial_sort", "pin-project", "prost 0.12.6", - "prost-build", + "prost-build 0.13.2", "rand 0.8.5", "sc-client-api", "sc-network-common", @@ -8212,7 +8593,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", @@ -8222,7 +8603,7 @@ dependencies = [ [[package]] name = "sc-network-types" version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bs58", "bytes", @@ -8234,6 +8615,8 @@ dependencies = [ "multiaddr 0.18.1", "multihash 0.19.1", "rand 0.8.5", + "serde", + "serde_with", "thiserror 1.0.65", "zeroize", ] @@ -8241,7 +8624,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -8254,6 +8637,7 @@ dependencies = [ "sp-core", "sp-rpc", "sp-runtime", + "sp-statement-store", "sp-version", "thiserror 1.0.65", ] @@ -8261,7 +8645,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "chrono", "futures", @@ -8280,24 +8664,25 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "async-trait", "futures", - "indexmap 2.8.0", + "indexmap", "log", "parity-scale-codec", "serde", "sp-blockchain", "sp-core", "sp-runtime", + "strum 0.26.3", "thiserror 1.0.65", ] [[package]] name = "sc-utils" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "async-channel 1.9.0", "futures", @@ -8332,7 +8717,7 @@ dependencies = [ "scale-decode-derive", "scale-type-resolver", "smallvec", - "thiserror 2.0.11", + "thiserror 2.0.18", ] [[package]] @@ -8341,7 +8726,7 @@ version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2f4b54a1211260718b92832b661025d1f1a4b6930fbadd6908e00edd265fa5f7" dependencies = [ - "darling", + "darling 0.20.10", "proc-macro2 1.0.106", "quote 1.0.45", "syn 2.0.98", @@ -8359,7 +8744,7 @@ dependencies = [ "scale-encode-derive", "scale-type-resolver", "smallvec", - "thiserror 2.0.11", + "thiserror 2.0.18", ] [[package]] @@ -8368,8 +8753,8 @@ version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "78a3993a13b4eafa89350604672c8757b7ea84c7c5947d4b3691e3169c96379b" dependencies = [ - "darling", - "proc-macro-crate 3.1.0", + "darling 0.20.10", + "proc-macro-crate 3.5.0", "proc-macro2 1.0.106", "quote 1.0.45", "syn 2.0.98", @@ -8395,7 +8780,7 @@ version = "2.11.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c6630024bf739e2179b91fb424b28898baf819414262c5d376677dbff1fe7ebf" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.5.0", "proc-macro2 1.0.106", "quote 1.0.45", "syn 2.0.98", @@ -8413,15 +8798,15 @@ dependencies = [ [[package]] name = "scale-typegen" -version = "0.10.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc3173be608895eb117cf397ab4f31f00e2ed2c7af1c6e0b8f5d51d0a0967053" +checksum = "05c61b6b706a3eaad63b506ab50a1d2319f817ae01cf753adcc3f055f9f0fcd6" dependencies = [ "proc-macro2 1.0.106", "quote 1.0.45", "scale-info", "syn 2.0.98", - "thiserror 2.0.11", + "thiserror 2.0.18", ] [[package]] @@ -8439,7 +8824,7 @@ dependencies = [ "scale-encode", "scale-type-resolver", "serde", - "thiserror 2.0.11", + "thiserror 2.0.18", "yap", ] @@ -8471,32 +8856,28 @@ checksum = "8de18f6d8ba0aad7045f5feae07ec29899c1112584a38509a84ad7b04451eaa0" dependencies = [ "aead", "arrayref", - "arrayvec 0.7.4", + "arrayvec 0.7.6", "curve25519-dalek", "getrandom_or_panic", "merlin", "rand_core 0.6.4", "serde_bytes", - "sha2 0.10.8", + "sha2 0.10.9", "subtle 2.5.0", "zeroize", ] [[package]] -name = "scopeguard" -version = "1.2.0" +name = "scoped-tls" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" +checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" [[package]] -name = "sct" -version = "0.7.0" +name = "scopeguard" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4" -dependencies = [ - "ring 0.16.20", - "untrusted 0.7.1", -] +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "sec1" @@ -8540,20 +8921,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "security-framework" -version = "2.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c627723fd09706bacdb5cf41499e95098555af3c3c29d014dc3c458ef6be11c0" -dependencies = [ - "bitflags 2.6.0", - "core-foundation 0.9.4", - "core-foundation-sys", - "libc", - "num-bigint", - "security-framework-sys", -] - [[package]] name = "security-framework" version = "3.2.0" @@ -8624,15 +8991,16 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.132" +version = "1.0.149" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d726bfaff4b320266d395898905d0eba0345aae23b54aee3a737e260fd46db03" +checksum = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86" dependencies = [ - "indexmap 2.8.0", + "indexmap", "itoa", "memchr", - "ryu", "serde", + "serde_core", + "zmij", ] [[package]] @@ -8644,6 +9012,33 @@ dependencies = [ "serde", ] +[[package]] +name = "serde_with" +version = "3.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd5414fad8e6907dbdd5bc441a50ae8d6e26151a03b1de04d89a5576de61d01f" +dependencies = [ + "base64 0.22.1", + "chrono", + "hex", + "serde_core", + "serde_json", + "serde_with_macros", + "time", +] + +[[package]] +name = "serde_with_macros" +version = "3.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3db8978e608f1fe7357e211969fd9abdcae80bac1ba7a3369bb7eb6b404eb65" +dependencies = [ + "darling 0.23.0", + "proc-macro2 1.0.106", + "quote 1.0.45", + "syn 2.0.98", +] + [[package]] name = "serdect" version = "0.2.0" @@ -8680,9 +9075,9 @@ dependencies = [ [[package]] name = "sha2" -version = "0.10.8" +version = "0.10.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" dependencies = [ "cfg-if", "cpufeatures", @@ -8770,9 +9165,9 @@ dependencies = [ [[package]] name = "simple-dns" -version = "0.9.3" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dee851d0e5e7af3721faea1843e8015e820a234f81fda3dea9247e15bac9a86a" +checksum = "df350943049174c4ae8ced56c604e28270258faec12a6a48637a7655287c9ce0" dependencies = [ "bitflags 2.6.0", ] @@ -8798,16 +9193,10 @@ dependencies = [ "autocfg", ] -[[package]] -name = "slice-group-by" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" - [[package]] name = "slot-range-helper" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "enumn", "parity-scale-codec", @@ -8828,9 +9217,12 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.13.2" +version = "1.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" +checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" +dependencies = [ + "serde", +] [[package]] name = "smol" @@ -8851,11 +9243,11 @@ dependencies = [ [[package]] name = "smoldot" -version = "0.18.0" +version = "0.19.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "966e72d77a3b2171bb7461d0cb91f43670c63558c62d7cf42809cae6c8b6b818" +checksum = "e16e5723359f0048bf64bfdfba64e5732a56847d42c4fd3fe56f18280c813413" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "async-lock", "atomic-take", "base64 0.22.1", @@ -8864,21 +9256,21 @@ dependencies = [ "bs58", "chacha20", "crossbeam-queue", - "derive_more 0.99.17", + "derive_more 2.1.1", "ed25519-zebra", "either", "event-listener 5.3.1", "fnv", "futures-lite 2.3.0", "futures-util", - "hashbrown 0.14.5", + "hashbrown 0.15.5", "hex", "hmac 0.12.1", - "itertools 0.13.0", + "itertools 0.14.0", "libm", "libsecp256k1", "merlin", - "nom", + "nom 8.0.0", "num-bigint", "num-rational", "num-traits", @@ -8891,13 +9283,13 @@ dependencies = [ "schnorrkel", "serde", "serde_json", - "sha2 0.10.8", + "sha2 0.10.9", "sha3", "siphasher", "slab", "smallvec", "soketto", - "twox-hash", + "twox-hash 2.1.2", "wasmi", "x25519-dalek", "zeroize", @@ -8905,25 +9297,25 @@ dependencies = [ [[package]] name = "smoldot-light" -version = "0.16.2" +version = "0.17.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a33b06891f687909632ce6a4e3fd7677b24df930365af3d0bcb078310129f3f" +checksum = "f1bba9e591716567d704a8252feeb2f1261a286e1e2cbdd4e49e9197c34a14e2" dependencies = [ "async-channel 2.3.0", "async-lock", "base64 0.22.1", "blake2-rfc", "bs58", - "derive_more 0.99.17", + "derive_more 2.1.1", "either", "event-listener 5.3.1", "fnv", "futures-channel", "futures-lite 2.3.0", "futures-util", - "hashbrown 0.14.5", + "hashbrown 0.15.5", "hex", - "itertools 0.13.0", + "itertools 0.14.0", "log", "lru", "parking_lot 0.12.3", @@ -8950,9 +9342,9 @@ dependencies = [ "chacha20poly1305", "curve25519-dalek", "rand_core 0.6.4", - "ring 0.17.8", + "ring 0.17.14", "rustc_version", - "sha2 0.10.8", + "sha2 0.10.9", "subtle 2.5.0", ] @@ -8966,6 +9358,16 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "socket2" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a766e1110788c36f4fa1c2b71b387a7815aa65f88ce0229841826633d93723e" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + [[package]] name = "soketto" version = "0.8.0" @@ -8984,7 +9386,7 @@ dependencies = [ [[package]] name = "sp-api" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "docify", "hash-db", @@ -9006,12 +9408,12 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "Inflector", "blake2 0.10.6", "expander", - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.5.0", "proc-macro2 1.0.106", "quote 1.0.45", "syn 2.0.98", @@ -9020,7 +9422,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "parity-scale-codec", "scale-info", @@ -9032,7 +9434,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "docify", "integer-sqrt", @@ -9046,7 +9448,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "parity-scale-codec", "scale-info", @@ -9058,7 +9460,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "sp-api", "sp-inherents", @@ -9068,7 +9470,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "futures", "parity-scale-codec", @@ -9087,21 +9489,24 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "async-trait", "futures", "log", + "sp-api", + "sp-externalities", "sp-inherents", "sp-runtime", "sp-state-machine", + "sp-trie", "thiserror 1.0.65", ] [[package]] name = "sp-consensus-aura" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "async-trait", "parity-scale-codec", @@ -9117,7 +9522,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "async-trait", "parity-scale-codec", @@ -9135,7 +9540,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "finality-grandpa", "log", @@ -9152,7 +9557,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "parity-scale-codec", "scale-info", @@ -9163,15 +9568,16 @@ dependencies = [ [[package]] name = "sp-core" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "ark-vrf", "array-bytes", + "bip39", "bitflags 1.3.2", "blake2 0.10.6", "bounded-collections", "bs58", - "dyn-clonable", + "dyn-clone", "ed25519-zebra", "futures", "hash-db", @@ -9182,7 +9588,6 @@ dependencies = [ "libsecp256k1", "log", "merlin", - "parity-bip39", "parity-scale-codec", "parking_lot 0.12.3", "paste", @@ -9193,10 +9598,10 @@ dependencies = [ "secp256k1", "secrecy", "serde", + "sha2 0.10.9", "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=master)", "sp-debug-derive", "sp-externalities", - "sp-runtime-interface", "sp-std", "sp-storage", "ss58-registry", @@ -9216,28 +9621,28 @@ dependencies = [ "blake2b_simd", "byteorder", "digest 0.10.7", - "sha2 0.10.8", + "sha2 0.10.9", "sha3", - "twox-hash", + "twox-hash 1.6.3", ] [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "blake2b_simd", "byteorder", "digest 0.10.7", - "sha2 0.10.8", + "sha2 0.10.9", "sha3", - "twox-hash", + "twox-hash 1.6.3", ] [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "quote 1.0.45", "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=master)", @@ -9247,7 +9652,7 @@ dependencies = [ [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "kvdb", "parking_lot 0.12.3", @@ -9256,8 +9661,9 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ + "proc-macro-warning", "proc-macro2 1.0.106", "quote 1.0.45", "syn 2.0.98", @@ -9266,7 +9672,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.25.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "environmental", "parity-scale-codec", @@ -9276,7 +9682,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.8.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "parity-scale-codec", "scale-info", @@ -9288,7 +9694,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -9301,7 +9707,7 @@ dependencies = [ [[package]] name = "sp-io" version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bytes", "docify", @@ -9327,7 +9733,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "31.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "sp-core", "sp-runtime", @@ -9337,7 +9743,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -9348,7 +9754,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "thiserror 1.0.65", "zstd 0.12.4", @@ -9357,9 +9763,10 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ - "frame-metadata 20.0.0", + "derive-where", + "frame-metadata", "parity-scale-codec", "scale-info", ] @@ -9367,7 +9774,7 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "parity-scale-codec", "scale-info", @@ -9378,7 +9785,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "log", "parity-scale-codec", @@ -9395,7 +9802,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "parity-scale-codec", "scale-info", @@ -9408,7 +9815,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "sp-api", "sp-core", @@ -9418,7 +9825,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "backtrace", "regex", @@ -9427,7 +9834,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "rustc-hash 1.1.0", "serde", @@ -9437,9 +9844,10 @@ dependencies = [ [[package]] name = "sp-runtime" version = "31.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "binary-merkle-tree", + "bytes", "docify", "either", "hash256-std-hasher", @@ -9459,6 +9867,7 @@ dependencies = [ "sp-std", "sp-trie", "sp-weights", + "strum 0.26.3", "tracing", "tuplex", ] @@ -9466,13 +9875,12 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", "polkavm-derive", - "primitive-types", "sp-externalities", "sp-runtime-interface-proc-macro", "sp-std", @@ -9485,11 +9893,11 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "Inflector", "expander", - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.5.0", "proc-macro2 1.0.106", "quote 1.0.45", "syn 2.0.98", @@ -9498,7 +9906,7 @@ dependencies = [ [[package]] name = "sp-session" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "parity-scale-codec", "scale-info", @@ -9512,7 +9920,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9525,7 +9933,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "hash-db", "log", @@ -9542,15 +9950,41 @@ dependencies = [ "trie-db", ] +[[package]] +name = "sp-statement-store" +version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" +dependencies = [ + "aes-gcm", + "curve25519-dalek", + "ed25519-dalek", + "frame-support", + "hkdf", + "parity-scale-codec", + "rand 0.8.5", + "scale-info", + "serde", + "sha2 0.10.9", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=master)", + "sp-externalities", + "sp-runtime", + "sp-runtime-interface", + "thiserror 1.0.65", + "x25519-dalek", +] + [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" [[package]] name = "sp-storage" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9562,7 +9996,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "async-trait", "parity-scale-codec", @@ -9574,9 +10008,10 @@ dependencies = [ [[package]] name = "sp-tracing" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "parity-scale-codec", + "regex", "tracing", "tracing-core", "tracing-subscriber", @@ -9585,7 +10020,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "sp-api", "sp-runtime", @@ -9594,10 +10029,12 @@ dependencies = [ [[package]] name = "sp-trie" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "ahash", + "foldhash", "hash-db", + "hashbrown 0.15.5", "memory-db", "nohash-hasher", "parity-scale-codec", @@ -9607,6 +10044,7 @@ dependencies = [ "schnellru", "sp-core", "sp-externalities", + "substrate-prometheus-endpoint", "thiserror 1.0.65", "tracing", "trie-db", @@ -9616,13 +10054,14 @@ dependencies = [ [[package]] name = "sp-version" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "impl-serde", "parity-scale-codec", "parity-wasm", "scale-info", "serde", + "sp-core", "sp-crypto-hashing-proc-macro", "sp-runtime", "sp-std", @@ -9633,7 +10072,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "parity-scale-codec", "proc-macro-warning", @@ -9645,7 +10084,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -9657,7 +10096,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -9711,10 +10150,23 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" +[[package]] +name = "staging-parachain-info" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" +dependencies = [ + "cumulus-primitives-core", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-runtime", +] + [[package]] name = "staging-xcm" version = "7.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "array-bytes", "bounded-collections", @@ -9723,19 +10175,19 @@ dependencies = [ "frame-support", "hex-literal", "impl-trait-for-tuples", - "log", "parity-scale-codec", "scale-info", "serde", "sp-runtime", "sp-weights", + "tracing", "xcm-procedural", ] [[package]] name = "staging-xcm-builder" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "environmental", "frame-support", @@ -9759,7 +10211,7 @@ dependencies = [ [[package]] name = "staging-xcm-executor" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "environmental", "frame-benchmarking", @@ -9782,16 +10234,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" -[[package]] -name = "string-interner" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c6a0d765f5807e98a091107bae0a56ea3799f66a5de47b2c84c94a39c09974e" -dependencies = [ - "cfg-if", - "hashbrown 0.14.5", -] - [[package]] name = "strsim" version = "0.11.1" @@ -9844,19 +10286,19 @@ dependencies = [ [[package]] name = "substrate-bip39" version = "0.4.7" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "hmac 0.12.1", "pbkdf2", "schnorrkel", - "sha2 0.10.8", + "sha2 0.10.9", "zeroize", ] [[package]] name = "substrate-prometheus-endpoint" version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "http-body-util", "hyper 1.6.0", @@ -9923,10 +10365,10 @@ dependencies = [ [[package]] name = "substrate-relay-helper" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "anyhow", - "async-std", + "async-channel 1.9.0", "async-trait", "bp-header-chain", "bp-messages", @@ -9941,7 +10383,6 @@ dependencies = [ "frame-system", "futures", "hex", - "log", "messages-relay", "num-traits", "pallet-balances", @@ -9960,6 +10401,8 @@ dependencies = [ "sp-trie", "strum 0.26.3", "thiserror 1.0.65", + "tokio", + "tracing", ] [[package]] @@ -9976,18 +10419,16 @@ checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" [[package]] name = "subxt" -version = "0.40.1" +version = "0.43.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4956afcd809e4a9584787e14946bfbabf1e162fca287e5057ec109d2b3d5f754" +checksum = "f8c6dc0f90e23c521465b8f7e026af04a48cc6f00c51d88a8d313d33096149de" dependencies = [ "async-trait", "derive-where", "either", - "frame-metadata 18.0.0", + "frame-metadata", "futures", "hex", - "impl-serde", - "jsonrpsee", "parity-scale-codec", "primitive-types", "scale-bits", @@ -10002,7 +10443,8 @@ dependencies = [ "subxt-lightclient", "subxt-macro", "subxt-metadata", - "thiserror 2.0.11", + "subxt-rpcs", + "thiserror 2.0.18", "tokio", "tokio-util", "tracing", @@ -10012,9 +10454,9 @@ dependencies = [ [[package]] name = "subxt-codegen" -version = "0.40.1" +version = "0.43.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2da33e808ad1555b033137133d91887ffc02c9ba3300b6cc8477e02279323927" +checksum = "1728caecd9700391e78cc30dc298221d6f5ca0ea28258a452aa76b0b7c229842" dependencies = [ "heck 0.5.0", "parity-scale-codec", @@ -10024,20 +10466,20 @@ dependencies = [ "scale-typegen", "subxt-metadata", "syn 2.0.98", - "thiserror 2.0.11", + "thiserror 2.0.18", ] [[package]] name = "subxt-core" -version = "0.40.1" +version = "0.43.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b860594ff088aabb705d9fecd726ebe78c506b4514dc197d261174c80d88394" +checksum = "25338dd11ae34293b8d0c5807064f2e00194ba1bd84cccfa694030c8d185b941" dependencies = [ "base58", "blake2 0.10.6", "derive-where", "frame-decode", - "frame-metadata 18.0.0", + "frame-metadata", "hashbrown 0.14.5", "hex", "impl-serde", @@ -10053,22 +10495,22 @@ dependencies = [ "serde_json", "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "subxt-metadata", - "thiserror 2.0.11", + "thiserror 2.0.18", "tracing", ] [[package]] name = "subxt-lightclient" -version = "0.40.1" +version = "0.43.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "728f8199595a3bc815e26d998c0ce3e809c16bc582344f017fb492c5d86e6028" +checksum = "9097ef356e534ce0b6a50b95233512afc394347b971a4f929c4830adc52bbc6f" dependencies = [ "futures", "futures-util", "serde", "serde_json", "smoldot-light", - "thiserror 2.0.11", + "thiserror 2.0.18", "tokio", "tokio-stream", "tracing", @@ -10076,44 +10518,68 @@ dependencies = [ [[package]] name = "subxt-macro" -version = "0.40.1" +version = "0.43.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95586892e551ba1aa4983f29cbbae1f2540dc74cba622f7f59a5dace00454db3" +checksum = "c269228a2e5de4c0c61ed872b701967ee761df0f167d5b91ecec1185bca65793" dependencies = [ - "darling", + "darling 0.20.10", "parity-scale-codec", "proc-macro-error2", "quote 1.0.45", "scale-typegen", "subxt-codegen", + "subxt-metadata", "subxt-utils-fetchmetadata", "syn 2.0.98", ] [[package]] name = "subxt-metadata" -version = "0.40.1" +version = "0.43.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d18aa8a463de69fb51ccb2e02d631ca45fc29ff48920e8d8c866a9e5d41ff38d" +checksum = "2c134068711c0c46906abc0e6e4911204420331530738e18ca903a5469364d9f" dependencies = [ "frame-decode", - "frame-metadata 18.0.0", + "frame-metadata", "hashbrown 0.14.5", "parity-scale-codec", "scale-info", "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "thiserror 2.0.11", + "thiserror 2.0.18", +] + +[[package]] +name = "subxt-rpcs" +version = "0.43.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25de7727144780d780a6a7d78bbfd28414b8adbab68b05e87329c367d7705be4" +dependencies = [ + "derive-where", + "frame-metadata", + "futures", + "hex", + "impl-serde", + "jsonrpsee", + "parity-scale-codec", + "primitive-types", + "serde", + "serde_json", + "subxt-core", + "subxt-lightclient", + "thiserror 2.0.18", + "tracing", + "url", ] [[package]] name = "subxt-utils-fetchmetadata" -version = "0.40.1" +version = "0.43.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2247f12a796ef7062b2bd924ec89fcef0603f1bf5f71e8b08d6bd5807b131015" +checksum = "8c4fb8fd6b16ecd3537a29d70699f329a68c1e47f70ed1a46d64f76719146563" dependencies = [ "hex", "parity-scale-codec", - "thiserror 2.0.11", + "thiserror 2.0.18", ] [[package]] @@ -10208,6 +10674,12 @@ dependencies = [ "libc", ] +[[package]] +name = "tagptr" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b2093cf4c8eb1e67749a6762251bc9cd836b6fc171623bd0a9d324d37af2417" + [[package]] name = "tap" version = "1.0.1" @@ -10216,9 +10688,9 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "target-lexicon" -version = "0.12.11" +version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d0e916b1148c8e263850e1ebcbd046f333e0683c724876bb0da63ea4373dc8a" +checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca" [[package]] name = "tempfile" @@ -10251,7 +10723,7 @@ checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] name = "testnet-parachains-constants" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -10274,11 +10746,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.11" +version = "2.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d452f284b73e6d76dd36758a0c8684b1d5be31f92b89d07fd5822175732206fc" +checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4" dependencies = [ - "thiserror-impl 2.0.11", + "thiserror-impl 2.0.18", ] [[package]] @@ -10294,9 +10766,9 @@ dependencies = [ [[package]] name = "thiserror-impl" -version = "2.0.11" +version = "2.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26afc1baea8a989337eeb52b6e72a039780ce45c3edfcc9c5b9d112feeb173c2" +checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5" dependencies = [ "proc-macro2 1.0.106", "quote 1.0.45", @@ -10315,9 +10787,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.36" +version = "0.3.47" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" +checksum = "743bd48c283afc0388f9b8827b976905fb217ad9e647fae3a379a9283c4def2c" dependencies = [ "deranged", "itoa", @@ -10325,22 +10797,22 @@ dependencies = [ "num-conv", "num_threads", "powerfmt", - "serde", + "serde_core", "time-core", "time-macros", ] [[package]] name = "time-core" -version = "0.1.2" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" +checksum = "7694e1cfe791f8d31026952abf09c69ca6f6fa4e1a1229e18988f06a04a12dca" [[package]] name = "time-macros" -version = "0.2.18" +version = "0.2.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" +checksum = "2e70e4c5a0e0a8a4823ad65dfe1a6930e4f4d756dcd9dd7939022b5e8c501215" dependencies = [ "num-conv", "time-core", @@ -10382,26 +10854,25 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.44.2" +version = "1.50.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6b88822cbe49de4185e3a4cbf8321dd487cf5fe0c5c65695fef6346371e9c48" +checksum = "27ad5e34374e03cfffefc301becb44e9dc3c17584f414349ebe29ed26661822d" dependencies = [ - "backtrace", "bytes", "libc", "mio", "parking_lot 0.12.3", "pin-project-lite", - "socket2", + "socket2 0.6.3", "tokio-macros", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] name = "tokio-macros" -version = "2.5.0" +version = "2.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" +checksum = "5c55a2eff8b69ce66c84f85e1da1c233edc36ceb85a2058d11b0d6a3c7e7569c" dependencies = [ "proc-macro2 1.0.106", "quote 1.0.45", @@ -10414,16 +10885,16 @@ version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4" dependencies = [ - "rustls 0.23.18", + "rustls", "rustls-pki-types", "tokio", ] [[package]] name = "tokio-stream" -version = "0.1.16" +version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f4e6ce100d0eb49a2734f8c0812bcd324cf357d21810932c5df6b96ef2b86f1" +checksum = "32da49809aab5c3bc678af03902d4ccddea2a87d028d86392a4b1560c6906c70" dependencies = [ "futures-core", "pin-project-lite", @@ -10432,14 +10903,14 @@ dependencies = [ [[package]] name = "tokio-tungstenite" -version = "0.26.2" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a9daff607c6d2bf6c16fd681ccb7eecc83e4e2cdc1ca067ffaadfca5de7f084" +checksum = "489a59b6730eda1b0171fcfda8b121f4bee2b35cba8645ca35c5f7ba3eb736c1" dependencies = [ "futures-util", "log", - "rustls 0.23.18", - "rustls-native-certs 0.8.1", + "rustls", + "rustls-native-certs", "rustls-pki-types", "tokio", "tokio-rustls", @@ -10448,9 +10919,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.12" +version = "0.7.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61e7c3654c13bcd040d4a03abee2c75b1d14a37b423cf5a813ceae1cc903ec6a" +checksum = "9ae9cec805b01e8fc3fd2fe289f89149a9b66dd16786abd8b19cfa7b48cb0098" dependencies = [ "bytes", "futures-core", @@ -10460,15 +10931,6 @@ dependencies = [ "tokio", ] -[[package]] -name = "toml" -version = "0.5.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" -dependencies = [ - "serde", -] - [[package]] name = "toml" version = "0.8.19" @@ -10477,7 +10939,7 @@ checksum = "a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e" dependencies = [ "serde", "serde_spanned", - "toml_datetime", + "toml_datetime 0.6.8", "toml_edit 0.22.22", ] @@ -10491,24 +10953,22 @@ dependencies = [ ] [[package]] -name = "toml_edit" -version = "0.19.15" +name = "toml_datetime" +version = "1.1.1+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" +checksum = "3165f65f62e28e0115a00b2ebdd37eb6f3b641855f9d636d3cd4103767159ad7" dependencies = [ - "indexmap 2.8.0", - "toml_datetime", - "winnow 0.5.15", + "serde_core", ] [[package]] name = "toml_edit" -version = "0.21.0" +version = "0.19.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d34d383cd00a163b4a5b85053df514d45bc330f6de7737edfe0a93311d1eaa03" +checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" dependencies = [ - "indexmap 2.8.0", - "toml_datetime", + "indexmap", + "toml_datetime 0.6.8", "winnow 0.5.15", ] @@ -10518,13 +10978,34 @@ version = "0.22.22" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ae48d6208a266e853d946088ed816055e556cc6028c5e8e2b84d9fa5dd7c7f5" dependencies = [ - "indexmap 2.8.0", + "indexmap", "serde", "serde_spanned", - "toml_datetime", + "toml_datetime 0.6.8", "winnow 0.6.18", ] +[[package]] +name = "toml_edit" +version = "0.25.10+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a82418ca169e235e6c399a84e395ab6debeb3bc90edc959bf0f48647c6a32d1b" +dependencies = [ + "indexmap", + "toml_datetime 1.1.1+spec-1.1.0", + "toml_parser", + "winnow 1.0.1", +] + +[[package]] +name = "toml_parser" +version = "1.1.2+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2abe9b86193656635d2411dc43050282ca48aa31c2451210f4202550afb7526" +dependencies = [ + "winnow 1.0.1", +] + [[package]] name = "tower-service" version = "0.3.2" @@ -10533,9 +11014,9 @@ checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" [[package]] name = "tracing" -version = "0.1.40" +version = "0.1.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" +checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" dependencies = [ "log", "pin-project-lite", @@ -10545,9 +11026,9 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.27" +version = "0.1.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" +checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" dependencies = [ "proc-macro2 1.0.106", "quote 1.0.45", @@ -10556,9 +11037,9 @@ dependencies = [ [[package]] name = "tracing-core" -version = "0.1.32" +version = "0.1.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" +checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" dependencies = [ "once_cell", "valuable", @@ -10587,9 +11068,9 @@ dependencies = [ [[package]] name = "tracing-subscriber" -version = "0.3.18" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b" +checksum = "e8189decb5ac0fa7bc8b96b7cb9b2701d60d48805aca84a238004d665fcc4008" dependencies = [ "matchers", "nu-ansi-term", @@ -10606,9 +11087,9 @@ dependencies = [ [[package]] name = "trie-db" -version = "0.30.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c0670ab45a6b7002c7df369fee950a27cf29ae0474343fd3a15aa15f691e7a6" +checksum = "a7795f2df2ef744e4ffb2125f09325e60a21d305cc3ecece0adeef03f7a9e560" dependencies = [ "hash-db", "log", @@ -10639,9 +11120,9 @@ checksum = "f4f195fd851901624eee5a58c4bb2b4f06399148fcd0ed336e6f1cb60a9881df" [[package]] name = "tungstenite" -version = "0.26.2" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4793cb5e56680ecbb1d843515b23b6de9a75eb04b66643e256a396d43be33c13" +checksum = "eadc29d668c91fcc564941132e17b28a7ceb2f3ebf0b9dae3e03fd7a6748eb0d" dependencies = [ "bytes", "data-encoding", @@ -10649,10 +11130,10 @@ dependencies = [ "httparse", "log", "rand 0.9.0", - "rustls 0.23.18", + "rustls", "rustls-pki-types", "sha1", - "thiserror 2.0.11", + "thiserror 2.0.18", "url", "utf-8", ] @@ -10675,6 +11156,12 @@ dependencies = [ "static_assertions", ] +[[package]] +name = "twox-hash" +version = "2.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ea3136b675547379c4bd395ca6b938e5ad3c3d20fad76e7fe85f9e0d011419c" + [[package]] name = "typenum" version = "1.16.0" @@ -10720,6 +11207,12 @@ dependencies = [ "tinyvec", ] +[[package]] +name = "unicode-segmentation" +version = "1.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9629274872b2bfaf8d66f5f15725007f635594914870f65218920345aa11aa8c" + [[package]] name = "unicode-xid" version = "0.1.0" @@ -10811,6 +11304,17 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" +[[package]] +name = "uuid" +version = "1.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee48d38b119b0cd71fe4141b30f5ba9c7c5d9f4e7a3a8b4a674e4b6ef789976f" +dependencies = [ + "getrandom 0.3.1", + "js-sys", + "wasm-bindgen", +] + [[package]] name = "valuable" version = "0.1.0" @@ -10843,9 +11347,9 @@ checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" [[package]] name = "w3f-bls" -version = "0.1.3" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7335e4c132c28cc43caef6adb339789e599e39adbe78da0c4d547fad48cbc331" +checksum = "e6bfb937b3d12077654a9e43e32a4e9c20177dd9fea0f3aba673e7840bb54f32" dependencies = [ "ark-bls12-377", "ark-bls12-381 0.4.0", @@ -10854,22 +11358,20 @@ dependencies = [ "ark-serialize 0.4.2", "ark-serialize-derive 0.4.2", "arrayref", - "constcat", "digest 0.10.7", "rand 0.8.5", "rand_chacha 0.3.1", "rand_core 0.6.4", - "sha2 0.10.8", + "sha2 0.10.9", "sha3", - "thiserror 1.0.65", "zeroize", ] [[package]] name = "w3f-pcs" -version = "0.0.2" +version = "0.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbe7a8d5c914b69392ab3b267f679a2e546fe29afaddce47981772ac71bd02e1" +checksum = "3ea1046a1deb6d26c34ba2d1f1bab4222d695d126502ee765f80b021753cb674" dependencies = [ "ark-ec 0.5.0", "ark-ff 0.5.0", @@ -10881,9 +11383,9 @@ dependencies = [ [[package]] name = "w3f-plonk-common" -version = "0.0.2" +version = "0.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1aca389e494fe08c5c108b512e2328309036ee1c0bc7bdfdb743fef54d448c8c" +checksum = "077db25196f87773d7f0784c0ea5b11f18f38d336fa25c24bc67d7936af05d7a" dependencies = [ "ark-ec 0.5.0", "ark-ff 0.5.0", @@ -10897,9 +11399,9 @@ dependencies = [ [[package]] name = "w3f-ring-proof" -version = "0.0.2" +version = "0.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a639379402ad51504575dbd258740383291ac8147d3b15859bdf1ea48c677de" +checksum = "a3afac5d485a6eed7c1762be4b7b70a6f9b346bd6eebe485f48b7d909a6773f5" dependencies = [ "ark-ec 0.5.0", "ark-ff 0.5.0", @@ -10953,27 +11455,14 @@ dependencies = [ [[package]] name = "wasm-bindgen" -version = "0.2.95" +version = "0.2.117" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "128d1e363af62632b8eb57219c8fd7877144af57558fb2ef0368d0087bddeb2e" +checksum = "0551fc1bb415591e3372d0bc4780db7e587d84e2a7e79da121051c5c4b89d0b0" dependencies = [ "cfg-if", "once_cell", + "rustversion", "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.95" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb6dd4d3ca0ddffd1dd1c9c04f94b868c37ff5fac97c30b97cff2d74fce3a358" -dependencies = [ - "bumpalo", - "log", - "once_cell", - "proc-macro2 1.0.106", - "quote 1.0.45", - "syn 2.0.98", "wasm-bindgen-shared", ] @@ -10991,9 +11480,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.95" +version = "0.2.117" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e79384be7f8f5a9dd5d7167216f022090cf1f9ec128e6e6a482a2cb5c5422c56" +checksum = "7fbdf9a35adf44786aecd5ff89b4563a90325f9da0923236f6104e603c7e86be" dependencies = [ "quote 1.0.45", "wasm-bindgen-macro-support", @@ -11001,22 +11490,35 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.95" +version = "0.2.117" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26c6ab57572f7a24a4985830b120de1594465e5d500f24afe89e16b4e833ef68" +checksum = "dca9693ef2bab6d4e6707234500350d8dad079eb508dca05530c85dc3a529ff2" dependencies = [ + "bumpalo", "proc-macro2 1.0.106", "quote 1.0.45", "syn 2.0.98", - "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.95" +version = "0.2.117" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65fc09f10666a9f147042251e0dda9c18f166ff7de300607007e96bdebc1068d" +checksum = "39129a682a6d2d841b6c429d0c51e5cb0ed1a03829d8b3d1e69a011e62cb3d3b" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "wasm-encoder" +version = "0.235.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b3bc393c395cb621367ff02d854179882b9a351b4e0c93d1397e6090b53a5c2a" +dependencies = [ + "leb128fmt", + "wasmparser 0.235.0", +] [[package]] name = "wasm-instrument" @@ -11044,256 +11546,301 @@ dependencies = [ [[package]] name = "wasmi" -version = "0.32.3" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50386c99b9c32bd2ed71a55b6dd4040af2580530fae8bdb9a6576571a80d0cca" +checksum = "a19af97fcb96045dd1d6b4d23e2b4abdbbe81723dbc5c9f016eb52145b320063" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "multi-stash", - "num-derive", - "num-traits", "smallvec", "spin 0.9.8", "wasmi_collections", "wasmi_core", - "wasmparser-nostd", + "wasmi_ir", + "wasmparser 0.221.3", ] [[package]] name = "wasmi_collections" -version = "0.32.3" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c128c039340ffd50d4195c3f8ce31aac357f06804cfc494c8b9508d4b30dca4" -dependencies = [ - "ahash", - "hashbrown 0.14.5", - "string-interner", -] +checksum = "e80d6b275b1c922021939d561574bf376613493ae2b61c6963b15db0e8813562" [[package]] name = "wasmi_core" -version = "0.32.3" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a23b3a7f6c8c3ceeec6b83531ee61f0013c56e51cbf2b14b0f213548b23a4b41" +checksum = "3a8c51482cc32d31c2c7ff211cd2bedd73c5bd057ba16a2ed0110e7a96097c33" dependencies = [ "downcast-rs", "libm", - "num-traits", - "paste", +] + +[[package]] +name = "wasmi_ir" +version = "0.40.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e431a14c186db59212a88516788bd68ed51f87aa1e08d1df742522867b5289a" +dependencies = [ + "wasmi_core", ] [[package]] name = "wasmparser" -version = "0.102.0" +version = "0.221.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48134de3d7598219ab9eaf6b91b15d8e50d31da76b8519fe4ecfcec2cf35104b" +checksum = "d06bfa36ab3ac2be0dee563380147a5b81ba10dd8885d7fbbc9eb574be67d185" dependencies = [ - "indexmap 1.9.3", - "url", + "bitflags 2.6.0", +] + +[[package]] +name = "wasmparser" +version = "0.235.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "161296c618fa2d63f6ed5fffd1112937e803cb9ec71b32b01a76321555660917" +dependencies = [ + "bitflags 2.6.0", + "hashbrown 0.15.5", + "indexmap", + "semver", + "serde", ] [[package]] -name = "wasmparser-nostd" -version = "0.100.2" +name = "wasmprinter" +version = "0.235.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5a015fe95f3504a94bb1462c717aae75253e39b9dd6c3fb1062c934535c64aa" +checksum = "75aa8e9076de6b9544e6dab4badada518cca0bf4966d35b131bbd057aed8fa0a" dependencies = [ - "indexmap-nostd", + "anyhow", + "termcolor", + "wasmparser 0.235.0", ] [[package]] name = "wasmtime" -version = "8.0.1" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f907fdead3153cb9bfb7a93bbd5b62629472dc06dee83605358c64c52ed3dda9" +checksum = "b6fe976922a16af3b0d67172c473d1fd4f1aa5d0af9c8ba6538c741f3af686f4" dependencies = [ + "addr2line 0.24.2", "anyhow", - "bincode", + "bitflags 2.6.0", + "bumpalo", + "cc", "cfg-if", - "indexmap 1.9.3", + "fxprof-processed-profile", + "gimli 0.31.1", + "hashbrown 0.15.5", + "indexmap", + "ittapi", "libc", "log", - "object 0.30.4", + "mach2", + "memfd", + "object 0.36.7", "once_cell", - "paste", - "psm", + "postcard", + "pulley-interpreter", "rayon", + "rustix 1.1.4", "serde", + "serde_derive", + "serde_json", + "smallvec", "target-lexicon", - "wasmparser", - "wasmtime-cache", - "wasmtime-cranelift", + "wasmparser 0.235.0", "wasmtime-environ", - "wasmtime-jit", - "wasmtime-runtime", - "windows-sys 0.45.0", + "wasmtime-internal-asm-macros", + "wasmtime-internal-cache", + "wasmtime-internal-cranelift", + "wasmtime-internal-fiber", + "wasmtime-internal-jit-debug", + "wasmtime-internal-jit-icache-coherence", + "wasmtime-internal-math", + "wasmtime-internal-slab", + "wasmtime-internal-unwinder", + "wasmtime-internal-versioned-export-macros", + "wasmtime-internal-winch", + "windows-sys 0.59.0", ] [[package]] -name = "wasmtime-asm-macros" -version = "8.0.1" +name = "wasmtime-environ" +version = "35.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44b6264a78d806924abbc76bbc75eac24976bc83bdfb938e5074ae551242436f" +dependencies = [ + "anyhow", + "cpp_demangle", + "cranelift-bitset", + "cranelift-entity", + "gimli 0.31.1", + "indexmap", + "log", + "object 0.36.7", + "postcard", + "rustc-demangle", + "serde", + "serde_derive", + "smallvec", + "target-lexicon", + "wasm-encoder", + "wasmparser 0.235.0", + "wasmprinter", +] + +[[package]] +name = "wasmtime-internal-asm-macros" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3b9daa7c14cd4fa3edbf69de994408d5f4b7b0959ac13fa69d465f6597f810d" +checksum = "6775a9b516559716e5710e95a8014ca0adcc81e5bf4d3ad7899d89ae40094d1a" dependencies = [ "cfg-if", ] [[package]] -name = "wasmtime-cache" -version = "8.0.1" +name = "wasmtime-internal-cache" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c86437fa68626fe896e5afc69234bb2b5894949083586535f200385adfd71213" +checksum = "138e33ad4bd120f3b1c77d6d0dcdce0de8239555495befcda89393a40ba5e324" dependencies = [ "anyhow", - "base64 0.21.7", - "bincode", + "base64 0.22.1", "directories-next", - "file-per-thread-logger", "log", - "rustix 0.36.17", + "postcard", + "rustix 1.1.4", "serde", - "sha2 0.10.8", - "toml 0.5.11", - "windows-sys 0.45.0", - "zstd 0.11.2+zstd.1.5.2", + "serde_derive", + "sha2 0.10.9", + "toml", + "windows-sys 0.59.0", + "zstd 0.13.3", ] [[package]] -name = "wasmtime-cranelift" -version = "8.0.1" +name = "wasmtime-internal-cranelift" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1cefde0cce8cb700b1b21b6298a3837dba46521affd7b8c38a9ee2c869eee04" +checksum = "7ec9ad7565e6a8de7cb95484e230ff689db74a4a085219e0da0cbd637a29c01c" dependencies = [ "anyhow", + "cfg-if", "cranelift-codegen", + "cranelift-control", "cranelift-entity", "cranelift-frontend", "cranelift-native", - "cranelift-wasm", - "gimli 0.27.3", + "gimli 0.31.1", + "itertools 0.14.0", "log", - "object 0.30.4", + "object 0.36.7", + "pulley-interpreter", + "smallvec", "target-lexicon", - "thiserror 1.0.65", - "wasmparser", - "wasmtime-cranelift-shared", + "thiserror 2.0.18", + "wasmparser 0.235.0", "wasmtime-environ", + "wasmtime-internal-math", + "wasmtime-internal-versioned-export-macros", ] [[package]] -name = "wasmtime-cranelift-shared" -version = "8.0.1" +name = "wasmtime-internal-fiber" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd041e382ef5aea1b9fc78442394f1a4f6d676ce457e7076ca4cb3f397882f8b" +checksum = "8b636ff8b220ebaf29dfe3b23770e4b2bad317b9683e3bf7345e162387385b39" dependencies = [ "anyhow", - "cranelift-codegen", - "cranelift-native", - "gimli 0.27.3", - "object 0.30.4", - "target-lexicon", - "wasmtime-environ", + "cc", + "cfg-if", + "libc", + "rustix 1.1.4", + "wasmtime-internal-asm-macros", + "wasmtime-internal-versioned-export-macros", + "windows-sys 0.59.0", ] [[package]] -name = "wasmtime-environ" -version = "8.0.1" +name = "wasmtime-internal-jit-debug" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a990198cee4197423045235bf89d3359e69bd2ea031005f4c2d901125955c949" +checksum = "61d8693995ab3df48e88777b6ee3b2f441f2c4f895ab938996cdac3db26f256c" dependencies = [ - "anyhow", - "cranelift-entity", - "gimli 0.27.3", - "indexmap 1.9.3", - "log", - "object 0.30.4", - "serde", - "target-lexicon", - "thiserror 1.0.65", - "wasmparser", - "wasmtime-types", + "cc", + "object 0.36.7", + "rustix 1.1.4", + "wasmtime-internal-versioned-export-macros", ] [[package]] -name = "wasmtime-jit" -version = "8.0.1" +name = "wasmtime-internal-jit-icache-coherence" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0de48df552cfca1c9b750002d3e07b45772dd033b0b206d5c0968496abf31244" +checksum = "4417e06b7f80baff87d9770852c757a39b8d7f11d78b2620ca992b8725f16f50" dependencies = [ - "addr2line 0.19.0", "anyhow", - "bincode", "cfg-if", - "cpp_demangle", - "gimli 0.27.3", - "log", - "object 0.30.4", - "rustc-demangle", - "serde", - "target-lexicon", - "wasmtime-environ", - "wasmtime-jit-debug", - "wasmtime-jit-icache-coherence", - "wasmtime-runtime", - "windows-sys 0.45.0", + "libc", + "windows-sys 0.59.0", ] [[package]] -name = "wasmtime-jit-debug" -version = "8.0.1" +name = "wasmtime-internal-math" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e0554b84c15a27d76281d06838aed94e13a77d7bf604bbbaf548aa20eb93846" +checksum = "7710d5c4ecdaa772927fd11e5dc30a9a62d1fc8fe933e11ad5576ad596ab6612" dependencies = [ - "object 0.30.4", - "once_cell", - "rustix 0.36.17", + "libm", ] [[package]] -name = "wasmtime-jit-icache-coherence" -version = "8.0.1" +name = "wasmtime-internal-slab" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aecae978b13f7f67efb23bd827373ace4578f2137ec110bbf6a4a7cde4121bbd" -dependencies = [ - "cfg-if", - "libc", - "windows-sys 0.45.0", -] +checksum = "e6ab22fabe1eed27ab01fd47cd89deacf43ad222ed7fd169ba6f4dd1fbddc53b" [[package]] -name = "wasmtime-runtime" -version = "8.0.1" +name = "wasmtime-internal-unwinder" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "658cf6f325232b6760e202e5255d823da5e348fdea827eff0a2a22319000b441" +checksum = "307708f302f5dcf19c1bbbfb3d9f2cbc837dd18088a7988747b043a46ba38ecc" dependencies = [ "anyhow", - "cc", "cfg-if", - "indexmap 1.9.3", - "libc", + "cranelift-codegen", "log", - "mach", - "memfd", - "memoffset 0.8.0", - "paste", - "rand 0.8.5", - "rustix 0.36.17", - "wasmtime-asm-macros", - "wasmtime-environ", - "wasmtime-jit-debug", - "windows-sys 0.45.0", + "object 0.36.7", ] [[package]] -name = "wasmtime-types" -version = "8.0.1" +name = "wasmtime-internal-versioned-export-macros" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4f6fffd2a1011887d57f07654dd112791e872e3ff4a2e626aee8059ee17f06f" +checksum = "342b0466f92b7217a4de9e114175fedee1907028567d2548bcd42f71a8b5b016" dependencies = [ - "cranelift-entity", - "serde", - "thiserror 1.0.65", - "wasmparser", + "proc-macro2 1.0.106", + "quote 1.0.45", + "syn 2.0.98", +] + +[[package]] +name = "wasmtime-internal-winch" +version = "35.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2012e7384c25b91aab2f1b6a1e1cbab9d0f199bbea06cc873597a3f047f05730" +dependencies = [ + "anyhow", + "cranelift-codegen", + "gimli 0.31.1", + "object 0.36.7", + "target-lexicon", + "wasmparser 0.235.0", + "wasmtime-environ", + "wasmtime-internal-cranelift", + "winch-codegen", ] [[package]] @@ -11317,34 +11864,33 @@ dependencies = [ ] [[package]] -name = "webpki" -version = "0.22.4" +name = "webpki-root-certs" +version = "0.26.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed63aea5ce73d0ff405984102c42de94fc55a6b75765d621c65262469b3c9b53" +checksum = "75c7f0ef91146ebfb530314f5f1d24528d7f0767efbfd31dce919275413e393e" dependencies = [ - "ring 0.17.8", - "untrusted 0.9.0", + "webpki-root-certs 1.0.6", ] [[package]] -name = "webpki-roots" -version = "0.25.2" +name = "webpki-root-certs" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14247bb57be4f377dfb94c72830b8ce8fc6beac03cf4bf7b9732eadd414123fc" +checksum = "804f18a4ac2676ffb4e8b5b5fa9ae38af06df08162314f96a68d2a363e21a8ca" +dependencies = [ + "rustls-pki-types", +] [[package]] name = "webpki-roots" -version = "0.26.3" +version = "0.25.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd7c23921eeb1713a4e851530e9b9756e4fb0e89978582942612524cf09f01cd" -dependencies = [ - "rustls-pki-types", -] +checksum = "14247bb57be4f377dfb94c72830b8ce8fc6beac03cf4bf7b9732eadd414123fc" [[package]] name = "westend-runtime-constants" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "frame-support", "polkadot-primitives", @@ -11404,6 +11950,26 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +[[package]] +name = "winch-codegen" +version = "35.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "839a334ef7c62d8368dbd427e767a6fbb1ba08cc12ecce19cbb666c10613b585" +dependencies = [ + "anyhow", + "cranelift-assembler-x64", + "cranelift-codegen", + "gimli 0.31.1", + "regalloc2", + "smallvec", + "target-lexicon", + "thiserror 2.0.18", + "wasmparser 0.235.0", + "wasmtime-environ", + "wasmtime-internal-cranelift", + "wasmtime-internal-math", +] + [[package]] name = "windows" version = "0.48.0" @@ -11451,6 +12017,21 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "windows-result" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" +dependencies = [ + "windows-link", +] + [[package]] name = "windows-sys" version = "0.45.0" @@ -11487,6 +12068,15 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link", +] + [[package]] name = "windows-targets" version = "0.42.2" @@ -11683,6 +12273,15 @@ dependencies = [ "memchr", ] +[[package]] +name = "winnow" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09dac053f1cd375980747450bfc7250c264eaae0583872e845c0c7cd578872b5" +dependencies = [ + "memchr", +] + [[package]] name = "winreg" version = "0.50.0" @@ -11745,7 +12344,7 @@ dependencies = [ "data-encoding", "der-parser 9.0.0", "lazy_static", - "nom", + "nom 7.1.3", "oid-registry 0.7.0", "rusticata-macros", "thiserror 1.0.65", @@ -11762,17 +12361,17 @@ dependencies = [ "data-encoding", "der-parser 10.0.0", "lazy_static", - "nom", + "nom 7.1.3", "oid-registry 0.8.1", "rusticata-macros", - "thiserror 2.0.11", + "thiserror 2.0.18", "time", ] [[package]] name = "xcm-procedural" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#9601363f6a8b88510cb38782dd77f08778da5fb7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" dependencies = [ "Inflector", "proc-macro2 1.0.106", @@ -11780,6 +12379,20 @@ dependencies = [ "syn 2.0.98", ] +[[package]] +name = "xcm-runtime-apis" +version = "0.1.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#802db0b998e522feab8eb3ff4505954bf9b6ac24" +dependencies = [ + "frame-support", + "parity-scale-codec", + "scale-info", + "sp-api", + "sp-weights", + "staging-xcm", + "staging-xcm-executor", +] + [[package]] name = "xml-rs" version = "0.8.20" @@ -11812,16 +12425,16 @@ dependencies = [ [[package]] name = "yamux" -version = "0.13.4" +version = "0.13.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17610762a1207ee816c6fadc29220904753648aba0a9ed61c7b8336e80a559c4" +checksum = "1991f6690292030e31b0144d73f5e8368936c58e45e7068254f7138b23b00672" dependencies = [ "futures", "log", "nohash-hasher", "parking_lot 0.12.3", "pin-project", - "rand 0.8.5", + "rand 0.9.0", "static_assertions", "web-time", ] @@ -11969,13 +12582,10 @@ dependencies = [ ] [[package]] -name = "zstd" -version = "0.11.2+zstd.1.5.2" +name = "zmij" +version = "1.0.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4" -dependencies = [ - "zstd-safe 5.0.2+zstd.1.5.2", -] +checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa" [[package]] name = "zstd" @@ -11987,13 +12597,12 @@ dependencies = [ ] [[package]] -name = "zstd-safe" -version = "5.0.2+zstd.1.5.2" +name = "zstd" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db" +checksum = "e91ee311a569c327171651566e07972200e76fcfe2242a4fa446149a3881c08a" dependencies = [ - "libc", - "zstd-sys", + "zstd-safe 7.2.4", ] [[package]] @@ -12006,13 +12615,21 @@ dependencies = [ "zstd-sys", ] +[[package]] +name = "zstd-safe" +version = "7.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f49c4d5f0abb602a93fb8736af2a4f4dd9512e36f7f570d66e65ff867ed3b9d" +dependencies = [ + "zstd-sys", +] + [[package]] name = "zstd-sys" -version = "2.0.8+zstd.1.5.5" +version = "2.0.16+zstd.1.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5556e6ee25d32df2586c098bbfa278803692a20d0ab9565e049480d52707ec8c" +checksum = "91e19ebc2adc8f83e43039e79776e3fda8ca919132d68a1fed6a5faca2683748" dependencies = [ "cc", - "libc", "pkg-config", ] diff --git a/Cargo.toml b/Cargo.toml index 7cfcbae045..1c6be16341 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -63,7 +63,7 @@ serde = { version = "1.0.228", default-features = false } serde_json = { version = "1.0.138", default-features = false } thiserror = { version = "1.0.69" } clap = { version = "4.5.3", features = ["derive", "cargo"] } -codec = { package = "parity-scale-codec", version = "3.7.4", features = ["derive"] } +codec = { package = "parity-scale-codec", version = "3.7.5", features = ["derive"] } color-eyre = "0.6.1" indoc = "2.0.5" prettyplease = "0.2.20" @@ -73,7 +73,7 @@ subxt-utils-fetchmetadata = { version = "0.44.0", features = ["url"] } wasm-loader = { git = "https://github.com/chevdor/subwasm", branch = "master" } wasm-testbed = { git = "https://github.com/chevdor/subwasm", branch = "master" } scale-info = { version = "2.11.6", default-features = false, features = ["derive"] } -subxt = { version = "0.40.1", default-features = false, features = ["native"] } +subxt = { version = "0.43.0", default-features = false, features = ["native"] } bp-bridge-hub-polkadot = { path = "./chains/chain-bridge-hub-polkadot" } bp-header-chain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master" } bp-messages = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master" } diff --git a/chains/chain-bridge-hub-kusama/src/lib.rs b/chains/chain-bridge-hub-kusama/src/lib.rs index 485fb3d31f..c62cb925e6 100644 --- a/chains/chain-bridge-hub-kusama/src/lib.rs +++ b/chains/chain-bridge-hub-kusama/src/lib.rs @@ -29,10 +29,10 @@ use frame_support::{ dispatch::DispatchClass, sp_runtime::{MultiAddress, MultiSigner}, }; -use sp_runtime::{RuntimeDebug, StateVersion}; +use sp_runtime::StateVersion; /// BridgeHubKusama parachain. -#[derive(RuntimeDebug)] +#[derive(Debug)] pub struct BridgeHubKusama; impl Chain for BridgeHubKusama { diff --git a/chains/chain-bridge-hub-polkadot/src/lib.rs b/chains/chain-bridge-hub-polkadot/src/lib.rs index 7a1793b4da..c3228d6c32 100644 --- a/chains/chain-bridge-hub-polkadot/src/lib.rs +++ b/chains/chain-bridge-hub-polkadot/src/lib.rs @@ -26,10 +26,10 @@ use bp_runtime::{ decl_bridge_finality_runtime_apis, decl_bridge_messages_runtime_apis, Chain, ChainId, Parachain, }; use frame_support::dispatch::DispatchClass; -use sp_runtime::{RuntimeDebug, StateVersion}; +use sp_runtime::StateVersion; /// BridgeHubPolkadot parachain. -#[derive(RuntimeDebug)] +#[derive(Debug)] pub struct BridgeHubPolkadot; impl Chain for BridgeHubPolkadot { diff --git a/relay-clients/client-bridge-hub-rococo/src/codegen_runtime.rs b/relay-clients/client-bridge-hub-rococo/src/codegen_runtime.rs index 4b96f42f77..67c7e0e897 100644 --- a/relay-clients/client-bridge-hub-rococo/src/codegen_runtime.rs +++ b/relay-clients/client-bridge-hub-rococo/src/codegen_runtime.rs @@ -16,10 +16,10 @@ //! Autogenerated runtime API //! THIS FILE WAS AUTOGENERATED USING parity-bridges-common::runtime-codegen -//! EXECUTED COMMAND: target/debug/runtime-codegen --from-node-url -//! wss://rococo-bridge-hub-rpc.polkadot.io:443 +//! EXECUTED COMMAND: target/release/runtime-codegen --from-wasm-file +//! wbuild/bridge_hub_rococo_runtime.compact.compressed.wasm -#[allow(dead_code, unused_imports, non_camel_case_types)] +#[allow(dead_code, unused_imports, non_camel_case_types, unreachable_patterns)] #[allow(clippy::all)] #[allow(rustdoc::broken_intra_doc_links)] pub mod api { @@ -80,8 +80,6 @@ pub mod api { pub mod lane { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct HashedLaneId(pub ::subxt::ext::subxt_core::utils::H256); - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum LaneState { #[codec(index = 0)] Opened, @@ -103,10 +101,6 @@ pub mod api { pub state: runtime_types::bp_messages::lane::LaneState, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct InboundMessageDetails { - pub dispatch_weight: ::sp_weights::Weight, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MessageKey<_0> { pub lane_id: _0, pub nonce: ::core::primitive::u64, @@ -126,12 +120,6 @@ pub mod api { pub state: runtime_types::bp_messages::lane::LaneState, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct OutboundMessageDetails { - pub nonce: ::core::primitive::u64, - pub dispatch_weight: ::sp_weights::Weight, - pub size: ::core::primitive::u32, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ReceivedMessages<_0, _1> { pub lane: _1, pub receive_results: ::subxt::ext::subxt_core::alloc::vec::Vec<( @@ -274,7 +262,7 @@ pub mod api { pub mod bp_xcm_bridge_hub { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct Bridge1 { + pub struct Bridge { pub bridge_origin_relative_location: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::xcm::VersionedLocation, >, @@ -291,23 +279,6 @@ pub mod api { pub lane_id: ::bp_messages::LegacyLaneId, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct Bridge2 { - pub bridge_origin_relative_location: ::subxt::ext::subxt_core::alloc::boxed::Box< - runtime_types::xcm::VersionedLocation, - >, - pub bridge_origin_universal_location: ::subxt::ext::subxt_core::alloc::boxed::Box< - runtime_types::xcm::VersionedInteriorLocation, - >, - pub bridge_destination_universal_location: - ::subxt::ext::subxt_core::alloc::boxed::Box< - runtime_types::xcm::VersionedInteriorLocation, - >, - pub state: runtime_types::bp_xcm_bridge_hub::BridgeState, - pub bridge_owner_account: ::sp_core::crypto::AccountId32, - pub deposit: ::core::primitive::u128, - pub lane_id: runtime_types::bp_messages::lane::HashedLaneId, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BridgeId(pub ::subxt::ext::subxt_core::utils::H256); #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BridgeLocationsError { @@ -352,6 +323,8 @@ pub mod api { Sibling(runtime_types::polkadot_parachain_primitives::primitives::Id), #[codec(index = 3)] Snowbridge(runtime_types::snowbridge_core::ChannelId), + #[codec(index = 4)] + SnowbridgeV2(::subxt::ext::subxt_core::utils::H256), } } } @@ -371,8 +344,6 @@ pub mod api { PolkadotXcm(runtime_types::pallet_xcm::pallet::Origin), #[codec(index = 32)] CumulusXcm(runtime_types::cumulus_pallet_xcm::pallet::Origin), - #[codec(index = 3)] - Void(runtime_types::sp_core::Void), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Runtime; @@ -525,17 +496,17 @@ pub mod api { #[codec(index = 49)] BridgeWestendParachains(runtime_types::pallet_bridge_parachains::pallet::Event), #[codec(index = 51)] - BridgeWestendMessages(runtime_types::pallet_bridge_messages::pallet::Event1), + BridgeWestendMessages(runtime_types::pallet_bridge_messages::pallet::Event), #[codec(index = 52)] - XcmOverBridgeHubWestend(runtime_types::pallet_xcm_bridge_hub::pallet::Event1), + XcmOverBridgeHubWestend(runtime_types::pallet_xcm_bridge_hub::pallet::Event), #[codec(index = 60)] BridgePolkadotBulletinGrandpa(runtime_types::pallet_bridge_grandpa::pallet::Event), #[codec(index = 61)] BridgePolkadotBulletinMessages( - runtime_types::pallet_bridge_messages::pallet::Event2, + runtime_types::pallet_bridge_messages::pallet::Event, ), #[codec(index = 62)] - XcmOverPolkadotBulletin(runtime_types::pallet_xcm_bridge_hub::pallet::Event2), + XcmOverPolkadotBulletin(runtime_types::pallet_xcm_bridge_hub::pallet::Event), #[codec(index = 63)] BridgeRelayersForPermissionlessLanes( runtime_types::pallet_bridge_relayers::pallet::Event, @@ -557,6 +528,10 @@ pub mod api { } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeHoldReason { + #[codec(index = 22)] + Session(runtime_types::pallet_session::pallet::HoldReason), + #[codec(index = 31)] + PolkadotXcm(runtime_types::pallet_xcm::pallet::HoldReason), #[codec(index = 52)] XcmOverBridgeHubWestend(runtime_types::pallet_xcm_bridge_hub::pallet::HoldReason), #[codec(index = 62)] @@ -575,7 +550,8 @@ pub mod api { pub enum Call { #[codec(index = 0)] set_validation_data { - data: runtime_types::cumulus_primitives_parachain_inherent::ParachainInherentData, + data: runtime_types::cumulus_pallet_parachain_system::parachain_inherent::BasicParachainInherentData, + inbound_messages_data: runtime_types::cumulus_pallet_parachain_system::parachain_inherent::InboundMessagesData, }, #[codec(index = 1)] sudo_send_upward_message { @@ -598,10 +574,6 @@ pub mod api { HostConfigurationNotAvailable, #[codec(index = 5)] NotScheduled, - #[codec(index = 6)] - NothingAuthorized, - #[codec(index = 7)] - Unauthorized, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { @@ -624,6 +596,65 @@ pub mod api { }, } } + pub mod parachain_inherent { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct AbridgedInboundMessagesCollection1<_0> { + pub full_messages: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, + pub hashed_messages: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::cumulus_primitives_parachain_inherent::HashedMessage, + >, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct AbridgedInboundMessagesCollection2<_0> { + pub full_messages: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, + pub hashed_messages: ::subxt::ext::subxt_core::alloc::vec::Vec<( + runtime_types::polkadot_parachain_primitives::primitives::Id, + runtime_types::cumulus_primitives_parachain_inherent::HashedMessage, + )>, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct BasicParachainInherentData { + pub validation_data: + runtime_types::polkadot_primitives::v9::PersistedValidationData< + ::subxt::ext::subxt_core::utils::H256, + ::core::primitive::u32, + >, + pub relay_chain_state: runtime_types::sp_trie::storage_proof::StorageProof, + pub relay_parent_descendants: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_runtime::generic::Header< + ::core::primitive::u32, + ::sp_runtime::traits::BlakeTwo256, + >, + >, + pub collator_peer_id: ::core::option::Option< + runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + >, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct InboundMessageId { + pub sent_at: ::core::primitive::u32, + pub reverse_idx: ::core::primitive::u32, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct InboundMessagesData { + pub downward_messages: runtime_types::cumulus_pallet_parachain_system::parachain_inherent::AbridgedInboundMessagesCollection1< + runtime_types::polkadot_core_primitives::InboundDownwardMessage< + ::core::primitive::u32, + >, + >, + pub horizontal_messages: runtime_types::cumulus_pallet_parachain_system::parachain_inherent::AbridgedInboundMessagesCollection2< + ( + runtime_types::polkadot_parachain_primitives::primitives::Id, + runtime_types::polkadot_core_primitives::InboundHrmpMessage< + ::core::primitive::u32, + >, + ), + >, + } + } pub mod relay_state_snapshot { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] @@ -633,13 +664,13 @@ pub mod api { pub ingress_channels: ::subxt::ext::subxt_core::alloc::vec::Vec< ( runtime_types::polkadot_parachain_primitives::primitives::Id, - runtime_types::polkadot_primitives::v8::AbridgedHrmpChannel, + runtime_types::polkadot_primitives::v9::AbridgedHrmpChannel, ), >, pub egress_channels: ::subxt::ext::subxt_core::alloc::vec::Vec< ( runtime_types::polkadot_parachain_primitives::primitives::Id, - runtime_types::polkadot_primitives::v8::AbridgedHrmpChannel, + runtime_types::polkadot_primitives::v9::AbridgedHrmpChannel, ), >, } @@ -656,7 +687,7 @@ pub mod api { pub used_bandwidth: runtime_types::cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth, pub para_head_hash: ::core::option::Option<_0>, pub consumed_go_ahead_signal: ::core::option::Option< - runtime_types::polkadot_primitives::v8::UpgradeGoAhead, + runtime_types::polkadot_primitives::v9::UpgradeGoAhead, >, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] @@ -669,7 +700,7 @@ pub mod api { pub used_bandwidth: runtime_types::cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth, pub hrmp_watermark: ::core::option::Option<::core::primitive::u32>, pub consumed_go_ahead_signal: ::core::option::Option< - runtime_types::polkadot_primitives::v8::UpgradeGoAhead, + runtime_types::polkadot_primitives::v9::UpgradeGoAhead, >, #[codec(skip)] pub __ignore: ::core::marker::PhantomData<_0>, @@ -685,6 +716,11 @@ pub mod api { } } } + pub mod cumulus_pallet_weight_reclaim { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct StorageWeightReclaim<_1>(pub _1); + } pub mod cumulus_pallet_xcm { use super::runtime_types; pub mod pallet { @@ -700,7 +736,7 @@ pub mod api { #[codec(index = 2)] ExecutedDownward( [::core::primitive::u8; 32usize], - runtime_types::staging_xcm::v4::traits::Outcome, + runtime_types::staging_xcm::v5::traits::Outcome, ), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] @@ -770,57 +806,15 @@ pub mod api { pub resume_threshold: ::core::primitive::u32, } } - pub mod cumulus_primitives_core { - use super::runtime_types; - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct CollationInfo { - pub upward_messages: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - >, - pub horizontal_messages: ::subxt::ext::subxt_core::alloc::vec::Vec< - runtime_types::polkadot_core_primitives::OutboundHrmpMessage< - runtime_types::polkadot_parachain_primitives::primitives::Id, - >, - >, - pub new_validation_code: ::core::option::Option< - runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, - >, - pub processed_downward_messages: ::core::primitive::u32, - pub hrmp_watermark: ::core::primitive::u32, - pub head_data: runtime_types::polkadot_parachain_primitives::primitives::HeadData, - } - } pub mod cumulus_primitives_parachain_inherent { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct MessageQueueChain(pub ::subxt::ext::subxt_core::utils::H256); - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct ParachainInherentData { - pub validation_data: - runtime_types::polkadot_primitives::v8::PersistedValidationData< - ::subxt::ext::subxt_core::utils::H256, - ::core::primitive::u32, - >, - pub relay_chain_state: runtime_types::sp_trie::storage_proof::StorageProof, - pub downward_messages: ::subxt::ext::subxt_core::alloc::vec::Vec< - runtime_types::polkadot_core_primitives::InboundDownwardMessage< - ::core::primitive::u32, - >, - >, - pub horizontal_messages: ::subxt::ext::subxt_core::utils::KeyedVec< - runtime_types::polkadot_parachain_primitives::primitives::Id, - ::subxt::ext::subxt_core::alloc::vec::Vec< - runtime_types::polkadot_core_primitives::InboundHrmpMessage< - ::core::primitive::u32, - >, - >, - >, + pub struct HashedMessage { + pub sent_at: ::core::primitive::u32, + pub msg_hash: ::subxt::ext::subxt_core::utils::H256, } - } - pub mod cumulus_primitives_storage_weight_reclaim { - use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct StorageWeightReclaim; + pub struct MessageQueueChain(pub ::subxt::ext::subxt_core::utils::H256); } pub mod finality_grandpa { use super::runtime_types; @@ -881,12 +875,6 @@ pub mod api { Mandatory, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct DispatchInfo { - pub weight: ::sp_weights::Weight, - pub class: runtime_types::frame_support::dispatch::DispatchClass, - pub pays_fee: runtime_types::frame_support::dispatch::Pays, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Pays { #[codec(index = 0)] Yes, @@ -900,11 +888,6 @@ pub mod api { pub mandatory: _0, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct PostDispatchInfo { - pub actual_weight: ::core::option::Option<::sp_weights::Weight>, - pub pays_fee: runtime_types::frame_support::dispatch::Pays, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RawOrigin<_0> { #[codec(index = 0)] Root, @@ -912,6 +895,8 @@ pub mod api { Signed(_0), #[codec(index = 2)] None, + #[codec(index = 3)] + Authorized, } } pub mod traits { @@ -934,8 +919,32 @@ pub mod api { StackLimitReached, } } + pub mod storage { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct NoDrop<_0>(pub _0); + } pub mod tokens { use super::runtime_types; + pub mod fungible { + use super::runtime_types; + pub mod imbalance { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Imbalance<_0> { + pub amount: _0, + } + } + #[derive( + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, + Clone, + Debug, + PartialEq, + )] + pub struct HoldConsideration(pub ::core::primitive::u128); + } pub mod misc { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] @@ -953,11 +962,18 @@ pub mod api { } } } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct PalletId(pub [::core::primitive::u8; 8usize]); } pub mod frame_system { use super::runtime_types; pub mod extensions { use super::runtime_types; + pub mod authorize_call { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct AuthorizeCall; + } pub mod check_genesis { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] @@ -1094,12 +1110,12 @@ pub mod api { pub enum Event { #[codec(index = 0)] ExtrinsicSuccess { - dispatch_info: runtime_types::frame_support::dispatch::DispatchInfo, + dispatch_info: runtime_types::frame_system::DispatchEventInfo, }, #[codec(index = 1)] ExtrinsicFailed { dispatch_error: runtime_types::sp_runtime::DispatchError, - dispatch_info: runtime_types::frame_support::dispatch::DispatchInfo, + dispatch_info: runtime_types::frame_system::DispatchEventInfo, }, #[codec(index = 2)] CodeUpdated, @@ -1117,6 +1133,11 @@ pub mod api { code_hash: ::subxt::ext::subxt_core::utils::H256, check_version: ::core::primitive::bool, }, + #[codec(index = 7)] + RejectedInvalidAuthorizedUpgrade { + code_hash: ::subxt::ext::subxt_core::utils::H256, + error: runtime_types::sp_runtime::DispatchError, + }, } } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] @@ -1133,6 +1154,12 @@ pub mod api { pub check_version: ::core::primitive::bool, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct DispatchEventInfo { + pub weight: ::sp_weights::Weight, + pub class: runtime_types::frame_support::dispatch::DispatchClass, + pub pays_fee: runtime_types::frame_support::dispatch::Pays, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct EventRecord<_0, _1> { pub phase: runtime_types::frame_system::Phase, pub event: _0, @@ -1315,39 +1342,84 @@ pub mod api { #[codec(index = 10)] Minted { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128 }, #[codec(index = 11)] - Burned { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128 }, + MintedCredit { amount: ::core::primitive::u128 }, #[codec(index = 12)] + Burned { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128 }, + #[codec(index = 13)] + BurnedDebt { amount: ::core::primitive::u128 }, + #[codec(index = 14)] Suspended { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128, }, - #[codec(index = 13)] + #[codec(index = 15)] Restored { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128, }, - #[codec(index = 14)] + #[codec(index = 16)] Upgraded { who: ::sp_core::crypto::AccountId32 }, - #[codec(index = 15)] + #[codec(index = 17)] Issued { amount: ::core::primitive::u128 }, - #[codec(index = 16)] + #[codec(index = 18)] Rescinded { amount: ::core::primitive::u128 }, - #[codec(index = 17)] + #[codec(index = 19)] Locked { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128 }, - #[codec(index = 18)] + #[codec(index = 20)] Unlocked { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128, }, - #[codec(index = 19)] + #[codec(index = 21)] Frozen { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128 }, - #[codec(index = 20)] + #[codec(index = 22)] Thawed { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128 }, - #[codec(index = 21)] + #[codec(index = 23)] TotalIssuanceForced { old: ::core::primitive::u128, new: ::core::primitive::u128, }, + #[codec(index = 24)] + Held { + reason: runtime_types::bridge_hub_rococo_runtime::RuntimeHoldReason, + who: ::sp_core::crypto::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 25)] + BurnedHeld { + reason: runtime_types::bridge_hub_rococo_runtime::RuntimeHoldReason, + who: ::sp_core::crypto::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 26)] + TransferOnHold { + reason: runtime_types::bridge_hub_rococo_runtime::RuntimeHoldReason, + source: ::sp_core::crypto::AccountId32, + dest: ::sp_core::crypto::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 27)] + TransferAndHold { + reason: runtime_types::bridge_hub_rococo_runtime::RuntimeHoldReason, + source: ::sp_core::crypto::AccountId32, + dest: ::sp_core::crypto::AccountId32, + transferred: ::core::primitive::u128, + }, + #[codec(index = 28)] + Released { + reason: runtime_types::bridge_hub_rococo_runtime::RuntimeHoldReason, + who: ::sp_core::crypto::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 29)] + Unexpected(runtime_types::pallet_balances::pallet::UnexpectedKind), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum UnexpectedKind { + #[codec(index = 0)] + BalanceUpdated, + #[codec(index = 1)] + FailedToMutateAccount, } } pub mod types { @@ -1619,7 +1691,7 @@ pub mod api { BridgeModule(runtime_types::bp_runtime::OwnedBridgeModuleError), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum Event1 { + pub enum Event { #[codec(index = 0)] MessageAccepted { lane_id: ::bp_messages::LegacyLaneId, @@ -1637,26 +1709,6 @@ pub mod api { lane_id: ::bp_messages::LegacyLaneId, messages: runtime_types::bp_messages::DeliveredMessages, }, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum Event2 { - #[codec(index = 0)] - MessageAccepted { - lane_id: runtime_types::bp_messages::lane::HashedLaneId, - nonce: ::core::primitive::u64, - }, - #[codec(index = 1)] - MessagesReceived( - runtime_types::bp_messages::ReceivedMessages< - runtime_types::pallet_xcm_bridge_hub::dispatcher::XcmBlobMessageDispatchResult, - runtime_types::bp_messages::lane::HashedLaneId, - >, - ), - #[codec(index = 2)] - MessagesDelivered { - lane_id: runtime_types::bp_messages::lane::HashedLaneId, - messages: runtime_types::bp_messages::DeliveredMessages, - }, } } } @@ -1741,7 +1793,7 @@ pub mod api { pub mod extension { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct BridgeRelayersSignedExtension; + pub struct BridgeRelayersTransactionExtension; } pub mod pallet { use super::runtime_types; @@ -1749,7 +1801,7 @@ pub mod api { pub enum Call { #[codec(index = 0)] claim_rewards { - rewards_account_params: runtime_types::bp_relayers::RewardsAccountParams< + reward_kind: runtime_types::bp_relayers::RewardsAccountParams< ::bp_messages::LegacyLaneId, >, }, @@ -1757,6 +1809,13 @@ pub mod api { register { valid_till: ::core::primitive::u32 }, #[codec(index = 2)] deregister, + #[codec(index = 3)] + claim_rewards_to { + reward_kind: runtime_types::bp_relayers::RewardsAccountParams< + ::bp_messages::LegacyLaneId, + >, + beneficiary: ::sp_core::crypto::AccountId32, + }, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { @@ -1782,18 +1841,19 @@ pub mod api { #[codec(index = 0)] RewardRegistered { relayer: ::sp_core::crypto::AccountId32, - rewards_account_params: runtime_types::bp_relayers::RewardsAccountParams< + reward_kind: runtime_types::bp_relayers::RewardsAccountParams< ::bp_messages::LegacyLaneId, >, - reward: ::core::primitive::u128, + reward_balance: ::core::primitive::u128, }, #[codec(index = 1)] RewardPaid { relayer: ::sp_core::crypto::AccountId32, - rewards_account_params: runtime_types::bp_relayers::RewardsAccountParams< + reward_kind: runtime_types::bp_relayers::RewardsAccountParams< ::bp_messages::LegacyLaneId, >, - reward: ::core::primitive::u128, + reward_balance: ::core::primitive::u128, + beneficiary: ::sp_core::crypto::AccountId32, }, #[codec(index = 2)] RegistrationUpdated { @@ -2082,6 +2142,14 @@ pub mod api { runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, call_hash: [::core::primitive::u8; 32usize], }, + #[codec(index = 4)] + poke_deposit { + threshold: ::core::primitive::u16, + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, + call_hash: [::core::primitive::u8; 32usize], + }, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { @@ -2148,6 +2216,13 @@ pub mod api { multisig: ::sp_core::crypto::AccountId32, call_hash: [::core::primitive::u8; 32usize], }, + #[codec(index = 4)] + DepositPoked { + who: ::sp_core::crypto::AccountId32, + call_hash: [::core::primitive::u8; 32usize], + old_deposit: ::core::primitive::u128, + new_deposit: ::core::primitive::u128, + }, } } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] @@ -2194,6 +2269,17 @@ pub mod api { pub enum Event { #[codec(index = 0)] NewSession { session_index: ::core::primitive::u32 }, + #[codec(index = 1)] + NewQueued, + #[codec(index = 2)] + ValidatorDisabled { validator: ::sp_core::crypto::AccountId32 }, + #[codec(index = 3)] + ValidatorReenabled { validator: ::sp_core::crypto::AccountId32 }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum HoldReason { + #[codec(index = 0)] + Keys, } } } @@ -2225,28 +2311,6 @@ pub mod api { }, } } - pub mod types { - use super::runtime_types; - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct FeeDetails<_0> { - pub inclusion_fee: ::core::option::Option< - runtime_types::pallet_transaction_payment::types::InclusionFee<_0>, - >, - pub tip: _0, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct InclusionFee<_0> { - pub base_fee: _0, - pub len_fee: _0, - pub adjusted_weight_fee: _0, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct RuntimeDispatchInfo<_0, _1> { - pub weight: _1, - pub class: runtime_types::frame_support::dispatch::DispatchClass, - pub partial_fee: _0, - } - } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ChargeTransactionPayment(#[codec(compact)] pub ::core::primitive::u128); #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] @@ -2304,6 +2368,24 @@ pub mod api { >, weight: ::sp_weights::Weight, }, + #[codec(index = 6)] + if_else { + main: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::bridge_hub_rococo_runtime::RuntimeCall, + >, + fallback: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::bridge_hub_rococo_runtime::RuntimeCall, + >, + }, + #[codec(index = 7)] + dispatch_as_fallible { + as_origin: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::bridge_hub_rococo_runtime::OriginCaller, + >, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::bridge_hub_rococo_runtime::RuntimeCall, + >, + }, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { @@ -2330,52 +2412,144 @@ pub mod api { result: ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, }, + #[codec(index = 6)] + IfElseMainSuccess, + #[codec(index = 7)] + IfElseFallbackCalled { main_error: runtime_types::sp_runtime::DispatchError }, } } } pub mod pallet_xcm { use super::runtime_types; - pub mod pallet { + pub mod errors { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum Call { + pub enum ExecutionError { #[codec(index = 0)] - send { - dest: ::subxt::ext::subxt_core::alloc::boxed::Box< - runtime_types::xcm::VersionedLocation, - >, - message: ::subxt::ext::subxt_core::alloc::boxed::Box< - runtime_types::xcm::VersionedXcm, - >, - }, - #[codec(index = 1)] - teleport_assets { - dest: ::subxt::ext::subxt_core::alloc::boxed::Box< - runtime_types::xcm::VersionedLocation, - >, - beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< - runtime_types::xcm::VersionedLocation, - >, - assets: ::subxt::ext::subxt_core::alloc::boxed::Box< - runtime_types::xcm::VersionedAssets, - >, - fee_asset_item: ::core::primitive::u32, - }, - #[codec(index = 2)] - reserve_transfer_assets { - dest: ::subxt::ext::subxt_core::alloc::boxed::Box< - runtime_types::xcm::VersionedLocation, - >, - beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< - runtime_types::xcm::VersionedLocation, - >, - assets: ::subxt::ext::subxt_core::alloc::boxed::Box< - runtime_types::xcm::VersionedAssets, - >, - fee_asset_item: ::core::primitive::u32, - }, - #[codec(index = 3)] - execute { + Overflow, + #[codec(index = 1)] + Unimplemented, + #[codec(index = 2)] + UntrustedReserveLocation, + #[codec(index = 3)] + UntrustedTeleportLocation, + #[codec(index = 4)] + LocationFull, + #[codec(index = 5)] + LocationNotInvertible, + #[codec(index = 6)] + BadOrigin, + #[codec(index = 7)] + InvalidLocation, + #[codec(index = 8)] + AssetNotFound, + #[codec(index = 9)] + FailedToTransactAsset, + #[codec(index = 10)] + NotWithdrawable, + #[codec(index = 11)] + LocationCannotHold, + #[codec(index = 12)] + ExceedsMaxMessageSize, + #[codec(index = 13)] + DestinationUnsupported, + #[codec(index = 14)] + Transport, + #[codec(index = 15)] + Unroutable, + #[codec(index = 16)] + UnknownClaim, + #[codec(index = 17)] + FailedToDecode, + #[codec(index = 18)] + MaxWeightInvalid, + #[codec(index = 19)] + NotHoldingFees, + #[codec(index = 20)] + TooExpensive, + #[codec(index = 21)] + Trap, + #[codec(index = 22)] + ExpectationFalse, + #[codec(index = 23)] + PalletNotFound, + #[codec(index = 24)] + NameMismatch, + #[codec(index = 25)] + VersionIncompatible, + #[codec(index = 26)] + HoldingWouldOverflow, + #[codec(index = 27)] + ExportError, + #[codec(index = 28)] + ReanchorFailed, + #[codec(index = 29)] + NoDeal, + #[codec(index = 30)] + FeesNotMet, + #[codec(index = 31)] + LockError, + #[codec(index = 32)] + NoPermission, + #[codec(index = 33)] + Unanchored, + #[codec(index = 34)] + NotDepositable, + #[codec(index = 35)] + TooManyAssets, + #[codec(index = 36)] + UnhandledXcmVersion, + #[codec(index = 37)] + WeightLimitReached, + #[codec(index = 38)] + Barrier, + #[codec(index = 39)] + WeightNotComputable, + #[codec(index = 40)] + ExceedsStackLimit, + } + } + pub mod pallet { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Call { + #[codec(index = 0)] + send { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + message: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedXcm, + >, + }, + #[codec(index = 1)] + teleport_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + }, + #[codec(index = 2)] + reserve_transfer_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + }, + #[codec(index = 3)] + execute { message: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::xcm::VersionedXcm, >, @@ -2384,7 +2558,7 @@ pub mod api { #[codec(index = 4)] force_xcm_version { location: ::subxt::ext::subxt_core::alloc::boxed::Box< - runtime_types::staging_xcm::v4::location::Location, + runtime_types::staging_xcm::v5::location::Location, >, version: ::core::primitive::u32, }, @@ -2479,6 +2653,21 @@ pub mod api { >, weight_limit: runtime_types::xcm::v3::WeightLimit, }, + #[codec(index = 14)] + add_authorized_alias { + aliaser: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + expires: ::core::option::Option<::core::primitive::u64>, + }, + #[codec(index = 15)] + remove_authorized_alias { + aliaser: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + }, + #[codec(index = 16)] + remove_all_authorized_aliases, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { @@ -2530,35 +2719,59 @@ pub mod api { TooManyReserves, #[codec(index = 24)] LocalExecutionIncomplete, + #[codec(index = 25)] + TooManyAuthorizedAliases, + #[codec(index = 26)] + ExpiresInPast, + #[codec(index = 27)] + AliasNotFound, + #[codec(index = 28)] + LocalExecutionIncompleteWithError { + index: ::core::primitive::u8, + error: runtime_types::pallet_xcm::errors::ExecutionError, + }, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] - Attempted { outcome: runtime_types::staging_xcm::v4::traits::Outcome }, + Attempted { outcome: runtime_types::staging_xcm::v5::traits::Outcome }, #[codec(index = 1)] Sent { - origin: runtime_types::staging_xcm::v4::location::Location, - destination: runtime_types::staging_xcm::v4::location::Location, - message: runtime_types::staging_xcm::v4::Xcm, + origin: runtime_types::staging_xcm::v5::location::Location, + destination: runtime_types::staging_xcm::v5::location::Location, + message: runtime_types::staging_xcm::v5::Xcm, message_id: [::core::primitive::u8; 32usize], }, #[codec(index = 2)] + SendFailed { + origin: runtime_types::staging_xcm::v5::location::Location, + destination: runtime_types::staging_xcm::v5::location::Location, + error: runtime_types::xcm::v3::traits::SendError, + message_id: [::core::primitive::u8; 32usize], + }, + #[codec(index = 3)] + ProcessXcmError { + origin: runtime_types::staging_xcm::v5::location::Location, + error: runtime_types::xcm::v5::traits::Error, + message_id: [::core::primitive::u8; 32usize], + }, + #[codec(index = 4)] UnexpectedResponse { - origin: runtime_types::staging_xcm::v4::location::Location, + origin: runtime_types::staging_xcm::v5::location::Location, query_id: ::core::primitive::u64, }, - #[codec(index = 3)] + #[codec(index = 5)] ResponseReady { query_id: ::core::primitive::u64, - response: runtime_types::staging_xcm::v4::Response, + response: runtime_types::staging_xcm::v5::Response, }, - #[codec(index = 4)] + #[codec(index = 6)] Notified { query_id: ::core::primitive::u64, pallet_index: ::core::primitive::u8, call_index: ::core::primitive::u8, }, - #[codec(index = 5)] + #[codec(index = 7)] NotifyOverweight { query_id: ::core::primitive::u64, pallet_index: ::core::primitive::u8, @@ -2566,114 +2779,136 @@ pub mod api { actual_weight: ::sp_weights::Weight, max_budgeted_weight: ::sp_weights::Weight, }, - #[codec(index = 6)] + #[codec(index = 8)] NotifyDispatchError { query_id: ::core::primitive::u64, pallet_index: ::core::primitive::u8, call_index: ::core::primitive::u8, }, - #[codec(index = 7)] + #[codec(index = 9)] NotifyDecodeFailed { query_id: ::core::primitive::u64, pallet_index: ::core::primitive::u8, call_index: ::core::primitive::u8, }, - #[codec(index = 8)] + #[codec(index = 10)] InvalidResponder { - origin: runtime_types::staging_xcm::v4::location::Location, + origin: runtime_types::staging_xcm::v5::location::Location, query_id: ::core::primitive::u64, expected_location: ::core::option::Option< - runtime_types::staging_xcm::v4::location::Location, + runtime_types::staging_xcm::v5::location::Location, >, }, - #[codec(index = 9)] + #[codec(index = 11)] InvalidResponderVersion { - origin: runtime_types::staging_xcm::v4::location::Location, + origin: runtime_types::staging_xcm::v5::location::Location, query_id: ::core::primitive::u64, }, - #[codec(index = 10)] + #[codec(index = 12)] ResponseTaken { query_id: ::core::primitive::u64 }, - #[codec(index = 11)] + #[codec(index = 13)] AssetsTrapped { hash: ::subxt::ext::subxt_core::utils::H256, - origin: runtime_types::staging_xcm::v4::location::Location, + origin: runtime_types::staging_xcm::v5::location::Location, assets: runtime_types::xcm::VersionedAssets, }, - #[codec(index = 12)] + #[codec(index = 14)] VersionChangeNotified { - destination: runtime_types::staging_xcm::v4::location::Location, + destination: runtime_types::staging_xcm::v5::location::Location, result: ::core::primitive::u32, - cost: runtime_types::staging_xcm::v4::asset::Assets, + cost: runtime_types::staging_xcm::v5::asset::Assets, message_id: [::core::primitive::u8; 32usize], }, - #[codec(index = 13)] + #[codec(index = 15)] SupportedVersionChanged { - location: runtime_types::staging_xcm::v4::location::Location, + location: runtime_types::staging_xcm::v5::location::Location, version: ::core::primitive::u32, }, - #[codec(index = 14)] + #[codec(index = 16)] NotifyTargetSendFail { - location: runtime_types::staging_xcm::v4::location::Location, + location: runtime_types::staging_xcm::v5::location::Location, query_id: ::core::primitive::u64, - error: runtime_types::xcm::v3::traits::Error, + error: runtime_types::xcm::v5::traits::Error, }, - #[codec(index = 15)] + #[codec(index = 17)] NotifyTargetMigrationFail { location: runtime_types::xcm::VersionedLocation, query_id: ::core::primitive::u64, }, - #[codec(index = 16)] + #[codec(index = 18)] InvalidQuerierVersion { - origin: runtime_types::staging_xcm::v4::location::Location, + origin: runtime_types::staging_xcm::v5::location::Location, query_id: ::core::primitive::u64, }, - #[codec(index = 17)] + #[codec(index = 19)] InvalidQuerier { - origin: runtime_types::staging_xcm::v4::location::Location, + origin: runtime_types::staging_xcm::v5::location::Location, query_id: ::core::primitive::u64, - expected_querier: runtime_types::staging_xcm::v4::location::Location, + expected_querier: runtime_types::staging_xcm::v5::location::Location, maybe_actual_querier: ::core::option::Option< - runtime_types::staging_xcm::v4::location::Location, + runtime_types::staging_xcm::v5::location::Location, >, }, - #[codec(index = 18)] + #[codec(index = 20)] VersionNotifyStarted { - destination: runtime_types::staging_xcm::v4::location::Location, - cost: runtime_types::staging_xcm::v4::asset::Assets, + destination: runtime_types::staging_xcm::v5::location::Location, + cost: runtime_types::staging_xcm::v5::asset::Assets, message_id: [::core::primitive::u8; 32usize], }, - #[codec(index = 19)] + #[codec(index = 21)] VersionNotifyRequested { - destination: runtime_types::staging_xcm::v4::location::Location, - cost: runtime_types::staging_xcm::v4::asset::Assets, + destination: runtime_types::staging_xcm::v5::location::Location, + cost: runtime_types::staging_xcm::v5::asset::Assets, message_id: [::core::primitive::u8; 32usize], }, - #[codec(index = 20)] + #[codec(index = 22)] VersionNotifyUnrequested { - destination: runtime_types::staging_xcm::v4::location::Location, - cost: runtime_types::staging_xcm::v4::asset::Assets, + destination: runtime_types::staging_xcm::v5::location::Location, + cost: runtime_types::staging_xcm::v5::asset::Assets, message_id: [::core::primitive::u8; 32usize], }, - #[codec(index = 21)] + #[codec(index = 23)] FeesPaid { - paying: runtime_types::staging_xcm::v4::location::Location, - fees: runtime_types::staging_xcm::v4::asset::Assets, + paying: runtime_types::staging_xcm::v5::location::Location, + fees: runtime_types::staging_xcm::v5::asset::Assets, }, - #[codec(index = 22)] + #[codec(index = 24)] AssetsClaimed { hash: ::subxt::ext::subxt_core::utils::H256, - origin: runtime_types::staging_xcm::v4::location::Location, + origin: runtime_types::staging_xcm::v5::location::Location, assets: runtime_types::xcm::VersionedAssets, }, - #[codec(index = 23)] + #[codec(index = 25)] VersionMigrationFinished { version: ::core::primitive::u32 }, + #[codec(index = 26)] + AliasAuthorized { + aliaser: runtime_types::staging_xcm::v5::location::Location, + target: runtime_types::staging_xcm::v5::location::Location, + expiry: ::core::option::Option<::core::primitive::u64>, + }, + #[codec(index = 27)] + AliasAuthorizationRemoved { + aliaser: runtime_types::staging_xcm::v5::location::Location, + target: runtime_types::staging_xcm::v5::location::Location, + }, + #[codec(index = 28)] + AliasesAuthorizationsRemoved { + target: runtime_types::staging_xcm::v5::location::Location, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum HoldReason { + #[codec(index = 0)] + AuthorizeAlias, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct MaxAuthorizedAliases; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Origin { #[codec(index = 0)] - Xcm(runtime_types::staging_xcm::v4::location::Location), + Xcm(runtime_types::staging_xcm::v5::location::Location), #[codec(index = 1)] - Response(runtime_types::staging_xcm::v4::location::Location), + Response(runtime_types::staging_xcm::v5::location::Location), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum QueryStatus<_0> { @@ -2720,6 +2955,15 @@ pub mod api { MigrateAndNotifyOldTargets, } } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct AuthorizedAliasesEntry<_0, _1> { + pub aliasers: runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::xcm_runtime_apis::authorized_aliases::OriginAliaser, + >, + pub ticket: _0, + #[codec(skip)] + pub __ignore: ::core::marker::PhantomData<_1>, + } } pub mod pallet_xcm_bridge_hub { use super::runtime_types; @@ -2779,16 +3023,16 @@ pub mod api { UnsupportedXcmVersion, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum Event1 { + pub enum Event { #[codec(index = 0)] BridgeOpened { bridge_id: runtime_types::bp_xcm_bridge_hub::BridgeId, bridge_deposit: ::core::primitive::u128, local_endpoint: ::subxt::ext::subxt_core::alloc::boxed::Box< - runtime_types::staging_xcm::v4::junctions::Junctions, + runtime_types::staging_xcm::v5::junctions::Junctions, >, remote_endpoint: ::subxt::ext::subxt_core::alloc::boxed::Box< - runtime_types::staging_xcm::v4::junctions::Junctions, + runtime_types::staging_xcm::v5::junctions::Junctions, >, lane_id: ::bp_messages::LegacyLaneId, }, @@ -2808,35 +3052,6 @@ pub mod api { }, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum Event2 { - #[codec(index = 0)] - BridgeOpened { - bridge_id: runtime_types::bp_xcm_bridge_hub::BridgeId, - bridge_deposit: ::core::primitive::u128, - local_endpoint: ::subxt::ext::subxt_core::alloc::boxed::Box< - runtime_types::staging_xcm::v4::junctions::Junctions, - >, - remote_endpoint: ::subxt::ext::subxt_core::alloc::boxed::Box< - runtime_types::staging_xcm::v4::junctions::Junctions, - >, - lane_id: runtime_types::bp_messages::lane::HashedLaneId, - }, - #[codec(index = 1)] - ClosingBridge { - bridge_id: runtime_types::bp_xcm_bridge_hub::BridgeId, - lane_id: runtime_types::bp_messages::lane::HashedLaneId, - pruned_messages: ::core::primitive::u64, - enqueued_messages: ::core::primitive::u64, - }, - #[codec(index = 2)] - BridgePruned { - bridge_id: runtime_types::bp_xcm_bridge_hub::BridgeId, - lane_id: runtime_types::bp_messages::lane::HashedLaneId, - bridge_deposit: ::core::primitive::u128, - pruned_messages: ::core::primitive::u64, - }, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum HoldReason { #[codec(index = 0)] BridgeDeposit, @@ -2878,15 +3093,11 @@ pub mod api { PartialEq, )] pub struct Id(pub ::core::primitive::u32); - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct ValidationCode( - pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - ); } } pub mod polkadot_primitives { use super::runtime_types; - pub mod v8 { + pub mod v9 { use super::runtime_types; pub mod async_backing { use super::runtime_types; @@ -2908,7 +3119,7 @@ pub mod api { pub validation_upgrade_cooldown: ::core::primitive::u32, pub validation_upgrade_delay: ::core::primitive::u32, pub async_backing_params: - runtime_types::polkadot_primitives::v8::async_backing::AsyncBackingParams, + runtime_types::polkadot_primitives::v9::async_backing::AsyncBackingParams, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AbridgedHrmpChannel { @@ -3083,6 +3294,7 @@ pub mod api { pub bellatrix: runtime_types::snowbridge_beacon_primitives::types::Fork, pub capella: runtime_types::snowbridge_beacon_primitives::types::Fork, pub deneb: runtime_types::snowbridge_beacon_primitives::types::Fork, + pub electra: runtime_types::snowbridge_beacon_primitives::types::Fork, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PublicKey(pub [::core::primitive::u8; 48usize]); @@ -3166,229 +3378,109 @@ pub mod api { } pub mod snowbridge_core { use super::runtime_types; - pub mod inbound { + pub mod operating_mode { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct Log { - pub address: ::subxt::ext::subxt_core::utils::H160, - pub topics: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::H256, - >, - pub data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + pub enum BasicOperatingMode { + #[codec(index = 0)] + Normal, + #[codec(index = 1)] + Halted, } + } + pub mod pricing { + use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct Message { - pub event_log: runtime_types::snowbridge_core::inbound::Log, - pub proof: runtime_types::snowbridge_core::inbound::Proof, + pub struct PricingParameters<_0> { + pub exchange_rate: runtime_types::sp_arithmetic::fixed_point::FixedU128, + pub rewards: runtime_types::snowbridge_core::pricing::Rewards<_0>, + pub fee_per_gas: runtime_types::primitive_types::U256, + pub multiplier: runtime_types::sp_arithmetic::fixed_point::FixedU128, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct Proof { - pub receipt_proof: ( - ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - >, - ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - >, - ), - pub execution_proof: - runtime_types::snowbridge_beacon_primitives::types::ExecutionProof, + pub struct Rewards<_0> { + pub local: _0, + pub remote: runtime_types::primitive_types::U256, } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct AssetMetadata { + pub name: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + pub symbol: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + pub decimals: ::core::primitive::u8, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Channel { + pub agent_id: ::subxt::ext::subxt_core::utils::H256, + pub para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ChannelId(pub [::core::primitive::u8; 32usize]); + } + pub mod snowbridge_inbound_queue_primitives { + use super::runtime_types; + pub mod v1 { + use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum VerificationError { + pub enum ConvertMessageError { #[codec(index = 0)] - HeaderNotFound, + UnsupportedVersion, #[codec(index = 1)] - LogNotFound, + InvalidDestination, #[codec(index = 2)] - InvalidLog, + InvalidToken, #[codec(index = 3)] - InvalidProof, + UnsupportedFeeAsset, #[codec(index = 4)] - InvalidExecutionProof, + CannotReanchor, } } - pub mod operating_mode { + } + pub mod snowbridge_milagro_bls { + use super::runtime_types; + pub mod keys { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum BasicOperatingMode { - #[codec(index = 0)] - Normal, - #[codec(index = 1)] - Halted, + pub struct PublicKey { + pub point: runtime_types::snowbridge_amcl::bls381::ecp::ECP, } } - pub mod outbound { + } + pub mod snowbridge_outbound_queue_primitives { + use super::runtime_types; + pub mod v1 { use super::runtime_types; - pub mod v1 { + pub mod message { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum AgentExecuteCommand { - #[codec(index = 0)] - TransferToken { - token: ::subxt::ext::subxt_core::utils::H160, - recipient: ::subxt::ext::subxt_core::utils::H160, - amount: ::core::primitive::u128, - }, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum Command { - #[codec(index = 0)] - AgentExecute { - agent_id: ::subxt::ext::subxt_core::utils::H256, - command: - runtime_types::snowbridge_core::outbound::v1::AgentExecuteCommand, - }, - #[codec(index = 1)] - Upgrade { - impl_address: ::subxt::ext::subxt_core::utils::H160, - impl_code_hash: ::subxt::ext::subxt_core::utils::H256, - initializer: ::core::option::Option< - runtime_types::snowbridge_core::outbound::v1::Initializer, - >, - }, - #[codec(index = 2)] - CreateAgent { agent_id: ::subxt::ext::subxt_core::utils::H256 }, - #[codec(index = 3)] - CreateChannel { - channel_id: runtime_types::snowbridge_core::ChannelId, - agent_id: ::subxt::ext::subxt_core::utils::H256, - mode: runtime_types::snowbridge_core::outbound::v1::OperatingMode, - }, - #[codec(index = 4)] - UpdateChannel { - channel_id: runtime_types::snowbridge_core::ChannelId, - mode: runtime_types::snowbridge_core::outbound::v1::OperatingMode, - }, - #[codec(index = 5)] - SetOperatingMode { - mode: runtime_types::snowbridge_core::outbound::v1::OperatingMode, - }, - #[codec(index = 6)] - TransferNativeFromAgent { - agent_id: ::subxt::ext::subxt_core::utils::H256, - recipient: ::subxt::ext::subxt_core::utils::H160, - amount: ::core::primitive::u128, - }, - #[codec(index = 7)] - SetTokenTransferFees { - create_asset_xcm: ::core::primitive::u128, - transfer_asset_xcm: ::core::primitive::u128, - register_token: runtime_types::primitive_types::U256, - }, - #[codec(index = 8)] - SetPricingParameters { - exchange_rate: runtime_types::snowbridge_core::pricing::UD60x18, - delivery_cost: ::core::primitive::u128, - multiplier: runtime_types::snowbridge_core::pricing::UD60x18, - }, - #[codec(index = 9)] - TransferNativeToken { - agent_id: ::subxt::ext::subxt_core::utils::H256, - token: ::subxt::ext::subxt_core::utils::H160, - recipient: ::subxt::ext::subxt_core::utils::H160, - amount: ::core::primitive::u128, - }, - #[codec(index = 10)] - RegisterForeignToken { - token_id: ::subxt::ext::subxt_core::utils::H256, - name: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - symbol: - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - decimals: ::core::primitive::u8, - }, - #[codec(index = 11)] - MintForeignToken { - token_id: ::subxt::ext::subxt_core::utils::H256, - recipient: ::subxt::ext::subxt_core::utils::H160, - amount: ::core::primitive::u128, - }, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Initializer { pub params: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, pub maximum_required_gas: ::core::primitive::u64, } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum OperatingMode { - #[codec(index = 0)] - Normal, - #[codec(index = 1)] - RejectingOutboundMessages, - } - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct Fee<_0> { - pub local: _0, - pub remote: _0, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum SendError { - #[codec(index = 0)] - MessageTooLarge, - #[codec(index = 1)] - Halted, - #[codec(index = 2)] - InvalidChannel, - } - } - pub mod pricing { - use super::runtime_types; - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct PricingParameters<_0> { - pub exchange_rate: runtime_types::sp_arithmetic::fixed_point::FixedU128, - pub rewards: runtime_types::snowbridge_core::pricing::Rewards<_0>, - pub fee_per_gas: runtime_types::primitive_types::U256, - pub multiplier: runtime_types::sp_arithmetic::fixed_point::FixedU128, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct Rewards<_0> { - pub local: _0, - pub remote: runtime_types::primitive_types::U256, } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct UD60x18(pub runtime_types::primitive_types::U256); - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct AssetMetadata { - pub name: runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u8, - >, - pub symbol: runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u8, - >, - pub decimals: ::core::primitive::u8, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct Channel { - pub agent_id: ::subxt::ext::subxt_core::utils::H256, - pub para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct ChannelId(pub [::core::primitive::u8; 32usize]); - } - pub mod snowbridge_milagro_bls { - use super::runtime_types; - pub mod keys { - use super::runtime_types; - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct PublicKey { - pub point: runtime_types::snowbridge_amcl::bls381::ecp::ECP, - } + pub enum OperatingMode { + #[codec(index = 0)] + Normal, + #[codec(index = 1)] + RejectingOutboundMessages, } - } - pub mod snowbridge_outbound_queue_merkle_tree { - use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct MerkleProof { - pub root: ::subxt::ext::subxt_core::utils::H256, - pub proof: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::H256, - >, - pub number_of_leaves: ::core::primitive::u64, - pub leaf_index: ::core::primitive::u64, - pub leaf: ::subxt::ext::subxt_core::utils::H256, + pub enum SendError { + #[codec(index = 0)] + MessageTooLarge, + #[codec(index = 1)] + Halted, + #[codec(index = 2)] + InvalidChannel, + #[codec(index = 3)] + InvalidOrigin, } } pub mod snowbridge_pallet_ethereum_client { @@ -3492,7 +3584,7 @@ pub mod api { #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - submit { message: runtime_types::snowbridge_core::inbound::Message }, + submit { event: runtime_types::snowbridge_verification_primitives::EventProof }, #[codec(index = 1)] set_operating_mode { mode: runtime_types::snowbridge_core::operating_mode::BasicOperatingMode, @@ -3517,12 +3609,14 @@ pub mod api { #[codec(index = 7)] Halted, #[codec(index = 8)] - Verification(runtime_types::snowbridge_core::inbound::VerificationError), + Verification( + runtime_types::snowbridge_verification_primitives::VerificationError, + ), #[codec(index = 9)] Send(runtime_types::snowbridge_pallet_inbound_queue::pallet::SendError), #[codec(index = 10)] ConvertMessage( - runtime_types::snowbridge_router_primitives::inbound::ConvertMessageError, + runtime_types::snowbridge_inbound_queue_primitives::v1::ConvertMessageError, ), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] @@ -3624,65 +3718,37 @@ pub mod api { #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - upgrade { - impl_address: ::subxt::ext::subxt_core::utils::H160, - impl_code_hash: ::subxt::ext::subxt_core::utils::H256, - initializer: ::core::option::Option< - runtime_types::snowbridge_core::outbound::v1::Initializer, - >, - }, - #[codec(index = 1)] - set_operating_mode { - mode: runtime_types::snowbridge_core::outbound::v1::OperatingMode, - }, - #[codec(index = 2)] - set_pricing_parameters { - params: runtime_types::snowbridge_core::pricing::PricingParameters< - ::core::primitive::u128, - >, - }, - #[codec(index = 3)] - create_agent, - #[codec(index = 4)] - create_channel { - mode: runtime_types::snowbridge_core::outbound::v1::OperatingMode, - }, - #[codec(index = 5)] - update_channel { - mode: runtime_types::snowbridge_core::outbound::v1::OperatingMode, - }, - #[codec(index = 6)] - force_update_channel { - channel_id: runtime_types::snowbridge_core::ChannelId, - mode: runtime_types::snowbridge_core::outbound::v1::OperatingMode, - }, - #[codec(index = 7)] - transfer_native_from_agent { - recipient: ::subxt::ext::subxt_core::utils::H160, - amount: ::core::primitive::u128, - }, - #[codec(index = 8)] - force_transfer_native_from_agent { - location: ::subxt::ext::subxt_core::alloc::boxed::Box< - runtime_types::xcm::VersionedLocation, - >, - recipient: ::subxt::ext::subxt_core::utils::H160, - amount: ::core::primitive::u128, - }, - #[codec(index = 9)] - set_token_transfer_fees { - create_asset_xcm: ::core::primitive::u128, - transfer_asset_xcm: ::core::primitive::u128, - register_token: runtime_types::primitive_types::U256, - }, - #[codec(index = 10)] - register_token { - location: ::subxt::ext::subxt_core::alloc::boxed::Box< - runtime_types::xcm::VersionedLocation, - >, - metadata: runtime_types::snowbridge_core::AssetMetadata, - }, - } + upgrade { + impl_address: ::subxt::ext::subxt_core::utils::H160, + impl_code_hash: ::subxt::ext::subxt_core::utils::H256, + initializer: ::core::option::Option< + runtime_types::snowbridge_outbound_queue_primitives::v1::message::Initializer, + >, + }, + #[codec(index = 1)] + set_operating_mode { + mode: runtime_types::snowbridge_outbound_queue_primitives::OperatingMode, + }, + #[codec(index = 2)] + set_pricing_parameters { + params: runtime_types::snowbridge_core::pricing::PricingParameters< + ::core::primitive::u128, + >, + }, + #[codec(index = 9)] + set_token_transfer_fees { + create_asset_xcm: ::core::primitive::u128, + transfer_asset_xcm: ::core::primitive::u128, + register_token: runtime_types::primitive_types::U256, + }, + #[codec(index = 10)] + register_token { + location: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + metadata: runtime_types::snowbridge_core::AssetMetadata, + }, + } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] @@ -3700,7 +3766,7 @@ pub mod api { #[codec(index = 6)] InvalidLocation, #[codec(index = 7)] - Send(runtime_types::snowbridge_core::outbound::SendError), + Send(runtime_types::snowbridge_outbound_queue_primitives::SendError), #[codec(index = 8)] InvalidTokenTransferFees, #[codec(index = 9)] @@ -3720,7 +3786,7 @@ pub mod api { #[codec(index = 1)] CreateAgent { location: ::subxt::ext::subxt_core::alloc::boxed::Box< - runtime_types::staging_xcm::v4::location::Location, + runtime_types::staging_xcm::v5::location::Location, >, agent_id: ::subxt::ext::subxt_core::utils::H256, }, @@ -3732,11 +3798,11 @@ pub mod api { #[codec(index = 3)] UpdateChannel { channel_id: runtime_types::snowbridge_core::ChannelId, - mode: runtime_types::snowbridge_core::outbound::v1::OperatingMode, + mode: runtime_types::snowbridge_outbound_queue_primitives::OperatingMode, }, #[codec(index = 4)] SetOperatingMode { - mode: runtime_types::snowbridge_core::outbound::v1::OperatingMode, + mode: runtime_types::snowbridge_outbound_queue_primitives::OperatingMode, }, #[codec(index = 5)] TransferNativeFromAgent { @@ -3764,23 +3830,46 @@ pub mod api { } } } - pub mod snowbridge_router_primitives { + pub mod snowbridge_verification_primitives { use super::runtime_types; - pub mod inbound { - use super::runtime_types; - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum ConvertMessageError { - #[codec(index = 0)] - UnsupportedVersion, - #[codec(index = 1)] - InvalidDestination, - #[codec(index = 2)] - InvalidToken, - #[codec(index = 3)] - UnsupportedFeeAsset, - #[codec(index = 4)] - CannotReanchor, - } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct EventProof { + pub event_log: runtime_types::snowbridge_verification_primitives::Log, + pub proof: runtime_types::snowbridge_verification_primitives::Proof, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Log { + pub address: ::subxt::ext::subxt_core::utils::H160, + pub topics: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, + pub data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Proof { + pub receipt_proof: ( + ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, + ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, + ), + pub execution_proof: + runtime_types::snowbridge_beacon_primitives::types::ExecutionProof, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum VerificationError { + #[codec(index = 0)] + HeaderNotFound, + #[codec(index = 1)] + LogNotFound, + #[codec(index = 2)] + InvalidLog, + #[codec(index = 3)] + InvalidProof, + #[codec(index = 4)] + InvalidExecutionProof, } } pub mod sp_arithmetic { @@ -3797,6 +3886,18 @@ pub mod api { )] pub struct FixedU128(pub ::core::primitive::u128); } + pub mod per_things { + use super::runtime_types; + #[derive( + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, + Clone, + Debug, + PartialEq, + )] + pub struct Perbill(pub ::core::primitive::u32); + } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ArithmeticError { #[codec(index = 0)] @@ -3839,15 +3940,6 @@ pub mod api { PartialEq, )] pub struct Slot(pub ::core::primitive::u64); - #[derive( - ::codec::Decode, - ::codec::Encode, - ::subxt::ext::subxt_core::ext::codec::CompactAs, - Clone, - Debug, - PartialEq, - )] - pub struct SlotDuration(pub ::core::primitive::u64); } pub mod sp_core { use super::runtime_types; @@ -3856,41 +3948,11 @@ pub mod api { #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct KeyTypeId(pub [::core::primitive::u8; 4usize]); } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct OpaqueMetadata( - pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - ); - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum Void {} - } - pub mod sp_inherents { - use super::runtime_types; - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct CheckInherentsResult { - pub okay: ::core::primitive::bool, - pub fatal_error: ::core::primitive::bool, - pub errors: runtime_types::sp_inherents::InherentData, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct InherentData { - pub data: ::subxt::ext::subxt_core::utils::KeyedVec< - [::core::primitive::u8; 8usize], - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - >, - } } pub mod sp_runtime { use super::runtime_types; pub mod generic { use super::runtime_types; - pub mod block { - use super::runtime_types; - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct Block<_0, _1> { - pub header: _0, - pub extrinsics: ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, - } - } pub mod digest { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] @@ -3917,69 +3979,38 @@ pub mod api { } } } - pub mod transaction_validity { + pub mod proving_trie { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum InvalidTransaction { + pub enum TrieError { #[codec(index = 0)] - Call, + InvalidStateRoot, #[codec(index = 1)] - Payment, + IncompleteDatabase, #[codec(index = 2)] - Future, + ValueAtIncompleteKey, #[codec(index = 3)] - Stale, + DecoderError, #[codec(index = 4)] - BadProof, + InvalidHash, #[codec(index = 5)] - AncientBirthBlock, + DuplicateKey, #[codec(index = 6)] - ExhaustsResources, + ExtraneousNode, #[codec(index = 7)] - Custom(::core::primitive::u8), + ExtraneousValue, #[codec(index = 8)] - BadMandatory, + ExtraneousHashReference, #[codec(index = 9)] - MandatoryValidation, + InvalidChildReference, #[codec(index = 10)] - BadSigner, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum TransactionSource { - #[codec(index = 0)] - InBlock, - #[codec(index = 1)] - Local, - #[codec(index = 2)] - External, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum TransactionValidityError { - #[codec(index = 0)] - Invalid(runtime_types::sp_runtime::transaction_validity::InvalidTransaction), - #[codec(index = 1)] - Unknown(runtime_types::sp_runtime::transaction_validity::UnknownTransaction), - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum UnknownTransaction { - #[codec(index = 0)] - CannotLookup, - #[codec(index = 1)] - NoUnsignedValidator, - #[codec(index = 2)] - Custom(::core::primitive::u8), - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct ValidTransaction { - pub priority: ::core::primitive::u64, - pub requires: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - >, - pub provides: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - >, - pub longevity: ::core::primitive::u64, - pub propagate: ::core::primitive::bool, + ValueMismatch, + #[codec(index = 11)] + IncompleteProof, + #[codec(index = 12)] + RootMismatch, + #[codec(index = 13)] + DecodeError, } } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] @@ -4012,18 +4043,8 @@ pub mod api { Unavailable, #[codec(index = 13)] RootNotAllowed, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct DispatchErrorWithPostInfo<_0> { - pub post_info: _0, - pub error: runtime_types::sp_runtime::DispatchError, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum ExtrinsicInclusionMode { - #[codec(index = 0)] - AllExtrinsics, - #[codec(index = 1)] - OnlyInherents, + #[codec(index = 14)] + Trie(runtime_types::sp_runtime::proving_trie::TrieError), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ModuleError { @@ -4038,6 +4059,8 @@ pub mod api { Sr25519([::core::primitive::u8; 64usize]), #[codec(index = 2)] Ecdsa([::core::primitive::u8; 65usize]), + #[codec(index = 3)] + Eth([::core::primitive::u8; 65usize]), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum TokenError { @@ -4070,6 +4093,14 @@ pub mod api { NoLayer, } } + pub mod sp_staking { + use super::runtime_types; + pub mod offence { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct OffenceSeverity(pub runtime_types::sp_arithmetic::per_things::Perbill); + } + } pub mod sp_trie { use super::runtime_types; pub mod storage_proof { @@ -4096,7 +4127,7 @@ pub mod api { ::core::primitive::u32, )>, pub transaction_version: ::core::primitive::u32, - pub state_version: ::core::primitive::u8, + pub system_version: ::core::primitive::u8, } } pub mod sp_weights { @@ -4312,21 +4343,6 @@ pub mod api { pub interior: runtime_types::staging_xcm::v4::junctions::Junctions, } } - pub mod traits { - use super::runtime_types; - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum Outcome { - #[codec(index = 0)] - Complete { used: ::sp_weights::Weight }, - #[codec(index = 1)] - Incomplete { - used: ::sp_weights::Weight, - error: runtime_types::xcm::v3::traits::Error, - }, - #[codec(index = 2)] - Error { error: runtime_types::xcm::v3::traits::Error }, - } - } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Instruction { #[codec(index = 0)] @@ -4591,88 +4607,24 @@ pub mod api { >, ); } - } - pub mod staging_xcm_executor { - use super::runtime_types; - pub mod traits { + pub mod v5 { use super::runtime_types; - pub mod asset_transfer { + pub mod asset { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum TransferType { - #[codec(index = 0)] - Teleport, - #[codec(index = 1)] - LocalReserve, - #[codec(index = 2)] - DestinationReserve, - #[codec(index = 3)] - RemoteReserve(runtime_types::xcm::VersionedLocation), + pub struct Asset { + pub id: runtime_types::staging_xcm::v5::asset::AssetId, + pub fun: runtime_types::staging_xcm::v5::asset::Fungibility, } - } - } - } - pub mod xcm { - use super::runtime_types; - pub mod double_encoded { - use super::runtime_types; - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct DoubleEncoded { - pub encoded: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - } - } - pub mod v2 { - use super::runtime_types; - pub mod junction { - use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum Junction { + pub enum AssetFilter { #[codec(index = 0)] - Parachain(#[codec(compact)] ::core::primitive::u32), + Definite(runtime_types::staging_xcm::v5::asset::Assets), #[codec(index = 1)] - AccountId32 { - network: runtime_types::xcm::v2::NetworkId, - id: [::core::primitive::u8; 32usize], - }, - #[codec(index = 2)] - AccountIndex64 { - network: runtime_types::xcm::v2::NetworkId, - #[codec(compact)] - index: ::core::primitive::u64, - }, - #[codec(index = 3)] - AccountKey20 { - network: runtime_types::xcm::v2::NetworkId, - key: [::core::primitive::u8; 20usize], - }, - #[codec(index = 4)] - PalletInstance(::core::primitive::u8), - #[codec(index = 5)] - GeneralIndex(#[codec(compact)] ::core::primitive::u128), - #[codec(index = 6)] - GeneralKey( - runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec< - ::core::primitive::u8, - >, - ), - #[codec(index = 7)] - OnlyChild, - #[codec(index = 8)] - Plurality { - id: runtime_types::xcm::v2::BodyId, - part: runtime_types::xcm::v2::BodyPart, - }, + Wild(runtime_types::staging_xcm::v5::asset::WildAsset), } - } - pub mod multiasset { - use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum AssetId { - #[codec(index = 0)] - Concrete(runtime_types::xcm::v2::multilocation::MultiLocation), - #[codec(index = 1)] - Abstract(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), - } + pub struct AssetId(pub runtime_types::staging_xcm::v5::location::Location); #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetInstance { #[codec(index = 0)] @@ -4687,271 +4639,219 @@ pub mod api { Array16([::core::primitive::u8; 16usize]), #[codec(index = 5)] Array32([::core::primitive::u8; 32usize]), - #[codec(index = 6)] - Blob(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum Fungibility { + pub enum AssetTransferFilter { #[codec(index = 0)] - Fungible(#[codec(compact)] ::core::primitive::u128), + Teleport(runtime_types::staging_xcm::v5::asset::AssetFilter), #[codec(index = 1)] - NonFungible(runtime_types::xcm::v2::multiasset::AssetInstance), - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct MultiAsset { - pub id: runtime_types::xcm::v2::multiasset::AssetId, - pub fun: runtime_types::xcm::v2::multiasset::Fungibility, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum MultiAssetFilter { - #[codec(index = 0)] - Definite(runtime_types::xcm::v2::multiasset::MultiAssets), - #[codec(index = 1)] - Wild(runtime_types::xcm::v2::multiasset::WildMultiAsset), + ReserveDeposit(runtime_types::staging_xcm::v5::asset::AssetFilter), + #[codec(index = 2)] + ReserveWithdraw(runtime_types::staging_xcm::v5::asset::AssetFilter), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct MultiAssets( + pub struct Assets( pub ::subxt::ext::subxt_core::alloc::vec::Vec< - runtime_types::xcm::v2::multiasset::MultiAsset, + runtime_types::staging_xcm::v5::asset::Asset, >, ); #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum WildFungibility { + pub enum Fungibility { #[codec(index = 0)] - Fungible, + Fungible(#[codec(compact)] ::core::primitive::u128), #[codec(index = 1)] - NonFungible, + NonFungible(runtime_types::staging_xcm::v5::asset::AssetInstance), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum WildMultiAsset { + pub enum WildAsset { #[codec(index = 0)] All, #[codec(index = 1)] AllOf { - id: runtime_types::xcm::v2::multiasset::AssetId, - fun: runtime_types::xcm::v2::multiasset::WildFungibility, + id: runtime_types::staging_xcm::v5::asset::AssetId, + fun: runtime_types::staging_xcm::v5::asset::WildFungibility, + }, + #[codec(index = 2)] + AllCounted(#[codec(compact)] ::core::primitive::u32), + #[codec(index = 3)] + AllOfCounted { + id: runtime_types::staging_xcm::v5::asset::AssetId, + fun: runtime_types::staging_xcm::v5::asset::WildFungibility, + #[codec(compact)] + count: ::core::primitive::u32, }, } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum WildFungibility { + #[codec(index = 0)] + Fungible, + #[codec(index = 1)] + NonFungible, + } } - pub mod multilocation { + pub mod junction { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum Junctions { + pub enum Junction { #[codec(index = 0)] - Here, + Parachain(#[codec(compact)] ::core::primitive::u32), #[codec(index = 1)] - X1(runtime_types::xcm::v2::junction::Junction), + AccountId32 { + network: ::core::option::Option< + runtime_types::staging_xcm::v5::junction::NetworkId, + >, + id: [::core::primitive::u8; 32usize], + }, #[codec(index = 2)] - X2( - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - ), + AccountIndex64 { + network: ::core::option::Option< + runtime_types::staging_xcm::v5::junction::NetworkId, + >, + #[codec(compact)] + index: ::core::primitive::u64, + }, #[codec(index = 3)] - X3( - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - ), + AccountKey20 { + network: ::core::option::Option< + runtime_types::staging_xcm::v5::junction::NetworkId, + >, + key: [::core::primitive::u8; 20usize], + }, #[codec(index = 4)] - X4( - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - ), + PalletInstance(::core::primitive::u8), #[codec(index = 5)] - X5( - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - ), + GeneralIndex(#[codec(compact)] ::core::primitive::u128), #[codec(index = 6)] - X6( - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - ), + GeneralKey { + length: ::core::primitive::u8, + data: [::core::primitive::u8; 32usize], + }, #[codec(index = 7)] - X7( - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - ), + OnlyChild, #[codec(index = 8)] - X8( - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - ), + Plurality { + id: runtime_types::xcm::v3::junction::BodyId, + part: runtime_types::xcm::v3::junction::BodyPart, + }, + #[codec(index = 9)] + GlobalConsensus(runtime_types::staging_xcm::v5::junction::NetworkId), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct MultiLocation { - pub parents: ::core::primitive::u8, - pub interior: runtime_types::xcm::v2::multilocation::Junctions, + pub enum NetworkId { + #[codec(index = 0)] + ByGenesis([::core::primitive::u8; 32usize]), + #[codec(index = 1)] + ByFork { + block_number: ::core::primitive::u64, + block_hash: [::core::primitive::u8; 32usize], + }, + #[codec(index = 2)] + Polkadot, + #[codec(index = 3)] + Kusama, + #[codec(index = 7)] + Ethereum { + #[codec(compact)] + chain_id: ::core::primitive::u64, + }, + #[codec(index = 8)] + BitcoinCore, + #[codec(index = 9)] + BitcoinCash, + #[codec(index = 10)] + PolkadotBulletin, } } - pub mod traits { + pub mod junctions { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum Error { + pub enum Junctions { #[codec(index = 0)] - Overflow, + Here, #[codec(index = 1)] - Unimplemented, + X1([runtime_types::staging_xcm::v5::junction::Junction; 1usize]), #[codec(index = 2)] - UntrustedReserveLocation, + X2([runtime_types::staging_xcm::v5::junction::Junction; 2usize]), #[codec(index = 3)] - UntrustedTeleportLocation, + X3([runtime_types::staging_xcm::v5::junction::Junction; 3usize]), #[codec(index = 4)] - MultiLocationFull, + X4([runtime_types::staging_xcm::v5::junction::Junction; 4usize]), #[codec(index = 5)] - MultiLocationNotInvertible, + X5([runtime_types::staging_xcm::v5::junction::Junction; 5usize]), #[codec(index = 6)] - BadOrigin, + X6([runtime_types::staging_xcm::v5::junction::Junction; 6usize]), #[codec(index = 7)] - InvalidLocation, + X7([runtime_types::staging_xcm::v5::junction::Junction; 7usize]), #[codec(index = 8)] - AssetNotFound, - #[codec(index = 9)] - FailedToTransactAsset, - #[codec(index = 10)] - NotWithdrawable, - #[codec(index = 11)] - LocationCannotHold, - #[codec(index = 12)] - ExceedsMaxMessageSize, - #[codec(index = 13)] - DestinationUnsupported, - #[codec(index = 14)] - Transport, - #[codec(index = 15)] - Unroutable, - #[codec(index = 16)] - UnknownClaim, - #[codec(index = 17)] - FailedToDecode, - #[codec(index = 18)] - MaxWeightInvalid, - #[codec(index = 19)] - NotHoldingFees, - #[codec(index = 20)] - TooExpensive, - #[codec(index = 21)] - Trap(::core::primitive::u64), - #[codec(index = 22)] - UnhandledXcmVersion, - #[codec(index = 23)] - WeightLimitReached(::core::primitive::u64), - #[codec(index = 24)] - Barrier, - #[codec(index = 25)] - WeightNotComputable, + X8([runtime_types::staging_xcm::v5::junction::Junction; 8usize]), } } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum BodyId { - #[codec(index = 0)] - Unit, - #[codec(index = 1)] - Named( - runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec< - ::core::primitive::u8, - >, - ), - #[codec(index = 2)] - Index(#[codec(compact)] ::core::primitive::u32), - #[codec(index = 3)] - Executive, - #[codec(index = 4)] - Technical, - #[codec(index = 5)] - Legislative, - #[codec(index = 6)] - Judicial, - #[codec(index = 7)] - Defense, - #[codec(index = 8)] - Administration, - #[codec(index = 9)] - Treasury, + pub mod location { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Location { + pub parents: ::core::primitive::u8, + pub interior: runtime_types::staging_xcm::v5::junctions::Junctions, + } + } + pub mod traits { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct InstructionError { + pub index: ::core::primitive::u8, + pub error: runtime_types::xcm::v5::traits::Error, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Outcome { + #[codec(index = 0)] + Complete { used: ::sp_weights::Weight }, + #[codec(index = 1)] + Incomplete { + used: ::sp_weights::Weight, + error: runtime_types::staging_xcm::v5::traits::InstructionError, + }, + #[codec(index = 2)] + Error(runtime_types::staging_xcm::v5::traits::InstructionError), + } } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum BodyPart { + pub enum Hint { #[codec(index = 0)] - Voice, - #[codec(index = 1)] - Members { - #[codec(compact)] - count: ::core::primitive::u32, - }, - #[codec(index = 2)] - Fraction { - #[codec(compact)] - nom: ::core::primitive::u32, - #[codec(compact)] - denom: ::core::primitive::u32, - }, - #[codec(index = 3)] - AtLeastProportion { - #[codec(compact)] - nom: ::core::primitive::u32, - #[codec(compact)] - denom: ::core::primitive::u32, - }, - #[codec(index = 4)] - MoreThanProportion { - #[codec(compact)] - nom: ::core::primitive::u32, - #[codec(compact)] - denom: ::core::primitive::u32, - }, + AssetClaimer { location: runtime_types::staging_xcm::v5::location::Location }, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Instruction { #[codec(index = 0)] - WithdrawAsset(runtime_types::xcm::v2::multiasset::MultiAssets), + WithdrawAsset(runtime_types::staging_xcm::v5::asset::Assets), #[codec(index = 1)] - ReserveAssetDeposited(runtime_types::xcm::v2::multiasset::MultiAssets), + ReserveAssetDeposited(runtime_types::staging_xcm::v5::asset::Assets), #[codec(index = 2)] - ReceiveTeleportedAsset(runtime_types::xcm::v2::multiasset::MultiAssets), + ReceiveTeleportedAsset(runtime_types::staging_xcm::v5::asset::Assets), #[codec(index = 3)] QueryResponse { #[codec(compact)] query_id: ::core::primitive::u64, - response: runtime_types::xcm::v2::Response, - #[codec(compact)] - max_weight: ::core::primitive::u64, + response: runtime_types::staging_xcm::v5::Response, + max_weight: ::sp_weights::Weight, + querier: ::core::option::Option< + runtime_types::staging_xcm::v5::location::Location, + >, }, #[codec(index = 4)] TransferAsset { - assets: runtime_types::xcm::v2::multiasset::MultiAssets, - beneficiary: runtime_types::xcm::v2::multilocation::MultiLocation, + assets: runtime_types::staging_xcm::v5::asset::Assets, + beneficiary: runtime_types::staging_xcm::v5::location::Location, }, #[codec(index = 5)] TransferReserveAsset { - assets: runtime_types::xcm::v2::multiasset::MultiAssets, - dest: runtime_types::xcm::v2::multilocation::MultiLocation, - xcm: runtime_types::xcm::v2::Xcm, + assets: runtime_types::staging_xcm::v5::asset::Assets, + dest: runtime_types::staging_xcm::v5::location::Location, + xcm: runtime_types::staging_xcm::v5::Xcm, }, #[codec(index = 6)] Transact { - origin_type: runtime_types::xcm::v2::OriginKind, - #[codec(compact)] - require_weight_at_most: ::core::primitive::u64, + origin_kind: runtime_types::xcm::v3::OriginKind, + fallback_max_weight: ::core::option::Option<::sp_weights::Weight>, call: runtime_types::xcm::double_encoded::DoubleEncoded, }, #[codec(index = 7)] @@ -4980,142 +4880,266 @@ pub mod api { #[codec(index = 10)] ClearOrigin, #[codec(index = 11)] - DescendOrigin(runtime_types::xcm::v2::multilocation::Junctions), + DescendOrigin(runtime_types::staging_xcm::v5::junctions::Junctions), #[codec(index = 12)] - ReportError { - #[codec(compact)] - query_id: ::core::primitive::u64, - dest: runtime_types::xcm::v2::multilocation::MultiLocation, - #[codec(compact)] - max_response_weight: ::core::primitive::u64, - }, + ReportError(runtime_types::staging_xcm::v5::QueryResponseInfo), #[codec(index = 13)] DepositAsset { - assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, - #[codec(compact)] - max_assets: ::core::primitive::u32, - beneficiary: runtime_types::xcm::v2::multilocation::MultiLocation, + assets: runtime_types::staging_xcm::v5::asset::AssetFilter, + beneficiary: runtime_types::staging_xcm::v5::location::Location, }, #[codec(index = 14)] DepositReserveAsset { - assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, - #[codec(compact)] - max_assets: ::core::primitive::u32, - dest: runtime_types::xcm::v2::multilocation::MultiLocation, - xcm: runtime_types::xcm::v2::Xcm, + assets: runtime_types::staging_xcm::v5::asset::AssetFilter, + dest: runtime_types::staging_xcm::v5::location::Location, + xcm: runtime_types::staging_xcm::v5::Xcm, }, #[codec(index = 15)] ExchangeAsset { - give: runtime_types::xcm::v2::multiasset::MultiAssetFilter, - receive: runtime_types::xcm::v2::multiasset::MultiAssets, + give: runtime_types::staging_xcm::v5::asset::AssetFilter, + want: runtime_types::staging_xcm::v5::asset::Assets, + maximal: ::core::primitive::bool, }, #[codec(index = 16)] InitiateReserveWithdraw { - assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, - reserve: runtime_types::xcm::v2::multilocation::MultiLocation, - xcm: runtime_types::xcm::v2::Xcm, + assets: runtime_types::staging_xcm::v5::asset::AssetFilter, + reserve: runtime_types::staging_xcm::v5::location::Location, + xcm: runtime_types::staging_xcm::v5::Xcm, }, #[codec(index = 17)] InitiateTeleport { - assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, - dest: runtime_types::xcm::v2::multilocation::MultiLocation, - xcm: runtime_types::xcm::v2::Xcm, + assets: runtime_types::staging_xcm::v5::asset::AssetFilter, + dest: runtime_types::staging_xcm::v5::location::Location, + xcm: runtime_types::staging_xcm::v5::Xcm, }, #[codec(index = 18)] - QueryHolding { + ReportHolding { + response_info: runtime_types::staging_xcm::v5::QueryResponseInfo, + assets: runtime_types::staging_xcm::v5::asset::AssetFilter, + }, + #[codec(index = 19)] + BuyExecution { + fees: runtime_types::staging_xcm::v5::asset::Asset, + weight_limit: runtime_types::xcm::v3::WeightLimit, + }, + #[codec(index = 20)] + RefundSurplus, + #[codec(index = 21)] + SetErrorHandler(runtime_types::staging_xcm::v5::Xcm), + #[codec(index = 22)] + SetAppendix(runtime_types::staging_xcm::v5::Xcm), + #[codec(index = 23)] + ClearError, + #[codec(index = 24)] + ClaimAsset { + assets: runtime_types::staging_xcm::v5::asset::Assets, + ticket: runtime_types::staging_xcm::v5::location::Location, + }, + #[codec(index = 25)] + Trap(#[codec(compact)] ::core::primitive::u64), + #[codec(index = 26)] + SubscribeVersion { #[codec(compact)] query_id: ::core::primitive::u64, - dest: runtime_types::xcm::v2::multilocation::MultiLocation, - assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, + max_response_weight: ::sp_weights::Weight, + }, + #[codec(index = 27)] + UnsubscribeVersion, + #[codec(index = 28)] + BurnAsset(runtime_types::staging_xcm::v5::asset::Assets), + #[codec(index = 29)] + ExpectAsset(runtime_types::staging_xcm::v5::asset::Assets), + #[codec(index = 30)] + ExpectOrigin( + ::core::option::Option, + ), + #[codec(index = 31)] + ExpectError( + ::core::option::Option<( + ::core::primitive::u32, + runtime_types::xcm::v5::traits::Error, + )>, + ), + #[codec(index = 32)] + ExpectTransactStatus(runtime_types::xcm::v3::MaybeErrorCode), + #[codec(index = 33)] + QueryPallet { + module_name: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + response_info: runtime_types::staging_xcm::v5::QueryResponseInfo, + }, + #[codec(index = 34)] + ExpectPallet { + #[codec(compact)] + index: ::core::primitive::u32, + name: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + module_name: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, #[codec(compact)] - max_response_weight: ::core::primitive::u64, + crate_major: ::core::primitive::u32, + #[codec(compact)] + min_crate_minor: ::core::primitive::u32, + }, + #[codec(index = 35)] + ReportTransactStatus(runtime_types::staging_xcm::v5::QueryResponseInfo), + #[codec(index = 36)] + ClearTransactStatus, + #[codec(index = 37)] + UniversalOrigin(runtime_types::staging_xcm::v5::junction::Junction), + #[codec(index = 38)] + ExportMessage { + network: runtime_types::staging_xcm::v5::junction::NetworkId, + destination: runtime_types::staging_xcm::v5::junctions::Junctions, + xcm: runtime_types::staging_xcm::v5::Xcm, + }, + #[codec(index = 39)] + LockAsset { + asset: runtime_types::staging_xcm::v5::asset::Asset, + unlocker: runtime_types::staging_xcm::v5::location::Location, + }, + #[codec(index = 40)] + UnlockAsset { + asset: runtime_types::staging_xcm::v5::asset::Asset, + target: runtime_types::staging_xcm::v5::location::Location, + }, + #[codec(index = 41)] + NoteUnlockable { + asset: runtime_types::staging_xcm::v5::asset::Asset, + owner: runtime_types::staging_xcm::v5::location::Location, + }, + #[codec(index = 42)] + RequestUnlock { + asset: runtime_types::staging_xcm::v5::asset::Asset, + locker: runtime_types::staging_xcm::v5::location::Location, + }, + #[codec(index = 43)] + SetFeesMode { jit_withdraw: ::core::primitive::bool }, + #[codec(index = 44)] + SetTopic([::core::primitive::u8; 32usize]), + #[codec(index = 45)] + ClearTopic, + #[codec(index = 46)] + AliasOrigin(runtime_types::staging_xcm::v5::location::Location), + #[codec(index = 47)] + UnpaidExecution { + weight_limit: runtime_types::xcm::v3::WeightLimit, + check_origin: ::core::option::Option< + runtime_types::staging_xcm::v5::location::Location, + >, }, - #[codec(index = 19)] - BuyExecution { - fees: runtime_types::xcm::v2::multiasset::MultiAsset, - weight_limit: runtime_types::xcm::v2::WeightLimit, + #[codec(index = 48)] + PayFees { asset: runtime_types::staging_xcm::v5::asset::Asset }, + #[codec(index = 49)] + InitiateTransfer { + destination: runtime_types::staging_xcm::v5::location::Location, + remote_fees: ::core::option::Option< + runtime_types::staging_xcm::v5::asset::AssetTransferFilter, + >, + preserve_origin: ::core::primitive::bool, + assets: runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::staging_xcm::v5::asset::AssetTransferFilter, + >, + remote_xcm: runtime_types::staging_xcm::v5::Xcm, }, - #[codec(index = 20)] - RefundSurplus, - #[codec(index = 21)] - SetErrorHandler(runtime_types::xcm::v2::Xcm), - #[codec(index = 22)] - SetAppendix(runtime_types::xcm::v2::Xcm), - #[codec(index = 23)] - ClearError, - #[codec(index = 24)] - ClaimAsset { - assets: runtime_types::xcm::v2::multiasset::MultiAssets, - ticket: runtime_types::xcm::v2::multilocation::MultiLocation, + #[codec(index = 50)] + ExecuteWithOrigin { + descendant_origin: ::core::option::Option< + runtime_types::staging_xcm::v5::junctions::Junctions, + >, + xcm: runtime_types::staging_xcm::v5::Xcm, }, - #[codec(index = 25)] - Trap(#[codec(compact)] ::core::primitive::u64), - #[codec(index = 26)] - SubscribeVersion { - #[codec(compact)] - query_id: ::core::primitive::u64, - #[codec(compact)] - max_response_weight: ::core::primitive::u64, + #[codec(index = 51)] + SetHints { + hints: runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::staging_xcm::v5::Hint, + >, }, - #[codec(index = 27)] - UnsubscribeVersion, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum NetworkId { - #[codec(index = 0)] - Any, - #[codec(index = 1)] - Named( - runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec< - ::core::primitive::u8, - >, - ), - #[codec(index = 2)] - Polkadot, - #[codec(index = 3)] - Kusama, + pub struct PalletInfo { + #[codec(compact)] + pub index: ::core::primitive::u32, + pub name: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + pub module_name: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + #[codec(compact)] + pub major: ::core::primitive::u32, + #[codec(compact)] + pub minor: ::core::primitive::u32, + #[codec(compact)] + pub patch: ::core::primitive::u32, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum OriginKind { - #[codec(index = 0)] - Native, - #[codec(index = 1)] - SovereignAccount, - #[codec(index = 2)] - Superuser, - #[codec(index = 3)] - Xcm, + pub struct QueryResponseInfo { + pub destination: runtime_types::staging_xcm::v5::location::Location, + #[codec(compact)] + pub query_id: ::core::primitive::u64, + pub max_weight: ::sp_weights::Weight, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Response { #[codec(index = 0)] Null, #[codec(index = 1)] - Assets(runtime_types::xcm::v2::multiasset::MultiAssets), + Assets(runtime_types::staging_xcm::v5::asset::Assets), #[codec(index = 2)] ExecutionResult( ::core::option::Option<( ::core::primitive::u32, - runtime_types::xcm::v2::traits::Error, + runtime_types::xcm::v5::traits::Error, )>, ), #[codec(index = 3)] Version(::core::primitive::u32), - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum WeightLimit { - #[codec(index = 0)] - Unlimited, - #[codec(index = 1)] - Limited(#[codec(compact)] ::core::primitive::u64), + #[codec(index = 4)] + PalletsInfo( + runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::staging_xcm::v5::PalletInfo, + >, + ), + #[codec(index = 5)] + DispatchResult(runtime_types::xcm::v3::MaybeErrorCode), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Xcm( pub ::subxt::ext::subxt_core::alloc::vec::Vec< - runtime_types::xcm::v2::Instruction, + runtime_types::staging_xcm::v5::Instruction, >, ); } + } + pub mod staging_xcm_executor { + use super::runtime_types; + pub mod traits { + use super::runtime_types; + pub mod asset_transfer { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum TransferType { + #[codec(index = 0)] + Teleport, + #[codec(index = 1)] + LocalReserve, + #[codec(index = 2)] + DestinationReserve, + #[codec(index = 3)] + RemoteReserve(runtime_types::xcm::VersionedLocation), + } + } + } + } + pub mod xcm { + use super::runtime_types; + pub mod double_encoded { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct DoubleEncoded { + pub encoded: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + } + } pub mod v3 { use super::runtime_types; pub mod junction { @@ -5475,6 +5499,23 @@ pub mod api { #[codec(index = 39)] ExceedsStackLimit, } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum SendError { + #[codec(index = 0)] + NotApplicable, + #[codec(index = 1)] + Transport, + #[codec(index = 2)] + Unroutable, + #[codec(index = 3)] + DestinationUnsupported, + #[codec(index = 4)] + ExceedsMaxMessageSize, + #[codec(index = 5)] + MissingArgument, + #[codec(index = 6)] + Fees, + } } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Instruction { @@ -5777,121 +5818,160 @@ pub mod api { >, ); } + pub mod v5 { + use super::runtime_types; + pub mod traits { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Error { + #[codec(index = 0)] + Overflow, + #[codec(index = 1)] + Unimplemented, + #[codec(index = 2)] + UntrustedReserveLocation, + #[codec(index = 3)] + UntrustedTeleportLocation, + #[codec(index = 4)] + LocationFull, + #[codec(index = 5)] + LocationNotInvertible, + #[codec(index = 6)] + BadOrigin, + #[codec(index = 7)] + InvalidLocation, + #[codec(index = 8)] + AssetNotFound, + #[codec(index = 9)] + FailedToTransactAsset, + #[codec(index = 10)] + NotWithdrawable, + #[codec(index = 11)] + LocationCannotHold, + #[codec(index = 12)] + ExceedsMaxMessageSize, + #[codec(index = 13)] + DestinationUnsupported, + #[codec(index = 14)] + Transport, + #[codec(index = 15)] + Unroutable, + #[codec(index = 16)] + UnknownClaim, + #[codec(index = 17)] + FailedToDecode, + #[codec(index = 18)] + MaxWeightInvalid, + #[codec(index = 19)] + NotHoldingFees, + #[codec(index = 20)] + TooExpensive, + #[codec(index = 21)] + Trap(::core::primitive::u64), + #[codec(index = 22)] + ExpectationFalse, + #[codec(index = 23)] + PalletNotFound, + #[codec(index = 24)] + NameMismatch, + #[codec(index = 25)] + VersionIncompatible, + #[codec(index = 26)] + HoldingWouldOverflow, + #[codec(index = 27)] + ExportError, + #[codec(index = 28)] + ReanchorFailed, + #[codec(index = 29)] + NoDeal, + #[codec(index = 30)] + FeesNotMet, + #[codec(index = 31)] + LockError, + #[codec(index = 32)] + NoPermission, + #[codec(index = 33)] + Unanchored, + #[codec(index = 34)] + NotDepositable, + #[codec(index = 35)] + TooManyAssets, + #[codec(index = 36)] + UnhandledXcmVersion, + #[codec(index = 37)] + WeightLimitReached(::sp_weights::Weight), + #[codec(index = 38)] + Barrier, + #[codec(index = 39)] + WeightNotComputable, + #[codec(index = 40)] + ExceedsStackLimit, + } + } + } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedAssetId { #[codec(index = 3)] V3(runtime_types::xcm::v3::multiasset::AssetId), #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::asset::AssetId), + #[codec(index = 5)] + V5(runtime_types::staging_xcm::v5::asset::AssetId), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedAssets { - #[codec(index = 1)] - V2(runtime_types::xcm::v2::multiasset::MultiAssets), #[codec(index = 3)] V3(runtime_types::xcm::v3::multiasset::MultiAssets), #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::asset::Assets), + #[codec(index = 5)] + V5(runtime_types::staging_xcm::v5::asset::Assets), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedInteriorLocation { - #[codec(index = 2)] - V2(runtime_types::xcm::v2::multilocation::Junctions), #[codec(index = 3)] V3(runtime_types::xcm::v3::junctions::Junctions), #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::junctions::Junctions), + #[codec(index = 5)] + V5(runtime_types::staging_xcm::v5::junctions::Junctions), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedLocation { - #[codec(index = 1)] - V2(runtime_types::xcm::v2::multilocation::MultiLocation), #[codec(index = 3)] V3(runtime_types::staging_xcm::v3::multilocation::MultiLocation), #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::location::Location), + #[codec(index = 5)] + V5(runtime_types::staging_xcm::v5::location::Location), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedResponse { - #[codec(index = 2)] - V2(runtime_types::xcm::v2::Response), #[codec(index = 3)] V3(runtime_types::xcm::v3::Response), #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::Response), + #[codec(index = 5)] + V5(runtime_types::staging_xcm::v5::Response), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedXcm { - #[codec(index = 2)] - V2(runtime_types::xcm::v2::Xcm), #[codec(index = 3)] V3(runtime_types::xcm::v3::Xcm), #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::Xcm), + #[codec(index = 5)] + V5(runtime_types::staging_xcm::v5::Xcm), } } pub mod xcm_runtime_apis { use super::runtime_types; - pub mod conversions { - use super::runtime_types; - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum Error { - #[codec(index = 0)] - Unsupported, - #[codec(index = 1)] - VersionedConversionFailed, - } - } - pub mod dry_run { - use super::runtime_types; - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct CallDryRunEffects<_0> { - pub execution_result: ::core::result::Result< - runtime_types::frame_support::dispatch::PostDispatchInfo, - runtime_types::sp_runtime::DispatchErrorWithPostInfo< - runtime_types::frame_support::dispatch::PostDispatchInfo, - >, - >, - pub emitted_events: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, - pub local_xcm: ::core::option::Option, - pub forwarded_xcms: ::subxt::ext::subxt_core::alloc::vec::Vec<( - runtime_types::xcm::VersionedLocation, - ::subxt::ext::subxt_core::alloc::vec::Vec, - )>, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum Error { - #[codec(index = 0)] - Unimplemented, - #[codec(index = 1)] - VersionedConversionFailed, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct XcmDryRunEffects<_0> { - pub execution_result: runtime_types::staging_xcm::v4::traits::Outcome, - pub emitted_events: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, - pub forwarded_xcms: ::subxt::ext::subxt_core::alloc::vec::Vec<( - runtime_types::xcm::VersionedLocation, - ::subxt::ext::subxt_core::alloc::vec::Vec, - )>, - } - } - pub mod fees { + pub mod authorized_aliases { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum Error { - #[codec(index = 0)] - Unimplemented, - #[codec(index = 1)] - VersionedConversionFailed, - #[codec(index = 2)] - WeightNotComputable, - #[codec(index = 3)] - UnhandledXcmVersion, - #[codec(index = 4)] - AssetNotFound, - #[codec(index = 5)] - Unroutable, + pub struct OriginAliaser { + pub location: runtime_types::xcm::VersionedLocation, + pub expiry: ::core::option::Option<::core::primitive::u64>, } } } diff --git a/relay-clients/client-bridge-hub-rococo/src/lib.rs b/relay-clients/client-bridge-hub-rococo/src/lib.rs index d3a4037dde..8c4935dcff 100644 --- a/relay-clients/client-bridge-hub-rococo/src/lib.rs +++ b/relay-clients/client-bridge-hub-rococo/src/lib.rs @@ -145,5 +145,5 @@ impl ChainWithMessages for BridgeHubRococo { impl ChainWithRuntimeVersion for BridgeHubRococo { const RUNTIME_VERSION: Option = - Some(SimpleRuntimeVersion { spec_version: 1_016_001, transaction_version: 6 }); + Some(SimpleRuntimeVersion { spec_version: 1_022_002, transaction_version: 6 }); } diff --git a/relay-clients/client-bridge-hub-westend/src/codegen_runtime.rs b/relay-clients/client-bridge-hub-westend/src/codegen_runtime.rs index b1a0bd7fe1..ba25a6a386 100644 --- a/relay-clients/client-bridge-hub-westend/src/codegen_runtime.rs +++ b/relay-clients/client-bridge-hub-westend/src/codegen_runtime.rs @@ -16,10 +16,10 @@ //! Autogenerated runtime API //! THIS FILE WAS AUTOGENERATED USING parity-bridges-common::runtime-codegen -//! EXECUTED COMMAND: target/debug/runtime-codegen --from-node-url -//! wss://westend-bridge-hub-rpc.polkadot.io:443 +//! EXECUTED COMMAND: target/release/runtime-codegen --from-wasm-file +//! wbuild/bridge_hub_westend_runtime.compact.compressed.wasm -#[allow(dead_code, unused_imports, non_camel_case_types)] +#[allow(dead_code, unused_imports, non_camel_case_types, unreachable_patterns)] #[allow(clippy::all)] #[allow(rustdoc::broken_intra_doc_links)] pub mod api { @@ -101,10 +101,6 @@ pub mod api { pub state: runtime_types::bp_messages::lane::LaneState, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct InboundMessageDetails { - pub dispatch_weight: ::sp_weights::Weight, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MessageKey<_0> { pub lane_id: _0, pub nonce: ::core::primitive::u64, @@ -124,12 +120,6 @@ pub mod api { pub state: runtime_types::bp_messages::lane::LaneState, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct OutboundMessageDetails { - pub nonce: ::core::primitive::u64, - pub dispatch_weight: ::sp_weights::Weight, - pub size: ::core::primitive::u32, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ReceivedMessages<_0, _1> { pub lane: _1, pub receive_results: ::subxt::ext::subxt_core::alloc::vec::Vec<( @@ -333,11 +323,34 @@ pub mod api { Sibling(runtime_types::polkadot_parachain_primitives::primitives::Id), #[codec(index = 3)] Snowbridge(runtime_types::snowbridge_core::ChannelId), + #[codec(index = 4)] + SnowbridgeV2(::subxt::ext::subxt_core::utils::H256), } } } pub mod bridge_hub_westend_runtime { use super::runtime_types; + pub mod bridge_common_config { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum BridgeReward { + #[codec(index = 0)] + RococoWestend( + runtime_types::bp_relayers::RewardsAccountParams< + ::bp_messages::LegacyLaneId, + >, + ), + #[codec(index = 1)] + Snowbridge, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum BridgeRewardBeneficiaries { + #[codec(index = 0)] + LocalAccount(::sp_core::crypto::AccountId32), + #[codec(index = 1)] + AssetHubLocation(runtime_types::xcm::VersionedLocation), + } + } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BridgeRejectObsoleteHeadersAndMessages; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] @@ -352,8 +365,6 @@ pub mod api { PolkadotXcm(runtime_types::pallet_xcm::pallet::Origin), #[codec(index = 32)] CumulusXcm(runtime_types::cumulus_pallet_xcm::pallet::Origin), - #[codec(index = 3)] - Void(runtime_types::sp_core::Void), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Runtime; @@ -405,6 +416,16 @@ pub mod api { ), #[codec(index = 83)] EthereumSystem(runtime_types::snowbridge_pallet_system::pallet::Call), + #[codec(index = 90)] + EthereumSystemV2(runtime_types::snowbridge_pallet_system_v2::pallet::Call), + #[codec(index = 91)] + EthereumInboundQueueV2( + runtime_types::snowbridge_pallet_inbound_queue_v2::pallet::Call, + ), + #[codec(index = 92)] + EthereumOutboundQueueV2( + runtime_types::snowbridge_pallet_outbound_queue_v2::pallet::Call, + ), #[codec(index = 250)] MessageQueue(runtime_types::pallet_message_queue::pallet::Call), } @@ -450,6 +471,16 @@ pub mod api { ), #[codec(index = 83)] EthereumSystem(runtime_types::snowbridge_pallet_system::pallet::Error), + #[codec(index = 90)] + EthereumSystemV2(runtime_types::snowbridge_pallet_system_v2::pallet::Error), + #[codec(index = 91)] + EthereumInboundQueueV2( + runtime_types::snowbridge_pallet_inbound_queue_v2::pallet::Error, + ), + #[codec(index = 92)] + EthereumOutboundQueueV2( + runtime_types::snowbridge_pallet_outbound_queue_v2::pallet::Error, + ), #[codec(index = 250)] MessageQueue(runtime_types::pallet_message_queue::pallet::Error), } @@ -499,11 +530,25 @@ pub mod api { ), #[codec(index = 83)] EthereumSystem(runtime_types::snowbridge_pallet_system::pallet::Event), + #[codec(index = 90)] + EthereumSystemV2(runtime_types::snowbridge_pallet_system_v2::pallet::Event), + #[codec(index = 91)] + EthereumInboundQueueV2( + runtime_types::snowbridge_pallet_inbound_queue_v2::pallet::Event, + ), + #[codec(index = 92)] + EthereumOutboundQueueV2( + runtime_types::snowbridge_pallet_outbound_queue_v2::pallet::Event, + ), #[codec(index = 250)] MessageQueue(runtime_types::pallet_message_queue::pallet::Event), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeHoldReason { + #[codec(index = 22)] + Session(runtime_types::pallet_session::pallet::HoldReason), + #[codec(index = 31)] + PolkadotXcm(runtime_types::pallet_xcm::pallet::HoldReason), #[codec(index = 45)] XcmOverBridgeHubRococo(runtime_types::pallet_xcm_bridge_hub::pallet::HoldReason), } @@ -520,7 +565,8 @@ pub mod api { pub enum Call { #[codec(index = 0)] set_validation_data { - data: runtime_types::cumulus_primitives_parachain_inherent::ParachainInherentData, + data: runtime_types::cumulus_pallet_parachain_system::parachain_inherent::BasicParachainInherentData, + inbound_messages_data: runtime_types::cumulus_pallet_parachain_system::parachain_inherent::InboundMessagesData, }, #[codec(index = 1)] sudo_send_upward_message { @@ -543,10 +589,6 @@ pub mod api { HostConfigurationNotAvailable, #[codec(index = 5)] NotScheduled, - #[codec(index = 6)] - NothingAuthorized, - #[codec(index = 7)] - Unauthorized, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { @@ -569,6 +611,65 @@ pub mod api { }, } } + pub mod parachain_inherent { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct AbridgedInboundMessagesCollection1<_0> { + pub full_messages: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, + pub hashed_messages: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::cumulus_primitives_parachain_inherent::HashedMessage, + >, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct AbridgedInboundMessagesCollection2<_0> { + pub full_messages: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, + pub hashed_messages: ::subxt::ext::subxt_core::alloc::vec::Vec<( + runtime_types::polkadot_parachain_primitives::primitives::Id, + runtime_types::cumulus_primitives_parachain_inherent::HashedMessage, + )>, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct BasicParachainInherentData { + pub validation_data: + runtime_types::polkadot_primitives::v9::PersistedValidationData< + ::subxt::ext::subxt_core::utils::H256, + ::core::primitive::u32, + >, + pub relay_chain_state: runtime_types::sp_trie::storage_proof::StorageProof, + pub relay_parent_descendants: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_runtime::generic::Header< + ::core::primitive::u32, + ::sp_runtime::traits::BlakeTwo256, + >, + >, + pub collator_peer_id: ::core::option::Option< + runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + >, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct InboundMessageId { + pub sent_at: ::core::primitive::u32, + pub reverse_idx: ::core::primitive::u32, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct InboundMessagesData { + pub downward_messages: runtime_types::cumulus_pallet_parachain_system::parachain_inherent::AbridgedInboundMessagesCollection1< + runtime_types::polkadot_core_primitives::InboundDownwardMessage< + ::core::primitive::u32, + >, + >, + pub horizontal_messages: runtime_types::cumulus_pallet_parachain_system::parachain_inherent::AbridgedInboundMessagesCollection2< + ( + runtime_types::polkadot_parachain_primitives::primitives::Id, + runtime_types::polkadot_core_primitives::InboundHrmpMessage< + ::core::primitive::u32, + >, + ), + >, + } + } pub mod relay_state_snapshot { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] @@ -578,13 +679,13 @@ pub mod api { pub ingress_channels: ::subxt::ext::subxt_core::alloc::vec::Vec< ( runtime_types::polkadot_parachain_primitives::primitives::Id, - runtime_types::polkadot_primitives::v8::AbridgedHrmpChannel, + runtime_types::polkadot_primitives::v9::AbridgedHrmpChannel, ), >, pub egress_channels: ::subxt::ext::subxt_core::alloc::vec::Vec< ( runtime_types::polkadot_parachain_primitives::primitives::Id, - runtime_types::polkadot_primitives::v8::AbridgedHrmpChannel, + runtime_types::polkadot_primitives::v9::AbridgedHrmpChannel, ), >, } @@ -601,7 +702,7 @@ pub mod api { pub used_bandwidth: runtime_types::cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth, pub para_head_hash: ::core::option::Option<_0>, pub consumed_go_ahead_signal: ::core::option::Option< - runtime_types::polkadot_primitives::v8::UpgradeGoAhead, + runtime_types::polkadot_primitives::v9::UpgradeGoAhead, >, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] @@ -614,7 +715,7 @@ pub mod api { pub used_bandwidth: runtime_types::cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth, pub hrmp_watermark: ::core::option::Option<::core::primitive::u32>, pub consumed_go_ahead_signal: ::core::option::Option< - runtime_types::polkadot_primitives::v8::UpgradeGoAhead, + runtime_types::polkadot_primitives::v9::UpgradeGoAhead, >, #[codec(skip)] pub __ignore: ::core::marker::PhantomData<_0>, @@ -630,6 +731,11 @@ pub mod api { } } } + pub mod cumulus_pallet_weight_reclaim { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct StorageWeightReclaim<_1>(pub _1); + } pub mod cumulus_pallet_xcm { use super::runtime_types; pub mod pallet { @@ -645,7 +751,7 @@ pub mod api { #[codec(index = 2)] ExecutedDownward( [::core::primitive::u8; 32usize], - runtime_types::staging_xcm::v4::traits::Outcome, + runtime_types::staging_xcm::v5::traits::Outcome, ), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] @@ -715,57 +821,15 @@ pub mod api { pub resume_threshold: ::core::primitive::u32, } } - pub mod cumulus_primitives_core { - use super::runtime_types; - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct CollationInfo { - pub upward_messages: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - >, - pub horizontal_messages: ::subxt::ext::subxt_core::alloc::vec::Vec< - runtime_types::polkadot_core_primitives::OutboundHrmpMessage< - runtime_types::polkadot_parachain_primitives::primitives::Id, - >, - >, - pub new_validation_code: ::core::option::Option< - runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, - >, - pub processed_downward_messages: ::core::primitive::u32, - pub hrmp_watermark: ::core::primitive::u32, - pub head_data: runtime_types::polkadot_parachain_primitives::primitives::HeadData, - } - } pub mod cumulus_primitives_parachain_inherent { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct MessageQueueChain(pub ::subxt::ext::subxt_core::utils::H256); - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct ParachainInherentData { - pub validation_data: - runtime_types::polkadot_primitives::v8::PersistedValidationData< - ::subxt::ext::subxt_core::utils::H256, - ::core::primitive::u32, - >, - pub relay_chain_state: runtime_types::sp_trie::storage_proof::StorageProof, - pub downward_messages: ::subxt::ext::subxt_core::alloc::vec::Vec< - runtime_types::polkadot_core_primitives::InboundDownwardMessage< - ::core::primitive::u32, - >, - >, - pub horizontal_messages: ::subxt::ext::subxt_core::utils::KeyedVec< - runtime_types::polkadot_parachain_primitives::primitives::Id, - ::subxt::ext::subxt_core::alloc::vec::Vec< - runtime_types::polkadot_core_primitives::InboundHrmpMessage< - ::core::primitive::u32, - >, - >, - >, + pub struct HashedMessage { + pub sent_at: ::core::primitive::u32, + pub msg_hash: ::subxt::ext::subxt_core::utils::H256, } - } - pub mod cumulus_primitives_storage_weight_reclaim { - use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct StorageWeightReclaim; + pub struct MessageQueueChain(pub ::subxt::ext::subxt_core::utils::H256); } pub mod finality_grandpa { use super::runtime_types; @@ -826,12 +890,6 @@ pub mod api { Mandatory, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct DispatchInfo { - pub weight: ::sp_weights::Weight, - pub class: runtime_types::frame_support::dispatch::DispatchClass, - pub pays_fee: runtime_types::frame_support::dispatch::Pays, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Pays { #[codec(index = 0)] Yes, @@ -845,11 +903,6 @@ pub mod api { pub mandatory: _0, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct PostDispatchInfo { - pub actual_weight: ::core::option::Option<::sp_weights::Weight>, - pub pays_fee: runtime_types::frame_support::dispatch::Pays, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RawOrigin<_0> { #[codec(index = 0)] Root, @@ -857,6 +910,8 @@ pub mod api { Signed(_0), #[codec(index = 2)] None, + #[codec(index = 3)] + Authorized, } } pub mod traits { @@ -879,8 +934,32 @@ pub mod api { StackLimitReached, } } + pub mod storage { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct NoDrop<_0>(pub _0); + } pub mod tokens { use super::runtime_types; + pub mod fungible { + use super::runtime_types; + pub mod imbalance { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Imbalance<_0> { + pub amount: _0, + } + } + #[derive( + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, + Clone, + Debug, + PartialEq, + )] + pub struct HoldConsideration(pub ::core::primitive::u128); + } pub mod misc { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] @@ -898,11 +977,18 @@ pub mod api { } } } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct PalletId(pub [::core::primitive::u8; 8usize]); } pub mod frame_system { use super::runtime_types; pub mod extensions { use super::runtime_types; + pub mod authorize_call { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct AuthorizeCall; + } pub mod check_genesis { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] @@ -1039,12 +1125,12 @@ pub mod api { pub enum Event { #[codec(index = 0)] ExtrinsicSuccess { - dispatch_info: runtime_types::frame_support::dispatch::DispatchInfo, + dispatch_info: runtime_types::frame_system::DispatchEventInfo, }, #[codec(index = 1)] ExtrinsicFailed { dispatch_error: runtime_types::sp_runtime::DispatchError, - dispatch_info: runtime_types::frame_support::dispatch::DispatchInfo, + dispatch_info: runtime_types::frame_system::DispatchEventInfo, }, #[codec(index = 2)] CodeUpdated, @@ -1062,6 +1148,11 @@ pub mod api { code_hash: ::subxt::ext::subxt_core::utils::H256, check_version: ::core::primitive::bool, }, + #[codec(index = 7)] + RejectedInvalidAuthorizedUpgrade { + code_hash: ::subxt::ext::subxt_core::utils::H256, + error: runtime_types::sp_runtime::DispatchError, + }, } } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] @@ -1078,6 +1169,12 @@ pub mod api { pub check_version: ::core::primitive::bool, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct DispatchEventInfo { + pub weight: ::sp_weights::Weight, + pub class: runtime_types::frame_support::dispatch::DispatchClass, + pub pays_fee: runtime_types::frame_support::dispatch::Pays, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct EventRecord<_0, _1> { pub phase: runtime_types::frame_system::Phase, pub event: _0, @@ -1260,39 +1357,84 @@ pub mod api { #[codec(index = 10)] Minted { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128 }, #[codec(index = 11)] - Burned { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128 }, + MintedCredit { amount: ::core::primitive::u128 }, #[codec(index = 12)] + Burned { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128 }, + #[codec(index = 13)] + BurnedDebt { amount: ::core::primitive::u128 }, + #[codec(index = 14)] Suspended { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128, }, - #[codec(index = 13)] + #[codec(index = 15)] Restored { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128, }, - #[codec(index = 14)] + #[codec(index = 16)] Upgraded { who: ::sp_core::crypto::AccountId32 }, - #[codec(index = 15)] + #[codec(index = 17)] Issued { amount: ::core::primitive::u128 }, - #[codec(index = 16)] + #[codec(index = 18)] Rescinded { amount: ::core::primitive::u128 }, - #[codec(index = 17)] + #[codec(index = 19)] Locked { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128 }, - #[codec(index = 18)] + #[codec(index = 20)] Unlocked { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128, }, - #[codec(index = 19)] + #[codec(index = 21)] Frozen { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128 }, - #[codec(index = 20)] + #[codec(index = 22)] Thawed { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128 }, - #[codec(index = 21)] + #[codec(index = 23)] TotalIssuanceForced { old: ::core::primitive::u128, new: ::core::primitive::u128, }, + #[codec(index = 24)] + Held { + reason: runtime_types::bridge_hub_westend_runtime::RuntimeHoldReason, + who: ::sp_core::crypto::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 25)] + BurnedHeld { + reason: runtime_types::bridge_hub_westend_runtime::RuntimeHoldReason, + who: ::sp_core::crypto::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 26)] + TransferOnHold { + reason: runtime_types::bridge_hub_westend_runtime::RuntimeHoldReason, + source: ::sp_core::crypto::AccountId32, + dest: ::sp_core::crypto::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 27)] + TransferAndHold { + reason: runtime_types::bridge_hub_westend_runtime::RuntimeHoldReason, + source: ::sp_core::crypto::AccountId32, + dest: ::sp_core::crypto::AccountId32, + transferred: ::core::primitive::u128, + }, + #[codec(index = 28)] + Released { + reason: runtime_types::bridge_hub_westend_runtime::RuntimeHoldReason, + who: ::sp_core::crypto::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 29)] + Unexpected(runtime_types::pallet_balances::pallet::UnexpectedKind), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum UnexpectedKind { + #[codec(index = 0)] + BalanceUpdated, + #[codec(index = 1)] + FailedToMutateAccount, } } pub mod types { @@ -1666,23 +1808,26 @@ pub mod api { pub mod extension { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct BridgeRelayersSignedExtension; + pub struct BridgeRelayersTransactionExtension; } pub mod pallet { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - claim_rewards { - rewards_account_params: runtime_types::bp_relayers::RewardsAccountParams< - ::bp_messages::LegacyLaneId, - >, - }, - #[codec(index = 1)] - register { valid_till: ::core::primitive::u32 }, - #[codec(index = 2)] - deregister, - } + claim_rewards { + reward_kind: runtime_types::bridge_hub_westend_runtime::bridge_common_config::BridgeReward, + }, + #[codec(index = 1)] + register { valid_till: ::core::primitive::u32 }, + #[codec(index = 2)] + deregister, + #[codec(index = 3)] + claim_rewards_to { + reward_kind: runtime_types::bridge_hub_westend_runtime::bridge_common_config::BridgeReward, + beneficiary: runtime_types::bridge_hub_westend_runtime::bridge_common_config::BridgeRewardBeneficiaries, + }, + } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] @@ -1705,40 +1850,37 @@ pub mod api { #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] - RewardRegistered { - relayer: ::sp_core::crypto::AccountId32, - rewards_account_params: runtime_types::bp_relayers::RewardsAccountParams< - ::bp_messages::LegacyLaneId, - >, - reward: ::core::primitive::u128, - }, - #[codec(index = 1)] - RewardPaid { - relayer: ::sp_core::crypto::AccountId32, - rewards_account_params: runtime_types::bp_relayers::RewardsAccountParams< - ::bp_messages::LegacyLaneId, - >, - reward: ::core::primitive::u128, - }, - #[codec(index = 2)] - RegistrationUpdated { - relayer: ::sp_core::crypto::AccountId32, - registration: runtime_types::bp_relayers::registration::Registration< - ::core::primitive::u32, - ::core::primitive::u128, - >, - }, - #[codec(index = 3)] - Deregistered { relayer: ::sp_core::crypto::AccountId32 }, - #[codec(index = 4)] - SlashedAndDeregistered { - relayer: ::sp_core::crypto::AccountId32, - registration: runtime_types::bp_relayers::registration::Registration< - ::core::primitive::u32, - ::core::primitive::u128, - >, - }, - } + RewardRegistered { + relayer: ::sp_core::crypto::AccountId32, + reward_kind: runtime_types::bridge_hub_westend_runtime::bridge_common_config::BridgeReward, + reward_balance: ::core::primitive::u128, + }, + #[codec(index = 1)] + RewardPaid { + relayer: ::sp_core::crypto::AccountId32, + reward_kind: runtime_types::bridge_hub_westend_runtime::bridge_common_config::BridgeReward, + reward_balance: ::core::primitive::u128, + beneficiary: runtime_types::bridge_hub_westend_runtime::bridge_common_config::BridgeRewardBeneficiaries, + }, + #[codec(index = 2)] + RegistrationUpdated { + relayer: ::sp_core::crypto::AccountId32, + registration: runtime_types::bp_relayers::registration::Registration< + ::core::primitive::u32, + ::core::primitive::u128, + >, + }, + #[codec(index = 3)] + Deregistered { relayer: ::sp_core::crypto::AccountId32 }, + #[codec(index = 4)] + SlashedAndDeregistered { + relayer: ::sp_core::crypto::AccountId32, + registration: runtime_types::bp_relayers::registration::Registration< + ::core::primitive::u32, + ::core::primitive::u128, + >, + }, + } } } pub mod pallet_collator_selection { @@ -2007,6 +2149,14 @@ pub mod api { runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, call_hash: [::core::primitive::u8; 32usize], }, + #[codec(index = 4)] + poke_deposit { + threshold: ::core::primitive::u16, + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, + call_hash: [::core::primitive::u8; 32usize], + }, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { @@ -2073,6 +2223,13 @@ pub mod api { multisig: ::sp_core::crypto::AccountId32, call_hash: [::core::primitive::u8; 32usize], }, + #[codec(index = 4)] + DepositPoked { + who: ::sp_core::crypto::AccountId32, + call_hash: [::core::primitive::u8; 32usize], + old_deposit: ::core::primitive::u128, + new_deposit: ::core::primitive::u128, + }, } } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] @@ -2119,6 +2276,17 @@ pub mod api { pub enum Event { #[codec(index = 0)] NewSession { session_index: ::core::primitive::u32 }, + #[codec(index = 1)] + NewQueued, + #[codec(index = 2)] + ValidatorDisabled { validator: ::sp_core::crypto::AccountId32 }, + #[codec(index = 3)] + ValidatorReenabled { validator: ::sp_core::crypto::AccountId32 }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum HoldReason { + #[codec(index = 0)] + Keys, } } } @@ -2150,28 +2318,6 @@ pub mod api { }, } } - pub mod types { - use super::runtime_types; - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct FeeDetails<_0> { - pub inclusion_fee: ::core::option::Option< - runtime_types::pallet_transaction_payment::types::InclusionFee<_0>, - >, - pub tip: _0, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct InclusionFee<_0> { - pub base_fee: _0, - pub len_fee: _0, - pub adjusted_weight_fee: _0, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct RuntimeDispatchInfo<_0, _1> { - pub weight: _1, - pub class: runtime_types::frame_support::dispatch::DispatchClass, - pub partial_fee: _0, - } - } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ChargeTransactionPayment(#[codec(compact)] pub ::core::primitive::u128); #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] @@ -2229,6 +2375,24 @@ pub mod api { >, weight: ::sp_weights::Weight, }, + #[codec(index = 6)] + if_else { + main: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::bridge_hub_westend_runtime::RuntimeCall, + >, + fallback: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::bridge_hub_westend_runtime::RuntimeCall, + >, + }, + #[codec(index = 7)] + dispatch_as_fallible { + as_origin: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::bridge_hub_westend_runtime::OriginCaller, + >, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::bridge_hub_westend_runtime::RuntimeCall, + >, + }, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { @@ -2255,28 +2419,120 @@ pub mod api { result: ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, }, + #[codec(index = 6)] + IfElseMainSuccess, + #[codec(index = 7)] + IfElseFallbackCalled { main_error: runtime_types::sp_runtime::DispatchError }, } } } pub mod pallet_xcm { use super::runtime_types; - pub mod pallet { + pub mod errors { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum Call { + pub enum ExecutionError { #[codec(index = 0)] - send { - dest: ::subxt::ext::subxt_core::alloc::boxed::Box< - runtime_types::xcm::VersionedLocation, - >, - message: ::subxt::ext::subxt_core::alloc::boxed::Box< - runtime_types::xcm::VersionedXcm, - >, - }, - #[codec(index = 1)] - teleport_assets { - dest: ::subxt::ext::subxt_core::alloc::boxed::Box< - runtime_types::xcm::VersionedLocation, + Overflow, + #[codec(index = 1)] + Unimplemented, + #[codec(index = 2)] + UntrustedReserveLocation, + #[codec(index = 3)] + UntrustedTeleportLocation, + #[codec(index = 4)] + LocationFull, + #[codec(index = 5)] + LocationNotInvertible, + #[codec(index = 6)] + BadOrigin, + #[codec(index = 7)] + InvalidLocation, + #[codec(index = 8)] + AssetNotFound, + #[codec(index = 9)] + FailedToTransactAsset, + #[codec(index = 10)] + NotWithdrawable, + #[codec(index = 11)] + LocationCannotHold, + #[codec(index = 12)] + ExceedsMaxMessageSize, + #[codec(index = 13)] + DestinationUnsupported, + #[codec(index = 14)] + Transport, + #[codec(index = 15)] + Unroutable, + #[codec(index = 16)] + UnknownClaim, + #[codec(index = 17)] + FailedToDecode, + #[codec(index = 18)] + MaxWeightInvalid, + #[codec(index = 19)] + NotHoldingFees, + #[codec(index = 20)] + TooExpensive, + #[codec(index = 21)] + Trap, + #[codec(index = 22)] + ExpectationFalse, + #[codec(index = 23)] + PalletNotFound, + #[codec(index = 24)] + NameMismatch, + #[codec(index = 25)] + VersionIncompatible, + #[codec(index = 26)] + HoldingWouldOverflow, + #[codec(index = 27)] + ExportError, + #[codec(index = 28)] + ReanchorFailed, + #[codec(index = 29)] + NoDeal, + #[codec(index = 30)] + FeesNotMet, + #[codec(index = 31)] + LockError, + #[codec(index = 32)] + NoPermission, + #[codec(index = 33)] + Unanchored, + #[codec(index = 34)] + NotDepositable, + #[codec(index = 35)] + TooManyAssets, + #[codec(index = 36)] + UnhandledXcmVersion, + #[codec(index = 37)] + WeightLimitReached, + #[codec(index = 38)] + Barrier, + #[codec(index = 39)] + WeightNotComputable, + #[codec(index = 40)] + ExceedsStackLimit, + } + } + pub mod pallet { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Call { + #[codec(index = 0)] + send { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + message: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedXcm, + >, + }, + #[codec(index = 1)] + teleport_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, >, beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::xcm::VersionedLocation, @@ -2309,7 +2565,7 @@ pub mod api { #[codec(index = 4)] force_xcm_version { location: ::subxt::ext::subxt_core::alloc::boxed::Box< - runtime_types::staging_xcm::v4::location::Location, + runtime_types::staging_xcm::v5::location::Location, >, version: ::core::primitive::u32, }, @@ -2404,6 +2660,21 @@ pub mod api { >, weight_limit: runtime_types::xcm::v3::WeightLimit, }, + #[codec(index = 14)] + add_authorized_alias { + aliaser: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + expires: ::core::option::Option<::core::primitive::u64>, + }, + #[codec(index = 15)] + remove_authorized_alias { + aliaser: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + }, + #[codec(index = 16)] + remove_all_authorized_aliases, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { @@ -2455,35 +2726,59 @@ pub mod api { TooManyReserves, #[codec(index = 24)] LocalExecutionIncomplete, + #[codec(index = 25)] + TooManyAuthorizedAliases, + #[codec(index = 26)] + ExpiresInPast, + #[codec(index = 27)] + AliasNotFound, + #[codec(index = 28)] + LocalExecutionIncompleteWithError { + index: ::core::primitive::u8, + error: runtime_types::pallet_xcm::errors::ExecutionError, + }, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] - Attempted { outcome: runtime_types::staging_xcm::v4::traits::Outcome }, + Attempted { outcome: runtime_types::staging_xcm::v5::traits::Outcome }, #[codec(index = 1)] Sent { - origin: runtime_types::staging_xcm::v4::location::Location, - destination: runtime_types::staging_xcm::v4::location::Location, - message: runtime_types::staging_xcm::v4::Xcm, + origin: runtime_types::staging_xcm::v5::location::Location, + destination: runtime_types::staging_xcm::v5::location::Location, + message: runtime_types::staging_xcm::v5::Xcm, message_id: [::core::primitive::u8; 32usize], }, #[codec(index = 2)] + SendFailed { + origin: runtime_types::staging_xcm::v5::location::Location, + destination: runtime_types::staging_xcm::v5::location::Location, + error: runtime_types::xcm::v3::traits::SendError, + message_id: [::core::primitive::u8; 32usize], + }, + #[codec(index = 3)] + ProcessXcmError { + origin: runtime_types::staging_xcm::v5::location::Location, + error: runtime_types::xcm::v5::traits::Error, + message_id: [::core::primitive::u8; 32usize], + }, + #[codec(index = 4)] UnexpectedResponse { - origin: runtime_types::staging_xcm::v4::location::Location, + origin: runtime_types::staging_xcm::v5::location::Location, query_id: ::core::primitive::u64, }, - #[codec(index = 3)] + #[codec(index = 5)] ResponseReady { query_id: ::core::primitive::u64, - response: runtime_types::staging_xcm::v4::Response, + response: runtime_types::staging_xcm::v5::Response, }, - #[codec(index = 4)] + #[codec(index = 6)] Notified { query_id: ::core::primitive::u64, pallet_index: ::core::primitive::u8, call_index: ::core::primitive::u8, }, - #[codec(index = 5)] + #[codec(index = 7)] NotifyOverweight { query_id: ::core::primitive::u64, pallet_index: ::core::primitive::u8, @@ -2491,114 +2786,136 @@ pub mod api { actual_weight: ::sp_weights::Weight, max_budgeted_weight: ::sp_weights::Weight, }, - #[codec(index = 6)] + #[codec(index = 8)] NotifyDispatchError { query_id: ::core::primitive::u64, pallet_index: ::core::primitive::u8, call_index: ::core::primitive::u8, }, - #[codec(index = 7)] + #[codec(index = 9)] NotifyDecodeFailed { query_id: ::core::primitive::u64, pallet_index: ::core::primitive::u8, call_index: ::core::primitive::u8, }, - #[codec(index = 8)] + #[codec(index = 10)] InvalidResponder { - origin: runtime_types::staging_xcm::v4::location::Location, + origin: runtime_types::staging_xcm::v5::location::Location, query_id: ::core::primitive::u64, expected_location: ::core::option::Option< - runtime_types::staging_xcm::v4::location::Location, + runtime_types::staging_xcm::v5::location::Location, >, }, - #[codec(index = 9)] + #[codec(index = 11)] InvalidResponderVersion { - origin: runtime_types::staging_xcm::v4::location::Location, + origin: runtime_types::staging_xcm::v5::location::Location, query_id: ::core::primitive::u64, }, - #[codec(index = 10)] + #[codec(index = 12)] ResponseTaken { query_id: ::core::primitive::u64 }, - #[codec(index = 11)] + #[codec(index = 13)] AssetsTrapped { hash: ::subxt::ext::subxt_core::utils::H256, - origin: runtime_types::staging_xcm::v4::location::Location, + origin: runtime_types::staging_xcm::v5::location::Location, assets: runtime_types::xcm::VersionedAssets, }, - #[codec(index = 12)] + #[codec(index = 14)] VersionChangeNotified { - destination: runtime_types::staging_xcm::v4::location::Location, + destination: runtime_types::staging_xcm::v5::location::Location, result: ::core::primitive::u32, - cost: runtime_types::staging_xcm::v4::asset::Assets, + cost: runtime_types::staging_xcm::v5::asset::Assets, message_id: [::core::primitive::u8; 32usize], }, - #[codec(index = 13)] + #[codec(index = 15)] SupportedVersionChanged { - location: runtime_types::staging_xcm::v4::location::Location, + location: runtime_types::staging_xcm::v5::location::Location, version: ::core::primitive::u32, }, - #[codec(index = 14)] + #[codec(index = 16)] NotifyTargetSendFail { - location: runtime_types::staging_xcm::v4::location::Location, + location: runtime_types::staging_xcm::v5::location::Location, query_id: ::core::primitive::u64, - error: runtime_types::xcm::v3::traits::Error, + error: runtime_types::xcm::v5::traits::Error, }, - #[codec(index = 15)] + #[codec(index = 17)] NotifyTargetMigrationFail { location: runtime_types::xcm::VersionedLocation, query_id: ::core::primitive::u64, }, - #[codec(index = 16)] + #[codec(index = 18)] InvalidQuerierVersion { - origin: runtime_types::staging_xcm::v4::location::Location, + origin: runtime_types::staging_xcm::v5::location::Location, query_id: ::core::primitive::u64, }, - #[codec(index = 17)] + #[codec(index = 19)] InvalidQuerier { - origin: runtime_types::staging_xcm::v4::location::Location, + origin: runtime_types::staging_xcm::v5::location::Location, query_id: ::core::primitive::u64, - expected_querier: runtime_types::staging_xcm::v4::location::Location, + expected_querier: runtime_types::staging_xcm::v5::location::Location, maybe_actual_querier: ::core::option::Option< - runtime_types::staging_xcm::v4::location::Location, + runtime_types::staging_xcm::v5::location::Location, >, }, - #[codec(index = 18)] + #[codec(index = 20)] VersionNotifyStarted { - destination: runtime_types::staging_xcm::v4::location::Location, - cost: runtime_types::staging_xcm::v4::asset::Assets, + destination: runtime_types::staging_xcm::v5::location::Location, + cost: runtime_types::staging_xcm::v5::asset::Assets, message_id: [::core::primitive::u8; 32usize], }, - #[codec(index = 19)] + #[codec(index = 21)] VersionNotifyRequested { - destination: runtime_types::staging_xcm::v4::location::Location, - cost: runtime_types::staging_xcm::v4::asset::Assets, + destination: runtime_types::staging_xcm::v5::location::Location, + cost: runtime_types::staging_xcm::v5::asset::Assets, message_id: [::core::primitive::u8; 32usize], }, - #[codec(index = 20)] + #[codec(index = 22)] VersionNotifyUnrequested { - destination: runtime_types::staging_xcm::v4::location::Location, - cost: runtime_types::staging_xcm::v4::asset::Assets, + destination: runtime_types::staging_xcm::v5::location::Location, + cost: runtime_types::staging_xcm::v5::asset::Assets, message_id: [::core::primitive::u8; 32usize], }, - #[codec(index = 21)] + #[codec(index = 23)] FeesPaid { - paying: runtime_types::staging_xcm::v4::location::Location, - fees: runtime_types::staging_xcm::v4::asset::Assets, + paying: runtime_types::staging_xcm::v5::location::Location, + fees: runtime_types::staging_xcm::v5::asset::Assets, }, - #[codec(index = 22)] + #[codec(index = 24)] AssetsClaimed { hash: ::subxt::ext::subxt_core::utils::H256, - origin: runtime_types::staging_xcm::v4::location::Location, + origin: runtime_types::staging_xcm::v5::location::Location, assets: runtime_types::xcm::VersionedAssets, }, - #[codec(index = 23)] + #[codec(index = 25)] VersionMigrationFinished { version: ::core::primitive::u32 }, + #[codec(index = 26)] + AliasAuthorized { + aliaser: runtime_types::staging_xcm::v5::location::Location, + target: runtime_types::staging_xcm::v5::location::Location, + expiry: ::core::option::Option<::core::primitive::u64>, + }, + #[codec(index = 27)] + AliasAuthorizationRemoved { + aliaser: runtime_types::staging_xcm::v5::location::Location, + target: runtime_types::staging_xcm::v5::location::Location, + }, + #[codec(index = 28)] + AliasesAuthorizationsRemoved { + target: runtime_types::staging_xcm::v5::location::Location, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum HoldReason { + #[codec(index = 0)] + AuthorizeAlias, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct MaxAuthorizedAliases; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Origin { #[codec(index = 0)] - Xcm(runtime_types::staging_xcm::v4::location::Location), + Xcm(runtime_types::staging_xcm::v5::location::Location), #[codec(index = 1)] - Response(runtime_types::staging_xcm::v4::location::Location), + Response(runtime_types::staging_xcm::v5::location::Location), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum QueryStatus<_0> { @@ -2645,6 +2962,15 @@ pub mod api { MigrateAndNotifyOldTargets, } } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct AuthorizedAliasesEntry<_0, _1> { + pub aliasers: runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::xcm_runtime_apis::authorized_aliases::OriginAliaser, + >, + pub ticket: _0, + #[codec(skip)] + pub __ignore: ::core::marker::PhantomData<_1>, + } } pub mod pallet_xcm_bridge_hub { use super::runtime_types; @@ -2710,10 +3036,10 @@ pub mod api { bridge_id: runtime_types::bp_xcm_bridge_hub::BridgeId, bridge_deposit: ::core::primitive::u128, local_endpoint: ::subxt::ext::subxt_core::alloc::boxed::Box< - runtime_types::staging_xcm::v4::junctions::Junctions, + runtime_types::staging_xcm::v5::junctions::Junctions, >, remote_endpoint: ::subxt::ext::subxt_core::alloc::boxed::Box< - runtime_types::staging_xcm::v4::junctions::Junctions, + runtime_types::staging_xcm::v5::junctions::Junctions, >, lane_id: ::bp_messages::LegacyLaneId, }, @@ -2774,15 +3100,11 @@ pub mod api { PartialEq, )] pub struct Id(pub ::core::primitive::u32); - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct ValidationCode( - pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - ); } } pub mod polkadot_primitives { use super::runtime_types; - pub mod v8 { + pub mod v9 { use super::runtime_types; pub mod async_backing { use super::runtime_types; @@ -2804,7 +3126,7 @@ pub mod api { pub validation_upgrade_cooldown: ::core::primitive::u32, pub validation_upgrade_delay: ::core::primitive::u32, pub async_backing_params: - runtime_types::polkadot_primitives::v8::async_backing::AsyncBackingParams, + runtime_types::polkadot_primitives::v9::async_backing::AsyncBackingParams, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AbridgedHrmpChannel { @@ -2979,6 +3301,7 @@ pub mod api { pub bellatrix: runtime_types::snowbridge_beacon_primitives::types::Fork, pub capella: runtime_types::snowbridge_beacon_primitives::types::Fork, pub deneb: runtime_types::snowbridge_beacon_primitives::types::Fork, + pub electra: runtime_types::snowbridge_beacon_primitives::types::Fork, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PublicKey(pub [::core::primitive::u8; 48usize]); @@ -3062,48 +3385,6 @@ pub mod api { } pub mod snowbridge_core { use super::runtime_types; - pub mod inbound { - use super::runtime_types; - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct Log { - pub address: ::subxt::ext::subxt_core::utils::H160, - pub topics: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::H256, - >, - pub data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct Message { - pub event_log: runtime_types::snowbridge_core::inbound::Log, - pub proof: runtime_types::snowbridge_core::inbound::Proof, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct Proof { - pub receipt_proof: ( - ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - >, - ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - >, - ), - pub execution_proof: - runtime_types::snowbridge_beacon_primitives::types::ExecutionProof, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum VerificationError { - #[codec(index = 0)] - HeaderNotFound, - #[codec(index = 1)] - LogNotFound, - #[codec(index = 2)] - InvalidLog, - #[codec(index = 3)] - InvalidProof, - #[codec(index = 4)] - InvalidExecutionProof, - } - } pub mod operating_mode { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] @@ -3114,121 +3395,6 @@ pub mod api { Halted, } } - pub mod outbound { - use super::runtime_types; - pub mod v1 { - use super::runtime_types; - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum AgentExecuteCommand { - #[codec(index = 0)] - TransferToken { - token: ::subxt::ext::subxt_core::utils::H160, - recipient: ::subxt::ext::subxt_core::utils::H160, - amount: ::core::primitive::u128, - }, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum Command { - #[codec(index = 0)] - AgentExecute { - agent_id: ::subxt::ext::subxt_core::utils::H256, - command: - runtime_types::snowbridge_core::outbound::v1::AgentExecuteCommand, - }, - #[codec(index = 1)] - Upgrade { - impl_address: ::subxt::ext::subxt_core::utils::H160, - impl_code_hash: ::subxt::ext::subxt_core::utils::H256, - initializer: ::core::option::Option< - runtime_types::snowbridge_core::outbound::v1::Initializer, - >, - }, - #[codec(index = 2)] - CreateAgent { agent_id: ::subxt::ext::subxt_core::utils::H256 }, - #[codec(index = 3)] - CreateChannel { - channel_id: runtime_types::snowbridge_core::ChannelId, - agent_id: ::subxt::ext::subxt_core::utils::H256, - mode: runtime_types::snowbridge_core::outbound::v1::OperatingMode, - }, - #[codec(index = 4)] - UpdateChannel { - channel_id: runtime_types::snowbridge_core::ChannelId, - mode: runtime_types::snowbridge_core::outbound::v1::OperatingMode, - }, - #[codec(index = 5)] - SetOperatingMode { - mode: runtime_types::snowbridge_core::outbound::v1::OperatingMode, - }, - #[codec(index = 6)] - TransferNativeFromAgent { - agent_id: ::subxt::ext::subxt_core::utils::H256, - recipient: ::subxt::ext::subxt_core::utils::H160, - amount: ::core::primitive::u128, - }, - #[codec(index = 7)] - SetTokenTransferFees { - create_asset_xcm: ::core::primitive::u128, - transfer_asset_xcm: ::core::primitive::u128, - register_token: runtime_types::primitive_types::U256, - }, - #[codec(index = 8)] - SetPricingParameters { - exchange_rate: runtime_types::snowbridge_core::pricing::UD60x18, - delivery_cost: ::core::primitive::u128, - multiplier: runtime_types::snowbridge_core::pricing::UD60x18, - }, - #[codec(index = 9)] - TransferNativeToken { - agent_id: ::subxt::ext::subxt_core::utils::H256, - token: ::subxt::ext::subxt_core::utils::H160, - recipient: ::subxt::ext::subxt_core::utils::H160, - amount: ::core::primitive::u128, - }, - #[codec(index = 10)] - RegisterForeignToken { - token_id: ::subxt::ext::subxt_core::utils::H256, - name: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - symbol: - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - decimals: ::core::primitive::u8, - }, - #[codec(index = 11)] - MintForeignToken { - token_id: ::subxt::ext::subxt_core::utils::H256, - recipient: ::subxt::ext::subxt_core::utils::H160, - amount: ::core::primitive::u128, - }, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct Initializer { - pub params: - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - pub maximum_required_gas: ::core::primitive::u64, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum OperatingMode { - #[codec(index = 0)] - Normal, - #[codec(index = 1)] - RejectingOutboundMessages, - } - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct Fee<_0> { - pub local: _0, - pub remote: _0, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum SendError { - #[codec(index = 0)] - MessageTooLarge, - #[codec(index = 1)] - Halted, - #[codec(index = 2)] - InvalidChannel, - } - } pub mod pricing { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] @@ -3243,8 +3409,16 @@ pub mod api { pub local: _0, pub remote: runtime_types::primitive_types::U256, } + } + pub mod reward { + use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct UD60x18(pub runtime_types::primitive_types::U256); + pub enum MessageId { + #[codec(index = 0)] + Inbound(::core::primitive::u64), + #[codec(index = 1)] + Outbound(::core::primitive::u64), + } } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AssetMetadata { @@ -3264,6 +3438,25 @@ pub mod api { #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ChannelId(pub [::core::primitive::u8; 32usize]); } + pub mod snowbridge_inbound_queue_primitives { + use super::runtime_types; + pub mod v1 { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum ConvertMessageError { + #[codec(index = 0)] + UnsupportedVersion, + #[codec(index = 1)] + InvalidDestination, + #[codec(index = 2)] + InvalidToken, + #[codec(index = 3)] + UnsupportedFeeAsset, + #[codec(index = 4)] + CannotReanchor, + } + } + } pub mod snowbridge_milagro_bls { use super::runtime_types; pub mod keys { @@ -3274,19 +3467,121 @@ pub mod api { } } } - pub mod snowbridge_outbound_queue_merkle_tree { + pub mod snowbridge_outbound_queue_primitives { use super::runtime_types; - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct MerkleProof { - pub root: ::subxt::ext::subxt_core::utils::H256, - pub proof: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::utils::H256, - >, - pub number_of_leaves: ::core::primitive::u64, - pub leaf_index: ::core::primitive::u64, - pub leaf: ::subxt::ext::subxt_core::utils::H256, - } - } + pub mod v1 { + use super::runtime_types; + pub mod message { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Initializer { + pub params: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + pub maximum_required_gas: ::core::primitive::u64, + } + } + } + pub mod v2 { + use super::runtime_types; + pub mod message { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Command { + #[codec(index = 0)] + Upgrade { + impl_address: ::subxt::ext::subxt_core::utils::H160, + impl_code_hash: ::subxt::ext::subxt_core::utils::H256, + initializer: runtime_types::snowbridge_outbound_queue_primitives::v2::message::Initializer, + }, + #[codec(index = 1)] + SetOperatingMode { + mode: runtime_types::snowbridge_outbound_queue_primitives::OperatingMode, + }, + #[codec(index = 2)] + UnlockNativeToken { + token: ::subxt::ext::subxt_core::utils::H160, + recipient: ::subxt::ext::subxt_core::utils::H160, + amount: ::core::primitive::u128, + }, + #[codec(index = 3)] + RegisterForeignToken { + token_id: ::subxt::ext::subxt_core::utils::H256, + name: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::core::primitive::u8, + >, + symbol: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::core::primitive::u8, + >, + decimals: ::core::primitive::u8, + }, + #[codec(index = 4)] + MintForeignToken { + token_id: ::subxt::ext::subxt_core::utils::H256, + recipient: ::subxt::ext::subxt_core::utils::H160, + amount: ::core::primitive::u128, + }, + #[codec(index = 5)] + CallContract { + target: ::subxt::ext::subxt_core::utils::H160, + calldata: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::core::primitive::u8, + >, + gas: ::core::primitive::u64, + value: ::core::primitive::u128, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Initializer { + pub params: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + pub maximum_required_gas: ::core::primitive::u64, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Message { + pub origin: ::subxt::ext::subxt_core::utils::H256, + pub id: ::subxt::ext::subxt_core::utils::H256, + pub fee: ::core::primitive::u128, + pub commands: runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::snowbridge_outbound_queue_primitives::v2::message::Command, + >, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct OutboundCommandWrapper { + pub kind: ::core::primitive::u8, + pub gas: ::core::primitive::u64, + pub payload: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct OutboundMessage { + pub origin: ::subxt::ext::subxt_core::utils::H256, + pub nonce: ::core::primitive::u64, + pub topic: ::subxt::ext::subxt_core::utils::H256, + pub commands: runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::snowbridge_outbound_queue_primitives::v2::message::OutboundCommandWrapper, + >, + } + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum OperatingMode { + #[codec(index = 0)] + Normal, + #[codec(index = 1)] + RejectingOutboundMessages, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum SendError { + #[codec(index = 0)] + MessageTooLarge, + #[codec(index = 1)] + Halted, + #[codec(index = 2)] + InvalidChannel, + #[codec(index = 3)] + InvalidOrigin, + } + } pub mod snowbridge_pallet_ethereum_client { use super::runtime_types; pub mod pallet { @@ -3388,7 +3683,7 @@ pub mod api { #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - submit { message: runtime_types::snowbridge_core::inbound::Message }, + submit { event: runtime_types::snowbridge_verification_primitives::EventProof }, #[codec(index = 1)] set_operating_mode { mode: runtime_types::snowbridge_core::operating_mode::BasicOperatingMode, @@ -3413,12 +3708,14 @@ pub mod api { #[codec(index = 7)] Halted, #[codec(index = 8)] - Verification(runtime_types::snowbridge_core::inbound::VerificationError), + Verification( + runtime_types::snowbridge_verification_primitives::VerificationError, + ), #[codec(index = 9)] Send(runtime_types::snowbridge_pallet_inbound_queue::pallet::SendError), #[codec(index = 10)] ConvertMessage( - runtime_types::snowbridge_router_primitives::inbound::ConvertMessageError, + runtime_types::snowbridge_inbound_queue_primitives::v1::ConvertMessageError, ), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] @@ -3454,6 +3751,76 @@ pub mod api { } } } + pub mod snowbridge_pallet_inbound_queue_v2 { + use super::runtime_types; + pub mod pallet { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Call { + #[codec(index = 0)] + submit { + event: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::snowbridge_verification_primitives::EventProof, + >, + }, + #[codec(index = 1)] + set_operating_mode { + mode: runtime_types::snowbridge_core::operating_mode::BasicOperatingMode, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Error { + #[codec(index = 0)] + InvalidGateway, + #[codec(index = 1)] + InvalidAccount, + #[codec(index = 2)] + InvalidMessage, + #[codec(index = 3)] + InvalidNonce, + #[codec(index = 4)] + InvalidFee, + #[codec(index = 5)] + InvalidPayload, + #[codec(index = 6)] + InvalidChannel, + #[codec(index = 7)] + MaxNonceReached, + #[codec(index = 8)] + InvalidAccountConversion, + #[codec(index = 9)] + InvalidNetwork, + #[codec(index = 10)] + Halted, + #[codec(index = 11)] + FeesNotMet, + #[codec(index = 12)] + Unreachable, + #[codec(index = 13)] + SendFailure, + #[codec(index = 14)] + InvalidAsset, + #[codec(index = 15)] + CannotReanchor, + #[codec(index = 16)] + Verification( + runtime_types::snowbridge_verification_primitives::VerificationError, + ), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Event { + #[codec(index = 0)] + MessageReceived { + nonce: ::core::primitive::u64, + message_id: [::core::primitive::u8; 32usize], + }, + #[codec(index = 1)] + OperatingModeChanged { + mode: runtime_types::snowbridge_core::operating_mode::BasicOperatingMode, + }, + } + } + } pub mod snowbridge_pallet_outbound_queue { use super::runtime_types; pub mod pallet { @@ -3513,72 +3880,130 @@ pub mod api { } } } - pub mod snowbridge_pallet_system { + pub mod snowbridge_pallet_outbound_queue_v2 { use super::runtime_types; pub mod pallet { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - #[codec(index = 0)] - upgrade { - impl_address: ::subxt::ext::subxt_core::utils::H160, - impl_code_hash: ::subxt::ext::subxt_core::utils::H256, - initializer: ::core::option::Option< - runtime_types::snowbridge_core::outbound::v1::Initializer, + #[codec(index = 1)] + submit_delivery_receipt { + event: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::snowbridge_verification_primitives::EventProof, >, }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Error { + #[codec(index = 0)] + MessageTooLarge, #[codec(index = 1)] - set_operating_mode { - mode: runtime_types::snowbridge_core::outbound::v1::OperatingMode, - }, + Halted, #[codec(index = 2)] - set_pricing_parameters { - params: runtime_types::snowbridge_core::pricing::PricingParameters< - ::core::primitive::u128, - >, - }, + InvalidChannel, #[codec(index = 3)] - create_agent, + InvalidEnvelope, #[codec(index = 4)] - create_channel { - mode: runtime_types::snowbridge_core::outbound::v1::OperatingMode, - }, + Verification( + runtime_types::snowbridge_verification_primitives::VerificationError, + ), #[codec(index = 5)] - update_channel { - mode: runtime_types::snowbridge_core::outbound::v1::OperatingMode, - }, + InvalidGateway, #[codec(index = 6)] - force_update_channel { - channel_id: runtime_types::snowbridge_core::ChannelId, - mode: runtime_types::snowbridge_core::outbound::v1::OperatingMode, - }, + InvalidPendingNonce, #[codec(index = 7)] - transfer_native_from_agent { - recipient: ::subxt::ext::subxt_core::utils::H160, - amount: ::core::primitive::u128, - }, - #[codec(index = 8)] - force_transfer_native_from_agent { - location: ::subxt::ext::subxt_core::alloc::boxed::Box< - runtime_types::xcm::VersionedLocation, - >, - recipient: ::subxt::ext::subxt_core::utils::H160, - amount: ::core::primitive::u128, - }, - #[codec(index = 9)] - set_token_transfer_fees { - create_asset_xcm: ::core::primitive::u128, - transfer_asset_xcm: ::core::primitive::u128, - register_token: runtime_types::primitive_types::U256, - }, - #[codec(index = 10)] - register_token { - location: ::subxt::ext::subxt_core::alloc::boxed::Box< - runtime_types::xcm::VersionedLocation, - >, - metadata: runtime_types::snowbridge_core::AssetMetadata, - }, + RewardPaymentFailed, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Event { + #[codec(index = 0)] + MessageQueued { + message: runtime_types::snowbridge_outbound_queue_primitives::v2::message::Message, + }, + #[codec(index = 1)] + MessageAccepted { + id: ::subxt::ext::subxt_core::utils::H256, + nonce: ::core::primitive::u64, + }, + #[codec(index = 2)] + MessageRejected { + id: ::core::option::Option< + ::subxt::ext::subxt_core::utils::H256, + >, + payload: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::core::primitive::u8, + >, + error: runtime_types::frame_support::traits::messages::ProcessMessageError, + }, + #[codec(index = 3)] + MessagePostponed { + payload: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::core::primitive::u8, + >, + reason: runtime_types::frame_support::traits::messages::ProcessMessageError, + }, + #[codec(index = 4)] + MessagesCommitted { + root: ::subxt::ext::subxt_core::utils::H256, + count: ::core::primitive::u64, + }, + #[codec(index = 5)] + OperatingModeChanged { + mode: runtime_types::snowbridge_core::operating_mode::BasicOperatingMode, + }, + #[codec(index = 6)] + MessageDelivered { nonce: ::core::primitive::u64 }, + } + } + pub mod types { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct PendingOrder<_0> { + pub nonce: ::core::primitive::u64, + pub block_number: _0, + #[codec(compact)] + pub fee: ::core::primitive::u128, } + } + } + pub mod snowbridge_pallet_system { + use super::runtime_types; + pub mod pallet { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Call { + #[codec(index = 0)] + upgrade { + impl_address: ::subxt::ext::subxt_core::utils::H160, + impl_code_hash: ::subxt::ext::subxt_core::utils::H256, + initializer: ::core::option::Option< + runtime_types::snowbridge_outbound_queue_primitives::v1::message::Initializer, + >, + }, + #[codec(index = 1)] + set_operating_mode { + mode: runtime_types::snowbridge_outbound_queue_primitives::OperatingMode, + }, + #[codec(index = 2)] + set_pricing_parameters { + params: runtime_types::snowbridge_core::pricing::PricingParameters< + ::core::primitive::u128, + >, + }, + #[codec(index = 9)] + set_token_transfer_fees { + create_asset_xcm: ::core::primitive::u128, + transfer_asset_xcm: ::core::primitive::u128, + register_token: runtime_types::primitive_types::U256, + }, + #[codec(index = 10)] + register_token { + location: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + metadata: runtime_types::snowbridge_core::AssetMetadata, + }, + } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] @@ -3596,7 +4021,7 @@ pub mod api { #[codec(index = 6)] InvalidLocation, #[codec(index = 7)] - Send(runtime_types::snowbridge_core::outbound::SendError), + Send(runtime_types::snowbridge_outbound_queue_primitives::SendError), #[codec(index = 8)] InvalidTokenTransferFees, #[codec(index = 9)] @@ -3616,7 +4041,7 @@ pub mod api { #[codec(index = 1)] CreateAgent { location: ::subxt::ext::subxt_core::alloc::boxed::Box< - runtime_types::staging_xcm::v4::location::Location, + runtime_types::staging_xcm::v5::location::Location, >, agent_id: ::subxt::ext::subxt_core::utils::H256, }, @@ -3628,11 +4053,11 @@ pub mod api { #[codec(index = 3)] UpdateChannel { channel_id: runtime_types::snowbridge_core::ChannelId, - mode: runtime_types::snowbridge_core::outbound::v1::OperatingMode, + mode: runtime_types::snowbridge_outbound_queue_primitives::OperatingMode, }, #[codec(index = 4)] SetOperatingMode { - mode: runtime_types::snowbridge_core::outbound::v1::OperatingMode, + mode: runtime_types::snowbridge_outbound_queue_primitives::OperatingMode, }, #[codec(index = 5)] TransferNativeFromAgent { @@ -3660,30 +4085,127 @@ pub mod api { } } } - pub mod snowbridge_router_primitives { + pub mod snowbridge_pallet_system_v2 { use super::runtime_types; - pub mod inbound { + pub mod pallet { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum ConvertMessageError { + pub enum Call { #[codec(index = 0)] - UnsupportedVersion, + upgrade { + impl_address: ::subxt::ext::subxt_core::utils::H160, + impl_code_hash: ::subxt::ext::subxt_core::utils::H256, + initializer: runtime_types::snowbridge_outbound_queue_primitives::v2::message::Initializer, + }, + #[codec(index = 1)] + set_operating_mode { + mode: runtime_types::snowbridge_outbound_queue_primitives::OperatingMode, + }, + #[codec(index = 2)] + register_token { + sender: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + asset_id: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + metadata: runtime_types::snowbridge_core::AssetMetadata, + amount: ::core::primitive::u128, + }, + #[codec(index = 3)] + add_tip { + sender: ::sp_core::crypto::AccountId32, + message_id: runtime_types::snowbridge_core::reward::MessageId, + amount: ::core::primitive::u128, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Error { + #[codec(index = 0)] + LocationReanchorFailed, #[codec(index = 1)] - InvalidDestination, + LocationConversionFailed, #[codec(index = 2)] - InvalidToken, + UnsupportedLocationVersion, #[codec(index = 3)] - UnsupportedFeeAsset, + Send(runtime_types::snowbridge_outbound_queue_primitives::SendError), #[codec(index = 4)] - CannotReanchor, + InvalidUpgradeParameters, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Event { + #[codec(index = 0)] + Upgrade { + impl_address: ::subxt::ext::subxt_core::utils::H160, + impl_code_hash: ::subxt::ext::subxt_core::utils::H256, + initializer_params_hash: ::subxt::ext::subxt_core::utils::H256, + }, + #[codec(index = 1)] + SetOperatingMode { + mode: runtime_types::snowbridge_outbound_queue_primitives::OperatingMode, + }, + #[codec(index = 2)] + RegisterToken { + location: runtime_types::xcm::VersionedLocation, + foreign_token_id: ::subxt::ext::subxt_core::utils::H256, + }, + #[codec(index = 3)] + TipProcessed { + sender: ::sp_core::crypto::AccountId32, + message_id: runtime_types::snowbridge_core::reward::MessageId, + amount: ::core::primitive::u128, + success: ::core::primitive::bool, + }, } } } - pub mod sp_arithmetic { + pub mod snowbridge_verification_primitives { use super::runtime_types; - pub mod fixed_point { - use super::runtime_types; - #[derive( + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct EventProof { + pub event_log: runtime_types::snowbridge_verification_primitives::Log, + pub proof: runtime_types::snowbridge_verification_primitives::Proof, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Log { + pub address: ::subxt::ext::subxt_core::utils::H160, + pub topics: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, + pub data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Proof { + pub receipt_proof: ( + ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, + ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, + ), + pub execution_proof: + runtime_types::snowbridge_beacon_primitives::types::ExecutionProof, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum VerificationError { + #[codec(index = 0)] + HeaderNotFound, + #[codec(index = 1)] + LogNotFound, + #[codec(index = 2)] + InvalidLog, + #[codec(index = 3)] + InvalidProof, + #[codec(index = 4)] + InvalidExecutionProof, + } + } + pub mod sp_arithmetic { + use super::runtime_types; + pub mod fixed_point { + use super::runtime_types; + #[derive( ::codec::Decode, ::codec::Encode, ::subxt::ext::subxt_core::ext::codec::CompactAs, @@ -3693,6 +4215,18 @@ pub mod api { )] pub struct FixedU128(pub ::core::primitive::u128); } + pub mod per_things { + use super::runtime_types; + #[derive( + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, + Clone, + Debug, + PartialEq, + )] + pub struct Perbill(pub ::core::primitive::u32); + } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ArithmeticError { #[codec(index = 0)] @@ -3735,15 +4269,6 @@ pub mod api { PartialEq, )] pub struct Slot(pub ::core::primitive::u64); - #[derive( - ::codec::Decode, - ::codec::Encode, - ::subxt::ext::subxt_core::ext::codec::CompactAs, - Clone, - Debug, - PartialEq, - )] - pub struct SlotDuration(pub ::core::primitive::u64); } pub mod sp_core { use super::runtime_types; @@ -3752,41 +4277,11 @@ pub mod api { #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct KeyTypeId(pub [::core::primitive::u8; 4usize]); } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct OpaqueMetadata( - pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - ); - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum Void {} - } - pub mod sp_inherents { - use super::runtime_types; - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct CheckInherentsResult { - pub okay: ::core::primitive::bool, - pub fatal_error: ::core::primitive::bool, - pub errors: runtime_types::sp_inherents::InherentData, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct InherentData { - pub data: ::subxt::ext::subxt_core::utils::KeyedVec< - [::core::primitive::u8; 8usize], - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - >, - } } pub mod sp_runtime { use super::runtime_types; pub mod generic { use super::runtime_types; - pub mod block { - use super::runtime_types; - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct Block<_0, _1> { - pub header: _0, - pub extrinsics: ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, - } - } pub mod digest { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] @@ -3813,69 +4308,38 @@ pub mod api { } } } - pub mod transaction_validity { + pub mod proving_trie { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum InvalidTransaction { + pub enum TrieError { #[codec(index = 0)] - Call, + InvalidStateRoot, #[codec(index = 1)] - Payment, + IncompleteDatabase, #[codec(index = 2)] - Future, + ValueAtIncompleteKey, #[codec(index = 3)] - Stale, + DecoderError, #[codec(index = 4)] - BadProof, + InvalidHash, #[codec(index = 5)] - AncientBirthBlock, + DuplicateKey, #[codec(index = 6)] - ExhaustsResources, + ExtraneousNode, #[codec(index = 7)] - Custom(::core::primitive::u8), + ExtraneousValue, #[codec(index = 8)] - BadMandatory, + ExtraneousHashReference, #[codec(index = 9)] - MandatoryValidation, + InvalidChildReference, #[codec(index = 10)] - BadSigner, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum TransactionSource { - #[codec(index = 0)] - InBlock, - #[codec(index = 1)] - Local, - #[codec(index = 2)] - External, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum TransactionValidityError { - #[codec(index = 0)] - Invalid(runtime_types::sp_runtime::transaction_validity::InvalidTransaction), - #[codec(index = 1)] - Unknown(runtime_types::sp_runtime::transaction_validity::UnknownTransaction), - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum UnknownTransaction { - #[codec(index = 0)] - CannotLookup, - #[codec(index = 1)] - NoUnsignedValidator, - #[codec(index = 2)] - Custom(::core::primitive::u8), - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct ValidTransaction { - pub priority: ::core::primitive::u64, - pub requires: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - >, - pub provides: ::subxt::ext::subxt_core::alloc::vec::Vec< - ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - >, - pub longevity: ::core::primitive::u64, - pub propagate: ::core::primitive::bool, + ValueMismatch, + #[codec(index = 11)] + IncompleteProof, + #[codec(index = 12)] + RootMismatch, + #[codec(index = 13)] + DecodeError, } } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] @@ -3908,18 +4372,8 @@ pub mod api { Unavailable, #[codec(index = 13)] RootNotAllowed, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct DispatchErrorWithPostInfo<_0> { - pub post_info: _0, - pub error: runtime_types::sp_runtime::DispatchError, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum ExtrinsicInclusionMode { - #[codec(index = 0)] - AllExtrinsics, - #[codec(index = 1)] - OnlyInherents, + #[codec(index = 14)] + Trie(runtime_types::sp_runtime::proving_trie::TrieError), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ModuleError { @@ -3934,6 +4388,8 @@ pub mod api { Sr25519([::core::primitive::u8; 64usize]), #[codec(index = 2)] Ecdsa([::core::primitive::u8; 65usize]), + #[codec(index = 3)] + Eth([::core::primitive::u8; 65usize]), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum TokenError { @@ -3966,6 +4422,14 @@ pub mod api { NoLayer, } } + pub mod sp_staking { + use super::runtime_types; + pub mod offence { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct OffenceSeverity(pub runtime_types::sp_arithmetic::per_things::Perbill); + } + } pub mod sp_trie { use super::runtime_types; pub mod storage_proof { @@ -3992,7 +4456,7 @@ pub mod api { ::core::primitive::u32, )>, pub transaction_version: ::core::primitive::u32, - pub state_version: ::core::primitive::u8, + pub system_version: ::core::primitive::u8, } } pub mod sp_weights { @@ -4208,21 +4672,6 @@ pub mod api { pub interior: runtime_types::staging_xcm::v4::junctions::Junctions, } } - pub mod traits { - use super::runtime_types; - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum Outcome { - #[codec(index = 0)] - Complete { used: ::sp_weights::Weight }, - #[codec(index = 1)] - Incomplete { - used: ::sp_weights::Weight, - error: runtime_types::xcm::v3::traits::Error, - }, - #[codec(index = 2)] - Error { error: runtime_types::xcm::v3::traits::Error }, - } - } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Instruction { #[codec(index = 0)] @@ -4487,88 +4936,24 @@ pub mod api { >, ); } - } - pub mod staging_xcm_executor { - use super::runtime_types; - pub mod traits { + pub mod v5 { use super::runtime_types; - pub mod asset_transfer { + pub mod asset { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum TransferType { - #[codec(index = 0)] - Teleport, - #[codec(index = 1)] - LocalReserve, - #[codec(index = 2)] - DestinationReserve, - #[codec(index = 3)] - RemoteReserve(runtime_types::xcm::VersionedLocation), + pub struct Asset { + pub id: runtime_types::staging_xcm::v5::asset::AssetId, + pub fun: runtime_types::staging_xcm::v5::asset::Fungibility, } - } - } - } - pub mod xcm { - use super::runtime_types; - pub mod double_encoded { - use super::runtime_types; - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct DoubleEncoded { - pub encoded: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - } - } - pub mod v2 { - use super::runtime_types; - pub mod junction { - use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum Junction { + pub enum AssetFilter { #[codec(index = 0)] - Parachain(#[codec(compact)] ::core::primitive::u32), + Definite(runtime_types::staging_xcm::v5::asset::Assets), #[codec(index = 1)] - AccountId32 { - network: runtime_types::xcm::v2::NetworkId, - id: [::core::primitive::u8; 32usize], - }, - #[codec(index = 2)] - AccountIndex64 { - network: runtime_types::xcm::v2::NetworkId, - #[codec(compact)] - index: ::core::primitive::u64, - }, - #[codec(index = 3)] - AccountKey20 { - network: runtime_types::xcm::v2::NetworkId, - key: [::core::primitive::u8; 20usize], - }, - #[codec(index = 4)] - PalletInstance(::core::primitive::u8), - #[codec(index = 5)] - GeneralIndex(#[codec(compact)] ::core::primitive::u128), - #[codec(index = 6)] - GeneralKey( - runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec< - ::core::primitive::u8, - >, - ), - #[codec(index = 7)] - OnlyChild, - #[codec(index = 8)] - Plurality { - id: runtime_types::xcm::v2::BodyId, - part: runtime_types::xcm::v2::BodyPart, - }, + Wild(runtime_types::staging_xcm::v5::asset::WildAsset), } - } - pub mod multiasset { - use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum AssetId { - #[codec(index = 0)] - Concrete(runtime_types::xcm::v2::multilocation::MultiLocation), - #[codec(index = 1)] - Abstract(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), - } + pub struct AssetId(pub runtime_types::staging_xcm::v5::location::Location); #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetInstance { #[codec(index = 0)] @@ -4583,271 +4968,219 @@ pub mod api { Array16([::core::primitive::u8; 16usize]), #[codec(index = 5)] Array32([::core::primitive::u8; 32usize]), - #[codec(index = 6)] - Blob(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum Fungibility { + pub enum AssetTransferFilter { #[codec(index = 0)] - Fungible(#[codec(compact)] ::core::primitive::u128), + Teleport(runtime_types::staging_xcm::v5::asset::AssetFilter), #[codec(index = 1)] - NonFungible(runtime_types::xcm::v2::multiasset::AssetInstance), - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct MultiAsset { - pub id: runtime_types::xcm::v2::multiasset::AssetId, - pub fun: runtime_types::xcm::v2::multiasset::Fungibility, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum MultiAssetFilter { - #[codec(index = 0)] - Definite(runtime_types::xcm::v2::multiasset::MultiAssets), - #[codec(index = 1)] - Wild(runtime_types::xcm::v2::multiasset::WildMultiAsset), + ReserveDeposit(runtime_types::staging_xcm::v5::asset::AssetFilter), + #[codec(index = 2)] + ReserveWithdraw(runtime_types::staging_xcm::v5::asset::AssetFilter), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct MultiAssets( + pub struct Assets( pub ::subxt::ext::subxt_core::alloc::vec::Vec< - runtime_types::xcm::v2::multiasset::MultiAsset, + runtime_types::staging_xcm::v5::asset::Asset, >, ); #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum WildFungibility { + pub enum Fungibility { #[codec(index = 0)] - Fungible, + Fungible(#[codec(compact)] ::core::primitive::u128), #[codec(index = 1)] - NonFungible, + NonFungible(runtime_types::staging_xcm::v5::asset::AssetInstance), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum WildMultiAsset { + pub enum WildAsset { #[codec(index = 0)] All, #[codec(index = 1)] AllOf { - id: runtime_types::xcm::v2::multiasset::AssetId, - fun: runtime_types::xcm::v2::multiasset::WildFungibility, + id: runtime_types::staging_xcm::v5::asset::AssetId, + fun: runtime_types::staging_xcm::v5::asset::WildFungibility, + }, + #[codec(index = 2)] + AllCounted(#[codec(compact)] ::core::primitive::u32), + #[codec(index = 3)] + AllOfCounted { + id: runtime_types::staging_xcm::v5::asset::AssetId, + fun: runtime_types::staging_xcm::v5::asset::WildFungibility, + #[codec(compact)] + count: ::core::primitive::u32, }, } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum WildFungibility { + #[codec(index = 0)] + Fungible, + #[codec(index = 1)] + NonFungible, + } } - pub mod multilocation { + pub mod junction { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum Junctions { + pub enum Junction { #[codec(index = 0)] - Here, + Parachain(#[codec(compact)] ::core::primitive::u32), #[codec(index = 1)] - X1(runtime_types::xcm::v2::junction::Junction), + AccountId32 { + network: ::core::option::Option< + runtime_types::staging_xcm::v5::junction::NetworkId, + >, + id: [::core::primitive::u8; 32usize], + }, #[codec(index = 2)] - X2( - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - ), + AccountIndex64 { + network: ::core::option::Option< + runtime_types::staging_xcm::v5::junction::NetworkId, + >, + #[codec(compact)] + index: ::core::primitive::u64, + }, #[codec(index = 3)] - X3( - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - ), + AccountKey20 { + network: ::core::option::Option< + runtime_types::staging_xcm::v5::junction::NetworkId, + >, + key: [::core::primitive::u8; 20usize], + }, #[codec(index = 4)] - X4( - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - ), + PalletInstance(::core::primitive::u8), #[codec(index = 5)] - X5( - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - ), + GeneralIndex(#[codec(compact)] ::core::primitive::u128), #[codec(index = 6)] - X6( - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - ), + GeneralKey { + length: ::core::primitive::u8, + data: [::core::primitive::u8; 32usize], + }, #[codec(index = 7)] - X7( - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - ), + OnlyChild, #[codec(index = 8)] - X8( - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - runtime_types::xcm::v2::junction::Junction, - ), + Plurality { + id: runtime_types::xcm::v3::junction::BodyId, + part: runtime_types::xcm::v3::junction::BodyPart, + }, + #[codec(index = 9)] + GlobalConsensus(runtime_types::staging_xcm::v5::junction::NetworkId), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct MultiLocation { - pub parents: ::core::primitive::u8, - pub interior: runtime_types::xcm::v2::multilocation::Junctions, + pub enum NetworkId { + #[codec(index = 0)] + ByGenesis([::core::primitive::u8; 32usize]), + #[codec(index = 1)] + ByFork { + block_number: ::core::primitive::u64, + block_hash: [::core::primitive::u8; 32usize], + }, + #[codec(index = 2)] + Polkadot, + #[codec(index = 3)] + Kusama, + #[codec(index = 7)] + Ethereum { + #[codec(compact)] + chain_id: ::core::primitive::u64, + }, + #[codec(index = 8)] + BitcoinCore, + #[codec(index = 9)] + BitcoinCash, + #[codec(index = 10)] + PolkadotBulletin, } } - pub mod traits { + pub mod junctions { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum Error { + pub enum Junctions { #[codec(index = 0)] - Overflow, + Here, #[codec(index = 1)] - Unimplemented, + X1([runtime_types::staging_xcm::v5::junction::Junction; 1usize]), #[codec(index = 2)] - UntrustedReserveLocation, + X2([runtime_types::staging_xcm::v5::junction::Junction; 2usize]), #[codec(index = 3)] - UntrustedTeleportLocation, + X3([runtime_types::staging_xcm::v5::junction::Junction; 3usize]), #[codec(index = 4)] - MultiLocationFull, + X4([runtime_types::staging_xcm::v5::junction::Junction; 4usize]), #[codec(index = 5)] - MultiLocationNotInvertible, + X5([runtime_types::staging_xcm::v5::junction::Junction; 5usize]), #[codec(index = 6)] - BadOrigin, + X6([runtime_types::staging_xcm::v5::junction::Junction; 6usize]), #[codec(index = 7)] - InvalidLocation, + X7([runtime_types::staging_xcm::v5::junction::Junction; 7usize]), #[codec(index = 8)] - AssetNotFound, - #[codec(index = 9)] - FailedToTransactAsset, - #[codec(index = 10)] - NotWithdrawable, - #[codec(index = 11)] - LocationCannotHold, - #[codec(index = 12)] - ExceedsMaxMessageSize, - #[codec(index = 13)] - DestinationUnsupported, - #[codec(index = 14)] - Transport, - #[codec(index = 15)] - Unroutable, - #[codec(index = 16)] - UnknownClaim, - #[codec(index = 17)] - FailedToDecode, - #[codec(index = 18)] - MaxWeightInvalid, - #[codec(index = 19)] - NotHoldingFees, - #[codec(index = 20)] - TooExpensive, - #[codec(index = 21)] - Trap(::core::primitive::u64), - #[codec(index = 22)] - UnhandledXcmVersion, - #[codec(index = 23)] - WeightLimitReached(::core::primitive::u64), - #[codec(index = 24)] - Barrier, - #[codec(index = 25)] - WeightNotComputable, + X8([runtime_types::staging_xcm::v5::junction::Junction; 8usize]), } } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum BodyId { - #[codec(index = 0)] - Unit, - #[codec(index = 1)] - Named( - runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec< - ::core::primitive::u8, - >, - ), - #[codec(index = 2)] - Index(#[codec(compact)] ::core::primitive::u32), - #[codec(index = 3)] - Executive, - #[codec(index = 4)] - Technical, - #[codec(index = 5)] - Legislative, - #[codec(index = 6)] - Judicial, - #[codec(index = 7)] - Defense, - #[codec(index = 8)] - Administration, - #[codec(index = 9)] - Treasury, + pub mod location { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Location { + pub parents: ::core::primitive::u8, + pub interior: runtime_types::staging_xcm::v5::junctions::Junctions, + } + } + pub mod traits { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct InstructionError { + pub index: ::core::primitive::u8, + pub error: runtime_types::xcm::v5::traits::Error, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Outcome { + #[codec(index = 0)] + Complete { used: ::sp_weights::Weight }, + #[codec(index = 1)] + Incomplete { + used: ::sp_weights::Weight, + error: runtime_types::staging_xcm::v5::traits::InstructionError, + }, + #[codec(index = 2)] + Error(runtime_types::staging_xcm::v5::traits::InstructionError), + } } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum BodyPart { + pub enum Hint { #[codec(index = 0)] - Voice, - #[codec(index = 1)] - Members { - #[codec(compact)] - count: ::core::primitive::u32, - }, - #[codec(index = 2)] - Fraction { - #[codec(compact)] - nom: ::core::primitive::u32, - #[codec(compact)] - denom: ::core::primitive::u32, - }, - #[codec(index = 3)] - AtLeastProportion { - #[codec(compact)] - nom: ::core::primitive::u32, - #[codec(compact)] - denom: ::core::primitive::u32, - }, - #[codec(index = 4)] - MoreThanProportion { - #[codec(compact)] - nom: ::core::primitive::u32, - #[codec(compact)] - denom: ::core::primitive::u32, - }, + AssetClaimer { location: runtime_types::staging_xcm::v5::location::Location }, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Instruction { #[codec(index = 0)] - WithdrawAsset(runtime_types::xcm::v2::multiasset::MultiAssets), + WithdrawAsset(runtime_types::staging_xcm::v5::asset::Assets), #[codec(index = 1)] - ReserveAssetDeposited(runtime_types::xcm::v2::multiasset::MultiAssets), + ReserveAssetDeposited(runtime_types::staging_xcm::v5::asset::Assets), #[codec(index = 2)] - ReceiveTeleportedAsset(runtime_types::xcm::v2::multiasset::MultiAssets), + ReceiveTeleportedAsset(runtime_types::staging_xcm::v5::asset::Assets), #[codec(index = 3)] QueryResponse { #[codec(compact)] query_id: ::core::primitive::u64, - response: runtime_types::xcm::v2::Response, - #[codec(compact)] - max_weight: ::core::primitive::u64, + response: runtime_types::staging_xcm::v5::Response, + max_weight: ::sp_weights::Weight, + querier: ::core::option::Option< + runtime_types::staging_xcm::v5::location::Location, + >, }, #[codec(index = 4)] TransferAsset { - assets: runtime_types::xcm::v2::multiasset::MultiAssets, - beneficiary: runtime_types::xcm::v2::multilocation::MultiLocation, + assets: runtime_types::staging_xcm::v5::asset::Assets, + beneficiary: runtime_types::staging_xcm::v5::location::Location, }, #[codec(index = 5)] TransferReserveAsset { - assets: runtime_types::xcm::v2::multiasset::MultiAssets, - dest: runtime_types::xcm::v2::multilocation::MultiLocation, - xcm: runtime_types::xcm::v2::Xcm, + assets: runtime_types::staging_xcm::v5::asset::Assets, + dest: runtime_types::staging_xcm::v5::location::Location, + xcm: runtime_types::staging_xcm::v5::Xcm, }, #[codec(index = 6)] Transact { - origin_type: runtime_types::xcm::v2::OriginKind, - #[codec(compact)] - require_weight_at_most: ::core::primitive::u64, + origin_kind: runtime_types::xcm::v3::OriginKind, + fallback_max_weight: ::core::option::Option<::sp_weights::Weight>, call: runtime_types::xcm::double_encoded::DoubleEncoded, }, #[codec(index = 7)] @@ -4876,142 +5209,266 @@ pub mod api { #[codec(index = 10)] ClearOrigin, #[codec(index = 11)] - DescendOrigin(runtime_types::xcm::v2::multilocation::Junctions), + DescendOrigin(runtime_types::staging_xcm::v5::junctions::Junctions), #[codec(index = 12)] - ReportError { - #[codec(compact)] - query_id: ::core::primitive::u64, - dest: runtime_types::xcm::v2::multilocation::MultiLocation, - #[codec(compact)] - max_response_weight: ::core::primitive::u64, - }, + ReportError(runtime_types::staging_xcm::v5::QueryResponseInfo), #[codec(index = 13)] DepositAsset { - assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, - #[codec(compact)] - max_assets: ::core::primitive::u32, - beneficiary: runtime_types::xcm::v2::multilocation::MultiLocation, + assets: runtime_types::staging_xcm::v5::asset::AssetFilter, + beneficiary: runtime_types::staging_xcm::v5::location::Location, }, #[codec(index = 14)] DepositReserveAsset { - assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, - #[codec(compact)] - max_assets: ::core::primitive::u32, - dest: runtime_types::xcm::v2::multilocation::MultiLocation, - xcm: runtime_types::xcm::v2::Xcm, + assets: runtime_types::staging_xcm::v5::asset::AssetFilter, + dest: runtime_types::staging_xcm::v5::location::Location, + xcm: runtime_types::staging_xcm::v5::Xcm, }, #[codec(index = 15)] ExchangeAsset { - give: runtime_types::xcm::v2::multiasset::MultiAssetFilter, - receive: runtime_types::xcm::v2::multiasset::MultiAssets, + give: runtime_types::staging_xcm::v5::asset::AssetFilter, + want: runtime_types::staging_xcm::v5::asset::Assets, + maximal: ::core::primitive::bool, }, #[codec(index = 16)] InitiateReserveWithdraw { - assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, - reserve: runtime_types::xcm::v2::multilocation::MultiLocation, - xcm: runtime_types::xcm::v2::Xcm, + assets: runtime_types::staging_xcm::v5::asset::AssetFilter, + reserve: runtime_types::staging_xcm::v5::location::Location, + xcm: runtime_types::staging_xcm::v5::Xcm, }, #[codec(index = 17)] InitiateTeleport { - assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, - dest: runtime_types::xcm::v2::multilocation::MultiLocation, - xcm: runtime_types::xcm::v2::Xcm, + assets: runtime_types::staging_xcm::v5::asset::AssetFilter, + dest: runtime_types::staging_xcm::v5::location::Location, + xcm: runtime_types::staging_xcm::v5::Xcm, }, #[codec(index = 18)] - QueryHolding { + ReportHolding { + response_info: runtime_types::staging_xcm::v5::QueryResponseInfo, + assets: runtime_types::staging_xcm::v5::asset::AssetFilter, + }, + #[codec(index = 19)] + BuyExecution { + fees: runtime_types::staging_xcm::v5::asset::Asset, + weight_limit: runtime_types::xcm::v3::WeightLimit, + }, + #[codec(index = 20)] + RefundSurplus, + #[codec(index = 21)] + SetErrorHandler(runtime_types::staging_xcm::v5::Xcm), + #[codec(index = 22)] + SetAppendix(runtime_types::staging_xcm::v5::Xcm), + #[codec(index = 23)] + ClearError, + #[codec(index = 24)] + ClaimAsset { + assets: runtime_types::staging_xcm::v5::asset::Assets, + ticket: runtime_types::staging_xcm::v5::location::Location, + }, + #[codec(index = 25)] + Trap(#[codec(compact)] ::core::primitive::u64), + #[codec(index = 26)] + SubscribeVersion { #[codec(compact)] query_id: ::core::primitive::u64, - dest: runtime_types::xcm::v2::multilocation::MultiLocation, - assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, + max_response_weight: ::sp_weights::Weight, + }, + #[codec(index = 27)] + UnsubscribeVersion, + #[codec(index = 28)] + BurnAsset(runtime_types::staging_xcm::v5::asset::Assets), + #[codec(index = 29)] + ExpectAsset(runtime_types::staging_xcm::v5::asset::Assets), + #[codec(index = 30)] + ExpectOrigin( + ::core::option::Option, + ), + #[codec(index = 31)] + ExpectError( + ::core::option::Option<( + ::core::primitive::u32, + runtime_types::xcm::v5::traits::Error, + )>, + ), + #[codec(index = 32)] + ExpectTransactStatus(runtime_types::xcm::v3::MaybeErrorCode), + #[codec(index = 33)] + QueryPallet { + module_name: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + response_info: runtime_types::staging_xcm::v5::QueryResponseInfo, + }, + #[codec(index = 34)] + ExpectPallet { + #[codec(compact)] + index: ::core::primitive::u32, + name: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + module_name: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + #[codec(compact)] + crate_major: ::core::primitive::u32, #[codec(compact)] - max_response_weight: ::core::primitive::u64, + min_crate_minor: ::core::primitive::u32, + }, + #[codec(index = 35)] + ReportTransactStatus(runtime_types::staging_xcm::v5::QueryResponseInfo), + #[codec(index = 36)] + ClearTransactStatus, + #[codec(index = 37)] + UniversalOrigin(runtime_types::staging_xcm::v5::junction::Junction), + #[codec(index = 38)] + ExportMessage { + network: runtime_types::staging_xcm::v5::junction::NetworkId, + destination: runtime_types::staging_xcm::v5::junctions::Junctions, + xcm: runtime_types::staging_xcm::v5::Xcm, + }, + #[codec(index = 39)] + LockAsset { + asset: runtime_types::staging_xcm::v5::asset::Asset, + unlocker: runtime_types::staging_xcm::v5::location::Location, + }, + #[codec(index = 40)] + UnlockAsset { + asset: runtime_types::staging_xcm::v5::asset::Asset, + target: runtime_types::staging_xcm::v5::location::Location, + }, + #[codec(index = 41)] + NoteUnlockable { + asset: runtime_types::staging_xcm::v5::asset::Asset, + owner: runtime_types::staging_xcm::v5::location::Location, + }, + #[codec(index = 42)] + RequestUnlock { + asset: runtime_types::staging_xcm::v5::asset::Asset, + locker: runtime_types::staging_xcm::v5::location::Location, + }, + #[codec(index = 43)] + SetFeesMode { jit_withdraw: ::core::primitive::bool }, + #[codec(index = 44)] + SetTopic([::core::primitive::u8; 32usize]), + #[codec(index = 45)] + ClearTopic, + #[codec(index = 46)] + AliasOrigin(runtime_types::staging_xcm::v5::location::Location), + #[codec(index = 47)] + UnpaidExecution { + weight_limit: runtime_types::xcm::v3::WeightLimit, + check_origin: ::core::option::Option< + runtime_types::staging_xcm::v5::location::Location, + >, }, - #[codec(index = 19)] - BuyExecution { - fees: runtime_types::xcm::v2::multiasset::MultiAsset, - weight_limit: runtime_types::xcm::v2::WeightLimit, + #[codec(index = 48)] + PayFees { asset: runtime_types::staging_xcm::v5::asset::Asset }, + #[codec(index = 49)] + InitiateTransfer { + destination: runtime_types::staging_xcm::v5::location::Location, + remote_fees: ::core::option::Option< + runtime_types::staging_xcm::v5::asset::AssetTransferFilter, + >, + preserve_origin: ::core::primitive::bool, + assets: runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::staging_xcm::v5::asset::AssetTransferFilter, + >, + remote_xcm: runtime_types::staging_xcm::v5::Xcm, }, - #[codec(index = 20)] - RefundSurplus, - #[codec(index = 21)] - SetErrorHandler(runtime_types::xcm::v2::Xcm), - #[codec(index = 22)] - SetAppendix(runtime_types::xcm::v2::Xcm), - #[codec(index = 23)] - ClearError, - #[codec(index = 24)] - ClaimAsset { - assets: runtime_types::xcm::v2::multiasset::MultiAssets, - ticket: runtime_types::xcm::v2::multilocation::MultiLocation, + #[codec(index = 50)] + ExecuteWithOrigin { + descendant_origin: ::core::option::Option< + runtime_types::staging_xcm::v5::junctions::Junctions, + >, + xcm: runtime_types::staging_xcm::v5::Xcm, }, - #[codec(index = 25)] - Trap(#[codec(compact)] ::core::primitive::u64), - #[codec(index = 26)] - SubscribeVersion { - #[codec(compact)] - query_id: ::core::primitive::u64, - #[codec(compact)] - max_response_weight: ::core::primitive::u64, + #[codec(index = 51)] + SetHints { + hints: runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::staging_xcm::v5::Hint, + >, }, - #[codec(index = 27)] - UnsubscribeVersion, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum NetworkId { - #[codec(index = 0)] - Any, - #[codec(index = 1)] - Named( - runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec< - ::core::primitive::u8, - >, - ), - #[codec(index = 2)] - Polkadot, - #[codec(index = 3)] - Kusama, + pub struct PalletInfo { + #[codec(compact)] + pub index: ::core::primitive::u32, + pub name: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + pub module_name: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + #[codec(compact)] + pub major: ::core::primitive::u32, + #[codec(compact)] + pub minor: ::core::primitive::u32, + #[codec(compact)] + pub patch: ::core::primitive::u32, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum OriginKind { - #[codec(index = 0)] - Native, - #[codec(index = 1)] - SovereignAccount, - #[codec(index = 2)] - Superuser, - #[codec(index = 3)] - Xcm, + pub struct QueryResponseInfo { + pub destination: runtime_types::staging_xcm::v5::location::Location, + #[codec(compact)] + pub query_id: ::core::primitive::u64, + pub max_weight: ::sp_weights::Weight, } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Response { #[codec(index = 0)] Null, #[codec(index = 1)] - Assets(runtime_types::xcm::v2::multiasset::MultiAssets), + Assets(runtime_types::staging_xcm::v5::asset::Assets), #[codec(index = 2)] ExecutionResult( ::core::option::Option<( ::core::primitive::u32, - runtime_types::xcm::v2::traits::Error, + runtime_types::xcm::v5::traits::Error, )>, ), #[codec(index = 3)] Version(::core::primitive::u32), - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum WeightLimit { - #[codec(index = 0)] - Unlimited, - #[codec(index = 1)] - Limited(#[codec(compact)] ::core::primitive::u64), + #[codec(index = 4)] + PalletsInfo( + runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::staging_xcm::v5::PalletInfo, + >, + ), + #[codec(index = 5)] + DispatchResult(runtime_types::xcm::v3::MaybeErrorCode), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Xcm( pub ::subxt::ext::subxt_core::alloc::vec::Vec< - runtime_types::xcm::v2::Instruction, + runtime_types::staging_xcm::v5::Instruction, >, ); } + } + pub mod staging_xcm_executor { + use super::runtime_types; + pub mod traits { + use super::runtime_types; + pub mod asset_transfer { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum TransferType { + #[codec(index = 0)] + Teleport, + #[codec(index = 1)] + LocalReserve, + #[codec(index = 2)] + DestinationReserve, + #[codec(index = 3)] + RemoteReserve(runtime_types::xcm::VersionedLocation), + } + } + } + } + pub mod xcm { + use super::runtime_types; + pub mod double_encoded { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct DoubleEncoded { + pub encoded: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + } + } pub mod v3 { use super::runtime_types; pub mod junction { @@ -5371,6 +5828,23 @@ pub mod api { #[codec(index = 39)] ExceedsStackLimit, } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum SendError { + #[codec(index = 0)] + NotApplicable, + #[codec(index = 1)] + Transport, + #[codec(index = 2)] + Unroutable, + #[codec(index = 3)] + DestinationUnsupported, + #[codec(index = 4)] + ExceedsMaxMessageSize, + #[codec(index = 5)] + MissingArgument, + #[codec(index = 6)] + Fees, + } } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Instruction { @@ -5673,121 +6147,160 @@ pub mod api { >, ); } + pub mod v5 { + use super::runtime_types; + pub mod traits { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Error { + #[codec(index = 0)] + Overflow, + #[codec(index = 1)] + Unimplemented, + #[codec(index = 2)] + UntrustedReserveLocation, + #[codec(index = 3)] + UntrustedTeleportLocation, + #[codec(index = 4)] + LocationFull, + #[codec(index = 5)] + LocationNotInvertible, + #[codec(index = 6)] + BadOrigin, + #[codec(index = 7)] + InvalidLocation, + #[codec(index = 8)] + AssetNotFound, + #[codec(index = 9)] + FailedToTransactAsset, + #[codec(index = 10)] + NotWithdrawable, + #[codec(index = 11)] + LocationCannotHold, + #[codec(index = 12)] + ExceedsMaxMessageSize, + #[codec(index = 13)] + DestinationUnsupported, + #[codec(index = 14)] + Transport, + #[codec(index = 15)] + Unroutable, + #[codec(index = 16)] + UnknownClaim, + #[codec(index = 17)] + FailedToDecode, + #[codec(index = 18)] + MaxWeightInvalid, + #[codec(index = 19)] + NotHoldingFees, + #[codec(index = 20)] + TooExpensive, + #[codec(index = 21)] + Trap(::core::primitive::u64), + #[codec(index = 22)] + ExpectationFalse, + #[codec(index = 23)] + PalletNotFound, + #[codec(index = 24)] + NameMismatch, + #[codec(index = 25)] + VersionIncompatible, + #[codec(index = 26)] + HoldingWouldOverflow, + #[codec(index = 27)] + ExportError, + #[codec(index = 28)] + ReanchorFailed, + #[codec(index = 29)] + NoDeal, + #[codec(index = 30)] + FeesNotMet, + #[codec(index = 31)] + LockError, + #[codec(index = 32)] + NoPermission, + #[codec(index = 33)] + Unanchored, + #[codec(index = 34)] + NotDepositable, + #[codec(index = 35)] + TooManyAssets, + #[codec(index = 36)] + UnhandledXcmVersion, + #[codec(index = 37)] + WeightLimitReached(::sp_weights::Weight), + #[codec(index = 38)] + Barrier, + #[codec(index = 39)] + WeightNotComputable, + #[codec(index = 40)] + ExceedsStackLimit, + } + } + } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedAssetId { #[codec(index = 3)] V3(runtime_types::xcm::v3::multiasset::AssetId), #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::asset::AssetId), + #[codec(index = 5)] + V5(runtime_types::staging_xcm::v5::asset::AssetId), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedAssets { - #[codec(index = 1)] - V2(runtime_types::xcm::v2::multiasset::MultiAssets), #[codec(index = 3)] V3(runtime_types::xcm::v3::multiasset::MultiAssets), #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::asset::Assets), + #[codec(index = 5)] + V5(runtime_types::staging_xcm::v5::asset::Assets), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedInteriorLocation { - #[codec(index = 2)] - V2(runtime_types::xcm::v2::multilocation::Junctions), #[codec(index = 3)] V3(runtime_types::xcm::v3::junctions::Junctions), #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::junctions::Junctions), + #[codec(index = 5)] + V5(runtime_types::staging_xcm::v5::junctions::Junctions), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedLocation { - #[codec(index = 1)] - V2(runtime_types::xcm::v2::multilocation::MultiLocation), #[codec(index = 3)] V3(runtime_types::staging_xcm::v3::multilocation::MultiLocation), #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::location::Location), + #[codec(index = 5)] + V5(runtime_types::staging_xcm::v5::location::Location), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedResponse { - #[codec(index = 2)] - V2(runtime_types::xcm::v2::Response), #[codec(index = 3)] V3(runtime_types::xcm::v3::Response), #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::Response), + #[codec(index = 5)] + V5(runtime_types::staging_xcm::v5::Response), } #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedXcm { - #[codec(index = 2)] - V2(runtime_types::xcm::v2::Xcm), #[codec(index = 3)] V3(runtime_types::xcm::v3::Xcm), #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::Xcm), + #[codec(index = 5)] + V5(runtime_types::staging_xcm::v5::Xcm), } } pub mod xcm_runtime_apis { use super::runtime_types; - pub mod conversions { - use super::runtime_types; - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum Error { - #[codec(index = 0)] - Unsupported, - #[codec(index = 1)] - VersionedConversionFailed, - } - } - pub mod dry_run { - use super::runtime_types; - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct CallDryRunEffects<_0> { - pub execution_result: ::core::result::Result< - runtime_types::frame_support::dispatch::PostDispatchInfo, - runtime_types::sp_runtime::DispatchErrorWithPostInfo< - runtime_types::frame_support::dispatch::PostDispatchInfo, - >, - >, - pub emitted_events: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, - pub local_xcm: ::core::option::Option, - pub forwarded_xcms: ::subxt::ext::subxt_core::alloc::vec::Vec<( - runtime_types::xcm::VersionedLocation, - ::subxt::ext::subxt_core::alloc::vec::Vec, - )>, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum Error { - #[codec(index = 0)] - Unimplemented, - #[codec(index = 1)] - VersionedConversionFailed, - } - #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub struct XcmDryRunEffects<_0> { - pub execution_result: runtime_types::staging_xcm::v4::traits::Outcome, - pub emitted_events: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, - pub forwarded_xcms: ::subxt::ext::subxt_core::alloc::vec::Vec<( - runtime_types::xcm::VersionedLocation, - ::subxt::ext::subxt_core::alloc::vec::Vec, - )>, - } - } - pub mod fees { + pub mod authorized_aliases { use super::runtime_types; #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] - pub enum Error { - #[codec(index = 0)] - Unimplemented, - #[codec(index = 1)] - VersionedConversionFailed, - #[codec(index = 2)] - WeightNotComputable, - #[codec(index = 3)] - UnhandledXcmVersion, - #[codec(index = 4)] - AssetNotFound, - #[codec(index = 5)] - Unroutable, + pub struct OriginAliaser { + pub location: runtime_types::xcm::VersionedLocation, + pub expiry: ::core::option::Option<::core::primitive::u64>, } } } diff --git a/relay-clients/client-bridge-hub-westend/src/lib.rs b/relay-clients/client-bridge-hub-westend/src/lib.rs index 823e7fedd3..9f1a6b5eaf 100644 --- a/relay-clients/client-bridge-hub-westend/src/lib.rs +++ b/relay-clients/client-bridge-hub-westend/src/lib.rs @@ -140,5 +140,5 @@ impl ChainWithMessages for BridgeHubWestend { impl ChainWithRuntimeVersion for BridgeHubWestend { const RUNTIME_VERSION: Option = - Some(SimpleRuntimeVersion { spec_version: 1_016_001, transaction_version: 6 }); + Some(SimpleRuntimeVersion { spec_version: 1_022_002, transaction_version: 6 }); } diff --git a/tools/runtime-codegen/Cargo.lock b/tools/runtime-codegen/Cargo.lock index 68ded60e45..398c25b99f 100644 --- a/tools/runtime-codegen/Cargo.lock +++ b/tools/runtime-codegen/Cargo.lock @@ -510,9 +510,9 @@ checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" [[package]] name = "byte-slice-cast" -version = "1.2.2" +version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3ac9f8b63eca6fd385229b3675f6cc0dc5c8a5c8a54a59d4f52ffd670d87b0c" +checksum = "7575182f7272186991736b70173b0ea045398f984bf5ebbb3804736ce1330c9d" [[package]] name = "byteorder" @@ -2438,9 +2438,9 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "3.7.4" +version = "3.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9fde3d0718baf5bc92f577d652001da0f8d54cd03a7974e118d04fc888dc23d" +checksum = "799781ae679d79a948e13d4824a40970bfa500058d245760dd857301059810fa" dependencies = [ "arrayvec", "bitvec", @@ -2455,9 +2455,9 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "3.7.4" +version = "3.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "581c837bb6b9541ce7faa9377c20616e4fb7650f6b0f68bc93c827ee504fb7b3" +checksum = "34b4653168b563151153c9e4c08ebed57fb8262bebfa79711552fa983c623e7a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2683,9 +2683,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.93" +version = "1.0.97" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99" +checksum = "d61789d7719defeb74ea5fe81f2fdfdbd28a803847077cecce2ff14e1472f6f1" dependencies = [ "unicode-ident", ] @@ -2701,9 +2701,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.38" +version = "1.0.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc" +checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" dependencies = [ "proc-macro2", ] @@ -3361,9 +3361,9 @@ checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" [[package]] name = "serde" -version = "1.0.218" +version = "1.0.219" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8dfc9d19bdbf6d17e22319da49161d5d0108e4188e8b680aef6299eed22df60" +checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" dependencies = [ "serde_derive", ] @@ -3379,9 +3379,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.218" +version = "1.0.219" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f09503e191f4e797cb8aac08e9a4a4695c5edf6a2e70e376d961ddd5c969f82b" +checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" dependencies = [ "proc-macro2", "quote", diff --git a/tools/runtime-codegen/Cargo.toml b/tools/runtime-codegen/Cargo.toml index 3ca509a14d..0b2db75729 100644 --- a/tools/runtime-codegen/Cargo.toml +++ b/tools/runtime-codegen/Cargo.toml @@ -13,7 +13,7 @@ repository = "https://github.com/paritytech/parity-bridges-common.git" [dependencies] clap = { version = "4.5.3", features = ["derive", "cargo"] } -codec = { package = "parity-scale-codec", version = "3.7.4", features = ["derive"] } +codec = { package = "parity-scale-codec", version = "3.7.5", features = ["derive"] } color-eyre = "0.6.1" indoc = "2.0.5" prettyplease = "0.2.20"