diff --git a/.baedeker/rewrites.example.jsonnet b/.baedeker/rewrites.example.jsonnet index e4289a1309..a4d2ad7afb 100644 --- a/.baedeker/rewrites.example.jsonnet +++ b/.baedeker/rewrites.example.jsonnet @@ -9,12 +9,12 @@ function(prev, repoDir) (import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths( { 'bin/unique': '%s/target/release/unique-collator' % repoDir, - 'bin/polkadot': { dockerImage: 'uniquenetwork/builder-polkadot:%s' % dotenv.POLKADOT_MAINNET_BRANCH }, - 'bin/acala': { dockerImage: 'uniquenetwork/builder-acala:%s' % dotenv.ACALA_BUILD_BRANCH }, - 'bin/moonbeam': { dockerImage: 'uniquenetwork/builder-moonbeam:%s' % dotenv.MOONBEAM_BUILD_BRANCH }, - 'bin/cumulus': { dockerImage: 'uniquenetwork/builder-cumulus:%s' % dotenv.STATEMINE_BUILD_BRANCH }, - 'bin/astar': { dockerImage: 'uniquenetwork/builder-astar:%s' % dotenv.ASTAR_BUILD_BRANCH }, - 'bin/polkadex': { dockerImage: 'uniquenetwork/builder-polkadex:%s' % dotenv.POLKADEX_BUILD_BRANCH }, + 'bin/polkadot': { dockerImage: 'parity/polkadot:%s' % dotenv.POLKADOT_MAINNET_BRANCH }, + 'bin/acala': { dockerImage: 'acala/acala-node:%s' % dotenv.ACALA_BUILD_BRANCH }, + 'bin/moonbeam': { dockerImage: 'moonbeamfoundation/moonbeam:%s' % dotenv.MOONBEAM_BUILD_BRANCH }, + 'bin/assethub': { dockerImage: 'parity/polkadot-parachain:%s' % dotenv.STATEMINE_BUILD_BRANCH }, + 'bin/astar': { dockerImage: 'staketechnologies/astar-collator:%s' % dotenv.ASTAR_BUILD_BRANCH }, + 'bin/polkadex': { dockerImage: 'polkadex/mainnet:%s' % dotenv.POLKADEX_BUILD_BRANCH }, 'bin/hydradx': { dockerImage: 'uniquenetwork/builder-hydraDx:%s' % dotenv.HYDRADX_BUILD_BRANCH }, }, extra_node_mixin={ diff --git a/.baedeker/up.sh b/.baedeker/up.sh index 695175405e..537d668c5a 100755 --- a/.baedeker/up.sh +++ b/.baedeker/up.sh @@ -1,6 +1,6 @@ #!/bin/sh set -e BDK_DIR=$(dirname $(readlink -f "$0")) -RUST_LOG=info baedeker --spec=docker -J$BDK_DIR/vendor/ --generator=docker_compose=$BDK_DIR/.bdk-env --generator=docker_compose_discover=$BDK_DIR/.bdk-env/discover.env --secret=file=$BDK_DIR/.bdk-env/secret --tla-str=relay_spec=rococo-local --input-modules='lib:baedeker-library/ops/nginx.libsonnet' --input-modules='lib:baedeker-library/ops/devtools.libsonnet' --tla-str=repoDir=$(realpath $BDK_DIR/..) $@ $BDK_DIR/rewrites.jsonnet +RUST_LOG=info ./baedeker --spec=docker -J$BDK_DIR/vendor/ --generator=docker_compose=$BDK_DIR/.bdk-env --generator=docker_compose_discover=$BDK_DIR/.bdk-env/discover.env --secret=file=$BDK_DIR/.bdk-env/secret --tla-str=relay_spec=rococo-local --tla-code=assethub_spec="import 'assethub-spec.json'" --input-modules='lib:baedeker-library/ops/nginx.libsonnet' --input-modules='lib:baedeker-library/ops/devtools.libsonnet' --tla-str=repoDir=$(realpath $BDK_DIR/..) $@ $BDK_DIR/rewrites.jsonnet cd $BDK_DIR/.bdk-env -docker compose up -d --wait --remove-orphans +docker compose up diff --git a/.baedeker/xcm-opal.jsonnet b/.baedeker/xcm-opal.jsonnet index 994e615ea7..1c7c724b54 100644 --- a/.baedeker/xcm-opal.jsonnet +++ b/.baedeker/xcm-opal.jsonnet @@ -44,19 +44,20 @@ local unique = { }, }; -local westmint = { - name: 'westmint', +local assethub = { + name: 'assethub', bin: 'bin/assethub', paraId: 1002, spec: {Genesis:{ - chain: 'westmint-local', + chain: 'asset-hub-westend-local', modify:: m.genericPara($), }}, nodes: { [name]: { bin: $.bin, wantedKeys: 'para', - expectedDataPath: '/parity', + parentConnection: 'internal-samedir', + expectedDataPath: '/parity', }, for name in ['alice', 'bob'] }, @@ -65,6 +66,6 @@ local westmint = { relay + { parachains: { [para.name]: para, - for para in [unique, westmint] + for para in [unique, assethub] }, } diff --git a/.baedeker/xcm-quartz.jsonnet b/.baedeker/xcm-quartz.jsonnet index 9e396743dd..fa9982a8a8 100644 --- a/.baedeker/xcm-quartz.jsonnet +++ b/.baedeker/xcm-quartz.jsonnet @@ -2,7 +2,7 @@ local m = import 'baedeker-library/mixin/spec.libsonnet', ; -function(relay_spec) +function(relay_spec, assethub_spec) local relay = { name: 'relay', @@ -26,7 +26,7 @@ local relay = { wantedKeys: 'relay', expectedDataPath: '/parity', }, - for name in ['alice', 'bob', 'charlie', 'dave', 'eve', 'ferdie'] + for name in ['alice', 'bob', 'charlie', 'dave', 'eve', 'ferdie', 'gregory', 'holly', 'iggy', 'john', 'kurt'] }, }; @@ -64,6 +64,8 @@ local karura = { [name]: { bin: $.bin, wantedKeys: 'para', + parentConnection: 'internal-samedir', + expectedDataPath: '/acala/data', }, for name in ['alice', 'bob'] }, @@ -83,24 +85,28 @@ local moonriver = { [name]: { bin: $.bin, wantedKeys: 'para-nimbus', + parentConnection: 'internal-samedir', + expectedDataPath: '/data', }, for name in ['alith', 'baltathar'] }, }; -local statemine = { - name: 'statemine', +local assethub = { + name: 'assethub', bin: 'bin/assethub', paraId: 1004, - spec: {Genesis:{ - chain: 'statemine-local', - modify:: m.genericPara($), - }}, + spec: { + FromScratchGenesis: { + spec: m.genericPara($)(assethub_spec), + } + }, nodes: { [name]: { bin: $.bin, wantedKeys: 'para', - expectedDataPath: '/parity', + parentConnection: 'internal-samedir', + expectedDataPath: '/parity', }, for name in ['alice', 'bob'] }, @@ -118,6 +124,8 @@ local shiden = { [name]: { bin: $.bin, wantedKeys: 'para', + parentConnection: 'internal-samedir', + expectedDataPath: '/data', }, for name in ['alice', 'bob'] }, @@ -126,6 +134,6 @@ local shiden = { relay + { parachains: { [para.name]: para, - for para in [unique, karura, moonriver, statemine, shiden] + for para in [unique, karura, moonriver, assethub, shiden] }, } diff --git a/.baedeker/xcm-unique.jsonnet b/.baedeker/xcm-unique.jsonnet index 865de8a5c4..04356ddba8 100644 --- a/.baedeker/xcm-unique.jsonnet +++ b/.baedeker/xcm-unique.jsonnet @@ -2,7 +2,7 @@ local m = import 'baedeker-library/mixin/spec.libsonnet', ; -function(relay_spec) +function(relay_spec, assethub_spec) local relay = { name: 'relay', @@ -27,7 +27,7 @@ local relay = { wantedKeys: 'relay', expectedDataPath: '/parity', }, - for name in ['alice', 'bob', 'charlie', 'dave', 'eve', 'ferdie', 'gregory', 'holly'] + for name in ['alice', 'bob', 'charlie', 'dave', 'eve', 'ferdie', 'gregory', 'holly', 'iggy', 'john', 'kurt', 'larry', 'mike', 'norman', 'osvald'] }, }; @@ -65,6 +65,8 @@ local acala = { [name]: { bin: $.bin, wantedKeys: 'para', + parentConnection: 'internal-samedir', + expectedDataPath: '/acala/data', }, for name in ['alice', 'bob'] }, @@ -84,24 +86,28 @@ local moonbeam = { [name]: { bin: $.bin, wantedKeys: 'para-nimbus', + parentConnection: 'internal-samedir', + expectedDataPath: '/data', }, for name in ['alith', 'baltathar'] }, }; -local statemint = { - name: 'statemint', +local assethub = { + name: 'assethub', bin: 'bin/assethub', paraId: 1004, - spec: {Genesis:{ - chain: 'statemint-local', - modify:: m.genericPara($), - }}, + spec: { + FromScratchGenesis: { + spec: m.genericPara($)(assethub_spec), + } + }, nodes: { [name]: { bin: $.bin, wantedKeys: 'para-ed', - expectedDataPath: '/parity', + parentConnection: 'internal-samedir', + expectedDataPath: '/parity', }, for name in ['alice', 'bob'] }, @@ -119,6 +125,8 @@ local astar = { [name]: { bin: $.bin, wantedKeys: 'para', + parentConnection: 'internal-samedir', + expectedDataPath: '/data', }, for name in ['alice', 'bob'] }, @@ -136,6 +144,9 @@ local polkadex = { [name]: { bin: $.bin, wantedKeys: 'para', + parentConnection: 'internal-samedir', + expectedDataPath: '/data', + }, for name in ['alice', 'bob'] }, @@ -153,7 +164,8 @@ local hydraDx = { [name]: { bin: $.bin, wantedKeys: 'para', - legacyRpc: true, + parentConnection: 'internal-samedir', + expectedDataPath: '/hydra', }, for name in ['alice', 'bob'] }, @@ -163,6 +175,6 @@ local hydraDx = { relay + { parachains: { [para.name]: para, - for para in [unique, acala, moonbeam, statemint, astar, polkadex, hydraDx] + for para in [unique, acala, moonbeam, assethub, astar, polkadex, hydraDx] }, } diff --git a/.docker/Dockerfile-try-runtime b/.docker/Dockerfile-try-runtime new file mode 100644 index 0000000000..5e3df43fbf --- /dev/null +++ b/.docker/Dockerfile-try-runtime @@ -0,0 +1,38 @@ +# ===== Rust builder ===== +FROM ubuntu:22.04 AS rust-builder +LABEL maintainer="Unique.Network" + +ENV CARGO_HOME="/cargo-home" +ENV PATH="/cargo-home/bin:$PATH" +ENV TZ=UTC +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone + +RUN apt-get update && \ + apt-get install -y curl cmake pkg-config libssl-dev git clang llvm libudev-dev protobuf-compiler && \ + apt-get clean && \ + rm -r /var/lib/apt/lists/* + +RUN curl https://sh.rustup.rs -sSf | sh -s -- -y + +RUN cargo install --git https://github.com/paritytech/try-runtime-cli --tag v0.8.0 --locked + +RUN mkdir /unique_parachain +WORKDIR /unique_parachain + +# ===== BUILD ====== +FROM rust-builder AS builder-unique + +ARG NETWORK +ARG REPLICA_FROM + +ENV NETWORK=${NETWORK} +ENV REPLICA_FROM=${REPLICA_FROM} + +COPY . /unique_parachain +WORKDIR /unique_parachain + +RUN echo "Requested features: ${NETWORK}-runtime\n" && \ + echo "Fork from: ${REPLICA_FROM}\n" && \ + cargo build --features=try-runtime,${NETWORK}-runtime --profile=production + +CMD try-runtime --runtime target/production/wbuild/${NETWORK}-runtime/${NETWORK}_runtime.compact.compressed.wasm on-runtime-upgrade --blocktime 6000 --checks all live --uri ${REPLICA_FROM} diff --git a/.docker/Dockerfile-try-runtime.j2 b/.docker/Dockerfile-try-runtime.j2 deleted file mode 100644 index 3eda406897..0000000000 --- a/.docker/Dockerfile-try-runtime.j2 +++ /dev/null @@ -1,33 +0,0 @@ -# ===== Rust builder ===== -FROM ubuntu:22.04 as rust-builder -LABEL maintainer="Unique.Network" - -ENV CARGO_HOME="/cargo-home" -ENV PATH="/cargo-home/bin:$PATH" -ENV TZ=UTC -RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone - -RUN apt-get update && \ - apt-get install -y curl cmake pkg-config libssl-dev git clang llvm libudev-dev protobuf-compiler && \ - apt-get clean && \ - rm -r /var/lib/apt/lists/* - -RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain none - -RUN mkdir /unique_parachain -WORKDIR /unique_parachain - - -# ===== BUILD ====== -FROM rust-builder as builder-unique - -ARG PROFILE=release - -COPY . /unique_parachain -WORKDIR /unique_parachain - -RUN echo "Requested features: {{ NETWORK }}-runtime\n" && \ - echo "Fork from: {{ REPLICA_FROM }}\n" && \ - cargo build --features=try-runtime,{{ NETWORK }}-runtime --release - -CMD cargo run --release --features {{ NETWORK }}-runtime,try-runtime -- try-runtime --runtime target/release/wbuild/{{ NETWORK }}-runtime/{{ NETWORK }}_runtime.compact.compressed.wasm -lruntime=debug -ltry-runtime::cli=debug on-runtime-upgrade --checks live --uri {{ REPLICA_FROM }} diff --git a/.docker/docker-compose.try-runtime.j2 b/.docker/docker-compose.try-runtime.j2 index 879a6f2666..492d5480dc 100644 --- a/.docker/docker-compose.try-runtime.j2 +++ b/.docker/docker-compose.try-runtime.j2 @@ -2,7 +2,7 @@ version: "3.5" services: try-runtime: - image: uniquenetwork/ci-tryruntime-local:{{ NETWORK }}-{{ BUILD_TAG }} + image: uniquenetwork/ci-tryruntime-local:{{ BUILD_TAG }} container_name: try-runtime expose: - 9944 diff --git a/.env b/.env index fe5f68bc8d..edcb9350d8 100644 --- a/.env +++ b/.env @@ -1,26 +1,26 @@ RUST_TOOLCHAIN=nightly-2024-04-10 RELAY_CHAIN_TYPE=rococo -POLKADOT_MAINNET_BRANCH=v1.9.0 -STATEMINT_BUILD_BRANCH=1.9.0 +POLKADOT_MAINNET_BRANCH=v1.14.0 +STATEMINT_BUILD_BRANCH=1.14.0 ACALA_BUILD_BRANCH=2.25.0 MOONBEAM_BUILD_BRANCH=runtime-2901 ASTAR_BUILD_BRANCH=v5.39.1 -HYDRADX_BUILD_BRANCH=v27.0.0 -POLKADEX_BUILD_BRANCH=v6.0.0 +HYDRADX_BUILD_BRANCH=latest +POLKADEX_BUILD_BRANCH=v1.0.0 UNIQUE_MAINNET_BRANCH=release-v10030070 UNIQUE_REPLICA_FROM=wss://ws.unique.network:443 -KUSAMA_MAINNET_BRANCH=v1.9.0 -STATEMINE_BUILD_BRANCH=1.9.0 +KUSAMA_MAINNET_BRANCH=v1.14.0 +STATEMINE_BUILD_BRANCH=1.14.0 KARURA_BUILD_BRANCH=2.25.0 MOONRIVER_BUILD_BRANCH=runtime-2901 SHIDEN_BUILD_BRANCH=v5.39.1 QUARTZ_MAINNET_BRANCH=release-v10030070 QUARTZ_REPLICA_FROM=wss://ws-quartz.unique.network:443 -UNIQUEWEST_MAINNET_BRANCH=v1.9.0 -WESTMINT_BUILD_BRANCH=1.9.0 +UNIQUEWEST_MAINNET_BRANCH=v1.14.0 +WESTMINT_BUILD_BRANCH=1.14.0 OPAL_MAINNET_BRANCH=release-v10030070 OPAL_REPLICA_FROM=wss://ws-opal.unique.network:443 diff --git a/.github/workflows/ci-master.yml b/.github/workflows/ci-master.yml index 91d8bac83b..fa427f4e9e 100644 --- a/.github/workflows/ci-master.yml +++ b/.github/workflows/ci-master.yml @@ -28,9 +28,9 @@ jobs: uses: ./.github/workflows/xcm.yml secrets: inherit # pass all secrets from initial workflow to nested - xnft: - uses: ./.github/workflows/xnft.yml - secrets: inherit # pass all secrets from initial workflow to nested + # xnft: + # uses: ./.github/workflows/xnft.yml + # secrets: inherit # pass all secrets from initial workflow to nested collator-selection: uses: ./.github/workflows/collator-selection.yml @@ -62,6 +62,3 @@ jobs: polkadot-types: uses: ./.github/workflows/polkadot-types.yml - - - \ No newline at end of file diff --git a/.github/workflows/codestyle.yml b/.github/workflows/codestyle.yml index 93bfa0604c..991db743f0 100644 --- a/.github/workflows/codestyle.yml +++ b/.github/workflows/codestyle.yml @@ -9,7 +9,7 @@ on: jobs: rustfmt: - runs-on: [ self-hosted-ci ] + runs-on: [ ci ] steps: - name: Clean Workspace uses: AutoModality/action-clean@v1.1.0 @@ -31,7 +31,7 @@ jobs: run: echo "Nothing to do. Command 'cargo fmt -- --check' returned exit code 0." yarn_eslint: - runs-on: [ self-hosted-ci ] + runs-on: [ ci ] steps: - name: Clean Workspace uses: AutoModality/action-clean@v1.1.0 @@ -48,7 +48,7 @@ jobs: run: cd js-packages && yarn lint clippy: - runs-on: [ self-hosted-ci ] + runs-on: [ ci ] steps: - name: Clean Workspace uses: AutoModality/action-clean@v1.1.0 @@ -66,6 +66,6 @@ jobs: targets: wasm32-unknown-unknown components: rustfmt, clippy - name: Run cargo check - run: cargo clippy --features=quartz-runtime,unique-runtime,try-runtime,runtime-benchmarks --tests -- -Dwarnings + run: cargo clippy --features=quartz-runtime,unique-runtime,try-runtime --tests -- -Dwarnings env: SKIP_WASM_BUILD: '1' diff --git a/.github/workflows/collator-selection.yml b/.github/workflows/collator-selection.yml index 23f158f057..dbc176a342 100644 --- a/.github/workflows/collator-selection.yml +++ b/.github/workflows/collator-selection.yml @@ -16,7 +16,7 @@ jobs: prepare-execution-marix: name: Prepare execution matrix - runs-on: [ self-hosted-ci ] + runs-on: [ ci ] outputs: matrix: ${{ steps.create_matrix.outputs.matrix }} @@ -43,7 +43,7 @@ jobs: collator-selection: needs: prepare-execution-marix # The type of runner that the job will run on - runs-on: [ self-hosted-ci ] + runs-on: [ ci ] timeout-minutes: 1380 @@ -112,7 +112,8 @@ jobs: - name: Install baedeker uses: UniqueNetwork/baedeker-action/setup@v1-no-debug-output with: - useCache: false + version: "v0.1.4" + useCache: false - name: Setup library run: mkdir -p .baedeker/vendor/ && git clone https://github.com/UniqueNetwork/baedeker-library .baedeker/vendor/baedeker-library diff --git a/.github/workflows/forkless-update-data.yml b/.github/workflows/forkless-update-data.yml index be65f50bef..c883fe4f17 100644 --- a/.github/workflows/forkless-update-data.yml +++ b/.github/workflows/forkless-update-data.yml @@ -16,7 +16,7 @@ jobs: name: execution matrix - runs-on: [ self-hosted-ci ] + runs-on: [ ci ] outputs: matrix: ${{ steps.create_matrix.outputs.matrix }} @@ -46,7 +46,7 @@ jobs: needs: prepare-execution-matrix # The type of runner that the job will run on - runs-on: [ self-hosted-ci,large ] + runs-on: [ ci ] timeout-minutes: 1380 @@ -119,7 +119,8 @@ jobs: - name: Install baedeker uses: UniqueNetwork/baedeker-action/setup@v1-no-debug-output with: - useCache: false + version: "v0.1.4" + useCache: false - name: Setup library run: mkdir -p .baedeker/vendor/ && git clone https://github.com/UniqueNetwork/baedeker-library .baedeker/vendor/baedeker-library diff --git a/.github/workflows/forkless-update-nodata.yml b/.github/workflows/forkless-update-nodata.yml index 26eb23b8a0..abfdd3aaac 100644 --- a/.github/workflows/forkless-update-nodata.yml +++ b/.github/workflows/forkless-update-nodata.yml @@ -16,7 +16,7 @@ jobs: name: execution matrix - runs-on: [ self-hosted-ci ] + runs-on: [ ci ] outputs: matrix: ${{ steps.create_matrix.outputs.matrix }} @@ -46,7 +46,7 @@ jobs: needs: prepare-execution-matrix # The type of runner that the job will run on - runs-on: [ self-hosted-ci,large ] + runs-on: [ ci ] timeout-minutes: 1380 @@ -133,7 +133,8 @@ jobs: - name: Install baedeker uses: UniqueNetwork/baedeker-action/setup@v1-no-debug-output with: - useCache: false + version: "v0.1.4" + useCache: false - name: Setup library run: mkdir -p .baedeker/vendor/ && git clone https://github.com/UniqueNetwork/baedeker-library .baedeker/vendor/baedeker-library diff --git a/.github/workflows/governance.yml b/.github/workflows/governance.yml index 88941ac98b..7a5bc8add5 100644 --- a/.github/workflows/governance.yml +++ b/.github/workflows/governance.yml @@ -11,7 +11,7 @@ jobs: prepare-execution-marix: name: Prepare execution matrix - runs-on: [ self-hosted ] + runs-on: [ ci ] outputs: matrix: ${{ steps.create_matrix.outputs.matrix }} @@ -39,7 +39,7 @@ jobs: dev_build_int_tests: needs: prepare-execution-marix # The type of runner that the job will run on - runs-on: [ self-hosted-ci, medium ] + runs-on: [ ci ] timeout-minutes: 1380 name: ${{ matrix.network }} diff --git a/.github/workflows/node-only-update.yml b/.github/workflows/node-only-update.yml index d42a00cf0e..9a175273bb 100644 --- a/.github/workflows/node-only-update.yml +++ b/.github/workflows/node-only-update.yml @@ -16,7 +16,7 @@ jobs: name: execution matrix - runs-on: [ self-hosted-ci ] + runs-on: [ ci ] outputs: matrix: ${{ steps.create_matrix.outputs.matrix }} @@ -46,7 +46,7 @@ jobs: needs: prepare-execution-matrix # The type of runner that the job will run on - runs-on: [ self-hosted-ci ] + runs-on: [ ci ] timeout-minutes: 2880 # 48 hours for execution jobs. @@ -137,7 +137,8 @@ jobs: - name: Install baedeker uses: UniqueNetwork/baedeker-action/setup@v1-no-debug-output with: - useCache: false + version: "v0.1.4" + useCache: false - name: Setup library run: mkdir -p .baedeker/vendor/ && git clone https://github.com/UniqueNetwork/baedeker-library .baedeker/vendor/baedeker-library @@ -154,7 +155,7 @@ jobs: inputs: | .baedeker/node-only.jsonnet snippet:(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({'bin/polkadot':{dockerImage:'${{ steps.polkadot.outputs.image }}:${{ steps.polkadot.outputs.tag }}'}}) - ephemeral:snippet:(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({'bin/unique':{dockerImage:'${{ steps.mainnet.outputs.name }}'}}, extra_node_mixin={extraArgs: []}) + snippet:(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({'bin/unique':{dockerImage:'${{ steps.mainnet.outputs.name }}'}}, extra_node_mixin={extraArgs: []}) - name: Ensure network is alive working-directory: ${{ matrix.mainnet_branch }}/js-packages/tests diff --git a/.github/workflows/polkadot-types.yml b/.github/workflows/polkadot-types.yml index b13d5f910a..625a1b07a3 100644 --- a/.github/workflows/polkadot-types.yml +++ b/.github/workflows/polkadot-types.yml @@ -19,7 +19,7 @@ jobs: polkadot_generate_types: # The type of runner that the job will run on - runs-on: [ self-hosted-ci,medium ] + runs-on: [ ci ] timeout-minutes: 1380 name: ${{ matrix.network }} diff --git a/.github/workflows/schedule-trigger-for-develop-build.yml b/.github/workflows/schedule-trigger-for-develop-build.yml index 4f569a81e8..13923415ca 100644 --- a/.github/workflows/schedule-trigger-for-develop-build.yml +++ b/.github/workflows/schedule-trigger-for-develop-build.yml @@ -11,7 +11,7 @@ on: jobs: update: - runs-on: medium + runs-on: [ ci ] steps: - name: Clean Workspace uses: AutoModality/action-clean@v1.1.0 diff --git a/.github/workflows/try-runtime.yml b/.github/workflows/try-runtime.yml index 262e8baef7..ae68f70af2 100644 --- a/.github/workflows/try-runtime.yml +++ b/.github/workflows/try-runtime.yml @@ -14,7 +14,7 @@ jobs: name: Prepare execution matrix - runs-on: [ self-hosted-ci ] + runs-on: [ ci ] outputs: matrix: ${{ steps.create_matrix.outputs.matrix }} @@ -40,20 +40,19 @@ jobs: network {quartz}, replica_from_address {${{ env.QUARTZ_REPLICA_FROM }}} network {unique}, replica_from_address {${{ env.UNIQUE_REPLICA_FROM }}} - try-runtime-build: + try-runtime: needs: prepare-execution-marix # The type of runner that the job will run on - runs-on: [ self-hosted-ci ] + runs-on: [ ci ] continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false. - name: ${{ matrix.network }}-try-runtime-build + name: ${{ matrix.network }}-try-runtime strategy: matrix: include: ${{fromJson(needs.prepare-execution-marix.outputs.matrix)}} steps: - - name: Clean Workspace uses: AutoModality/action-clean@v1.1.0 @@ -69,25 +68,6 @@ jobs: - name: Read .env file uses: xom9ikk/dotenv@v2.3.0 - - name: Log in to Docker Hub - uses: docker/login-action@v3.2.0 - with: - username: ${{ secrets.CORE_DOCKERHUB_USERNAME }} - password: ${{ secrets.CORE_DOCKERHUB_TOKEN }} - - # Build main image for TRY-RUNTIME - - name: Generate ENV related extend Dockerfile file - uses: cuchi/jinja2-action@v1.2.0 - with: - template: .docker/Dockerfile-try-runtime.j2 - output_file: .docker/Dockerfile-try-runtime.${{ matrix.network }}.yml - variables: | - NETWORK=${{ matrix.network }} - REPLICA_FROM=${{ matrix.replica_from_address }} - - - name: Show build Dockerfile - run: cat .docker/Dockerfile-try-runtime.${{ matrix.network }}.yml - - name: Run find-and-replace to remove slashes from branch name uses: mad9000/actions-find-and-replace-string@5 id: branchname @@ -101,118 +81,61 @@ jobs: run: | echo "BUILD_SHA=${LAST_COMMIT_SHA:0:8}" >> $GITHUB_ENV - - name: Build the stack - run: cd .docker/ && docker build --no-cache --file ./Dockerfile-try-runtime.${{ matrix.network }}.yml --tag uniquenetwork/ci-tryruntime-local:${{ matrix.network }}-${{ steps.branchname.outputs.value }}-$BUILD_SHA ../ - - - name: Push docker image version - run: docker push uniquenetwork/ci-tryruntime-local:${{ matrix.network }}-${{ steps.branchname.outputs.value }}-$BUILD_SHA - - - name: Remove builder cache - if: always() # run this step always - run: | - docker builder prune -f - docker system prune -f - - - try-runtime-tests: - needs: [prepare-execution-marix, try-runtime-build] - # The type of runner that the job will run on - runs-on: [medium] - - timeout-minutes: 600 - - name: ${{ matrix.network }}-try-runtime-tests - - continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false. - - strategy: - matrix: - include: ${{fromJson(needs.prepare-execution-marix.outputs.matrix)}} - - steps: - - name: Skip if pull request is in Draft - if: github.event.pull_request.draft == true - run: exit 1 - - - name: Clean Workspace - uses: AutoModality/action-clean@v1.1.0 - - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v4.1.7 - with: - ref: ${{ github.head_ref }} #Checking out head commit - - - name: Prepare - uses: ./.github/actions/prepare - - - name: Set build SHA - shell: bash - run: | - echo "BUILD_SHA=${LAST_COMMIT_SHA:0:8}" >> $GITHUB_ENV - - - name: Run find-and-replace to remove slashes from branch name - uses: mad9000/actions-find-and-replace-string@5 - id: branchname + - name: Prepare container + uses: ./.github/actions/buildContainer + id: try-runtime with: - source: ${{ github.head_ref }} - find: '/' - replace: '-' - - - name: Read .env file - uses: xom9ikk/dotenv@v2.3.0 + container: uniquenetwork/ci-tryruntime-local + tag: ${{ matrix.network }}-${{ steps.branchname.outputs.value }}-$BUILD_SHA + context: . + dockerfile: .docker/Dockerfile-try-runtime + args: | + --build-arg NETWORK=${{ matrix.network }} + --build-arg REPLICA_FROM=${{ matrix.replica_from_address }} + dockerhub_username: ${{ secrets.CORE_DOCKERHUB_USERNAME }} + dockerhub_token: ${{ secrets.CORE_DOCKERHUB_TOKEN }} - name: Generate ENV related extend file for docker-compose uses: cuchi/jinja2-action@v1.2.0 with: template: .docker/docker-compose.try-runtime.j2 - output_file: .docker/docker-compose.try-runtime.${{ matrix.network }}.yml + output_file: .docker/docker-compose.try-runtime.yml variables: | - NETWORK=${{ matrix.network }} - BUILD_TAG=${{ steps.branchname.outputs.value }}-$BUILD_SHA + BUILD_TAG=${{ matrix.network }}-${{ steps.branchname.outputs.value }}-$BUILD_SHA - - name: Show build configuration - run: cat .docker/docker-compose.try-runtime.${{ matrix.network }}.yml - - - uses: actions/setup-node@v4.0.2 - with: - node-version: 20 - - - name: Log in to Docker Hub - uses: docker/login-action@v3.2.0 - with: - username: ${{ secrets.CORE_DOCKERHUB_USERNAME }} - password: ${{ secrets.CORE_DOCKERHUB_TOKEN }} - - - name: Build the stack - run: docker compose -f ".docker/docker-compose.try-runtime.${{ matrix.network }}.yml" up -d --remove-orphans --force-recreate --timeout 300 + - name: RUN the stack + run: docker compose -f ".docker/docker-compose.try-runtime.yml" up -d --remove-orphans --force-recreate --timeout 300 - name: Check if docker logs consist logs related to Runtime Upgrade testing. if: success() run: | counter=300 counter_life=0 + function do_docker_error_logs { + docker logs --details try-runtime 2>&1 | grep -i 'failed to execute TryRuntime_on_runtime_upgrade' + } function check_container_status { docker inspect -f {{.State.Running}} try-runtime } - function do_docker_logs { - docker logs --details try-runtime 2>&1 | grep -i 'TryRuntime_on_runtime_upgrade executed without errors. Consumed' + function do_docker_success_logs { + docker logs --details try-runtime 2>&1 | grep -i 'No weight safety issues detected' } function is_started { - if [ "$(check_container_status)" == "true" ]; then - echo "Container: try-runtime RUNNING"; - echo "Check Docker logs" - DOCKER_LOGS=$(do_docker_logs) - if [[ -n ${DOCKER_LOGS} ]]; then - echo "TryRuntime_on_runtime_upgrade executed without errors." - return 0 - else - echo "Message not found in logs output, repeating..." - return 1 - fi + echo "Checking Docker logs..." + + ERROR=$(do_docker_error_logs) + if [[ -n "${ERROR}" ]]; then + echo "Try runtime failed! See \"Show docker logs\" for details" + exit 1 + fi + + DOCKER_LOGS=$(do_docker_success_logs) + if [[ -n "${DOCKER_LOGS}" ]]; then + echo "TryRuntime_on_runtime_upgrade executed without errors." + return 0 else - (( counter_life++ )) - echo "Container try-runtime not RUNNING" $counter_life "time" - return 1 + echo "Message not found in logs output, repeating..." + return 1 fi } @@ -244,7 +167,7 @@ jobs: - name: Stop running containers if: always() # run this step always - run: docker compose -f ".docker/docker-compose.try-runtime.${{ matrix.network }}.yml" down + run: docker compose -f ".docker/docker-compose.try-runtime.yml" down - name: Remove builder cache if: always() # run this step always diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 4a4070c7d6..850aceb046 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -13,7 +13,7 @@ jobs: unit_tests: # The type of runner that the job will run on - runs-on: [ self-hosted-ci,medium ] + runs-on: [ ci ] timeout-minutes: 1380 name: ${{ github.base_ref }} diff --git a/.github/workflows/xcm.yml b/.github/workflows/xcm.yml index 8344b6751e..51cf2f6715 100644 --- a/.github/workflows/xcm.yml +++ b/.github/workflows/xcm.yml @@ -16,7 +16,7 @@ jobs: prepare-execution-marix: name: Prepare execution matrix - runs-on: [ self-hosted-ci ] + runs-on: [ ci ] outputs: matrix: ${{ steps.create_matrix.outputs.matrix }} @@ -37,14 +37,14 @@ jobs: id: create_matrix with: matrix: | - network {opal}, relay_branch {${{ env.UNIQUEWEST_MAINNET_BRANCH }}}, assethub_version {${{ env.WESTMINT_BUILD_BRANCH }}}, acala_version {${{ env.ACALA_BUILD_BRANCH }}}, acala_repository {acala-node}, moonbeam_version {${{ env.MOONBEAM_BUILD_BRANCH }}}, astar_version {${{ env.ASTAR_BUILD_BRANCH }}}, runtest {testXcmOpal} - network {quartz}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}, assethub_version {${{ env.STATEMINE_BUILD_BRANCH }}}, acala_version {${{ env.KARURA_BUILD_BRANCH }}}, acala_repository {karura-node}, moonbeam_version {${{ env.MOONRIVER_BUILD_BRANCH }}}, astar_version {${{ env.SHIDEN_BUILD_BRANCH }}}, runtest {testFullXcmQuartz} - network {unique}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}, assethub_version {${{ env.STATEMINT_BUILD_BRANCH }}}, acala_version {${{ env.ACALA_BUILD_BRANCH }}}, acala_repository {acala-node}, moonbeam_version {${{ env.MOONBEAM_BUILD_BRANCH }}}, astar_version {${{ env.ASTAR_BUILD_BRANCH }}}, runtest {testFullXcmUnique} + network {opal}, relay_name {polkadot}, relay_branch {${{ env.UNIQUEWEST_MAINNET_BRANCH }}}, assethub_version {${{ env.WESTMINT_BUILD_BRANCH }}}, acala_version {${{ env.ACALA_BUILD_BRANCH }}}, acala_repository {acala-node}, moonbeam_version {${{ env.MOONBEAM_BUILD_BRANCH }}}, astar_version {${{ env.ASTAR_BUILD_BRANCH }}}, runtest {testXcmOpal}, runs_on {ci} + network {quartz}, relay_name {kusama}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}, assethub_version {${{ env.STATEMINE_BUILD_BRANCH }}}, acala_version {${{ env.KARURA_BUILD_BRANCH }}}, acala_repository {karura-node}, moonbeam_version {${{ env.MOONRIVER_BUILD_BRANCH }}}, astar_version {${{ env.SHIDEN_BUILD_BRANCH }}}, runtest {testFullXcmQuartz}, runs_on {L} + network {unique}, relay_name {polkadot}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}, assethub_version {${{ env.STATEMINT_BUILD_BRANCH }}}, acala_version {${{ env.ACALA_BUILD_BRANCH }}}, acala_repository {acala-node}, moonbeam_version {${{ env.MOONBEAM_BUILD_BRANCH }}}, astar_version {${{ env.ASTAR_BUILD_BRANCH }}}, runtest {testFullXcmUnique}, runs_on {XL} xcm: needs: prepare-execution-marix # The type of runner that the job will run on - runs-on: [XL] + runs-on: ${{ matrix.runs_on }} timeout-minutes: 600 @@ -143,24 +143,21 @@ jobs: with: registry: registry.hub.docker.com organization: polkadex - repository: mainnet + repository: parachain login: ${{ secrets.CORE_DOCKERHUB_USERNAME }} password: ${{ secrets.CORE_DOCKERHUB_TOKEN }} tag: ${{ env.POLKADEX_BUILD_BRANCH }} - - name: Prepare Hydradx - uses: ./.github/actions/buildContainer + - name: Check and pull HYDRADX image id: hydradx + uses: cloudposse/github-action-docker-image-exists@main with: - container: uniquenetwork/builder-hydradx + registry: registry.hub.docker.com + organization: galacticcouncil + repository: hydra-dx + login: ${{ secrets.CORE_DOCKERHUB_USERNAME }} + password: ${{ secrets.CORE_DOCKERHUB_TOKEN }} tag: ${{ env.HYDRADX_BUILD_BRANCH }} - context: . - dockerfile: .docker/Dockerfile-hydradx - args: | - --build-arg HYDRADX_BUILD_BRANCH=${{ env.HYDRADX_BUILD_BRANCH }} - --build-arg RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }} - dockerhub_username: ${{ secrets.CORE_DOCKERHUB_USERNAME }} - dockerhub_token: ${{ secrets.CORE_DOCKERHUB_TOKEN }} - name: Prepare latest uses: ./.github/actions/buildContainer @@ -182,11 +179,20 @@ jobs: - name: Install baedeker uses: UniqueNetwork/baedeker-action/setup@v1-no-debug-output with: - useCache: false + version: "v0.1.4" + useCache: false - name: Setup library run: mkdir -p .baedeker/vendor/ && git clone https://github.com/UniqueNetwork/baedeker-library .baedeker/vendor/baedeker-library + - name: Pull chain-spec-generator-latest image + run: | + docker pull uniquenetwork/services:chain-spec-generator-latest + + - name: Build chain-spec file for assethub + run: | + docker run --rm uniquenetwork/services:chain-spec-generator-latest asset-hub-${{ matrix.relay_name }}-local > .baedeker/vendor/assethub-spec.json + - name: Start network uses: UniqueNetwork/baedeker-action@v1-no-debug-output id: bdk @@ -195,6 +201,8 @@ jobs: .baedeker/vendor tla-str: | relay_spec=${{ env.RELAY_CHAIN_TYPE }}-local + tla-code: | + assethub_spec=import 'assethub-spec.json' inputs: | .baedeker/xcm-${{ matrix.network }}.jsonnet snippet:(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({'bin/polkadot':{dockerImage:'${{ steps.polkadot.outputs.image }}:${{ steps.polkadot.outputs.tag }}'}}) @@ -204,7 +212,7 @@ jobs: snippet:(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({'bin/assethub':{dockerImage:'${{ steps.assethub.outputs.image }}:${{ steps.assethub.outputs.tag }}'}}) snippet:(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({'bin/astar':{dockerImage:'${{ steps.astar.outputs.image }}:${{ steps.astar.outputs.tag }}', docker:'/usr/local/bin/astar-collator'}}) snippet:(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({'bin/polkadex':{dockerImage:'${{ steps.polkadex.outputs.image }}:${{ steps.polkadex.outputs.tag }}'}}) - snippet:(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({'bin/hydradx':{dockerImage:'${{ steps.latest.outputs.name }}'}}) + snippet:(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({'bin/hydradx':{dockerImage:'${{ steps.hydradx.outputs.image }}:${{ steps.hydradx.outputs.tag }}'}}) - name: Upload network config uses: actions/upload-artifact@v3 @@ -251,11 +259,7 @@ jobs: reporter: mochawesome-json fail-on-error: 'false' - - name: Clean Workspace - if: always() - uses: AutoModality/action-clean@v1.1.0 - - - name: Remove builder cache - if: always() - run: | - docker system prune -a -f + # - name: Remove builder cache + # if: always() + # run: | + # docker system prune -a -f \ No newline at end of file diff --git a/.github/workflows/xnft.yml b/.github/workflows/xnft.yml index 6a819aa280..f06d869695 100644 --- a/.github/workflows/xnft.yml +++ b/.github/workflows/xnft.yml @@ -16,7 +16,7 @@ jobs: prepare-execution-marix: name: Prepare execution matrix - runs-on: [ self-hosted-ci ] + runs-on: [ ci ] outputs: matrix: ${{ steps.create_matrix.outputs.matrix }} @@ -42,7 +42,7 @@ jobs: xnft: needs: prepare-execution-marix # The type of runner that the job will run on - runs-on: [XL] + runs-on: [ ci ] timeout-minutes: 600 @@ -126,7 +126,8 @@ jobs: - name: Install baedeker uses: UniqueNetwork/baedeker-action/setup@v1-no-debug-output with: - useCache: false + version: "v0.1.4" + useCache: false - name: Setup library run: mkdir -p .baedeker/vendor/ && git clone https://github.com/UniqueNetwork/baedeker-library .baedeker/vendor/baedeker-library diff --git a/.github/workflows/yarn-dev.yml b/.github/workflows/yarn-dev.yml index 5eb4ab7f7f..98e5574d18 100644 --- a/.github/workflows/yarn-dev.yml +++ b/.github/workflows/yarn-dev.yml @@ -12,7 +12,7 @@ jobs: dev_build_int_tests: # The type of runner that the job will run on - runs-on: [ self-hosted-ci,medium ] + runs-on: [ ci ] timeout-minutes: 1380 name: ${{ matrix.network }} @@ -106,7 +106,7 @@ jobs: # check: # if: always() - # runs-on: [self-hosted-ci] + # runs-on: [ ci ] # needs: # - dev_build_int_tests diff --git a/Cargo.lock b/Cargo.lock index 58aea4f4ff..821e3be07d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -23,18 +23,18 @@ dependencies = [ [[package]] name = "addr2line" -version = "0.22.0" +version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e4503c46a5c0c7844e948c9a4d6acd9f50cccb4de1c48eb9e291ea17470c678" +checksum = "f5fb1d8e4442bd405fdfd1dacb42792696b0cf9cb15882e5d097b742a676d375" dependencies = [ - "gimli 0.29.0", + "gimli 0.31.0", ] [[package]] -name = "adler" -version = "1.0.2" +name = "adler2" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" +checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" [[package]] name = "aead" @@ -68,18 +68,7 @@ dependencies = [ "cipher 0.4.4", "ctr", "ghash", - "subtle 2.5.0", -] - -[[package]] -name = "ahash" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" -dependencies = [ - "getrandom 0.2.15", - "once_cell", - "version_check", + "subtle 2.6.1", ] [[package]] @@ -89,7 +78,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" dependencies = [ "cfg-if", - "getrandom 0.2.15", + "getrandom", "once_cell", "version_check", "zerocopy", @@ -142,9 +131,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.14" +version = "0.6.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "418c75fa768af9c03be99d17643f93f79bbba589895012a80e3452a19ddda15b" +checksum = "64e15c1ab1f89faffbf04a634d5e1962e9074f2741eef6d97f3c4e322426d526" dependencies = [ "anstyle", "anstyle-parse", @@ -157,33 +146,33 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.7" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "038dfcf04a5feb68e9c60b21c9625a54c2c0616e79b72b0fd87075a056ae1d1b" +checksum = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1" [[package]] name = "anstyle-parse" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c03a11a9034d92058ceb6ee011ce58af4a9bf61491aa7e1e59ecd24bd40d22d4" +checksum = "eb47de1e80c2b463c735db5b217a0ddc39d612e7ac9e2e96a5aed1f57616c1cb" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.0.3" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a64c907d4e79225ac72e2a354c9ce84d50ebb4586dee56c82b3ee73004f537f5" +checksum = "6d36fc52c7f6c869915e99412912f22093507da8d9e942ceaf66fe4b7c14422a" dependencies = [ "windows-sys 0.52.0", ] [[package]] name = "anstyle-wincon" -version = "3.0.3" +version = "3.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61a38449feb7068f52bb06c12759005cf459ee52bb4adc1d5a7c4322d716fb19" +checksum = "5bf74e1b6e971609db8ca7a9ce79fd5768ab6ae46441c572e46cf596f59e57f8" dependencies = [ "anstyle", "windows-sys 0.52.0", @@ -191,9 +180,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.86" +version = "1.0.88" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" +checksum = "4e1496f8fb1fbf272686b8d37f523dab3e4a7443300055e74cdaa449f3114356" [[package]] name = "app-promotion-rpc" @@ -215,20 +204,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "aquamarine" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1da02abba9f9063d786eab1509833ebb2fac0f966862ca59439c76b9c566760" -dependencies = [ - "include_dir", - "itertools 0.10.5", - "proc-macro-error", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "aquamarine" version = "0.5.0" @@ -240,7 +215,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] @@ -372,12 +347,6 @@ dependencies = [ "rand", ] -[[package]] -name = "array-bytes" -version = "4.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6" - [[package]] name = "array-bytes" version = "6.2.3" @@ -386,9 +355,9 @@ checksum = "5d5dde061bd34119e902bbb2d9b90c5692635cf59fb91d582c2b68043f1b8293" [[package]] name = "arrayref" -version = "0.3.7" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545" +checksum = "9d151e35f61089500b617991b791fc8bfd237ae50cd5950803758a179b41e67a" [[package]] name = "arrayvec" @@ -401,9 +370,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" @@ -411,8 +380,24 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f6fd5ddaf0351dff5b8da21b2fb4ff8e08ddd02857f0bf69c47639106c0fff0" dependencies = [ - "asn1-rs-derive", - "asn1-rs-impl", + "asn1-rs-derive 0.4.0", + "asn1-rs-impl 0.1.0", + "displaydoc", + "nom", + "num-traits", + "rusticata-macros", + "thiserror", + "time", +] + +[[package]] +name = "asn1-rs" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5493c3bedbacf7fd7382c6346bbd66687d12bbaad3a89a2d2c303ee6cf20b048" +dependencies = [ + "asn1-rs-derive 0.5.1", + "asn1-rs-impl 0.2.0", "displaydoc", "nom", "num-traits", @@ -430,7 +415,19 @@ dependencies = [ "proc-macro2", "quote", "syn 1.0.109", - "synstructure", + "synstructure 0.12.6", +] + +[[package]] +name = "asn1-rs-derive" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "965c2d33e53cb6b267e148a4cb0760bc01f4904c1cd4bb4002a085bb016d1490" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.77", + "synstructure 0.13.1", ] [[package]] @@ -444,6 +441,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "asn1-rs-impl" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.77", +] + [[package]] name = "assert_matches" version = "1.5.0" @@ -468,20 +476,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "89b47800b0be77592da0afd425cc03468052844aff33b84e33cc696f64e77b6a" dependencies = [ "concurrent-queue", - "event-listener-strategy 0.5.2", + "event-listener-strategy", "futures-core", - "pin-project-lite 0.2.14", + "pin-project-lite", ] [[package]] name = "async-executor" -version = "1.12.0" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8828ec6e544c02b0d6691d21ed9f9218d0384a82542855073c2a3f58304aaf0" +checksum = "30ca9a001c1e8ba5149f91a74362376cc6bc5b919d92d988668657bd570bdcec" dependencies = [ "async-task", "concurrent-queue", - "fastrand 2.1.0", + "fastrand 2.1.1", "futures-lite 2.3.0", "slab", ] @@ -520,21 +528,21 @@ dependencies = [ [[package]] name = "async-io" -version = "2.3.2" +version = "2.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcccb0f599cfa2f8ace422d3555572f47424da5648a4382a9dd0310ff8210884" +checksum = "444b0228950ee6501b3568d3c93bf1176a1fdbc3b758dcd9475046d30f4dc7e8" dependencies = [ - "async-lock 3.3.0", + "async-lock 3.4.0", "cfg-if", "concurrent-queue", "futures-io", "futures-lite 2.3.0", "parking", - "polling 3.7.0", - "rustix 0.38.34", + "polling 3.7.3", + "rustix 0.38.37", "slab", "tracing", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -548,13 +556,13 @@ dependencies = [ [[package]] name = "async-lock" -version = "3.3.0" +version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d034b430882f8381900d3fe6f0aaa3ad94f2cb4ac519b429692a1bc2dda4ae7b" +checksum = "ff6e472cdea888a4bd64f342f09b3f50e1886d32afe8df3d663c01140b811b18" dependencies = [ - "event-listener 4.0.3", - "event-listener-strategy 0.4.0", - "pin-project-lite 0.2.14", + "event-listener 5.3.1", + "event-listener-strategy", + "pin-project-lite", ] [[package]] @@ -581,26 +589,26 @@ dependencies = [ "cfg-if", "event-listener 3.1.0", "futures-lite 1.13.0", - "rustix 0.38.34", + "rustix 0.38.37", "windows-sys 0.48.0", ] [[package]] name = "async-signal" -version = "0.2.6" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afe66191c335039c7bb78f99dc7520b0cbb166b3a1cb33a03f53d8a1c6f2afda" +checksum = "637e00349800c0bdf8bfc21ebbc0b6524abea702b0da4168ac00d070d0c0b9f3" dependencies = [ - "async-io 2.3.2", - "async-lock 3.3.0", + "async-io 2.3.4", + "async-lock 3.4.0", "atomic-waker", "cfg-if", "futures-core", "futures-io", - "rustix 0.38.34", + "rustix 0.38.37", "signal-hook-registry", "slab", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -611,13 +619,13 @@ checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" [[package]] name = "async-trait" -version = "0.1.80" +version = "0.1.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6fa2087f2753a7da8cc1c0dbfcf89579dd57458e36769de5ac750b4671737ca" +checksum = "a27b8a3a6e1a44fa4c8baf1f653e4172e81486d4941f2237e20dc2d0cf4ddff1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] @@ -630,7 +638,7 @@ dependencies = [ "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.14", + "pin-project-lite", ] [[package]] @@ -645,6 +653,17 @@ version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" +[[package]] +name = "attohttpc" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d9a9bf8b79a749ee0b911b91b671cc2b6c670bdbc7e3dfd537576ddc94bb2a2" +dependencies = [ + "http 0.2.12", + "log", + "url", +] + [[package]] name = "auto_impl" version = "1.2.0" @@ -653,7 +672,7 @@ checksum = "3c87f3f15e7794432337fc718554eaa4dc8f04c9677a950ffe366f20a162ae42" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] @@ -664,17 +683,17 @@ checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" [[package]] name = "backtrace" -version = "0.3.72" +version = "0.3.74" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17c6a35df3749d2e8bb1b7b21a976d82b15548788d2735b9d82f329268f71a11" +checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a" dependencies = [ - "addr2line 0.22.0", - "cc", + "addr2line 0.24.1", "cfg-if", "libc", "miniz_oxide", - "object 0.35.0", + "object 0.36.4", "rustc-demangle", + "windows-targets 0.52.6", ] [[package]] @@ -753,13 +772,13 @@ dependencies = [ "lazy_static", "lazycell", "peeking_take_while", - "prettyplease 0.2.20", + "prettyplease 0.2.22", "proc-macro2", "quote", "regex", "rustc-hash", "shlex", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] @@ -801,9 +820,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.5.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1" +checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" [[package]] name = "bitvec" @@ -856,8 +875,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23285ad32269793932e830392f2fe2f83e26488fd3ec778883a93c8323735780" dependencies = [ "arrayref", - "arrayvec 0.7.4", - "constant_time_eq 0.3.0", + "arrayvec 0.7.6", + "constant_time_eq 0.3.1", ] [[package]] @@ -867,21 +886,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94230421e395b9920d23df13ea5d77a20e1725331f90fbbf6df6040b33f756ae" dependencies = [ "arrayref", - "arrayvec 0.7.4", - "constant_time_eq 0.3.0", + "arrayvec 0.7.6", + "constant_time_eq 0.3.1", ] [[package]] name = "blake3" -version = "1.5.1" +version = "1.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30cca6d3674597c30ddf2c587bf8d9d65c9a84d2326d941cc79c9842dfe0ef52" +checksum = "d82033247fd8e890df8f740e407ad4d038debb9eb1f40533fffb32e7d17dc6f7" dependencies = [ "arrayref", - "arrayvec 0.7.4", + "arrayvec 0.7.6", "cc", "cfg-if", - "constant_time_eq 0.3.0", + "constant_time_eq 0.3.1", ] [[package]] @@ -979,9 +998,9 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub-router" -version = "0.9.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7366e856da4c5f49e1ef94c3ea401854fe52310696561e24b7509d2f963d7210" +checksum = "b7dae4d1ec894ee920195dd39070b279ef3c1d4d078c3fcf7336c93a1d502a9d" dependencies = [ "parity-scale-codec", "scale-info", @@ -1033,9 +1052,9 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "bytemuck" -version = "1.16.0" +version = "1.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78834c15cb5d5efe3452d58b1e8ba890dd62d21907f867f383358198e56ebca5" +checksum = "94bbb0ad554ad961ddc5da507a12a29b14e4ae5bda06b19f575a3e6079d2e2ae" [[package]] name = "byteorder" @@ -1045,9 +1064,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.6.0" +version = "1.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" +checksum = "8318a53db07bb3f8dca91a600466bdb3f2eaadeedfdbcf02e1accbad9271ba50" [[package]] name = "bzip2-sys" @@ -1072,9 +1091,9 @@ dependencies = [ [[package]] name = "camino" -version = "1.1.7" +version = "1.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0ec6b951b160caa93cc0c7b209e5a3bff7aae9062213451ac99493cd844c239" +checksum = "8b96ec4966b5813e2c0507c1f86115c8c5abaadc3980879c3424042a02fd1ad3" dependencies = [ "serde", ] @@ -1104,15 +1123,21 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.98" +version = "1.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41c270e7540d725e65ac7f1b212ac8ce349719624d7bcff99f8e2e488e8cf03f" +checksum = "b62ac837cdb5cb22e10a256099b4fc502b1dfe560cb282963a974d7abd80e476" dependencies = [ "jobserver", "libc", - "once_cell", + "shlex", ] +[[package]] +name = "cesu8" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" + [[package]] name = "cexpr" version = "0.6.0" @@ -1188,7 +1213,7 @@ dependencies = [ "js-sys", "num-traits", "wasm-bindgen", - "windows-targets 0.52.5", + "windows-targets 0.52.6", ] [[package]] @@ -1201,7 +1226,20 @@ dependencies = [ "multibase", "multihash 0.17.0", "serde", - "unsigned-varint", + "unsigned-varint 0.7.2", +] + +[[package]] +name = "cid" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd94671561e36e4e7de75f753f577edafb0e7c05d6e4547229fdf7938fbcd2c3" +dependencies = [ + "core2", + "multibase", + "multihash 0.18.1", + "serde", + "unsigned-varint 0.7.2", ] [[package]] @@ -1224,15 +1262,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "ckb-merkle-mountain-range" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56ccb671c5921be8a84686e6212ca184cb1d7c51cadcdbfcbd1cc3f042f5dfb8" -dependencies = [ - "cfg-if", -] - [[package]] name = "clang-sys" version = "1.8.1" @@ -1246,9 +1275,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.4" +version = "4.5.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90bc066a67923782aa8515dbaea16946c5bcc5addbd668bb80af688e53e548a0" +checksum = "3e5a21b8495e732f1b3c364c9949b201ca7bae518c502c80256c96ad79eaf6ac" dependencies = [ "clap_builder", "clap_derive", @@ -1256,9 +1285,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.2" +version = "4.5.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4" +checksum = "8cf2dd12af7a047ad9d6da2b6b249759a22a7abc0f474c1dae1777afa4b21a73" dependencies = [ "anstream", "anstyle", @@ -1269,21 +1298,21 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.4" +version = "4.5.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "528131438037fd55894f62d6e9f068b8f45ac57ffa77517819645d10aed04f64" +checksum = "501d359d5f3dcaf6ecdeee48833ae73ec6e42723a1e52419c79abf9507eec0a0" dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] name = "clap_lex" -version = "0.7.0" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" +checksum = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97" [[package]] name = "coarsetime" @@ -1308,9 +1337,19 @@ dependencies = [ [[package]] name = "colorchoice" -version = "1.0.1" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3fd119d74b830634cea2a0f58bbd0d54540518a14397557951e79340abc28c0" + +[[package]] +name = "combine" +version = "4.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422" +checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd" +dependencies = [ + "bytes", + "memchr", +] [[package]] name = "comfy-table" @@ -1318,8 +1357,8 @@ version = "7.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b34115915337defe99b2aff5c2ce6771e5fbc4079f4b506301f5cf394c8452f7" dependencies = [ - "strum 0.26.2", - "strum_macros 0.26.2", + "strum 0.26.3", + "strum_macros 0.26.4", "unicode-width", ] @@ -1372,7 +1411,7 @@ version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" dependencies = [ - "getrandom 0.2.15", + "getrandom", "once_cell", "tiny-keccak", ] @@ -1385,9 +1424,9 @@ checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" [[package]] name = "constant_time_eq" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" +checksum = "7c74b8349d32d297c9134b8c88677813a227df8f779daa29bfc29c183fe3dca6" [[package]] name = "constcat" @@ -1413,9 +1452,9 @@ dependencies = [ [[package]] name = "core-foundation-sys" -version = "0.8.6" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" +checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" [[package]] name = "core2" @@ -1447,9 +1486,9 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.12" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" +checksum = "608697df725056feaccfa42cffdaeeec3fccc4ffc38358ecd19b243e716a78e0" dependencies = [ "libc", ] @@ -1552,6 +1591,21 @@ dependencies = [ "wasmtime-types", ] +[[package]] +name = "crc" +version = "3.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69e6e4d7b33a94f0991c26729976b10ebde1d34c3ee82408fb536164fa10d636" +dependencies = [ + "crc-catalog", +] + +[[package]] +name = "crc-catalog" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" + [[package]] name = "crc32fast" version = "1.4.2" @@ -1608,8 +1662,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" dependencies = [ "generic-array 0.14.7", - "rand_core 0.6.4", - "subtle 2.5.0", + "rand_core", + "subtle 2.6.1", "zeroize", ] @@ -1620,7 +1674,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" dependencies = [ "generic-array 0.14.7", - "rand_core 0.6.4", + "rand_core", "typenum", ] @@ -1641,7 +1695,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" dependencies = [ "generic-array 0.14.7", - "subtle 2.5.0", + "subtle 2.6.1", ] [[package]] @@ -1655,9 +1709,9 @@ dependencies = [ [[package]] name = "cumulus-client-cli" -version = "0.10.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2b5137986e7a4374bf410e4e11ce02c9807c5d3200d590960056220963ecdbf" +checksum = "b64901f2fde878bec8f4c3949b5e5ee6fb5de45dd19b45d9fcd6a23a859fd0cc" dependencies = [ "clap", "parity-scale-codec", @@ -1673,9 +1727,9 @@ dependencies = [ [[package]] name = "cumulus-client-collator" -version = "0.10.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f7dde39268c86d2975bdd608d114dd52cd8803618196bc7606e684b9090d24d" +checksum = "2311f438161902135ff57db8a81ed3c701e33fd4bccbcc72e785f1efc73e1df3" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -1697,9 +1751,9 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" -version = "0.10.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fbbba68555835c2e2d7f1c17060d3cd6fafafdb16597a2e680e7376f71dec51" +checksum = "76c45052da56eb1631e177812f47c9426cb2617a5bfcc4c76a746e6a4c660df2" dependencies = [ "async-trait", "cumulus-client-collator", @@ -1711,6 +1765,7 @@ dependencies = [ "cumulus-relay-chain-interface", "futures", "parity-scale-codec", + "parking_lot 0.12.3", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-overseer", @@ -1740,9 +1795,9 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" -version = "0.10.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b6ff3972c798e87b918e3065d7b52aabb3fc871136b7dde7c708d20567b509f" +checksum = "83b4de5c24c4304b509dffccb95218f22c2ef619a91aee85a3d9523b63347be2" dependencies = [ "async-trait", "cumulus-client-pov-recovery", @@ -1764,15 +1819,16 @@ dependencies = [ "sp-runtime", "sp-timestamp", "sp-trie", + "sp-version", "substrate-prometheus-endpoint", "tracing", ] [[package]] name = "cumulus-client-consensus-proposer" -version = "0.10.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf2ff43b5735f8f1a306aa8c44d9efe5bb50c3a3b29afa18728e7a5321a6ba70" +checksum = "56e980b3e5c05415eaa4ac07f398bc8e74666811f3112f19a654ccb3a948018e" dependencies = [ "anyhow", "async-trait", @@ -1786,9 +1842,9 @@ dependencies = [ [[package]] name = "cumulus-client-network" -version = "0.10.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f10d8141b3de22f002b94fafd9a372f351ee55ad41e1c40ad6534024f176f5bb" +checksum = "ed8d6844af4dbb35a925d493331b631f4ccd3b15568643e92afbf0ee7f4b22e3" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -1797,22 +1853,25 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", "polkadot-node-primitives", + "polkadot-node-subsystem", "polkadot-parachain-primitives", "polkadot-primitives", "sc-client-api", + "sp-api", "sp-blockchain", "sp-consensus", "sp-core", "sp-runtime", "sp-state-machine", + "sp-version", "tracing", ] [[package]] name = "cumulus-client-parachain-inherent" -version = "0.4.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ebeda41b913144e0dbaf57a9537fed6f37ee14c5f31f1bd23808f87e8515ec7" +checksum = "e99367f72d7bce6d8996eb397d265290e4a982fbbc4b0fd7659e57a2ad5b6b7b" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1835,9 +1894,9 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" -version = "0.10.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cf51e1e7cfe82e68a93a4f3221181f8258664f0c4113e4d7c846e449b3596f3" +checksum = "21e3bd944ef351edb61fdaca5bf6d9a964d7c7571bd0b0236ea51f167bec9b6f" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1852,17 +1911,19 @@ dependencies = [ "rand", "sc-client-api", "sc-consensus", + "sp-api", "sp-consensus", "sp-maybe-compressed-blob", "sp-runtime", + "sp-version", "tracing", ] [[package]] name = "cumulus-client-service" -version = "0.10.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebb334fbaedca019671b900bba71fb7cf70244d9436a832b1c5d67491569359d" +checksum = "fb134f1526eba4455290859ad34174ab787c8f36f509063f41eeac17202a8f78" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", @@ -1891,15 +1952,16 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-core", + "sp-io", "sp-runtime", "sp-transaction-pool", ] [[package]] name = "cumulus-pallet-aura-ext" -version = "0.10.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47ec277f09a2c2b693bca6283eb6bc10aede2eaee43a7c395911235d8b632dab" +checksum = "c5e8af48090936c45483d489ee681acb54277763586b53fa3dbd17173aa474fc" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -1916,9 +1978,9 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" -version = "0.10.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28e34c35fdd757c548cabaf8b65cabe5ae1c0fab7e143e85a99ab69ec58ad35f" +checksum = "7926abe4b165565b8c86a3525ac98e3a962761d05c201c53012460b237ad5887" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1934,9 +1996,9 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" -version = "0.10.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a19c40a5d04f60562fb38195766104deeb8cec71c11ec77796ee9373cccdb325" +checksum = "300d5509bd8ac95bafe158fa475278315175a4eb0422c2cd82e08e8b9dde035c" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -1965,7 +2027,8 @@ dependencies = [ "sp-trie", "sp-version", "staging-xcm", - "trie-db 0.28.0", + "staging-xcm-builder", + "trie-db 0.29.1", ] [[package]] @@ -1974,17 +2037,17 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "befbaf3a1ce23ac8476481484fef5f4d500cbd15b4dad6380ce1d28134b0c1f7" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] name = "cumulus-pallet-xcm" -version = "0.10.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7610ae16cac552adc823ba68deb26e5d3a9de189ef79ae26c79e43ddcfeabef1" +checksum = "8d5224285f60e5159bab549f458079d606a7f95ef779def8b89f1a244dc7cf81" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1999,9 +2062,9 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" -version = "0.10.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6614dcdbe6c24fcc8677bf158a8c627a3467d262acdc8a0e7d8a3d3d767a757c" +checksum = "0adf5409618b21e754fef0ac70f257878d22d61c48fdeefcab666835dcb8e0f0" dependencies = [ "bounded-collections", "bp-xcm-bridge-hub-router", @@ -2020,14 +2083,15 @@ dependencies = [ "sp-runtime", "sp-std", "staging-xcm", + "staging-xcm-builder", "staging-xcm-executor", ] [[package]] name = "cumulus-primitives-aura" -version = "0.10.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b70d13f3fca1dfaeb868f4fff79c58fef8fa4f8e381a9002d93c50c23683abf" +checksum = "3e7977947ad43a4cbc532ca33abcde136ae3deffdc7168b2ae253d73ccd371e4" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2040,9 +2104,9 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" -version = "0.10.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "617d02361f5c7df87b6be98b4974241b6836fbaa7d9e786db80eb38bc8636751" +checksum = "751e64b89a839d5cfabebc1c797936e5eee791d0fa2322d91e86f8440a743ddb" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2058,9 +2122,9 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" -version = "0.10.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87d64a55b7b9c3a945e543712630708f36407ab49ad8a2fa9f3d1404093a3e8e" +checksum = "df521e13b48278b86d02c61d6e44036d6d263deb5aaec4838b1751da8988d3d2" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2068,15 +2132,17 @@ dependencies = [ "scale-info", "sp-core", "sp-inherents", + "sp-runtime", + "sp-state-machine", "sp-std", "sp-trie", ] [[package]] name = "cumulus-primitives-proof-size-hostfunction" -version = "0.5.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "764e27968dce7d5c455dbaf9ba81c037fc5690afc085aa4aa2a4cdfe53716b74" +checksum = "9f973d2a7262c90e48dcd42062bcb1e0fbf48bbcdac4ea6df3d85212d8d8be5d" dependencies = [ "sp-externalities", "sp-runtime-interface", @@ -2085,9 +2151,9 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" -version = "0.10.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abf270c68a2cbf68b31cb4e8c4b5fc43665627ec6960cde04c393120e053ccef" +checksum = "e08ad90f55963672079811170bc3899066b6b73aea7db17f6db5220541a0aa7b" dependencies = [ "cumulus-primitives-core", "futures", @@ -2099,9 +2165,9 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" -version = "0.10.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "beeca40e85d6da3751343a3fc8dd5b335c9a06ba9897a5b36f726d139b7646de" +checksum = "05742c520065e3870d419683113ed7f6d35de66f0c80af6828e7878d1bb0ea94" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2120,9 +2186,9 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" -version = "0.10.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ec58113249ac91ceb4da1c846f6474cd4b6616100d0b29a86845b177caad52f" +checksum = "511675c9780fe8396e2b0c3ca8a04ff0ddc57d837fd9fe4086cb9aac1b107523" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2145,9 +2211,9 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" -version = "0.10.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbb531263c11cfd73f17090106fff2385ca7b02b39102c367f4c13fb1251e9dd" +checksum = "36abc0a30972529fad05c4fae9f6866ec6c3edfaf2e20977219c94a807d96ffa" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2159,16 +2225,17 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-state-machine", + "sp-version", "thiserror", ] [[package]] name = "cumulus-relay-chain-minimal-node" -version = "0.10.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1a416b2e6a5c99d78049b91425dbdb844f4351fd9fb61da47b70c2f90cf2ed4" +checksum = "b39ec9de6ed195263af022094d63689fc6a914f48f70d74eb3fed8ee48973ea3" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "async-trait", "cumulus-primitives-core", "cumulus-relay-chain-interface", @@ -2207,9 +2274,9 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-rpc-interface" -version = "0.10.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e011f8da350318316e80356dca70bee537d8f8fb29bb99d1765348b0ab6f6d88" +checksum = "b22c43792fa5d56a2360bcdbdc58c47aafa23688072d2b6e61844864e69a15c8" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2247,9 +2314,9 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" -version = "0.10.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1e730a7524f50acb03c24476323c4dad35690baf85175ad0f91a2dffed85b39" +checksum = "e1f4ab9d64a581d4a5431f2554f4602a4208c5e28b30be01af386e24d8447599" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -2262,31 +2329,17 @@ dependencies = [ [[package]] name = "curve25519-dalek" -version = "3.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b9fdf9972b2bd6af2d913799d9ebc165ea4d2e65878e329d9c6b372c4491b61" -dependencies = [ - "byteorder", - "digest 0.9.0", - "rand_core 0.5.1", - "subtle 2.5.0", - "zeroize", -] - -[[package]] -name = "curve25519-dalek" -version = "4.1.2" +version = "4.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a677b8922c94e01bdbb12126b0bc852f00447528dee1782229af9c720c3f348" +checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" dependencies = [ "cfg-if", "cpufeatures", "curve25519-dalek-derive", "digest 0.10.7", "fiat-crypto", - "platforms", "rustc_version", - "subtle 2.5.0", + "subtle 2.6.1", "zeroize", ] @@ -2298,7 +2351,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] @@ -2309,16 +2362,16 @@ checksum = "1c359b7249347e46fb28804470d071c921156ad62b3eef5d34e2ba867533dec8" dependencies = [ "byteorder", "digest 0.9.0", - "rand_core 0.6.4", + "rand_core", "subtle-ng", "zeroize", ] [[package]] name = "cxx" -version = "1.0.122" +version = "1.0.128" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb497fad022245b29c2a0351df572e2d67c1046bcef2260ebc022aec81efea82" +checksum = "54ccead7d199d584d139148b04b4a368d1ec7556a1d9ea2548febb1b9d49f9a4" dependencies = [ "cc", "cxxbridge-flags", @@ -2328,9 +2381,9 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.122" +version = "1.0.128" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9327c7f9fbd6329a200a5d4aa6f674c60ab256525ff0084b52a889d4e4c60cee" +checksum = "c77953e99f01508f89f55c494bfa867171ef3a6c8cea03d26975368f2121a5c1" dependencies = [ "cc", "codespan-reporting", @@ -2338,24 +2391,24 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] name = "cxxbridge-flags" -version = "1.0.122" +version = "1.0.128" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "688c799a4a846f1c0acb9f36bb9c6272d9b3d9457f3633c7753c6057270df13c" +checksum = "65777e06cc48f0cb0152024c77d6cf9e4bdb4408e7b48bea993d42fa0f5b02b6" [[package]] name = "cxxbridge-macro" -version = "1.0.122" +version = "1.0.128" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "928bc249a7e3cd554fd2e8e08a426e9670c50bbfc9a621653cfa9accc9641783" +checksum = "98532a60dedaebc4848cb2cba5023337cc9ea3af16a5b062633fabfd9f18fb60" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] @@ -2413,7 +2466,21 @@ version = "8.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dbd676fbbab537128ef0278adb5576cf363cff6aa22a7b24effe97347cfab61e" dependencies = [ - "asn1-rs", + "asn1-rs 0.5.2", + "displaydoc", + "nom", + "num-bigint", + "num-traits", + "rusticata-macros", +] + +[[package]] +name = "der-parser" +version = "9.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5cd0a5c643689626bec213c4d8bd4d96acc8ffdb4ad4bb6bc16abf27d5f4b553" +dependencies = [ + "asn1-rs 0.6.2", "displaydoc", "nom", "num-bigint", @@ -2441,17 +2508,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "derive-syn-parse" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e79116f119dd1dba1abf1f3405f03b9b0e79a27a3883864bfebded8a3dc768cd" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "derive-syn-parse" version = "0.2.0" @@ -2460,20 +2516,20 @@ checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] name = "derive_more" -version = "0.99.17" +version = "0.99.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" +checksum = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce" dependencies = [ "convert_case", "proc-macro2", "quote", "rustc_version", - "syn 1.0.109", + "syn 2.0.77", ] [[package]] @@ -2509,7 +2565,7 @@ dependencies = [ "block-buffer 0.10.4", "const-oid", "crypto-common", - "subtle 2.5.0", + "subtle 2.6.1", ] [[package]] @@ -2556,13 +2612,13 @@ dependencies = [ [[package]] name = "displaydoc" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" +checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] @@ -2581,14 +2637,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1a081e51fb188742f5a7a1164ad752121abcb22874b21e2c3b0dd040c515fdad" dependencies = [ "common-path", - "derive-syn-parse 0.2.0", + "derive-syn-parse", "once_cell", "proc-macro2", "quote", "regex", - "syn 2.0.66", + "syn 2.0.77", "termcolor", - "toml 0.8.13", + "toml 0.8.19", "walkdir", ] @@ -2668,26 +2724,12 @@ version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" dependencies = [ - "curve25519-dalek 4.1.2", + "curve25519-dalek", "ed25519", - "rand_core 0.6.4", + "rand_core", "serde", "sha2 0.10.8", - "subtle 2.5.0", - "zeroize", -] - -[[package]] -name = "ed25519-zebra" -version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c24f403d068ad0b359e577a77f92392118be3f3c927538f2bb544a5ecd828c6" -dependencies = [ - "curve25519-dalek 3.2.0", - "hashbrown 0.12.3", - "hex", - "rand_core 0.6.4", - "sha2 0.9.9", + "subtle 2.6.1", "zeroize", ] @@ -2697,20 +2739,20 @@ version = "4.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d9ce6874da5d4415896cd45ffbc4d1cfc0c4f9c079427bd870742c30f2f65a9" dependencies = [ - "curve25519-dalek 4.1.2", + "curve25519-dalek", "ed25519", "hashbrown 0.14.5", "hex", - "rand_core 0.6.4", + "rand_core", "sha2 0.10.8", "zeroize", ] [[package]] name = "either" -version = "1.12.0" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3dca9240753cf90908d7e4aac30f630662b02aebaa1b58a3cadabdb23385b58b" +checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" [[package]] name = "elliptic-curve" @@ -2725,10 +2767,10 @@ dependencies = [ "generic-array 0.14.7", "group", "pkcs8", - "rand_core 0.6.4", + "rand_core", "sec1", "serdect", - "subtle 2.5.0", + "subtle 2.6.1", "zeroize", ] @@ -2751,34 +2793,46 @@ dependencies = [ ] [[package]] -name = "enumflags2" -version = "0.7.9" +name = "enum-as-inner" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3278c9d5fb675e0a51dabcf4c0d355f692b064171535ba72361be1528a9d8e8d" +checksum = "a1e6a265c649f3f5979b601d26f1d05ada116434c87741c9493cb56218f76cbc" dependencies = [ - "enumflags2_derive", + "heck 0.5.0", + "proc-macro2", + "quote", + "syn 2.0.77", +] + +[[package]] +name = "enumflags2" +version = "0.7.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d232db7f5956f3f14313dc2f87985c58bd2c695ce124c8cdd984e08e15ac133d" +dependencies = [ + "enumflags2_derive", ] [[package]] name = "enumflags2_derive" -version = "0.7.9" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c785274071b1b420972453b306eeca06acf4633829db4223b58a2a8c5953bc4" +checksum = "de0d48a183585823424a4ce1aa132d174a6a81bd540895822eb4c8373a8e49e8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] name = "enumn" -version = "0.1.13" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fd000fd6988e73bbe993ea3db9b1aa64906ab88766d654973924340c8cddb42" +checksum = "2f9ed6b3789237c8a0c1c505af1c7eb2c560df6186f01b098c3a1064ea532f38" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] @@ -2879,18 +2933,7 @@ checksum = "d93877bcde0eb80ca09131a08d23f0a5c18a620b01db137dba666d18cd9b30c2" dependencies = [ "concurrent-queue", "parking", - "pin-project-lite 0.2.14", -] - -[[package]] -name = "event-listener" -version = "4.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e" -dependencies = [ - "concurrent-queue", - "parking", - "pin-project-lite 0.2.14", + "pin-project-lite", ] [[package]] @@ -2901,17 +2944,7 @@ checksum = "6032be9bd27023a771701cc49f9f053c751055f71efb2e0ae5c15809093675ba" dependencies = [ "concurrent-queue", "parking", - "pin-project-lite 0.2.14", -] - -[[package]] -name = "event-listener-strategy" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3" -dependencies = [ - "event-listener 4.0.3", - "pin-project-lite 0.2.14", + "pin-project-lite", ] [[package]] @@ -2921,7 +2954,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0f214dc438f977e6d4e3500aaa277f5ad94ca83fbbd9b1a15713ce2344ccc5a1" dependencies = [ "event-listener 5.3.1", - "pin-project-lite 0.2.14", + "pin-project-lite", ] [[package]] @@ -3029,28 +3062,17 @@ dependencies = [ [[package]] name = "expander" -version = "0.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a718c0675c555c5f976fff4ea9e2c150fa06cefa201cadef87cfbf9324075881" -dependencies = [ - "blake3", - "fs-err", - "proc-macro2", - "quote", -] - -[[package]] -name = "expander" -version = "2.1.0" +version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00e83c02035136f1592a47964ea60c05a50e4ed8b5892cfac197063850898d4d" +checksum = "e2c470c71d91ecbd179935b24170459e926382eaaa86b590b78814e180d8a8e2" dependencies = [ "blake2 0.10.6", + "file-guard", "fs-err", - "prettier-please", + "prettyplease 0.2.22", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] @@ -3076,15 +3098,15 @@ dependencies = [ [[package]] name = "fastrand" -version = "2.1.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" +checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6" [[package]] name = "fatality" -version = "0.0.6" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ad875162843b0d046276327afe0136e9ed3a23d5a754210fb6f1f33610d39ab" +checksum = "ec6f82451ff7f0568c6181287189126d492b5654e30a788add08027b6363d019" dependencies = [ "fatality-proc-macro", "thiserror", @@ -3092,23 +3114,22 @@ dependencies = [ [[package]] name = "fatality-proc-macro" -version = "0.0.6" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5aa1e3ae159e592ad222dc90c5acbad632b527779ba88486abe92782ab268bd" +checksum = "eb42427514b063d97ce21d5199f36c0c307d981434a6be32582bc79fe5bd2303" dependencies = [ - "expander 0.0.4", - "indexmap 1.9.3", - "proc-macro-crate 1.3.1", + "expander", + "indexmap 2.5.0", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 1.0.109", - "thiserror", + "syn 2.0.77", ] [[package]] name = "fc-api" version = "1.0.0-dev" -source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.9.0#edc28caf745f80d0616dcb26a43401596971a5f8" +source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.14.0#35b9c5e03ed647d519b69c0b2b97dd0798b1091b" dependencies = [ "async-trait", "fp-storage", @@ -3120,7 +3141,7 @@ dependencies = [ [[package]] name = "fc-consensus" version = "2.0.0-dev" -source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.9.0#edc28caf745f80d0616dcb26a43401596971a5f8" +source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.14.0#35b9c5e03ed647d519b69c0b2b97dd0798b1091b" dependencies = [ "async-trait", "fp-consensus", @@ -3136,7 +3157,7 @@ dependencies = [ [[package]] name = "fc-db" version = "2.0.0-dev" -source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.9.0#edc28caf745f80d0616dcb26a43401596971a5f8" +source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.14.0#35b9c5e03ed647d519b69c0b2b97dd0798b1091b" dependencies = [ "async-trait", "fc-api", @@ -3157,7 +3178,7 @@ dependencies = [ [[package]] name = "fc-mapping-sync" version = "2.0.0-dev" -source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.9.0#edc28caf745f80d0616dcb26a43401596971a5f8" +source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.14.0#35b9c5e03ed647d519b69c0b2b97dd0798b1091b" dependencies = [ "fc-db", "fc-storage", @@ -3178,7 +3199,7 @@ dependencies = [ [[package]] name = "fc-rpc" version = "2.0.0-dev" -source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.9.0#edc28caf745f80d0616dcb26a43401596971a5f8" +source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.14.0#35b9c5e03ed647d519b69c0b2b97dd0798b1091b" dependencies = [ "ethereum", "ethereum-types", @@ -3203,7 +3224,6 @@ dependencies = [ "sc-client-api", "sc-consensus-aura", "sc-network", - "sc-network-common", "sc-network-sync", "sc-rpc", "sc-service", @@ -3233,7 +3253,7 @@ dependencies = [ [[package]] name = "fc-rpc-core" version = "1.1.0-dev" -source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.9.0#edc28caf745f80d0616dcb26a43401596971a5f8" +source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.14.0#35b9c5e03ed647d519b69c0b2b97dd0798b1091b" dependencies = [ "ethereum", "ethereum-types", @@ -3248,7 +3268,7 @@ dependencies = [ [[package]] name = "fc-storage" version = "1.0.0-dev" -source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.9.0#edc28caf745f80d0616dcb26a43401596971a5f8" +source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.14.0#35b9c5e03ed647d519b69c0b2b97dd0798b1091b" dependencies = [ "ethereum", "ethereum-types", @@ -3257,7 +3277,6 @@ dependencies = [ "parity-scale-codec", "sc-client-api", "sp-api", - "sp-blockchain", "sp-io", "sp-runtime", "sp-storage", @@ -3279,8 +3298,8 @@ version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" dependencies = [ - "rand_core 0.6.4", - "subtle 2.5.0", + "rand_core", + "subtle 2.6.1", ] [[package]] @@ -3289,6 +3308,16 @@ version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" +[[package]] +name = "file-guard" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21ef72acf95ec3d7dbf61275be556299490a245f017cf084bd23b4f68cf9407c" +dependencies = [ + "libc", + "winapi", +] + [[package]] name = "file-per-thread-logger" version = "0.1.6" @@ -3301,14 +3330,14 @@ dependencies = [ [[package]] name = "filetime" -version = "0.2.23" +version = "0.2.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ee447700ac8aa0b2f2bd7bc4462ad686ba06baa6727ac149a2d6277f0d240fd" +checksum = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.4.1", - "windows-sys 0.52.0", + "libredox", + "windows-sys 0.59.0", ] [[package]] @@ -3345,17 +3374,6 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" -[[package]] -name = "flate2" -version = "1.0.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f54427cfd1c7829e2a139fcefea601bf088ebca651d2bf53ebc600eac295dae" -dependencies = [ - "crc32fast", - "libz-sys", - "miniz_oxide", -] - [[package]] name = "float-cmp" version = "0.9.0" @@ -3371,11 +3389,26 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" +[[package]] +name = "foreign-types" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" +dependencies = [ + "foreign-types-shared", +] + +[[package]] +name = "foreign-types-shared" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" + [[package]] name = "fork-tree" -version = "12.0.0" +version = "13.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e93d3f0315c2eccf23453609e0ab92fe7c6ad1ca8129bcaf80b9a08c8d7fc52b" +checksum = "ad4cc2314d3be8b49c555f6a7e550f5559e73ffd6ef9690ffbd9a706774452e0" dependencies = [ "parity-scale-codec", ] @@ -3389,10 +3422,20 @@ dependencies = [ "percent-encoding", ] +[[package]] +name = "forwarded-header-value" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8835f84f38484cc86f110a805655697908257fb9a7af005234060891557198e9" +dependencies = [ + "nonempty", + "thiserror", +] + [[package]] name = "fp-account" version = "1.0.0-dev" -source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.9.0#edc28caf745f80d0616dcb26a43401596971a5f8" +source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.14.0#35b9c5e03ed647d519b69c0b2b97dd0798b1091b" dependencies = [ "hex", "impl-serde", @@ -3405,38 +3448,35 @@ dependencies = [ "sp-io", "sp-runtime", "sp-runtime-interface", - "sp-std", ] [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.9.0#edc28caf745f80d0616dcb26a43401596971a5f8" +source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.14.0#35b9c5e03ed647d519b69c0b2b97dd0798b1091b" dependencies = [ "ethereum", "parity-scale-codec", "sp-core", "sp-runtime", - "sp-std", ] [[package]] name = "fp-ethereum" version = "1.0.0-dev" -source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.9.0#edc28caf745f80d0616dcb26a43401596971a5f8" +source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.14.0#35b9c5e03ed647d519b69c0b2b97dd0798b1091b" dependencies = [ "ethereum", "ethereum-types", "fp-evm", "frame-support", "parity-scale-codec", - "sp-std", ] [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.9.0#edc28caf745f80d0616dcb26a43401596971a5f8" +source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.14.0#35b9c5e03ed647d519b69c0b2b97dd0798b1091b" dependencies = [ "evm", "frame-support", @@ -3446,13 +3486,12 @@ dependencies = [ "serde", "sp-core", "sp-runtime", - "sp-std", ] [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.9.0#edc28caf745f80d0616dcb26a43401596971a5f8" +source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.14.0#35b9c5e03ed647d519b69c0b2b97dd0798b1091b" dependencies = [ "ethereum", "ethereum-types", @@ -3463,13 +3502,12 @@ dependencies = [ "sp-core", "sp-runtime", "sp-state-machine", - "sp-std", ] [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.9.0#edc28caf745f80d0616dcb26a43401596971a5f8" +source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.14.0#35b9c5e03ed647d519b69c0b2b97dd0798b1091b" dependencies = [ "frame-support", "parity-scale-codec", @@ -3481,7 +3519,7 @@ dependencies = [ [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.9.0#edc28caf745f80d0616dcb26a43401596971a5f8" +source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.14.0#35b9c5e03ed647d519b69c0b2b97dd0798b1091b" dependencies = [ "parity-scale-codec", "serde", @@ -3495,9 +3533,9 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fee087c6a7ddbc6dcfb6a6015d4b2787ecbb2113ed8b8bee8ff15f2bdf93f94" +checksum = "709b26657ebbba53dc7bb616577375ca462b20fef1b00e8d9b20d2435e87f7bc" dependencies = [ "frame-support", "frame-support-procedural", @@ -3521,12 +3559,12 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" -version = "35.0.1" +version = "40.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38f1660c2e59d206386658ca7fa867c2ccdb44429cc8a5a16a2975a338aa7047" +checksum = "49302558cac41cba0a28aa784615daea85c49253ecc6d6a6c4a8ee2f2303655a" dependencies = [ "Inflector", - "array-bytes 6.2.3", + "array-bytes", "chrono", "clap", "comfy-table", @@ -3535,7 +3573,7 @@ dependencies = [ "frame-system", "gethostname", "handlebars", - "itertools 0.10.5", + "itertools 0.11.0", "lazy_static", "linked-hash-map", "log", @@ -3543,6 +3581,7 @@ dependencies = [ "rand", "rand_pcg", "sc-block-builder", + "sc-chain-spec", "sc-cli", "sc-client-api", "sc-client-db", @@ -3556,6 +3595,7 @@ dependencies = [ "sp-core", "sp-database", "sp-externalities", + "sp-genesis-builder", "sp-inherents", "sp-io", "sp-keystore", @@ -3570,21 +3610,21 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" -version = "13.0.0" +version = "14.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5c3bff645e46577c69c272733c53fa3a77d1ee6e40dfb66157bc94b0740b8fc" +checksum = "8156f209055d352994ecd49e19658c6b469d7c6de923bd79868957d0dcfb6f71" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] name = "frame-election-provider-support" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d651327ec98d12fbdb0d25346de929e3ea2ab8a1ef85570794d9d8d54f204f28" +checksum = "b1ec289ebad5e601bb165cf7eb6ec2179ae34280ee310d0710a3111d4f8f8f94" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3600,11 +3640,11 @@ dependencies = [ [[package]] name = "frame-executive" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3d4502dd4218aaf90240527adb789b9620fcada2af76f4751a8a852583eb0c2" +checksum = "4d878830330eaa9e8b886279c338556b05702d0059989cb51cfb226b70bf3fa4" dependencies = [ - "aquamarine 0.3.3", + "aquamarine", "frame-support", "frame-system", "frame-try-runtime", @@ -3631,36 +3671,29 @@ dependencies = [ ] [[package]] -name = "frame-remote-externalities" -version = "0.38.0" +name = "frame-metadata-hash-extension" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c935bea33258c329e9ad4784a720aa4b1faff8c5af474f14e0898db11b7cb8ab" +checksum = "cf37fc730bf4b51e82a34c6357eebe32c04dbacf6525e0a7b9726f6a17ec9427" dependencies = [ - "futures", - "indicatif", - "jsonrpsee", + "array-bytes", + "docify", + "frame-support", + "frame-system", "log", "parity-scale-codec", - "serde", - "sp-core", - "sp-crypto-hashing", - "sp-io", + "scale-info", "sp-runtime", - "sp-state-machine", - "spinners", - "substrate-rpc-client", - "tokio", - "tokio-retry", ] [[package]] name = "frame-support" -version = "31.0.0" +version = "36.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81aecbbc1c62055e8ce472283bc655bf6c0f968a4d22d504bf6aad4ea44ccbc4" +checksum = "2f4d08149c28010bfa568dcfa832aea628fb794d4243794a13b1bdef1aa66fb1" dependencies = [ - "aquamarine 0.5.0", - "array-bytes 6.2.3", + "aquamarine", + "array-bytes", "bitflags 1.3.2", "docify", "environmental", @@ -3697,35 +3730,35 @@ dependencies = [ [[package]] name = "frame-support-procedural" -version = "26.0.1" +version = "30.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "732fa43a05789f4ffb96955017e40643199d586c3d211754df5824a195f4eab5" +checksum = "1e4662a809f559aea6234bd90940fa29df583a3c8124a3cf923f66a0d21126b7" dependencies = [ "Inflector", "cfg-expr", - "derive-syn-parse 0.1.5", - "expander 2.1.0", + "derive-syn-parse", + "expander", "frame-support-procedural-tools", - "itertools 0.10.5", + "itertools 0.11.0", "macro_magic", - "proc-macro-warning", + "proc-macro-warning 1.0.2", "proc-macro2", "quote", "sp-crypto-hashing", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] name = "frame-support-procedural-tools" -version = "11.0.1" +version = "13.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b482a1d18fa63aed1ff3fe3fcfb3bc23d92cb3903d6b9774f75dc2c4e1001c3a" +checksum = "bead15a320be1764cdd50458c4cfacb23e0cee65f64f500f8e34136a94c7eeca" dependencies = [ "frame-support-procedural-tools-derive", - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] @@ -3736,14 +3769,14 @@ checksum = "ed971c6435503a099bdac99fe4c5bea08981709e5b5a0a8535a1856f48561191" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] name = "frame-system" -version = "31.0.0" +version = "36.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7537b5e23f584bf54f26c6297e0260b54fac5298be43a115176a310f256a4ab" +checksum = "64d6a0e7bb6503facdcc6f8e19c83cd0bfc8bbbd268522b1a50e107dfc6b972d" dependencies = [ "cfg-if", "docify", @@ -3762,9 +3795,9 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea3c6bd0f5700363a845d4c0f83ea3478cdfcfe404d08f35865b78ebc5d37c0a" +checksum = "15afc91c7780e18274dcea58ed1edb700c48d10e086a9785e3f6708099cd3250" dependencies = [ "frame-benchmarking", "frame-support", @@ -3778,9 +3811,9 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" -version = "29.0.0" +version = "33.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ae4e8decf1630ed6731e8912d1ed4ac3986d86c68f59580f2a9f61909150c41" +checksum = "c9e9e2b7b85e451e367f4fb85ff3295bd039e17f64de1906154d3976e2638ee8" dependencies = [ "parity-scale-codec", "sp-api", @@ -3788,9 +3821,9 @@ dependencies = [ [[package]] name = "frame-try-runtime" -version = "0.37.0" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bad42234b76beabf35bbc9a54566f0060b8d3d4fe93726007f02896e8beb91e3" +checksum = "ae6ba8b36a52775ad39ccfb45ff4ad814c3cb45ec74d0a4271889e00bd791c6c" dependencies = [ "frame-support", "parity-scale-codec", @@ -3824,7 +3857,7 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "29f9df8a11882c4e3335eb2d18a0137c505d9ca927470b0cac9c6f0ae07d28f7" dependencies = [ - "rustix 0.38.34", + "rustix 0.38.37", "windows-sys 0.48.0", ] @@ -3849,6 +3882,16 @@ dependencies = [ "futures-util", ] +[[package]] +name = "futures-bounded" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b07bbbe7d7e78809544c6f718d875627addc73a7c3582447abc052cd3dc67e0" +dependencies = [ + "futures-timer", + "futures-util", +] + [[package]] name = "futures-channel" version = "0.3.30" @@ -3894,7 +3937,7 @@ dependencies = [ "futures-io", "memchr", "parking", - "pin-project-lite 0.2.14", + "pin-project-lite", "waker-fn", ] @@ -3904,11 +3947,11 @@ version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "52527eb5074e35e9339c6b4e8d12600c7128b68fb25dcb9fa9dec18f7c25f3a5" dependencies = [ - "fastrand 2.1.0", + "fastrand 2.1.1", "futures-core", "futures-io", "parking", - "pin-project-lite 0.2.14", + "pin-project-lite", ] [[package]] @@ -3919,18 +3962,17 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] name = "futures-rustls" -version = "0.22.2" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2411eed028cdf8c8034eaf21f9915f956b6c3abec4d4c7949ee67f0721127bd" +checksum = "35bd3cf68c183738046838e300353e4716c674dc5e56890de4826801a6622a28" dependencies = [ "futures-io", - "rustls 0.20.9", - "webpki", + "rustls 0.21.12", ] [[package]] @@ -3964,7 +4006,7 @@ dependencies = [ "futures-sink", "futures-task", "memchr", - "pin-project-lite 0.2.14", + "pin-project-lite", "pin-utils", "slab", ] @@ -4008,17 +4050,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "getrandom" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" -dependencies = [ - "cfg-if", - "libc", - "wasi 0.9.0+wasi-snapshot-preview1", -] - [[package]] name = "getrandom" version = "0.2.15" @@ -4027,7 +4058,7 @@ checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" dependencies = [ "cfg-if", "libc", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi", ] [[package]] @@ -4037,7 +4068,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6ea1015b5a70616b688dc230cfe50c8af89d972cb132d5a622814d29773b10b9" dependencies = [ "rand", - "rand_core 0.6.4", + "rand_core", ] [[package]] @@ -4073,9 +4104,9 @@ dependencies = [ [[package]] name = "gimli" -version = "0.29.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd" +checksum = "32085ea23f3234fc7846555e85283ba4de91e21016dc0455a16286d87a292d64" [[package]] name = "glob" @@ -4110,8 +4141,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" dependencies = [ "ff", - "rand_core 0.6.4", - "subtle 2.5.0", + "rand_core", + "subtle 2.6.1", ] [[package]] @@ -4125,8 +4156,27 @@ dependencies = [ "futures-core", "futures-sink", "futures-util", - "http", - "indexmap 2.2.6", + "http 0.2.12", + "indexmap 2.5.0", + "slab", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "h2" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "524e8ac6999421f49a846c2d4411f337e53497d8ec55d67753beffa43c5d9205" +dependencies = [ + "atomic-waker", + "bytes", + "fnv", + "futures-core", + "futures-sink", + "http 1.1.0", + "indexmap 2.5.0", "slab", "tokio", "tokio-util", @@ -4167,9 +4217,6 @@ name = "hashbrown" version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" -dependencies = [ - "ahash 0.7.8", -] [[package]] name = "hashbrown" @@ -4177,7 +4224,7 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.11", + "ahash", ] [[package]] @@ -4186,7 +4233,7 @@ version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" dependencies = [ - "ahash 0.8.11", + "ahash", "allocator-api2", "serde", ] @@ -4218,6 +4265,12 @@ version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" +[[package]] +name = "hermit-abi" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc" + [[package]] name = "hex" version = "0.4.3" @@ -4306,6 +4359,17 @@ dependencies = [ "itoa", ] +[[package]] +name = "http" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + [[package]] name = "http-body" version = "0.4.6" @@ -4313,21 +4377,38 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ "bytes", - "http", - "pin-project-lite 0.2.14", + "http 0.2.12", + "pin-project-lite", ] [[package]] -name = "http-range-header" -version = "0.3.1" +name = "http-body" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" +dependencies = [ + "bytes", + "http 1.1.0", +] + +[[package]] +name = "http-body-util" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "add0ab9360ddbd88cfeb3bd9574a1d85cfdfa14db10b3e21d3700dbc4328758f" +checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" +dependencies = [ + "bytes", + "futures-util", + "http 1.1.0", + "http-body 1.0.1", + "pin-project-lite", +] [[package]] name = "httparse" -version = "1.8.0" +version = "1.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" +checksum = "0fcc0b4a115bf80b728eb8ea024ad5bd707b615bfed49e0665b6e0f86fd082d9" [[package]] name = "httpdate" @@ -4343,21 +4424,21 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "hyper" -version = "0.14.28" +version = "0.14.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf96e135eb83a2a8ddf766e426a841d8ddd7449d5f00d34ea02b41d2f19eef80" +checksum = "a152ddd61dfaec7273fe8419ab357f33aee0d914c5f4efbf0d96fa749eea5ec9" dependencies = [ "bytes", "futures-channel", "futures-core", "futures-util", - "h2", - "http", - "http-body", + "h2 0.3.26", + "http 0.2.12", + "http-body 0.4.6", "httparse", "httpdate", "itoa", - "pin-project-lite 0.2.14", + "pin-project-lite", "socket2 0.5.7", "tokio", "tower-service", @@ -4365,6 +4446,26 @@ dependencies = [ "want", ] +[[package]] +name = "hyper" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50dfd22e0e76d0f662d429a5f80fcaf3855009297eab6a0a9f8543834744ba05" +dependencies = [ + "bytes", + "futures-channel", + "futures-util", + "h2 0.4.6", + "http 1.1.0", + "http-body 1.0.1", + "httparse", + "httpdate", + "itoa", + "pin-project-lite", + "smallvec", + "tokio", +] + [[package]] name = "hyper-rustls" version = "0.24.2" @@ -4372,8 +4473,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" dependencies = [ "futures-util", - "http", - "hyper", + "http 0.2.12", + "hyper 0.14.30", "log", "rustls 0.21.12", "rustls-native-certs 0.6.3", @@ -4381,6 +4482,23 @@ dependencies = [ "tokio-rustls 0.24.1", ] +[[package]] +name = "hyper-util" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da62f120a8a37763efb0cf8fdf264b884c7b8b9ac8660b900c8661030c00e6ba" +dependencies = [ + "bytes", + "futures-util", + "http 1.1.0", + "http-body 1.0.1", + "hyper 1.4.1", + "pin-project-lite", + "tokio", + "tower", + "tower-service", +] + [[package]] name = "iana-time-zone" version = "0.1.60" @@ -4415,6 +4533,16 @@ dependencies = [ "unicode-normalization", ] +[[package]] +name = "idna" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" +dependencies = [ + "unicode-bidi", + "unicode-normalization", +] + [[package]] name = "idna" version = "0.5.0" @@ -4441,7 +4569,7 @@ version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6b0422c86d7ce0e97169cc42e04ae643caf278874a7a3c87b8150a220dc7e1e" dependencies = [ - "async-io 2.3.2", + "async-io 2.3.4", "core-foundation", "fnv", "futures", @@ -4454,6 +4582,25 @@ dependencies = [ "windows", ] +[[package]] +name = "igd-next" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "064d90fec10d541084e7b39ead8875a5a80d9114a2b18791565253bae25f49e4" +dependencies = [ + "async-trait", + "attohttpc", + "bytes", + "futures", + "http 0.2.12", + "hyper 0.14.30", + "log", + "rand", + "tokio", + "url", + "xmltree", +] + [[package]] name = "impl-codec" version = "0.6.0" @@ -4494,18 +4641,18 @@ dependencies = [ [[package]] name = "include_dir" -version = "0.7.3" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18762faeff7122e89e0857b02f7ce6fcc0d101d5e9ad2ad7846cc01d61b7f19e" +checksum = "923d117408f1e49d914f1a379a309cffe4f18c05cf4e3d12e613a15fc81bd0dd" dependencies = [ "include_dir_macros", ] [[package]] name = "include_dir_macros" -version = "0.7.3" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b139284b5cf57ecfa712bcc66950bb635b31aff41c188e8a4cfc758eca374a3f" +checksum = "7cab85a7ed0bd5f0e76d93846e0147172bed2e2d3f859bcc33a8d9699cad1a75" dependencies = [ "proc-macro2", "quote", @@ -4524,9 +4671,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.2.6" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" +checksum = "68b900aa2f7301e21c36462b170ee99994de34dff39a4a6a528e80e7376d07e5" dependencies = [ "equivalent", "hashbrown 0.14.5", @@ -4538,19 +4685,6 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e04e2fd2b8188ea827b32ef11de88377086d690286ab35747ef7f9bf3ccb590" -[[package]] -name = "indicatif" -version = "0.17.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "763a5a8f45087d6bcea4222e7b72c291a054edf80e4ef6efd2a4979878c7bea3" -dependencies = [ - "console", - "instant", - "number_prefix", - "portable-atomic", - "unicode-width", -] - [[package]] name = "inout" version = "0.1.3" @@ -4590,7 +4724,7 @@ version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" dependencies = [ - "hermit-abi", + "hermit-abi 0.3.9", "libc", "windows-sys 0.48.0", ] @@ -4615,35 +4749,35 @@ dependencies = [ [[package]] name = "ipnet" -version = "2.9.0" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" +checksum = "187674a687eed5fe42285b40c6291f9a01517d415fad1c3cbc6a9f778af7fcd4" [[package]] name = "is-terminal" -version = "0.4.12" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b" +checksum = "261f68e344040fbd0edea105bef17c66edf46f984ddb1115b775ce31be948f4b" dependencies = [ - "hermit-abi", + "hermit-abi 0.4.0", "libc", "windows-sys 0.52.0", ] [[package]] name = "is_executable" -version = "1.0.1" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa9acdc6d67b75e626ad644734e8bc6df893d9cd2a834129065d3dd6158ea9c8" +checksum = "4ba3d8548b8b04dafdf2f4cc6f5e379db766d0a6d9aac233ad4c9a92ea892233" dependencies = [ "winapi", ] [[package]] name = "is_terminal_polyfill" -version = "1.70.0" +version = "1.70.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8478577c03552c21db0e2724ffb8986a5ce7af88107e6be5d2ee6e158c12800" +checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" [[package]] name = "itertools" @@ -4663,38 +4797,66 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" +[[package]] +name = "jni" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6df18c2e3db7e453d3c6ac5b3e9d5182664d28788126d39b91f2d1e22b017ec" +dependencies = [ + "cesu8", + "combine", + "jni-sys", + "log", + "thiserror", + "walkdir", +] + +[[package]] +name = "jni-sys" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130" + [[package]] name = "jobserver" -version = "0.1.31" +version = "0.1.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2b099aaa34a9751c5bf0878add70444e1ed2dd73f347be99003d4577277de6e" +checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0" dependencies = [ "libc", ] [[package]] name = "js-sys" -version = "0.3.69" +version = "0.3.70" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d" +checksum = "1868808506b929d7b0cfa8f75951347aa71bb21144b7791bae35d9bccfcfe37a" dependencies = [ "wasm-bindgen", ] [[package]] name = "jsonrpsee" -version = "0.22.5" +version = "0.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfdb12a2381ea5b2e68c3469ec604a007b367778cdb14d09612c8069ebd616ad" +checksum = "62b089779ad7f80768693755a031cc14a7766aba707cbe886674e3f79e9b7e47" dependencies = [ "jsonrpsee-core", - "jsonrpsee-http-client", "jsonrpsee-proc-macros", "jsonrpsee-server", "jsonrpsee-types", @@ -4705,20 +4867,22 @@ dependencies = [ [[package]] name = "jsonrpsee-client-transport" -version = "0.22.5" +version = "0.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4978087a58c3ab02efc5b07c5e5e2803024536106fd5506f558db172c889b3aa" +checksum = "08163edd8bcc466c33d79e10f695cdc98c00d1e6ddfb95cec41b6b0279dd5432" dependencies = [ + "base64 0.22.1", "futures-util", - "http", + "http 1.1.0", "jsonrpsee-core", "pin-project", - "rustls-native-certs 0.7.0", + "rustls 0.23.13", "rustls-pki-types", - "soketto", + "rustls-platform-verifier", + "soketto 0.8.0", "thiserror", "tokio", - "tokio-rustls 0.25.0", + "tokio-rustls 0.26.0", "tokio-util", "tracing", "url", @@ -4726,16 +4890,19 @@ dependencies = [ [[package]] name = "jsonrpsee-core" -version = "0.22.5" +version = "0.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4b257e1ec385e07b0255dde0b933f948b5c8b8c28d42afda9587c3a967b896d" +checksum = "79712302e737d23ca0daa178e752c9334846b08321d439fd89af9a384f8c830b" dependencies = [ "anyhow", "async-trait", "beef", + "bytes", "futures-timer", "futures-util", - "hyper", + "http 1.1.0", + "http-body 1.0.1", + "http-body-util", "jsonrpsee-types", "parking_lot 0.12.3", "pin-project", @@ -4749,55 +4916,39 @@ dependencies = [ "tracing", ] -[[package]] -name = "jsonrpsee-http-client" -version = "0.22.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ccf93fc4a0bfe05d851d37d7c32b7f370fe94336b52a2f0efc5f1981895c2e5" -dependencies = [ - "async-trait", - "hyper", - "hyper-rustls", - "jsonrpsee-core", - "jsonrpsee-types", - "serde", - "serde_json", - "thiserror", - "tokio", - "tower", - "tracing", - "url", -] - [[package]] name = "jsonrpsee-proc-macros" -version = "0.22.5" +version = "0.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d0bb047e79a143b32ea03974a6bf59b62c2a4c5f5d42a381c907a8bbb3f75c0" +checksum = "7895f186d5921065d96e16bd795e5ca89ac8356ec423fafc6e3d7cf8ec11aee4" dependencies = [ - "heck 0.4.1", - "proc-macro-crate 3.1.0", + "heck 0.5.0", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] name = "jsonrpsee-server" -version = "0.22.5" +version = "0.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12d8b6a9674422a8572e0b0abb12feeb3f2aeda86528c80d0350c2bd0923ab41" +checksum = "654afab2e92e5d88ebd8a39d6074483f3f2bfdf91c5ac57fe285e7127cdd4f51" dependencies = [ + "anyhow", "futures-util", - "http", - "hyper", + "http 1.1.0", + "http-body 1.0.1", + "http-body-util", + "hyper 1.4.1", + "hyper-util", "jsonrpsee-core", "jsonrpsee-types", "pin-project", "route-recognizer", "serde", "serde_json", - "soketto", + "soketto 0.8.0", "thiserror", "tokio", "tokio-stream", @@ -4808,12 +4959,12 @@ dependencies = [ [[package]] name = "jsonrpsee-types" -version = "0.22.5" +version = "0.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "150d6168405890a7a3231a3c74843f58b8959471f6df76078db2619ddee1d07d" +checksum = "d9c465fbe385238e861fdc4d1c85e04ada6c1fd246161d26385c1b311724d2af" dependencies = [ - "anyhow", "beef", + "http 1.1.0", "serde", "serde_json", "thiserror", @@ -4821,11 +4972,11 @@ dependencies = [ [[package]] name = "jsonrpsee-ws-client" -version = "0.22.5" +version = "0.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58b9db2dfd5bb1194b0ce921504df9ceae210a345bc2f6c5a61432089bbab070" +checksum = "1c28759775f5cb2f1ea9667672d3fe2b0e701d1f4b7b67954e60afe7fd058b5e" dependencies = [ - "http", + "http 1.1.0", "jsonrpsee-client-transport", "jsonrpsee-core", "jsonrpsee-types", @@ -4907,9 +5058,9 @@ dependencies = [ [[package]] name = "lazy_static" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" +checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "lazycell" @@ -4919,18 +5070,18 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.155" +version = "0.2.158" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" +checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439" [[package]] name = "libloading" -version = "0.8.3" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c2a198fb6b0eada2a8df47933734e6d35d350665a33a3593d7164fa52c75c19" +checksum = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4" dependencies = [ "cfg-if", - "windows-targets 0.52.5", + "windows-targets 0.52.6", ] [[package]] @@ -4941,14 +5092,15 @@ checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" [[package]] name = "libp2p" -version = "0.51.4" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f35eae38201a993ece6bdc823292d6abd1bffed1c4d0f4a3517d2bd8e1d917fe" +checksum = "e94495eb319a85b70a68b85e2389a95bb3555c71c49025b78c691a854a7e6464" dependencies = [ "bytes", + "either", "futures", "futures-timer", - "getrandom 0.2.15", + "getrandom", "instant", "libp2p-allow-block-list", "libp2p-connection-limits", @@ -4965,18 +5117,21 @@ dependencies = [ "libp2p-request-response", "libp2p-swarm", "libp2p-tcp", + "libp2p-upnp", "libp2p-wasm-ext", "libp2p-websocket", "libp2p-yamux", - "multiaddr", + "multiaddr 0.18.1", "pin-project", + "rw-stream-sink", + "thiserror", ] [[package]] name = "libp2p-allow-block-list" -version = "0.1.1" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "510daa05efbc25184458db837f6f9a5143888f1caa742426d92e1833ddd38a50" +checksum = "55b46558c5c0bf99d3e2a1a38fd54ff5476ca66dd1737b12466a1824dd219311" dependencies = [ "libp2p-core", "libp2p-identity", @@ -4986,9 +5141,9 @@ dependencies = [ [[package]] name = "libp2p-connection-limits" -version = "0.1.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4caa33f1d26ed664c4fe2cca81a08c8e07d4c1c04f2f4ac7655c2dd85467fda0" +checksum = "2f5107ad45cb20b2f6c3628c7b6014b996fcb13a88053f4569c872c6e30abf58" dependencies = [ "libp2p-core", "libp2p-identity", @@ -4998,9 +5153,9 @@ dependencies = [ [[package]] name = "libp2p-core" -version = "0.39.2" +version = "0.40.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c1df63c0b582aa434fb09b2d86897fa2b419ffeccf934b36f87fcedc8e835c2" +checksum = "dd44289ab25e4c9230d9246c475a22241e301b23e8f4061d3bdef304a1a99713" dependencies = [ "either", "fnv", @@ -5009,8 +5164,8 @@ dependencies = [ "instant", "libp2p-identity", "log", - "multiaddr", - "multihash 0.17.0", + "multiaddr 0.18.1", + "multihash 0.19.1", "multistream-select", "once_cell", "parking_lot 0.12.3", @@ -5020,18 +5175,20 @@ dependencies = [ "rw-stream-sink", "smallvec", "thiserror", - "unsigned-varint", + "unsigned-varint 0.7.2", "void", ] [[package]] name = "libp2p-dns" -version = "0.39.0" +version = "0.40.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "146ff7034daae62077c415c2376b8057368042df6ab95f5432ad5e88568b1554" +checksum = "e6a18db73084b4da2871438f6239fef35190b05023de7656e877c18a00541a3b" dependencies = [ + "async-trait", "futures", "libp2p-core", + "libp2p-identity", "log", "parking_lot 0.12.3", "smallvec", @@ -5040,19 +5197,20 @@ dependencies = [ [[package]] name = "libp2p-identify" -version = "0.42.2" +version = "0.43.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5455f472243e63b9c497ff320ded0314254a9eb751799a39c283c6f20b793f3c" +checksum = "45a96638a0a176bec0a4bcaebc1afa8cf909b114477209d7456ade52c61cd9cd" dependencies = [ "asynchronous-codec", "either", "futures", + "futures-bounded", "futures-timer", "libp2p-core", "libp2p-identity", "libp2p-swarm", "log", - "lru 0.10.1", + "lru 0.12.4", "quick-protobuf", "quick-protobuf-codec", "smallvec", @@ -5062,29 +5220,29 @@ dependencies = [ [[package]] name = "libp2p-identity" -version = "0.1.3" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "276bb57e7af15d8f100d3c11cbdd32c6752b7eef4ba7a18ecf464972c07abcce" +checksum = "55cca1eb2bc1fd29f099f3daaab7effd01e1a54b7c577d0ed082521034d912e8" dependencies = [ - "bs58 0.4.0", + "bs58 0.5.1", "ed25519-dalek", - "log", - "multiaddr", - "multihash 0.17.0", + "hkdf", + "multihash 0.19.1", "quick-protobuf", "rand", "sha2 0.10.8", "thiserror", + "tracing", "zeroize", ] [[package]] name = "libp2p-kad" -version = "0.43.3" +version = "0.44.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39d5ef876a2b2323d63c258e63c2f8e36f205fe5a11f0b3095d59635650790ff" +checksum = "16ea178dabba6dde6ffc260a8e0452ccdc8f79becf544946692fff9d412fc29d" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "asynchronous-codec", "bytes", "either", @@ -5097,20 +5255,21 @@ dependencies = [ "libp2p-swarm", "log", "quick-protobuf", + "quick-protobuf-codec", "rand", "sha2 0.10.8", "smallvec", "thiserror", "uint", - "unsigned-varint", + "unsigned-varint 0.7.2", "void", ] [[package]] name = "libp2p-mdns" -version = "0.43.1" +version = "0.44.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19983e1f949f979a928f2c603de1cf180cc0dc23e4ac93a62651ccb18341460b" +checksum = "42a2567c305232f5ef54185e9604579a894fd0674819402bb0ac0246da82f52a" dependencies = [ "data-encoding", "futures", @@ -5121,38 +5280,43 @@ dependencies = [ "log", "rand", "smallvec", - "socket2 0.4.10", + "socket2 0.5.7", "tokio", - "trust-dns-proto", + "trust-dns-proto 0.22.0", "void", ] [[package]] name = "libp2p-metrics" -version = "0.12.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a42ec91e227d7d0dafa4ce88b333cdf5f277253873ab087555c92798db2ddd46" +checksum = "239ba7d28f8d0b5d77760dc6619c05c7e88e74ec8fbbe97f856f20a56745e620" dependencies = [ + "instant", "libp2p-core", "libp2p-identify", + "libp2p-identity", "libp2p-kad", "libp2p-ping", "libp2p-swarm", + "once_cell", "prometheus-client", ] [[package]] name = "libp2p-noise" -version = "0.42.2" +version = "0.43.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c3673da89d29936bc6435bafc638e2f184180d554ce844db65915113f86ec5e" +checksum = "d2eeec39ad3ad0677551907dd304b2f13f17208ccebe333bef194076cd2e8921" dependencies = [ "bytes", - "curve25519-dalek 3.2.0", + "curve25519-dalek", "futures", "libp2p-core", "libp2p-identity", "log", + "multiaddr 0.18.1", + "multihash 0.19.1", "once_cell", "quick-protobuf", "rand", @@ -5160,21 +5324,22 @@ dependencies = [ "snow", "static_assertions", "thiserror", - "x25519-dalek 1.1.1", + "x25519-dalek", "zeroize", ] [[package]] name = "libp2p-ping" -version = "0.42.0" +version = "0.43.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e57759c19c28a73ef1eb3585ca410cefb72c1a709fcf6de1612a378e4219202" +checksum = "e702d75cd0827dfa15f8fd92d15b9932abe38d10d21f47c50438c71dd1b5dae3" dependencies = [ "either", "futures", "futures-timer", "instant", "libp2p-core", + "libp2p-identity", "libp2p-swarm", "log", "rand", @@ -5183,9 +5348,9 @@ dependencies = [ [[package]] name = "libp2p-quic" -version = "0.7.0-alpha.3" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6b26abd81cd2398382a1edfe739b539775be8a90fa6914f39b2ab49571ec735" +checksum = "130d451d83f21b81eb7b35b360bc7972aeafb15177784adc56528db082e6b927" dependencies = [ "bytes", "futures", @@ -5196,18 +5361,20 @@ dependencies = [ "libp2p-tls", "log", "parking_lot 0.12.3", - "quinn-proto", + "quinn 0.10.2", "rand", - "rustls 0.20.9", + "ring 0.16.20", + "rustls 0.21.12", + "socket2 0.5.7", "thiserror", "tokio", ] [[package]] name = "libp2p-request-response" -version = "0.24.1" +version = "0.25.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ffdb374267d42dc5ed5bc53f6e601d4a64ac5964779c6e40bb9e4f14c1e30d5" +checksum = "d8e3b4d67870478db72bac87bfc260ee6641d0734e0e3e275798f089c3fecfd4" dependencies = [ "async-trait", "futures", @@ -5215,15 +5382,17 @@ dependencies = [ "libp2p-core", "libp2p-identity", "libp2p-swarm", + "log", "rand", "smallvec", + "void", ] [[package]] name = "libp2p-swarm" -version = "0.42.2" +version = "0.43.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "903b3d592d7694e56204d211f29d31bc004be99386644ba8731fc3e3ef27b296" +checksum = "580189e0074af847df90e75ef54f3f30059aedda37ea5a1659e8b9fca05c0141" dependencies = [ "either", "fnv", @@ -5234,6 +5403,8 @@ dependencies = [ "libp2p-identity", "libp2p-swarm-derive", "log", + "multistream-select", + "once_cell", "rand", "smallvec", "tokio", @@ -5242,36 +5413,39 @@ dependencies = [ [[package]] name = "libp2p-swarm-derive" -version = "0.32.0" +version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fba456131824ab6acd4c7bf61e9c0f0a3014b5fc9868ccb8e10d344594cdc4f" +checksum = "c4d5ec2a3df00c7836d7696c136274c9c59705bac69133253696a6c932cd1d74" dependencies = [ "heck 0.4.1", + "proc-macro-warning 0.4.2", + "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.77", ] [[package]] name = "libp2p-tcp" -version = "0.39.0" +version = "0.40.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33d33698596d7722d85d3ab0c86c2c322254fce1241e91208e3679b4eb3026cf" +checksum = "b558dd40d1bcd1aaaed9de898e9ec6a436019ecc2420dd0016e712fbb61c5508" dependencies = [ "futures", "futures-timer", "if-watch", "libc", "libp2p-core", + "libp2p-identity", "log", - "socket2 0.4.10", + "socket2 0.5.7", "tokio", ] [[package]] name = "libp2p-tls" -version = "0.1.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff08d13d0dc66e5e9ba6279c1de417b84fa0d0adc3b03e5732928c180ec02781" +checksum = "8218d1d5482b122ccae396bbf38abdcb283ecc96fa54760e1dfd251f0546ac61" dependencies = [ "futures", "futures-rustls", @@ -5279,51 +5453,69 @@ dependencies = [ "libp2p-identity", "rcgen", "ring 0.16.20", - "rustls 0.20.9", + "rustls 0.21.12", + "rustls-webpki 0.101.7", "thiserror", - "webpki", - "x509-parser", + "x509-parser 0.15.1", "yasna", ] +[[package]] +name = "libp2p-upnp" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82775a47b34f10f787ad3e2a22e2c1541e6ebef4fe9f28f3ac553921554c94c1" +dependencies = [ + "futures", + "futures-timer", + "igd-next", + "libp2p-core", + "libp2p-swarm", + "log", + "tokio", + "void", +] + [[package]] name = "libp2p-wasm-ext" -version = "0.39.0" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77dff9d32353a5887adb86c8afc1de1a94d9e8c3bc6df8b2201d7cdf5c848f43" +checksum = "1e5d8e3a9e07da0ef5b55a9f26c009c8fb3c725d492d8bb4b431715786eea79c" dependencies = [ "futures", "js-sys", "libp2p-core", - "parity-send-wrapper", + "send_wrapper", "wasm-bindgen", "wasm-bindgen-futures", ] [[package]] name = "libp2p-websocket" -version = "0.41.0" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "111273f7b3d3510524c752e8b7a5314b7f7a1fee7e68161c01a7d72cbb06db9f" +checksum = "004ee9c4a4631435169aee6aad2f62e3984dc031c43b6d29731e8e82a016c538" dependencies = [ "either", "futures", "futures-rustls", "libp2p-core", + "libp2p-identity", "log", "parking_lot 0.12.3", - "quicksink", + "pin-project-lite", "rw-stream-sink", - "soketto", + "soketto 0.8.0", + "thiserror", "url", - "webpki-roots", + "webpki-roots 0.25.4", ] [[package]] name = "libp2p-yamux" -version = "0.43.1" +version = "0.44.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dcd21d950662700a385d4c6d68e2f5f54d778e97068cdd718522222ef513bda" +checksum = "8eedcb62824c4300efb9cfd4e2a6edaf3ca097b9e68b36dabe45a44469fd6a85" dependencies = [ "futures", "libp2p-core", @@ -5338,8 +5530,9 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "libc", + "redox_syscall 0.5.4", ] [[package]] @@ -5384,7 +5577,7 @@ checksum = "5be9b9bb642d8522a44d533eab56c16c738301965504753b03ad1de3425d5451" dependencies = [ "crunchy", "digest 0.9.0", - "subtle 2.5.0", + "subtle 2.6.1", ] [[package]] @@ -5407,9 +5600,9 @@ dependencies = [ [[package]] name = "libz-sys" -version = "1.1.18" +version = "1.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c15da26e5af7e25c90b37a2d75cdbf940cf4a55316de9d84c679c9b8bfabf82e" +checksum = "d2d16453e800a8cf6dd2fc3eb4bc99b786a9b90c663b8559a5b1a041bf89e472" dependencies = [ "cc", "pkg-config", @@ -5479,6 +5672,61 @@ dependencies = [ "keystream", ] +[[package]] +name = "litep2p" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f46c51c205264b834ceed95c8b195026e700494bc3991aaba3b4ea9e20626d9" +dependencies = [ + "async-trait", + "bs58 0.4.0", + "bytes", + "cid 0.10.1", + "ed25519-dalek", + "futures", + "futures-timer", + "hex-literal", + "indexmap 2.5.0", + "libc", + "mockall 0.12.1", + "multiaddr 0.17.1", + "multihash 0.17.0", + "network-interface", + "nohash-hasher", + "parking_lot 0.12.3", + "pin-project", + "prost 0.12.6", + "prost-build 0.11.9", + "quinn 0.9.4", + "rand", + "rcgen", + "ring 0.16.20", + "rustls 0.20.9", + "serde", + "sha2 0.10.8", + "simple-dns", + "smallvec", + "snow", + "socket2 0.5.7", + "static_assertions", + "str0m", + "thiserror", + "tokio", + "tokio-stream", + "tokio-tungstenite", + "tokio-util", + "tracing", + "trust-dns-resolver", + "uint", + "unsigned-varint 0.8.0", + "url", + "webpki", + "x25519-dalek", + "x509-parser 0.16.0", + "yasna", + "zeroize", +] + [[package]] name = "lock_api" version = "0.4.12" @@ -5491,24 +5739,24 @@ dependencies = [ [[package]] name = "log" -version = "0.4.21" +version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" +checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" [[package]] name = "lru" -version = "0.10.1" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "718e8fae447df0c7e1ba7f5189829e63fd536945c8988d61444c19039f16b670" -dependencies = [ - "hashbrown 0.13.2", -] +checksum = "a4a83fb7698b3643a0e34f9ae6f2e8f0178c0fd42f8b59d493aa271ff3a5bf21" [[package]] name = "lru" -version = "0.11.1" +version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a83fb7698b3643a0e34f9ae6f2e8f0178c0fd42f8b59d493aa271ff3a5bf21" +checksum = "37ee39891760e7d94734f6f63fedc29a2e4a152f836120753a72503f09fcf904" +dependencies = [ + "hashbrown 0.14.5", +] [[package]] name = "lru-cache" @@ -5521,9 +5769,9 @@ dependencies = [ [[package]] name = "lz4" -version = "1.24.0" +version = "1.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e9e2dd86df36ce760a60f6ff6ad526f7ba1f14ba0356f8254fb6905e6494df1" +checksum = "958b4caa893816eea05507c20cfe47574a43d9a697138a7872990bba8a0ece68" dependencies = [ "libc", "lz4-sys", @@ -5531,9 +5779,9 @@ dependencies = [ [[package]] name = "lz4-sys" -version = "1.9.4" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57d27b317e207b10f69f5e75494119e391a96f48861ae870d1da6edac98ca900" +checksum = "109de74d5d2353660401699a4174a4ff23fcc649caf553df71933c7fb45ad868" dependencies = [ "cc", "libc", @@ -5550,58 +5798,52 @@ dependencies = [ [[package]] name = "macro_magic" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e03844fc635e92f3a0067e25fa4bf3e3dbf3f2927bf3aa01bb7bc8f1c428949d" +checksum = "cc33f9f0351468d26fbc53d9ce00a096c8522ecb42f19b50f34f2c422f76d21d" dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] name = "macro_magic_core" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "468155613a44cfd825f1fb0ffa532b018253920d404e6fca1e8d43155198a46d" +checksum = "1687dc887e42f352865a393acae7cf79d98fab6351cde1f58e9e057da89bf150" dependencies = [ "const-random", - "derive-syn-parse 0.1.5", + "derive-syn-parse", "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] name = "macro_magic_core_macros" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ea73aa640dc01d62a590d48c0c3521ed739d53b27f919b25c3551e233481654" +checksum = "b02abfe41815b5bd98dbd4260173db2c116dda171dc0fe7838cb206333b83308" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] name = "macro_magic_macros" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef9d79ae96aaba821963320eb2b6e34d17df1e5a83d8a1985c29cc5be59577b3" +checksum = "73ea28ee64b88876bf45277ed9a5817c1817df061a74f2b988971a12570e5869" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.66", + "syn 2.0.77", ] -[[package]] -name = "maplit" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d" - [[package]] name = "match_cfg" version = "0.1.0" @@ -5617,6 +5859,15 @@ dependencies = [ "regex-automata 0.1.10", ] +[[package]] +name = "matchers" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558" +dependencies = [ + "regex-automata 0.1.10", +] + [[package]] name = "matches" version = "0.1.10" @@ -5625,9 +5876,9 @@ checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" [[package]] name = "matrixmultiply" -version = "0.3.8" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7574c1cf36da4798ab73da5b215bbf444f50718207754cb522201d78d1cd0ff2" +checksum = "9380b911e3e96d10c1f415da0876389aaf1b56759054eeb0de7df940c456ba1a" dependencies = [ "autocfg", "rawpointer", @@ -5635,9 +5886,9 @@ dependencies = [ [[package]] name = "memchr" -version = "2.7.2" +version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" +checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" [[package]] name = "memfd" @@ -5645,7 +5896,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" dependencies = [ - "rustix 0.38.34", + "rustix 0.38.37", ] [[package]] @@ -5684,6 +5935,20 @@ dependencies = [ "hash-db", ] +[[package]] +name = "merkleized-metadata" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f313fcff1d2a4bcaa2deeaa00bf7530d77d5f7bd0467a117dde2e29a75a7a17a" +dependencies = [ + "array-bytes", + "blake3", + "frame-metadata", + "parity-scale-codec", + "scale-decode", + "scale-info", +] + [[package]] name = "merlin" version = "3.0.0" @@ -5692,7 +5957,7 @@ checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d" dependencies = [ "byteorder", "keccak", - "rand_core 0.6.4", + "rand_core", "zeroize", ] @@ -5715,22 +5980,23 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.7.3" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87dfd01fe195c66b572b37921ad8803d010623c0aca821bea2302239d155cdae" +checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1" dependencies = [ - "adler", + "adler2", ] [[package]] name = "mio" -version = "0.8.11" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" +checksum = "80e04d1dcff3aae0704555fe5fee3bcfaf3d1fdf8a7e521d5b9d2b42acb52cec" dependencies = [ + "hermit-abi 0.3.9", "libc", - "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.48.0", + "wasi", + "windows-sys 0.52.0", ] [[package]] @@ -5740,29 +6006,29 @@ 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", - "curve25519-dalek 4.1.2", + "curve25519-dalek", "either", "hashlink", "lioness", "log", "parking_lot 0.12.3", "rand", - "rand_chacha 0.3.1", + "rand_chacha", "rand_distr", - "subtle 2.5.0", + "subtle 2.6.1", "thiserror", "zeroize", ] [[package]] name = "mmr-gadget" -version = "32.0.0" +version = "37.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59b5265ecba4e5fc2c242798fc7795f6bf7ce7c9ab909ecea7df3f8242fa74af" +checksum = "8f06f25f3b298799dbc20f7ffd40e667adc4fbd664cbb23ead5f7bbda52407ff" dependencies = [ "futures", "log", @@ -5780,9 +6046,9 @@ dependencies = [ [[package]] name = "mmr-rpc" -version = "31.0.0" +version = "35.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfab619df48bac956375483e4d57e995fbfaec310c86cfbc420e905506b67002" +checksum = "7f9a252b1e03418e99c18ff6e2d4d9748d195395ed3749c8bfd9ca2c7530a43d" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5804,8 +6070,23 @@ dependencies = [ "downcast", "fragile", "lazy_static", - "mockall_derive", - "predicates", + "mockall_derive 0.11.4", + "predicates 2.1.5", + "predicates-tree", +] + +[[package]] +name = "mockall" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43766c2b5203b10de348ffe19f7e54564b64f3d6018ff7648d1e2d6d3a0f0a48" +dependencies = [ + "cfg-if", + "downcast", + "fragile", + "lazy_static", + "mockall_derive 0.12.1", + "predicates 3.1.2", "predicates-tree", ] @@ -5821,6 +6102,18 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "mockall_derive" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af7cbce79ec385a1d4f54baa90a76401eb15d9cab93685f62e7e9f942aa00ae2" +dependencies = [ + "cfg-if", + "proc-macro2", + "quote", + "syn 2.0.77", +] + [[package]] name = "multiaddr" version = "0.17.1" @@ -5836,7 +6129,26 @@ dependencies = [ "percent-encoding", "serde", "static_assertions", - "unsigned-varint", + "unsigned-varint 0.7.2", + "url", +] + +[[package]] +name = "multiaddr" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b852bc02a2da5feed68cd14fa50d0774b92790a5bdbfa932a813926c8472070" +dependencies = [ + "arrayref", + "byteorder", + "data-encoding", + "libp2p-identity", + "multibase", + "multihash 0.19.1", + "percent-encoding", + "serde", + "static_assertions", + "unsigned-varint 0.7.2", "url", ] @@ -5862,10 +6174,10 @@ dependencies = [ "blake3", "core2", "digest 0.10.7", - "multihash-derive 0.8.0", + "multihash-derive", "sha2 0.10.8", "sha3 0.10.8", - "unsigned-varint", + "unsigned-varint 0.7.2", ] [[package]] @@ -5874,11 +6186,15 @@ 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 0.8.0", + "multihash-derive", "sha2 0.10.8", - "unsigned-varint", + "sha3 0.10.8", + "unsigned-varint 0.7.2", ] [[package]] @@ -5888,93 +6204,54 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "076d548d76a0e2a0d4ab471d0b1c36c577786dfc4471242035d97a12a735c492" dependencies = [ "core2", - "unsigned-varint", -] - -[[package]] -name = "multihash-codetable" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6d815ecb3c8238d00647f8630ede7060a642c9f704761cd6082cb4028af6935" -dependencies = [ - "blake2b_simd", - "blake2s_simd", - "blake3", - "core2", - "digest 0.10.7", - "multihash-derive 0.9.0", - "ripemd", - "serde", - "sha1", - "sha2 0.10.8", - "sha3 0.10.8", - "strobe-rs", + "unsigned-varint 0.7.2", ] [[package]] name = "multihash-derive" -version = "0.8.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc076939022111618a5026d3be019fd8b366e76314538ff9a1b59ffbcbf98bcd" +checksum = "1d6d4752e6230d8ef7adf7bd5d8c4b1f6561c1014c5ba9a37445ccefe18aa1db" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 1.1.3", "proc-macro-error", "proc-macro2", "quote", "syn 1.0.109", - "synstructure", -] - -[[package]] -name = "multihash-derive" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "890e72cb7396cb99ed98c1246a97b243cc16394470d94e0bc8b0c2c11d84290e" -dependencies = [ - "core2", - "multihash 0.19.1", - "multihash-derive-impl", + "synstructure 0.12.6", ] [[package]] -name = "multihash-derive-impl" -version = "0.1.0" +name = "multimap" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d38685e08adb338659871ecfc6ee47ba9b22dcc8abcf6975d379cc49145c3040" -dependencies = [ - "proc-macro-crate 1.3.1", - "proc-macro-error", - "proc-macro2", - "quote", - "syn 1.0.109", - "synstructure", -] +checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" [[package]] name = "multimap" -version = "0.8.3" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" +checksum = "defc4c55412d89136f966bbb339008b474350e5e6e78d2714439c386b3137a03" [[package]] name = "multistream-select" -version = "0.12.1" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8552ab875c1313b97b8d20cb857b9fd63e2d1d6a0a1b53ce9821e575405f27a" +checksum = "ea0df8e5eec2298a62b326ee4f0d7fe1a6b90a09dfcf9df37b38f947a8c42f19" dependencies = [ "bytes", "futures", "log", "pin-project", "smallvec", - "unsigned-varint", + "unsigned-varint 0.7.2", ] [[package]] name = "nalgebra" -version = "0.32.5" +version = "0.32.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ea4908d4f23254adda3daa60ffef0f1ac7b8c3e9a864cf3cc154b251908a2ef" +checksum = "7b5c17de023a86f59ed79891b2e5d5a94c705dbe904a5b5c9c952ea6221b03e4" dependencies = [ "approx", "matrixmultiply", @@ -5988,13 +6265,13 @@ dependencies = [ [[package]] name = "nalgebra-macros" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91761aed67d03ad966ef783ae962ef9bbaca728d2dd7ceb7939ec110fffad998" +checksum = "254a5372af8fc138e36684761d3c0cdb758a4410e938babcff1c860ce14ddbfc" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.77", ] [[package]] @@ -6078,6 +6355,18 @@ dependencies = [ "tokio", ] +[[package]] +name = "network-interface" +version = "1.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4a43439bf756eed340bdf8feba761e2d50c7d47175d87545cd5cbe4a137c4d1" +dependencies = [ + "cc", + "libc", + "thiserror", + "winapi", +] + [[package]] name = "nix" version = "0.24.3" @@ -6091,12 +6380,13 @@ dependencies = [ [[package]] name = "nix" -version = "0.27.1" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053" +checksum = "ab2156c4fce2f8df6c499cc1c763e4394b7482525bf2a9701c9d79d215f519e4" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "cfg-if", + "cfg_aliases", "libc", ] @@ -6134,6 +6424,12 @@ dependencies = [ "minimal-lexical", ] +[[package]] +name = "nonempty" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9e591e719385e6ebaeb5ce5d3887f7d5676fceca6411d1925ccc95745f3d6f7" + [[package]] name = "nonzero_ext" version = "0.3.0" @@ -6146,11 +6442,21 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" +[[package]] +name = "nu-ansi-term" +version = "0.46.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" +dependencies = [ + "overload", + "winapi", +] + [[package]] name = "num-bigint" -version = "0.4.5" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c165a9ab64cf766f73521c0dd2cfdff64f488b8f0b3e621face3462d3db536d7" +checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" dependencies = [ "num-integer", "num-traits", @@ -6177,7 +6483,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", ] @@ -6217,37 +6523,31 @@ version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" dependencies = [ - "hermit-abi", + "hermit-abi 0.3.9", "libc", ] [[package]] name = "num_enum" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02339744ee7253741199f897151b38e72257d13802d4ee837285cc2990a90845" +checksum = "4e613fc340b2220f734a8595782c551f1250e969d87d3be1ae0579e8d4065179" dependencies = [ "num_enum_derive", ] [[package]] name = "num_enum_derive" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "681030a937600a36906c185595136d26abfebb4aa9c65701cefcaf8578bb982b" +checksum = "af1844ef2428cc3e1cb900be36181049ef3d3193c63e43026cfe202983b27a56" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] -[[package]] -name = "number_prefix" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3" - [[package]] name = "object" version = "0.30.4" @@ -6271,9 +6571,9 @@ dependencies = [ [[package]] name = "object" -version = "0.35.0" +version = "0.36.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8ec7ab813848ba4522158d5517a6093db1ded27575b070f4177b8d12b41db5e" +checksum = "084f1a5821ac4c651660a94a7153d27ac9d8a53736203f58b31945ded098070a" dependencies = [ "memchr", ] @@ -6284,7 +6584,16 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9bedf36ffb6ba96c2eb7144ef6270557b52e54b20c0a8e1eb2ff99a6c6959bff" dependencies = [ - "asn1-rs", + "asn1-rs 0.5.2", +] + +[[package]] +name = "oid-registry" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8d8034d9489cdaf79228eb9f6a3b8d7bb32ba00d6645ebd48eef4077ceb5bd9" +dependencies = [ + "asn1-rs 0.6.2", ] [[package]] @@ -6295,7 +6604,7 @@ checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] name = "opal-runtime" -version = "1.9.0" +version = "1.14.0" dependencies = [ "app-promotion-rpc", "cumulus-pallet-aura-ext", @@ -6314,6 +6623,7 @@ dependencies = [ "fp-self-contained", "frame-benchmarking", "frame-executive", + "frame-metadata-hash-extension", "frame-support", "frame-system", "frame-system-benchmarking", @@ -6419,12 +6729,60 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" +[[package]] +name = "openssl" +version = "0.10.66" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9529f4786b70a3e8c61e11179af17ab6188ad8d0ded78c5529441ed39d4bd9c1" +dependencies = [ + "bitflags 2.6.0", + "cfg-if", + "foreign-types", + "libc", + "once_cell", + "openssl-macros", + "openssl-sys", +] + +[[package]] +name = "openssl-macros" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.77", +] + [[package]] name = "openssl-probe" version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" +[[package]] +name = "openssl-src" +version = "300.3.2+3.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a211a18d945ef7e648cc6e0058f4c548ee46aab922ea203e0d30e966ea23647b" +dependencies = [ + "cc", +] + +[[package]] +name = "openssl-sys" +version = "0.9.103" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f9e8deee91df40a943c71b917e5874b951d32a802526c85721ce3b776c929d6" +dependencies = [ + "cc", + "libc", + "openssl-src", + "pkg-config", + "vcpkg", +] + [[package]] name = "option-ext" version = "0.2.0" @@ -6454,11 +6812,11 @@ version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1344346d5af32c95bbddea91b18a88cc83eac394192d20ef2fc4c40a74332355" dependencies = [ - "expander 2.1.0", - "indexmap 2.2.6", + "expander", + "indexmap 2.5.0", "itertools 0.11.0", "petgraph", - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", "syn 1.0.109", @@ -6475,9 +6833,8 @@ dependencies = [ [[package]] name = "orml-traits" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83bbad8c343fdef0b5002b532c7590790807083b47f0b0a0f14a28ee865fbaa0" +version = "0.13.0" +source = "git+https://github.com/UniqueNetwork/open-runtime-module-library.git?branch=polkadot-v1.14.0#2b6d3792507404cb7278246791e1af8383a0fdf2" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -6496,9 +6853,8 @@ dependencies = [ [[package]] name = "orml-utilities" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fad0231512e11fc4e015fc723cdb7782c24d154ccbbe49ded4be82a426dd960e" +version = "0.13.0" +source = "git+https://github.com/UniqueNetwork/open-runtime-module-library.git?branch=polkadot-v1.14.0#2b6d3792507404cb7278246791e1af8383a0fdf2" dependencies = [ "frame-support", "parity-scale-codec", @@ -6512,9 +6868,8 @@ dependencies = [ [[package]] name = "orml-vesting" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49c3f3693177da8c0d9d44b7b0d1eb4197f202f7302cab5c0ce54ba9d777cd42" +version = "0.13.0" +source = "git+https://github.com/UniqueNetwork/open-runtime-module-library.git?branch=polkadot-v1.14.0#2b6d3792507404cb7278246791e1af8383a0fdf2" dependencies = [ "frame-support", "frame-system", @@ -6528,9 +6883,8 @@ dependencies = [ [[package]] name = "orml-xcm-support" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78e7a62c91ab5eb34d2257dbe328b0db11ec0e7cda34160413655ca0d936e2cf" +version = "0.13.0" +source = "git+https://github.com/UniqueNetwork/open-runtime-module-library.git?branch=polkadot-v1.14.0#2b6d3792507404cb7278246791e1af8383a0fdf2" dependencies = [ "frame-support", "orml-traits", @@ -6543,9 +6897,8 @@ dependencies = [ [[package]] name = "orml-xtokens" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d93ce3e8787e8f630b561ec645eb85181d4fa81dd08a76b798fc781b7e83e49f" +version = "0.13.0" +source = "git+https://github.com/UniqueNetwork/open-runtime-module-library.git?branch=polkadot-v1.14.0#2b6d3792507404cb7278246791e1af8383a0fdf2" dependencies = [ "frame-support", "frame-system", @@ -6563,6 +6916,12 @@ dependencies = [ "staging-xcm-executor", ] +[[package]] +name = "overload" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" + [[package]] name = "pallet-app-promotion" version = "0.2.2" @@ -6587,13 +6946,14 @@ dependencies = [ [[package]] name = "pallet-asset-conversion" -version = "13.0.0" +version = "18.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dbd5ff1c6f662d330beb109f6180ee66ed9cd7710cad28f3d15c444556fcce4" +checksum = "f726ebb59401c1844a4a8703047bdafcd99a1827cd5d8b2c82abeb8948a7f25b" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", "sp-api", @@ -6606,9 +6966,9 @@ dependencies = [ [[package]] name = "pallet-asset-rate" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5a492d16d0f7423cb2d7ca6fa6b4d423a4f4e2f67d2dc92d84d5988fcc33cfb" +checksum = "e806842bec955190ec64f8b2179f74f5355137c4cadf04f3269e6196cd19caf9" dependencies = [ "frame-benchmarking", "frame-support", @@ -6622,9 +6982,9 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfcf34819002b9d6c8d7a28d89207498f63288de6689061fe9c1fb7c55454ff8" +checksum = "100a180dfbf30a1c872100ec2dae8a61c0f5e8b3f2d3a5cbb34093826293e2ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -6641,13 +7001,14 @@ dependencies = [ [[package]] name = "pallet-assets" -version = "32.0.0" +version = "37.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "805543c2ea1f10f14bc767f156b8ec80785345b683eaa59dea84d28745a87ee3" +checksum = "f79ef6a7763fc08177f014052469ee12aefcdad0d99a747372360c2f648d2cc4" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "impl-trait-for-tuples", "log", "parity-scale-codec", "scale-info", @@ -6658,9 +7019,9 @@ dependencies = [ [[package]] name = "pallet-aura" -version = "30.0.0" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3f1176f435a94b510b99bc2aaaa84788d60f8c5352c5f34f165b37523e448a1" +checksum = "0861b2a1ad6526948567bb59a3fdc4c7f02ee79b07be8b931a544350ec35ab0c" dependencies = [ "frame-support", "frame-system", @@ -6676,9 +7037,9 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" -version = "31.0.1" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a9c124d86227da7ae9073cc2984c0384c7830f7fa61450c0990c56837335da2" +checksum = "ed2c3666a476132f5846fe4d5e1961a923a58a0f54d873d84566f24ffaa3684f" dependencies = [ "frame-support", "frame-system", @@ -6693,9 +7054,9 @@ dependencies = [ [[package]] name = "pallet-authorship" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8168348a94c479b7da001b3f0d1100210704eda8ce72c58aac456f1d866d7d67" +checksum = "38885846dbcf03b025fdbd7edb3649046dbc68fa0b419ffe8837ef853a10d31f" dependencies = [ "frame-support", "frame-system", @@ -6708,9 +7069,9 @@ dependencies = [ [[package]] name = "pallet-babe" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37353294183655c76cdc56ffc5edf777b1e2275af59ae73c8aa255b6d941b362" +checksum = "b23d2d814e3cb793659fcf84533f66fdf0ed9cccb66cb2225851f482843ed096" dependencies = [ "frame-benchmarking", "frame-support", @@ -6733,11 +7094,11 @@ dependencies = [ [[package]] name = "pallet-bags-list" -version = "30.0.0" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc3f838e96a2cbd06731beb72b755ccc5bd05bcc696717a1148bdddfe9062e93" +checksum = "af34fa3fb6a0abe3577e435988039a9e441f6705ae2d3ad627a23e3f705baa2d" dependencies = [ - "aquamarine 0.5.0", + "aquamarine", "docify", "frame-benchmarking", "frame-election-provider-support", @@ -6756,9 +7117,9 @@ dependencies = [ [[package]] name = "pallet-balances" -version = "31.0.0" +version = "37.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3565d525dd88e07da5b2309cd6ffe7447ddc5406eeaa2cb26157d35787a69a7" +checksum = "6878e240962d3887f0e0654ac343a18845adb95ad493c9d4d5e803c015d4a4c3" dependencies = [ "docify", "frame-benchmarking", @@ -6795,7 +7156,7 @@ dependencies = [ [[package]] name = "pallet-base-fee" version = "1.0.0" -source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.9.0#edc28caf745f80d0616dcb26a43401596971a5f8" +source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.14.0#35b9c5e03ed647d519b69c0b2b97dd0798b1091b" dependencies = [ "fp-evm", "frame-support", @@ -6808,9 +7169,9 @@ dependencies = [ [[package]] name = "pallet-beefy" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1371a2f241fd33b794b0e824f28be9de76e7544a2602421e1c4a58cb0eccef6" +checksum = "715dfcd1bf3f1f37af6335d4eb3cef921e746ac54721e2258c4fd968b61eb009" dependencies = [ "frame-support", "frame-system", @@ -6829,11 +7190,11 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c32a1e978b043f4bf7cfcdb130a51dda4dbade1de5b85d2d634082edbc08f9cb" +checksum = "01d70c6f872eb3f2635355ccbea944a4f9ea411c0aa25f6f1a15219e8da11ad2" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "binary-merkle-tree", "frame-support", "frame-system", @@ -6855,9 +7216,9 @@ dependencies = [ [[package]] name = "pallet-bounties" -version = "30.0.0" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e23273ffc30d94c725cb37ac1f45a40e308d8e8bfab251a299d4ed1fa9e8e46f" +checksum = "0566499e74ba4b7ccbd1b667eef0dab76ca28402a8d501e22b73a363717b05a9" dependencies = [ "frame-benchmarking", "frame-support", @@ -6874,16 +7235,18 @@ dependencies = [ [[package]] name = "pallet-broker" -version = "0.9.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1b05f01c3d279cd661eba2c391844bac03fa5f979b9de821e6eb1cbe6069dfc" +checksum = "cd0d652c399b6ed776ee3322e60f40e323f86b413719d7696eddb8f64c368ac0" dependencies = [ "bitvec", "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", + "sp-api", "sp-arithmetic", "sp-core", "sp-runtime", @@ -6892,9 +7255,9 @@ dependencies = [ [[package]] name = "pallet-child-bounties" -version = "30.0.0" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46f1f5d1f6420b72e7fff2fa9146f1f13f68e3a3d293b421d9b9d34ad0dfa134" +checksum = "38e351f103ebbdd1eb095da8c2379caccc82ebc59a740c2731693d2204286b83" dependencies = [ "frame-benchmarking", "frame-support", @@ -6938,9 +7301,9 @@ dependencies = [ [[package]] name = "pallet-collator-selection" -version = "12.0.1" +version = "17.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26edc27ed73c658e6f3d37b4cc8822be3f293e1f0dc58830b42c272781ac8a44" +checksum = "f660cc09f2f277a3976da2eef856b5c725ab7ad1192902ef7f4e4bafd992f04f" dependencies = [ "frame-benchmarking", "frame-support", @@ -6959,9 +7322,9 @@ dependencies = [ [[package]] name = "pallet-collective" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "241ffbf21673fca6bf8caa2ee35088a18704b95d174e32280cb7569f58af7c61" +checksum = "771bf7f6c76c3ea5e965fee0bf1d8a8c79c8c52d75ead65ed3c4d385f333756f" dependencies = [ "frame-benchmarking", "frame-support", @@ -7021,9 +7384,9 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f51344679f168ecc258bf52d0a9578f6c3043e2aff4b9147004c7b8429460370" +checksum = "9033f0d23500bbc39298fd50c07b89a2f2d9f07300139b4df8005995ef683875" dependencies = [ "assert_matches", "frame-benchmarking", @@ -7037,11 +7400,26 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-delegated-staking" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0596ec5ab55e02b1b5637b3ec2b99027d036fe97a1ab4733ae105474dfa727cf" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-runtime", + "sp-staking", + "sp-std", +] + [[package]] name = "pallet-democracy" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1603fc7a149fd1f8bc43349035a69370a024acc95d6a10a37d3b9e1f22cc58ab" +checksum = "7ccd68a2bf5f2dfda2b810cbe1a779492d4c2e99338989fede4389d412ae325b" dependencies = [ "frame-benchmarking", "frame-support", @@ -7058,9 +7436,9 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" -version = "30.0.0" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da78b2feeba1286b66ac20cbfbcd321fe9d1d2bc15e9e31292023e9a66dbb819" +checksum = "bd1090fdc6ccdd8ff08c60000c970428baaaf0b33e7a6b01a91ec8b697a650a3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7077,14 +7455,14 @@ dependencies = [ "sp-npos-elections", "sp-runtime", "sp-std", - "strum 0.24.1", + "strum 0.26.3", ] [[package]] name = "pallet-election-provider-support-benchmarking" -version = "30.0.0" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1b20f98b9a1497a59d2b0eca0051c5ada89851bf29b26fda3a2cfe934a32116" +checksum = "93475989d2f6900caf8f1c847a55d909295c156525a7510c5f1dde176ec7c714" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7097,9 +7475,9 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" -version = "32.0.0" +version = "37.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de22659bdd6190e4f94936f0d338e67dde80e537fe22c30eb96ceab9f0d9914f" +checksum = "9320d95c95e2d4d3ee24c9292b4ee8562ecb724b985613cfa7f274912bad2c9d" dependencies = [ "frame-benchmarking", "frame-support", @@ -7118,7 +7496,7 @@ dependencies = [ [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.9.0#edc28caf745f80d0616dcb26a43401596971a5f8" +source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.14.0#35b9c5e03ed647d519b69c0b2b97dd0798b1091b" dependencies = [ "ethereum", "ethereum-types", @@ -7135,13 +7513,12 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.9.0#edc28caf745f80d0616dcb26a43401596971a5f8" +source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.14.0#35b9c5e03ed647d519b69c0b2b97dd0798b1091b" dependencies = [ "environmental", "evm", @@ -7162,7 +7539,6 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] @@ -7223,7 +7599,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-simple" version = "2.0.0-dev" -source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.9.0#edc28caf745f80d0616dcb26a43401596971a5f8" +source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v1.14.0#35b9c5e03ed647d519b69c0b2b97dd0798b1091b" dependencies = [ "fp-evm", "ripemd", @@ -7248,9 +7624,9 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" -version = "30.0.0" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24717c932bd68705e3a5b6b9311a31e57b354274de1c373feb9ca920f6a3e439" +checksum = "9155f4f762513e0287320411415c76a647152799ad33db1785c9b71c36a14575" dependencies = [ "docify", "frame-benchmarking", @@ -7320,9 +7696,9 @@ dependencies = [ [[package]] name = "pallet-grandpa" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9f8a78e4f5e2399596fa918f22e588e034d78c13a46925313abb4b152a9d919" +checksum = "8244b686d5cae6a8af1557ed0f49db08f812f0e7942a8d2da554b4da8a69daf0" dependencies = [ "frame-benchmarking", "frame-support", @@ -7361,9 +7737,9 @@ dependencies = [ [[package]] name = "pallet-identity" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33bca13843a11add3909a8c4bffae547ba9fa3a11c07ac2f8afd670acd85cb15" +checksum = "4555795a3e0e3aa49ea432b7afecb9c71a7db8793a99c68bd8dd3a52a12571f3" dependencies = [ "enumflags2", "frame-benchmarking", @@ -7379,9 +7755,9 @@ dependencies = [ [[package]] name = "pallet-im-online" -version = "30.0.0" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39cb6cbcef9e9ab68a5e79429a1f32ebc8114e4c9c2c2b0356c1db212e3e0bc2" +checksum = "fa761292e95020304b58b50e5187f8bb82f557c8c2d013e3c96ab41d611873b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -7400,9 +7776,9 @@ dependencies = [ [[package]] name = "pallet-indices" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3e23345544e9b6635d296195c355a768c82a9e1d82138378ef5b80102828664" +checksum = "b183880ad5efae06afe6066e76f2bac5acf67f34b3cfab7352ceec46accf4b45" dependencies = [ "frame-benchmarking", "frame-support", @@ -7448,9 +7824,9 @@ dependencies = [ [[package]] name = "pallet-membership" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8bb958b03ec28b6e7e97abfca28acb1c1d8e91ad5194537f6550c348fc60f54" +checksum = "34006cf047f47edbef33874cc64895918e2c5d7562795209068d5fb388c53a30" dependencies = [ "frame-benchmarking", "frame-support", @@ -7466,9 +7842,9 @@ dependencies = [ [[package]] name = "pallet-message-queue" -version = "34.0.0" +version = "39.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "063b2e7912fbbe67985e68e460f2f242b90de48a63a1f03dd2ae022154ba25e9" +checksum = "20e65a37881d1998546254a5e50a1f768b3f82deabe774e750f4ea95aba8030c" dependencies = [ "environmental", "frame-benchmarking", @@ -7487,9 +7863,9 @@ dependencies = [ [[package]] name = "pallet-mmr" -version = "30.0.0" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44f5356b869f71205d53ed686846075ebb7d67824f334289ebbe6c61766c90c6" +checksum = "cf8ccec82827413f031689fef4c714fdb0213d58c7a6e208d33f5eab80483770" dependencies = [ "frame-benchmarking", "frame-support", @@ -7506,9 +7882,9 @@ dependencies = [ [[package]] name = "pallet-multisig" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "284ff5c6675ac6438c2f4a20d75627ad4b6d7c78bb5fd911198e34ce48bc7cf2" +checksum = "be58483d827602eb8353ecf36aed65c857f0974db5d27981831e5ebf853040bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -7523,9 +7899,9 @@ dependencies = [ [[package]] name = "pallet-nis" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "948a11c933d345bfd7750e92b5650656e4d967f4fbcf7e36200ef7063985b9c6" +checksum = "e77cba0e15749c8de2be65efffa51e02bd051b4e6fcf23360d43c3b6a859187c" dependencies = [ "frame-benchmarking", "frame-support", @@ -7540,9 +7916,9 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" -version = "28.0.0" +version = "33.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "781148c86c07aca84f471d06b449d7098e94d76bc08dd7e69bcb2572264d1b20" +checksum = "36f8c994eb7298a394b58f98afd520b521b5d46f6f39eade4657eeaac9962471" dependencies = [ "frame-support", "frame-system", @@ -7560,15 +7936,16 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" -version = "29.0.0" +version = "34.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d267d96d52b7bb17b5bd1333375f86a58595a457218ddc82ddec32c194806713" +checksum = "39ee599f2861e55fc6113c01e9b14d6e85fda46bac36a906b5dd5a951fa0455c" dependencies = [ "frame-benchmarking", "frame-election-provider-support", "frame-support", "frame-system", "pallet-bags-list", + "pallet-delegated-staking", "pallet-nomination-pools", "pallet-staking", "parity-scale-codec", @@ -7581,9 +7958,9 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" -version = "26.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc2055f407f235071239494548d86f4f6d5c6ec24968fd8dcac553e00e08588d" +checksum = "2906899d8f029780f0d9da77b90ae86f42bcfda5ac402c931406cd84852012ed" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -7614,9 +7991,9 @@ dependencies = [ [[package]] name = "pallet-offences" -version = "30.0.0" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f42b47ac29f107f30213d259cc0f73e1270743b66909fc7c9079d691a891b5a" +checksum = "4859e7bb2af46d2e0f137c2f777adf39f0e5d4d188226158d599f1cfcfb76b9e" dependencies = [ "frame-support", "frame-system", @@ -7632,9 +8009,9 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d0745d6fd98a6ef7b19139470a28f9b9530b425c03dc02fbd773c989fe0a96b" +checksum = "4351b0edafcdf3240f0471c638b39d2c981bde9d17c0172536a0aa3b7c3097ef" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7655,11 +8032,30 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-parameters" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58d9a81a93202105a660e6aa3d3f81638bdd109ca0497f3e528529cd52d034db" +dependencies = [ + "docify", + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "sp-core", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-preimage" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d01a900fe79c5f0762ccc29a11dda2799830ce233aa5384b2f13d9cc28e2e70" +checksum = "68ac726abc5b1bcd6c8f783514b8e1a48be32c7d15e0b263e4bc28cc1e4e7763" dependencies = [ "frame-benchmarking", "frame-support", @@ -7675,9 +8071,9 @@ dependencies = [ [[package]] name = "pallet-proxy" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61918227f99ed2b322bf9050337773c8a40908b2f6a800352a20485e5ba0ef1c" +checksum = "b4e12680e176607815a78a0cd10a52af50790292cb950404f30a885e2a7229e9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7691,9 +8087,9 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47fbdfc5da0a70c788be3ea594153c825b4e79ae6a83499f38c251cdb5a726c0" +checksum = "862ea8d386ed5737e859470c43cbfd9652c81398cad29e03ae7846c21aaee4c6" dependencies = [ "frame-benchmarking", "frame-support", @@ -7711,9 +8107,9 @@ dependencies = [ [[package]] name = "pallet-recovery" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cf473e4b04cd9ba40ed8963a03499de0a1a84c8eb9343b569b15bab6bb47a79" +checksum = "b24d4131bc79fee0b07550136ca6329faa84c1c3e76ae62a74aef6b1da0b95b4" dependencies = [ "frame-benchmarking", "frame-support", @@ -7727,9 +8123,9 @@ dependencies = [ [[package]] name = "pallet-referenda" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b515fdbcade5b8a507e1a8ffc8b5a59725b1c8c71cfc6f8f5ae490e4a33f732c" +checksum = "b2c906a9c4573eb58de4134ec7180bf12c6769df2b9859dae8adcbc5fce78add" dependencies = [ "assert_matches", "frame-benchmarking", @@ -7767,9 +8163,9 @@ dependencies = [ [[package]] name = "pallet-root-testing" -version = "7.0.0" +version = "12.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7926eb378bda52162a713aca44a6faab5fc7d6867f82ac14ba375df2b33eaa7f" +checksum = "fa61642f7bdc1a393798aa1ff67bb8c29f8f184b6fce165e1079010d446a1e29" dependencies = [ "frame-support", "frame-system", @@ -7783,9 +8179,9 @@ dependencies = [ [[package]] name = "pallet-scheduler" -version = "32.0.0" +version = "37.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44f81ff1151067225c2c359a132880e084a1c72656457fe443147ed2e6daaac2" +checksum = "b170d6aa191197d3f50b1193925546972ffc394376ead4d2739eb40909b73c85" dependencies = [ "docify", "frame-benchmarking", @@ -7802,9 +8198,9 @@ dependencies = [ [[package]] name = "pallet-session" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17951aa288869e5afe5815eedc7038dd50b9741d215b66323ff4a12f5686ac15" +checksum = "7c92b24c911c2cfa5351616edc7f2f93427ea6f4f95efdb13f0f5d51997939c3" dependencies = [ "frame-support", "frame-system", @@ -7825,9 +8221,9 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "118d0e5a8c09dbb1c7326021335aab36546846c678b3ce79301ace02cec260f7" +checksum = "bd02aaf5f10734670346677042ece94fae20dcd5436eafeb9b429d8d6d5b6385" dependencies = [ "frame-benchmarking", "frame-support", @@ -7843,16 +8239,16 @@ dependencies = [ [[package]] name = "pallet-society" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f3255dc30ce7ebfd7ee59b1890d1f0091f416f486532d4eaf795dc209e3c28e" +checksum = "66b60b1d726532317f9965bab4995aa49b73f9b7ca3b9a0f75d158bd84686c5f" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "log", "parity-scale-codec", - "rand_chacha 0.2.2", + "rand_chacha", "scale-info", "sp-arithmetic", "sp-io", @@ -7862,9 +8258,9 @@ dependencies = [ [[package]] name = "pallet-staking" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baeb3d22e737307280e2047cba983cc9aa477a6f4c3001e8c1f07077d148c8f7" +checksum = "fbebdb060417654f215fc6f03675e5f44cfc83837d9e523e1b8fd9a4a2e1bdc2" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7874,7 +8270,7 @@ dependencies = [ "pallet-authorship", "pallet-session", "parity-scale-codec", - "rand_chacha 0.2.2", + "rand_chacha", "scale-info", "serde", "sp-application-crypto", @@ -7886,21 +8282,21 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" -version = "11.0.0" +version = "12.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efca5a4a423427d2c83af5fe07ab648c16b91e3782c3cc23316fe0bd96b4c794" +checksum = "db5e6b1d8ee9d3f6894c5abd8c3e17737ed738c9854f87bfd16239741b7f4d5d" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] name = "pallet-staking-reward-fn" -version = "21.0.0" +version = "22.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e341c47481040b68edcf166ad34633c4c5da20d1559413e68387da935a6ae18" +checksum = "988a7ebeacc84d4bdb0b12409681e956ffe35438447d8f8bc78db547cffb6ebc" dependencies = [ "log", "sp-arithmetic", @@ -7908,9 +8304,9 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" -version = "17.0.0" +version = "21.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b398bbc910ed6e7e2fd76251910a8895e7c3343023e2279124568a1c860cab54" +checksum = "3350ef1795b832f4adc464e88fb6d44827bd3f98701b0b0bbee495267b444a92" dependencies = [ "parity-scale-codec", "sp-api", @@ -7919,9 +8315,9 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" -version = "32.0.0" +version = "37.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de51e792bcf770a00c5adf8db67f35dae450f445d36fa4b650980017063a62aa" +checksum = "e07f8626f4ff62ac79d6ad0bd01fab7645897ce35706ddb95fa084e75be9306d" dependencies = [ "frame-benchmarking", "frame-support", @@ -7954,9 +8350,9 @@ dependencies = [ [[package]] name = "pallet-sudo" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a00abb554e916fd31ffbc792bff01e2dd9961a0a4bb781d27ef5f30c908ac2f6" +checksum = "1bd2a8797c1bb3d3897b4f87a7716111da5eeb8561345277b6e6d70349ec8b35" dependencies = [ "docify", "frame-benchmarking", @@ -7972,7 +8368,7 @@ dependencies = [ [[package]] name = "pallet-template-transaction-payment" version = "3.0.0" -source = "git+https://github.com/uniquenetwork/pallet-sponsoring?branch=polkadot-v1.9.0#f61acb0c67e58e16f9a4d9ab3a82b5cac1a5bede" +source = "git+https://github.com/uniquenetwork/pallet-sponsoring?branch=polkadot-v1.14.0#5927847660b35ac457ccd7ce6874ea136c38d770" dependencies = [ "frame-benchmarking", "frame-support", @@ -8003,9 +8399,9 @@ dependencies = [ [[package]] name = "pallet-timestamp" -version = "30.0.0" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb766403f8cabcedb1725326befd7253de3e4c1d3b3d5f7c40adc49ebee5040c" +checksum = "ae789d344be857679b0b98b28a67c747119724847f81d704d3fd03ee13fb6841" dependencies = [ "docify", "frame-benchmarking", @@ -8024,9 +8420,9 @@ dependencies = [ [[package]] name = "pallet-tips" -version = "30.0.0" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fee0ebf5ee31239f9017785cecd54b46be26edef126b6369af477d67f5088ffb" +checksum = "f7dfec7872ee9e071209ae860094569745e8bd47564bacdba739256ee52cf78c" dependencies = [ "frame-benchmarking", "frame-support", @@ -8044,9 +8440,9 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12df1de833ad0abff5daa53f80594d6ef66d250cc1ae073c01e406ce37bbf25e" +checksum = "74fb6114223c8d967c3c2f21cbc845e8ea604ff7e21a8e59d119d5a9257ba886" dependencies = [ "frame-support", "frame-system", @@ -8061,9 +8457,9 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" -version = "33.0.0" +version = "38.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17b3e7cc2ef454af06e0d73e180d2f22c7f6714dca7c1d4a3cc95786041e42c2" +checksum = "a82898085607c7b00ef20fdce7c621790bf2b644c134918a172fe0a8f7f08e6c" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -8078,9 +8474,9 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e060567db5e59e3f26cc274cb9fc5db5af160ac67062d61e488f7887fef5470" +checksum = "f4bad1700ad7eb5ab254189e1df894d1d16b3626a3c4b9c45259ec4d9efc262c" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -8091,9 +8487,9 @@ dependencies = [ [[package]] name = "pallet-treasury" -version = "30.0.0" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "174da255855136b4bf7174a1499ddf20134efe75d59fac4709244fe813534656" +checksum = "9c502615bb4fdd02856a131cb2a612ad40c26435ec938f65f11cae4ff230812b" dependencies = [ "docify", "frame-benchmarking", @@ -8138,9 +8534,9 @@ dependencies = [ [[package]] name = "pallet-utility" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73c54ec28e67769b35a650d497ddd10bf0dd783d14965a1034cdcb71ae1d1442" +checksum = "3238fe6ad00da6a137be115904c39cab97eb5c7f03da0bb1a20de1bef03f0c71" dependencies = [ "frame-benchmarking", "frame-support", @@ -8155,9 +8551,9 @@ dependencies = [ [[package]] name = "pallet-vesting" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a5627016e1cb40d02bf589507429558208c05948d1399ab405307bfe3b1d967" +checksum = "78f7f0f4fe5e1d851e85d81e5e73b6f929f0c35af786ce8be9c9e3363717c136" dependencies = [ "frame-benchmarking", "frame-support", @@ -8171,9 +8567,9 @@ dependencies = [ [[package]] name = "pallet-whitelist" -version = "30.0.0" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a68e2271ffe7a20565b7539931b9c01f29039ab151ac14fd93032e81f250727f" +checksum = "3e4f27640279229eb73fde0cb06e98b799305e6b0bc724f4dfbef2001ab4ad00" dependencies = [ "frame-benchmarking", "frame-support", @@ -8187,9 +8583,9 @@ dependencies = [ [[package]] name = "pallet-xcm" -version = "10.0.1" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd52ee00a54f8b6ff3a90e97622b2403667ef25105dd08d71d45a7075c0ba478" +checksum = "fe7409458b7fedc5c7d46459da154ccc2dc22a843ce08e8ab6c1743ef5cf972c" dependencies = [ "bounded-collections", "frame-benchmarking", @@ -8207,13 +8603,14 @@ dependencies = [ "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", + "xcm-runtime-apis", ] [[package]] name = "pallet-xcm-benchmarks" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3af346fe874360fdd3e36a63cac72a891283b63a2865b28f8afccaa63472fd40" +checksum = "2f177a171203cc0bec3cff1bdd5d3b926abfbd0ecf347e044b147194e664f717" dependencies = [ "frame-benchmarking", "frame-support", @@ -8231,9 +8628,9 @@ dependencies = [ [[package]] name = "parachains-common" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5539fb10c2901cf120d3db87f6ee1568696ccce30cea1a0d0cdee31f64f1da37" +checksum = "9319e656eebdf161666e54a4d8e24f73137f702f01600247f7be650bc4d46167" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", @@ -8244,7 +8641,7 @@ dependencies = [ "pallet-assets", "pallet-authorship", "pallet-balances", - "pallet-collator-selection 12.0.1", + "pallet-collator-selection 17.0.0", "pallet-message-queue", "pallet-xcm", "parity-scale-codec", @@ -8269,7 +8666,7 @@ checksum = "4e69bf016dc406eff7d53a7d3f7cf1c2e72c82b9088aac1118591e36dd2cd3e9" dependencies = [ "bitcoin_hashes 0.13.0", "rand", - "rand_core 0.6.4", + "rand_core", "serde", "unicode-normalization", ] @@ -8301,7 +8698,7 @@ version = "3.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "306800abfa29c7f16596b5970a588435e3d5b3149683d00c12b699cc19f895ee" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "bitvec", "byte-slice-cast", "bytes", @@ -8316,18 +8713,12 @@ version = "3.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d830939c76d294956402033aee57a6da7b438f2294eb94864c37b0569053a42c" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", "syn 1.0.109", ] -[[package]] -name = "parity-send-wrapper" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa9777aa91b8ad9dd5aaa04a9b6bcb02c7f1deb952fca5a66034d5e63afc5c6f" - [[package]] name = "parity-wasm" version = "0.45.0" @@ -8336,9 +8727,9 @@ checksum = "e1ad0aff30c1da14b1254fcb2af73e1fa9a28670e584a626f53a369d0e157304" [[package]] name = "parking" -version = "2.2.0" +version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" +checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" [[package]] name = "parking_lot" @@ -8383,9 +8774,9 @@ checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.5.1", + "redox_syscall 0.5.4", "smallvec", - "windows-targets 0.52.5", + "windows-targets 0.52.6", ] [[package]] @@ -8401,8 +8792,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "346f04948ba92c43e8469c1ee6736c7563d71012b17d40745260fe106aac2166" dependencies = [ "base64ct", - "rand_core 0.6.4", - "subtle 2.5.0", + "rand_core", + "subtle 2.6.1", ] [[package]] @@ -8444,9 +8835,9 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "pest" -version = "2.7.10" +version = "2.7.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "560131c633294438da9f7c4b08189194b20946c8274c6b9e38881a7874dc8ee8" +checksum = "9c73c26c01b8c87956cea613c907c9d6ecffd8d18a2a5908e5de0adfaa185cea" dependencies = [ "memchr", "thiserror", @@ -8455,9 +8846,9 @@ dependencies = [ [[package]] name = "pest_derive" -version = "2.7.10" +version = "2.7.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26293c9193fbca7b1a3bf9b79dc1e388e927e6cacaa78b4a3ab705a1d3d41459" +checksum = "664d22978e2815783adbdd2c588b455b1bd625299ce36b2a99881ac9627e6d8d" dependencies = [ "pest", "pest_generator", @@ -8465,22 +8856,22 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.7.10" +version = "2.7.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ec22af7d3fb470a85dd2ca96b7c577a1eb4ef6f1683a9fe9a8c16e136c04687" +checksum = "a2d5487022d5d33f4c30d91c22afa240ce2a644e87fe08caad974d4eab6badbe" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] name = "pest_meta" -version = "2.7.10" +version = "2.7.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7a240022f37c361ec1878d646fc5b7d7c4d28d5946e1a80ad5a7a4f4ca0bdcd" +checksum = "0091754bbd0ea592c4deb3a122ce8ecbb0753b738aa82bc055fcc2eccc8d8174" dependencies = [ "once_cell", "pest", @@ -8494,7 +8885,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" dependencies = [ "fixedbitset", - "indexmap 2.2.6", + "indexmap 2.5.0", ] [[package]] @@ -8514,15 +8905,9 @@ checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] -[[package]] -name = "pin-project-lite" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" - [[package]] name = "pin-project-lite" version = "0.2.14" @@ -8537,12 +8922,12 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "piper" -version = "0.2.2" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "464db0c665917b13ebb5d453ccdec4add5658ee1adc7affc7677615356a8afaf" +checksum = "96c8c490f422ef9a4efd2cb5b42b76c8613d7e7dfc1caf667b8a3350a5acc066" dependencies = [ "atomic-waker", - "fastrand 2.1.0", + "fastrand 2.1.1", "futures-io", ] @@ -8562,22 +8947,16 @@ version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" -[[package]] -name = "platforms" -version = "3.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db23d408679286588f4d4644f965003d056e3dd5abcaaa938116871d7ce2fee7" - [[package]] name = "polkadot-approval-distribution" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c71bcf7eaa793354f996553b9b472833f761d9cd9e9bf6b2123895da4df6a25b" +checksum = "61d39d6552d00ade2d668b8171aa7d6a1f5da4c7ebff402b5a9877b5d1e45b4e" dependencies = [ "bitvec", "futures", "futures-timer", - "itertools 0.10.5", + "itertools 0.11.0", "polkadot-node-jaeger", "polkadot-node-metrics", "polkadot-node-network-protocol", @@ -8591,9 +8970,9 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b156f5a0a20ffcd852e266b865ad9149c6180a4cf1af07f334567c3b86f0fec" +checksum = "cd0a8b5280959524f84b09c27ef0dbceeced6d19537f8fd43d03a08414f8b93d" dependencies = [ "always-assert", "futures", @@ -8608,9 +8987,9 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "156b913d3eb7981ac8d540bacef09d5dac3a5d0584fa5a27fc8971870a02040a" +checksum = "adfe520a9c8dbe6c5db06c0b919c53441927babc1c02b9df76718fc4b80c5c4f" dependencies = [ "derive_more", "fatality", @@ -8623,6 +9002,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "rand", + "sc-network", "schnellru", "sp-core", "sp-keystore", @@ -8632,9 +9012,9 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d736bca91fe70f303d09a1e251b7d3cb39164c94948d95a7769256ece066a3ed" +checksum = "727f02306a3a51eb0b8efca3e1e14c5efa2daf921c9be7c46d9c5d68670a9b51" dependencies = [ "async-trait", "fatality", @@ -8654,11 +9034,21 @@ dependencies = [ "tracing-gum", ] +[[package]] +name = "polkadot-ckb-merkle-mountain-range" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4b44320e5f7ce2c18227537a3032ae5b2c476a7e8eddba45333e1011fc31b92" +dependencies = [ + "cfg-if", + "itertools 0.10.5", +] + [[package]] name = "polkadot-cli" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5509ed80ddcbb63c88b9f346b22f4b663e52dadf475118ec06406a0688817c55" +checksum = "141a62da626bba7c4a29b8e5d20a975efa6439095a352ebfc47f068e4dfd82fd" dependencies = [ "cfg-if", "clap", @@ -8681,14 +9071,13 @@ dependencies = [ "sp-runtime", "substrate-build-script-utils", "thiserror", - "try-runtime-cli", ] [[package]] name = "polkadot-collator-protocol" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c82682bdd0aea251ab8f31a1b06f4c2c1c494e80fed4fc13ca9bc7622870bc82" +checksum = "75bd07cc8a0bfabe6464d40072e30bd87f52730fbc26c733f0a8ffa97918c0a8" dependencies = [ "bitvec", "fatality", @@ -8709,9 +9098,9 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" -version = "10.0.0" +version = "14.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44c2f38f3195108e9da39b9845895bb3dff76f1c7b31409143febeb1560cd276" +checksum = "17c72ee63bcf920f963cd7ac066759b0b649350c8ab3781a85a6aac87b1488f2" dependencies = [ "parity-scale-codec", "scale-info", @@ -8722,15 +9111,15 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5331cccd51a1593bc26a1619964f49876629589139cdf46151c21a6308c6bad" +checksum = "09c49e68add45aa6c2b85e97f0d09b81f26b1428117bdc9284eaa74a1eb63daf" dependencies = [ "derive_more", "fatality", "futures", "futures-timer", - "indexmap 2.2.6", + "indexmap 2.5.0", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -8748,9 +9137,9 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" -version = "10.0.0" +version = "14.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4842b32ecf4ab29521f1f9dd199c35398cd101883912f74e070658cd465037af" +checksum = "6a39a54a269817e09d602b4e9c527905f9e367ff7c6337b1b3e1e048515f6b59" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -8763,9 +9152,9 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3165cced1fd975f43d21e8a0701b19461d07131ace5feae2bfeb8ea005953683" +checksum = "53b56e8fe08e4ed30af0d296870b12b5a7411695f2b79b3c5842d04b9a347200" dependencies = [ "futures", "futures-timer", @@ -8774,7 +9163,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "rand", - "rand_chacha 0.3.1", + "rand_chacha", "sc-network", "sc-network-common", "sp-application-crypto", @@ -8786,9 +9175,9 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48f34d1b7dde0d43c37aeacb37c199cbfc1c541a3ff03317fcb6bcc2d69501f6" +checksum = "178b92197936c23ae8a936ec74b83a15a9fe0978c7f3de677db141ba9c524a63" dependencies = [ "always-assert", "async-trait", @@ -8810,9 +9199,9 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1060f6954c43f120751ad3f2a54155541893fcf9a966f4a9ce5192ee7888fa1f" +checksum = "869534f66d5a38443acf4b9fec3a4919f59f293e6fdee4177cd7cece1c4a85ef" dependencies = [ "futures", "parity-scale-codec", @@ -8829,15 +9218,15 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "427edaa41cc878f0d22b3248e900d1f65760a92f6e230e7a54ff6118b8ef9c79" +checksum = "ed3629b2d93b5f152bc75437fb68326ebf9267885ff89f2abede9b8a050e9288" dependencies = [ "bitvec", "derive_more", "futures", "futures-timer", - "itertools 0.10.5", + "itertools 0.11.0", "kvdb", "merlin", "parity-scale-codec", @@ -8848,8 +9237,8 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "rand", - "rand_chacha 0.3.1", - "rand_core 0.6.4", + "rand_chacha", + "rand_core", "sc-keystore", "schnellru", "schnorrkel 0.11.4", @@ -8863,9 +9252,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "669f4ba3485a915853e94db99cf0dc5af9bccacd76b4d6f06550c5ecbd33d4aa" +checksum = "8487c45eedaaf535ccc78bf4f459eae9443c4c9cfcca31dc3838950f3a3426e3" dependencies = [ "bitvec", "futures", @@ -8886,9 +9275,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "307ec8006475fd2f5f878bbfd7c74368f4fde0fd10096925a85b5e027ace4889" +checksum = "b493dff8562ce2675dbb0e5c8594e145085a4536de435f5061f577bdaba2195e" dependencies = [ "bitvec", "fatality", @@ -8907,9 +9296,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8133ce90b5bfc6d81c8d124dd26ec86624eb88bb33e57c0fb59d1262c9224ea" +checksum = "5946d61086be5096e8dafd731d0881fa41e12f21a1f3a8b9d7ff6f1294914b98" dependencies = [ "futures", "polkadot-node-subsystem", @@ -8923,9 +9312,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a4335b31f5d7dd3c59a7a061ca32061d290244fde416186fd22bee5093cf4bb" +checksum = "389b6d8da9a7cf825f97ff4da4ef754a1371de0358e896fbec973f4ff1dfe011" dependencies = [ "async-trait", "futures", @@ -8945,9 +9334,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23b25733a45754fa4f049d26289994e379be21b132ca36982378604b53341104" +checksum = "29086798f24839c9dc1c8b080ffc68bbfe2a5fdc5f29de557b9d224a45011094" dependencies = [ "futures", "polkadot-node-metrics", @@ -8960,9 +9349,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c77a7c69bd67b0840c0f97c61637b798f6ec49c6a1c4cf153e4d8e8b22e34c45" +checksum = "79c8bcae78a4562bc8b3b786e08cb1b3c96c29554da7d57b6806a6723b1540b0" dependencies = [ "futures", "futures-timer", @@ -8978,9 +9367,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea6fb7b632e37b5eff4d3ceb246a6d7277c82bb573cbc2360c37719a5e00df82" +checksum = "459e1da76e61c2f5636123ae7c19097067dcc1d07e0d5e77eae4eb87e5cb999d" dependencies = [ "fatality", "futures", @@ -8998,9 +9387,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c904246202cb80fc3e3872e142d74958903515c3b91d3d4d88907cf8bca46e2" +checksum = "18e4d2b44748657a68c8ff2995b0b39609f5186bc4b07040ebb6b389dbf1047b" dependencies = [ "async-trait", "futures", @@ -9016,9 +9405,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-prospective-parachains" -version = "9.0.0" +version = "14.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d343298e502e687bc2f8ae837cad538a9b5d60ce714ace58120cb91aeb41d1c1" +checksum = "756205c36293216422775c6fa1be9fc4bdb99fa5cafd86b96e7feae13e669e79" dependencies = [ "bitvec", "fatality", @@ -9034,9 +9423,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9be87118cc96f05bd5a35bee2f8c495b894d23fbff1c954b15d7dbe4516564c" +checksum = "d6f090dc90bbe0b452a57a3129b53a6129e357ff4607e9db27a54b291d7a747b" dependencies = [ "bitvec", "fatality", @@ -9053,18 +9442,16 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99c07e2dad8712e1e5978c6404aca20d2c7f1b5d6151d60277f49ce949b3ed5d" +checksum = "2eea57cb8ce66c2952b87b2476b46d6316ae58342f198abd09c391827ed5402d" dependencies = [ "always-assert", - "array-bytes 6.2.3", + "array-bytes", "blake3", "cfg-if", "futures", "futures-timer", - "is_executable", - "libc", "parity-scale-codec", "pin-project", "polkadot-core-primitives", @@ -9077,8 +9464,6 @@ dependencies = [ "rand", "slotmap", "sp-core", - "sp-maybe-compressed-blob", - "sp-wasm-interface", "tempfile", "thiserror", "tokio", @@ -9087,9 +9472,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1536bf89078dca39061f2a4d742e11dc14da38ffa5b6ce84e5c454cf9fd9b151" +checksum = "6483e6db611d96b14deb298bcf877c44905ba2b45207183d62d0fda9c2fcfec2" dependencies = [ "futures", "polkadot-node-primitives", @@ -9104,16 +9489,15 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-common" -version = "10.0.0" +version = "14.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2781bf5b07873b37ed5a76b28866367ea2529d4b91497c3db560c0eb59b2a2d9" +checksum = "d0eca24abc74c0c3f02f9986edbda12b3e8b6d294c39b238cf39e94e246aa2b9" dependencies = [ - "cfg-if", "cpu-time", "futures", "landlock", "libc", - "nix 0.27.1", + "nix 0.28.0", "parity-scale-codec", "polkadot-parachain-primitives", "polkadot-primitives", @@ -9132,9 +9516,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7065d7dd209b05ceaf3781ca0a7cdfcb0071c3a61a8357e37dff8587a94928d2" +checksum = "0024b2f4e4a03e4fda348183bbfe5eb51dd6e90b57eabc83596ee4d0079fd0e8" dependencies = [ "futures", "polkadot-node-metrics", @@ -9148,9 +9532,9 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e14e65e3d9990d1f8f793a23c05c6aa82a551e551225ab86d2625474afef748f" +checksum = "b671c3407a7e325264af798664ca60c985873c04f54f53cc8f02aa81512fd40a" dependencies = [ "lazy_static", "log", @@ -9160,6 +9544,7 @@ dependencies = [ "polkadot-node-primitives", "polkadot-primitives", "sc-network", + "sc-network-types", "sp-core", "thiserror", "tokio", @@ -9167,9 +9552,9 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4ca58a67371546b66a011f0e27551094a8499a53223b16c164e769d25d981d0" +checksum = "bae429c6a40f782a615d7ec863c4eda83c36bee5f6b542bcf86f754342f97b5a" dependencies = [ "bs58 0.5.1", "futures", @@ -9187,9 +9572,9 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67c3b078794c9c383ee3ceff65f2713ec81c033c6d8785ead5f7797e914c1fe3" +checksum = "cf88dcc39ac21e12a65c255707b89933ddf3dadfb2c422d9f0fd8ff644229e77" dependencies = [ "async-channel 1.9.0", "async-trait", @@ -9205,16 +9590,18 @@ dependencies = [ "rand", "sc-authority-discovery", "sc-network", - "strum 0.24.1", + "sc-network-types", + "sp-runtime", + "strum 0.26.3", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-node-primitives" -version = "10.0.0" +version = "14.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d9521abb7028ce7040f66a0786423bee2cdb7725ca46e5cee1f86191bcb2ed3" +checksum = "779833f70a1563ed042d3c6b831a45c5ea0f80caa8f4ede487f7bee3130168fb" dependencies = [ "bitvec", "bounded-vec", @@ -9236,9 +9623,9 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7865c507f0eab9d816c40b1d4e2acb4e8f77db9efc8c0af23942d6b0f50e6f6" +checksum = "6a338e574c2416135b0004ebef226be22db13c44532e2a0f33b67648afb3ca12" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -9247,13 +9634,14 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf0e971c1377901212059b794b48acac9a855cac83f2e07dc1b708ca0e77ba64" +checksum = "b0df39c7eef657b1e28917529f0b0c2aa5f0b013f4f298cfb3620b54449f0c95" dependencies = [ "async-trait", "bitvec", "derive_more", + "fatality", "futures", "orchestra", "polkadot-node-jaeger", @@ -9263,6 +9651,7 @@ dependencies = [ "polkadot-statement-table", "sc-client-api", "sc-network", + "sc-network-types", "sc-transaction-pool-api", "smallvec", "sp-api", @@ -9276,21 +9665,22 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4937553bd1a5f9ee9343a1a227ae07237b48a29c99ecd53217b090ca84b753c6" +checksum = "a55a268e05c8c39aeb81b9ad59dfd18a7a711c8f8fa19bf83c75025de25466b7" dependencies = [ "async-trait", "derive_more", "fatality", "futures", "futures-channel", - "itertools 0.10.5", + "itertools 0.11.0", "kvdb", "parity-db", "parity-scale-codec", "parking_lot 0.12.3", "pin-project", + "polkadot-erasure-coding", "polkadot-node-jaeger", "polkadot-node-metrics", "polkadot-node-network-protocol", @@ -9312,9 +9702,9 @@ dependencies = [ [[package]] name = "polkadot-overseer" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97415bc09e9dd20d44a019eaf0bb803ab3239a7eca20820b181e53901966fdbc" +checksum = "c2456c1b2d176550e91e2e1ddb092390b00e20898e5c4fd9b5978d56ab1bbf24" dependencies = [ "async-trait", "futures", @@ -9335,9 +9725,9 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" -version = "9.0.0" +version = "13.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b87dda07862f2b16f2c2b7d315f2b4549c896562d973d466b6d19de36aba30d" +checksum = "f61070d0ff28f596890def0e0d03c231860796130b2a43e293106fa86a50c9a9" dependencies = [ "bounded-collections", "derive_more", @@ -9353,9 +9743,9 @@ dependencies = [ [[package]] name = "polkadot-primitives" -version = "10.0.0" +version = "14.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e01b525a35852e2861397eecbdb4a03dda69f14f7ca04968f2e06d6cba51dfb" +checksum = "5a4879609f4340138930c3c7313256941104a3ff6f7ecb2569d15223da9b35b2" dependencies = [ "bitvec", "hex-literal", @@ -9381,9 +9771,9 @@ dependencies = [ [[package]] name = "polkadot-rpc" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bf68469a4e01a0c8a16869fde6de3071fbebdf836058c8afe8396470ef2c462" +checksum = "0dc80e33ff0a7155588d7b6cadffbbad7e8e489c2275f6f49ce61cb5cdfedca7" dependencies = [ "jsonrpsee", "mmr-rpc", @@ -9403,10 +9793,12 @@ dependencies = [ "sc-sync-state-rpc", "sc-transaction-pool-api", "sp-api", + "sp-application-crypto", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", + "sp-consensus-beefy", "sp-keystore", "sp-runtime", "substrate-frame-rpc-system", @@ -9415,9 +9807,9 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1abd7bff20e17e025a4e001aff55dfefcfd7ef8a8ae138de44998a012e227f2" +checksum = "28fdcb41bb21c7b14d0341a9a17364ccc04ad34de05d41e7938cb03acbc11066" dependencies = [ "bitvec", "frame-benchmarking", @@ -9434,7 +9826,7 @@ dependencies = [ "pallet-broker", "pallet-election-provider-multi-phase", "pallet-fast-unstake", - "pallet-identity 31.0.0", + "pallet-identity 36.0.0", "pallet-session", "pallet-staking", "pallet-staking-reward-fn", @@ -9467,9 +9859,9 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fed9088becfd874b6dbf064f9d1dd1bfa2e3c2188459a572aac2e689c028772" +checksum = "ac75b3fea8464e5681b44733ed11cf09e22ff1e956f6703b918b637bd40e7427" dependencies = [ "bs58 0.5.1", "frame-benchmarking", @@ -9481,9 +9873,9 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" -version = "10.0.0" +version = "15.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ce601c5f1005ff1d315c1e5c161a73e63e54bf23527f98c2bfa3ffc5b22f5e6" +checksum = "cb7e68cb26f9025daaad694d8192fd0e63e92c8761c45a339dd7a5b7925a3cb6" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -9509,8 +9901,7 @@ dependencies = [ "polkadot-primitives", "polkadot-runtime-metrics", "rand", - "rand_chacha 0.3.1", - "rustc-hex", + "rand_chacha", "scale-info", "serde", "sp-api", @@ -9531,9 +9922,9 @@ dependencies = [ [[package]] name = "polkadot-service" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "322db94a98084bf62ac2c58194856d823455ceb74000c9602f817b8b738a8f78" +checksum = "fa560fb67981865b895082845c4ec43fabb206da5bf583ec5ef3561a8e3fc333" dependencies = [ "async-trait", "frame-benchmarking", @@ -9549,7 +9940,6 @@ dependencies = [ "log", "mmr-gadget", "pallet-babe", - "pallet-im-online", "pallet-staking", "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", @@ -9641,24 +10031,26 @@ dependencies = [ "sp-transaction-pool", "sp-version", "sp-weights", + "staging-xcm", "substrate-prometheus-endpoint", "thiserror", "tracing-gum", "westend-runtime", + "xcm-runtime-apis", ] [[package]] name = "polkadot-statement-distribution" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38a4ef148c9bbed26f8630311ac26c9df1c07195a46a84fb5e8e7e7122e90248" +checksum = "16020ecadd1826ffbce2693ba1490123a0f7ca74d233c9bc8c0cbfc23bb4df2a" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "bitvec", "fatality", "futures", "futures-timer", - "indexmap 2.2.6", + "indexmap 2.5.0", "parity-scale-codec", "polkadot-node-network-protocol", "polkadot-node-primitives", @@ -9673,9 +10065,9 @@ dependencies = [ [[package]] name = "polkadot-statement-table" -version = "10.0.0" +version = "14.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a18144720acd47e1243b60c20bfb03f73dc67cbaf61bf2820991961e1ebb803b" +checksum = "947e9e3c8f71b9678f39a01f371a808b574823967dd9da187e6f886f5f08691c" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -9692,7 +10084,7 @@ dependencies = [ "libc", "log", "polkavm-assembler", - "polkavm-common 0.9.0", + "polkavm-common", "polkavm-linux-raw", ] @@ -9705,12 +10097,6 @@ dependencies = [ "log", ] -[[package]] -name = "polkavm-common" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92c99f7eee94e7be43ba37eef65ad0ee8cbaf89b7c00001c3f6d2be985cb1817" - [[package]] name = "polkavm-common" version = "0.9.0" @@ -9720,34 +10106,13 @@ dependencies = [ "log", ] -[[package]] -name = "polkavm-derive" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79fa916f7962348bd1bb1a65a83401675e6fc86c51a0fdbcf92a3108e58e6125" -dependencies = [ - "polkavm-derive-impl-macro 0.8.0", -] - [[package]] name = "polkavm-derive" version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae8c4bea6f3e11cd89bb18bcdddac10bd9a24015399bd1c485ad68a985a19606" dependencies = [ - "polkavm-derive-impl-macro 0.9.0", -] - -[[package]] -name = "polkavm-derive-impl" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c10b2654a8a10a83c260bfb93e97b262cf0017494ab94a65d389e0eda6de6c9c" -dependencies = [ - "polkavm-common 0.8.0", - "proc-macro2", - "quote", - "syn 2.0.66", + "polkavm-derive-impl-macro", ] [[package]] @@ -9756,20 +10121,10 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5c4fdfc49717fb9a196e74a5d28e0bc764eb394a2c803eb11133a31ac996c60c" dependencies = [ - "polkavm-common 0.9.0", + "polkavm-common", "proc-macro2", "quote", - "syn 2.0.66", -] - -[[package]] -name = "polkavm-derive-impl-macro" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15e85319a0d5129dc9f021c62607e0804f5fb777a05cdda44d750ac0732def66" -dependencies = [ - "polkavm-derive-impl 0.8.0", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] @@ -9778,8 +10133,8 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429" dependencies = [ - "polkavm-derive-impl 0.9.0", - "syn 2.0.66", + "polkavm-derive-impl", + "syn 2.0.77", ] [[package]] @@ -9792,7 +10147,7 @@ dependencies = [ "hashbrown 0.14.5", "log", "object 0.32.2", - "polkavm-common 0.9.0", + "polkavm-common", "regalloc2 0.9.3", "rustc-demangle", ] @@ -9815,23 +10170,23 @@ dependencies = [ "concurrent-queue", "libc", "log", - "pin-project-lite 0.2.14", + "pin-project-lite", "windows-sys 0.48.0", ] [[package]] name = "polling" -version = "3.7.0" +version = "3.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "645493cf344456ef24219d02a768cf1fb92ddf8c92161679ae3d91b91a637be3" +checksum = "cc2790cd301dec6cd3b7a025e4815cf825724a51c98dccfe6a3e55f05ffb6511" dependencies = [ "cfg-if", "concurrent-queue", - "hermit-abi", - "pin-project-lite 0.2.14", - "rustix 0.38.34", + "hermit-abi 0.4.0", + "pin-project-lite", + "rustix 0.38.37", "tracing", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -9859,9 +10214,9 @@ dependencies = [ [[package]] name = "portable-atomic" -version = "1.6.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" +checksum = "da544ee218f0d287a911e9c99a39a8c9bc8fcad3cb8db5959940044ecfc67265" [[package]] name = "powerfmt" @@ -9871,9 +10226,12 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" [[package]] name = "ppv-lite86" -version = "0.2.17" +version = "0.2.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" +checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04" +dependencies = [ + "zerocopy", +] [[package]] name = "precompile-utils-macro" @@ -9900,37 +10258,37 @@ dependencies = [ "regex", ] +[[package]] +name = "predicates" +version = "3.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e9086cc7640c29a356d1a29fd134380bee9d8f79a17410aa76e7ad295f42c97" +dependencies = [ + "anstyle", + "predicates-core", +] + [[package]] name = "predicates-core" -version = "1.0.6" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b794032607612e7abeb4db69adb4e33590fa6cf1149e95fd7cb00e634b92f174" +checksum = "ae8177bee8e75d6846599c6b9ff679ed51e882816914eec639944d7c9aa11931" [[package]] name = "predicates-tree" -version = "1.0.9" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "368ba315fb8c5052ab692e68a0eefec6ec57b23a36959c14496f0b0df2c0cecf" +checksum = "41b740d195ed3166cd147c8047ec98db0e22ec019eb8eeb76d343b795304fb13" dependencies = [ "predicates-core", "termtree", ] -[[package]] -name = "prettier-please" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22020dfcf177fcc7bf5deaf7440af371400c67c0de14c399938d8ed4fb4645d3" -dependencies = [ - "proc-macro2", - "syn 2.0.66", -] - [[package]] name = "prettyplease" -version = "0.1.11" +version = "0.1.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f28f53e8b192565862cf99343194579a022eb9c7dd3a8d03134734803c7b3125" +checksum = "6c8646e95016a7a6c4adea95bafa8a16baab64b583356217f2c85db4a39d9a86" dependencies = [ "proc-macro2", "syn 1.0.109", @@ -9938,12 +10296,12 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.2.20" +version = "0.2.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f12335488a2f3b0a83b14edad48dca9879ce89b2edd10e80237e4e852dd645e" +checksum = "479cf940fbbb3426c32c5d5176f62ad57549a0bb84773423ba8be9d089f5faba" dependencies = [ "proc-macro2", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] @@ -9978,21 +10336,21 @@ dependencies = [ [[package]] name = "proc-macro-crate" -version = "1.3.1" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" +checksum = "e17d47ce914bf4de440332250b0edd23ce48c005f59fab39d3335866b114f11a" dependencies = [ - "once_cell", - "toml_edit 0.19.15", + "thiserror", + "toml 0.5.11", ] [[package]] name = "proc-macro-crate" -version = "3.1.0" +version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" +checksum = "8ecf48c7ca261d60b74ab1a7b20da18bede46776b2e55535cb958eb595c5fa7b" dependencies = [ - "toml_edit 0.21.1", + "toml_edit", ] [[package]] @@ -10019,6 +10377,17 @@ dependencies = [ "version_check", ] +[[package]] +name = "proc-macro-warning" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.77", +] + [[package]] name = "proc-macro-warning" version = "1.0.2" @@ -10027,14 +10396,14 @@ checksum = "834da187cfe638ae8abb0203f0b33e5ccdb02a28e7199f2f47b3e2754f50edca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] name = "proc-macro2" -version = "1.0.84" +version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec96c6a92621310b51366f1e28d05ef11489516e93be030060e5fc12024a49d6" +checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" dependencies = [ "unicode-ident", ] @@ -10055,9 +10424,9 @@ dependencies = [ [[package]] name = "prometheus-client" -version = "0.19.0" +version = "0.21.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d6fa99d535dd930d1249e6c79cb3c2915f9172a540fe2b02a4c8f9ca954721e" +checksum = "3c99afa9a01501019ac3a14d71d9f94050346f55ca471ce90c799a15c58f61e2" dependencies = [ "dtoa", "itoa", @@ -10073,7 +10442,7 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] @@ -10107,17 +10476,38 @@ dependencies = [ "itertools 0.10.5", "lazy_static", "log", - "multimap", + "multimap 0.8.3", "petgraph", - "prettyplease 0.1.11", + "prettyplease 0.1.25", "prost 0.11.9", - "prost-types", + "prost-types 0.11.9", "regex", "syn 1.0.109", "tempfile", "which", ] +[[package]] +name = "prost-build" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22505a5c94da8e3b7c2996394d1c933236c4d743e81a410bcca4e6989fc066a4" +dependencies = [ + "bytes", + "heck 0.5.0", + "itertools 0.12.1", + "log", + "multimap 0.10.0", + "once_cell", + "petgraph", + "prettyplease 0.2.22", + "prost 0.12.6", + "prost-types 0.12.6", + "regex", + "syn 2.0.77", + "tempfile", +] + [[package]] name = "prost-derive" version = "0.11.9" @@ -10138,10 +10528,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "81bddcdb20abf9501610992b6759a4c888aef7d1a7247ef75e2404275ac24af1" dependencies = [ "anyhow", - "itertools 0.11.0", + "itertools 0.12.1", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] @@ -10153,11 +10543,20 @@ dependencies = [ "prost 0.11.9", ] +[[package]] +name = "prost-types" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9091c90b0a32608e984ff2fa4091273cbdd755d54935c51d520887f4a1dbd5b0" +dependencies = [ + "prost 0.12.6", +] + [[package]] name = "psm" -version = "0.1.21" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874" +checksum = "aa37f80ca58604976033fae9515a8a2989fc13797d953f7c04fb8fa36a11f205" dependencies = [ "cc", ] @@ -10172,14 +10571,14 @@ dependencies = [ "libc", "once_cell", "raw-cpuid", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi", "web-sys", "winapi", ] [[package]] name = "quartz-runtime" -version = "1.9.0" +version = "1.14.0" dependencies = [ "app-promotion-rpc", "cumulus-pallet-aura-ext", @@ -10187,6 +10586,7 @@ dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcm", "cumulus-pallet-xcmp-queue", + "cumulus-primitives-aura", "cumulus-primitives-core", "cumulus-primitives-timestamp", "cumulus-primitives-utility", @@ -10197,6 +10597,7 @@ dependencies = [ "fp-self-contained", "frame-benchmarking", "frame-executive", + "frame-metadata-hash-extension", "frame-support", "frame-system", "frame-system-benchmarking", @@ -10307,26 +10708,51 @@ dependencies = [ [[package]] name = "quick-protobuf-codec" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1693116345026436eb2f10b677806169c1a1260c1c60eaaffe3fb5a29ae23d8b" +checksum = "f8ededb1cd78531627244d51dd0c7139fbe736c7d57af0092a76f0ffb2f56e98" dependencies = [ "asynchronous-codec", "bytes", "quick-protobuf", "thiserror", - "unsigned-varint", + "unsigned-varint 0.7.2", +] + +[[package]] +name = "quinn" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e8b432585672228923edbbf64b8b12c14e1112f62e88737655b4a083dbcd78e" +dependencies = [ + "bytes", + "pin-project-lite", + "quinn-proto 0.9.6", + "quinn-udp 0.3.2", + "rustc-hash", + "rustls 0.20.9", + "thiserror", + "tokio", + "tracing", + "webpki", ] [[package]] -name = "quicksink" -version = "0.1.2" +name = "quinn" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77de3c815e5a160b1539c6592796801df2043ae35e123b46d73380cfa57af858" +checksum = "8cc2c5017e4b43d5995dcea317bc46c1e09404c0a9664d2908f7f02dfe943d75" dependencies = [ - "futures-core", - "futures-sink", - "pin-project-lite 0.1.12", + "bytes", + "futures-io", + "pin-project-lite", + "quinn-proto 0.10.6", + "quinn-udp 0.4.1", + "rustc-hash", + "rustls 0.21.12", + "thiserror", + "tokio", + "tracing", ] [[package]] @@ -10347,11 +10773,54 @@ dependencies = [ "webpki", ] +[[package]] +name = "quinn-proto" +version = "0.10.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "141bf7dfde2fbc246bfd3fe12f2455aa24b0fbd9af535d8c86c7bd1381ff2b1a" +dependencies = [ + "bytes", + "rand", + "ring 0.16.20", + "rustc-hash", + "rustls 0.21.12", + "slab", + "thiserror", + "tinyvec", + "tracing", +] + +[[package]] +name = "quinn-udp" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "641538578b21f5e5c8ea733b736895576d0fe329bb883b937db6f4d163dbaaf4" +dependencies = [ + "libc", + "quinn-proto 0.9.6", + "socket2 0.4.10", + "tracing", + "windows-sys 0.42.0", +] + +[[package]] +name = "quinn-udp" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "055b4e778e8feb9f93c4e439f71dc2156ef13360b432b799e179a8c4cdf0b1d7" +dependencies = [ + "bytes", + "libc", + "socket2 0.5.7", + "tracing", + "windows-sys 0.48.0", +] + [[package]] name = "quote" -version = "1.0.36" +version = "1.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" +checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" dependencies = [ "proc-macro2", ] @@ -10369,18 +10838,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", - "rand_chacha 0.3.1", - "rand_core 0.6.4", -] - -[[package]] -name = "rand_chacha" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" -dependencies = [ - "ppv-lite86", - "rand_core 0.5.1", + "rand_chacha", + "rand_core", ] [[package]] @@ -10390,16 +10849,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" dependencies = [ "ppv-lite86", - "rand_core 0.6.4", -] - -[[package]] -name = "rand_core" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" -dependencies = [ - "getrandom 0.1.16", + "rand_core", ] [[package]] @@ -10408,7 +10858,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.15", + "getrandom", ] [[package]] @@ -10427,16 +10877,16 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "59cad018caf63deb318e5a4586d99a24424a364f40f1e5778c29aca23f4fc73e" dependencies = [ - "rand_core 0.6.4", + "rand_core", ] [[package]] name = "raw-cpuid" -version = "11.0.2" +version = "11.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e29830cbb1290e404f24c73af91c5d8d631ce7e128691e9477556b540cd01ecd" +checksum = "cb9ee317cfe3fbd54b36a511efc1edd42e216903c9cd575e686dd68a2ba90d8d" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", ] [[package]] @@ -10488,29 +10938,20 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" -dependencies = [ - "bitflags 1.3.2", -] - -[[package]] -name = "redox_syscall" -version = "0.5.1" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e" +checksum = "0884ad60e090bf1345b93da0a5de8923c93884cd03f40dfcfddd3b4bee661853" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", ] [[package]] name = "redox_users" -version = "0.4.5" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd283d9651eeda4b2a83a43c1c91b266c40fd76ecd39a50a8c630ae69dc72891" +checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ - "getrandom 0.2.15", + "getrandom", "libredox", "thiserror", ] @@ -10544,7 +10985,7 @@ checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] @@ -10574,14 +11015,14 @@ dependencies = [ [[package]] name = "regex" -version = "1.10.4" +version = "1.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c" +checksum = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.6", - "regex-syntax 0.8.3", + "regex-automata 0.4.7", + "regex-syntax 0.8.4", ] [[package]] @@ -10595,13 +11036,13 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.6" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" +checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.8.3", + "regex-syntax 0.8.4", ] [[package]] @@ -10612,9 +11053,9 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] name = "regex-syntax" -version = "0.8.3" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" +checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" [[package]] name = "resolv-conf" @@ -10633,7 +11074,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" dependencies = [ "hmac 0.12.1", - "subtle 2.5.0", + "subtle 2.6.1", ] [[package]] @@ -10659,7 +11100,7 @@ checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" dependencies = [ "cc", "cfg-if", - "getrandom 0.2.15", + "getrandom", "libc", "spin 0.9.8", "untrusted 0.9.0", @@ -10709,13 +11150,15 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "165988588402ce7dc2d32dfba280cbbd59befc444d8f95579b999ecd8575ef27" +checksum = "0874c053846cd50170370d88244fd00ed299d3d3833804f0929371a9ed836137" dependencies = [ "binary-merkle-tree", + "bitvec", "frame-benchmarking", "frame-executive", + "frame-metadata-hash-extension", "frame-support", "frame-system", "frame-system-benchmarking", @@ -10737,8 +11180,7 @@ dependencies = [ "pallet-democracy", "pallet-elections-phragmen", "pallet-grandpa", - "pallet-identity 31.0.0", - "pallet-im-online", + "pallet-identity 36.0.0", "pallet-indices", "pallet-membership", "pallet-message-queue", @@ -10746,6 +11188,7 @@ dependencies = [ "pallet-multisig", "pallet-nis", "pallet-offences", + "pallet-parameters", "pallet-preimage", "pallet-proxy", "pallet-ranked-collective", @@ -10777,6 +11220,7 @@ dependencies = [ "scale-info", "serde", "serde_derive", + "serde_json", "smallvec", "sp-api", "sp-arithmetic", @@ -10784,6 +11228,7 @@ dependencies = [ "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", + "sp-consensus-grandpa", "sp-core", "sp-genesis-builder", "sp-inherents", @@ -10802,13 +11247,14 @@ dependencies = [ "staging-xcm-executor", "static_assertions", "substrate-wasm-builder", + "xcm-runtime-apis", ] [[package]] name = "rococo-runtime-constants" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0033b0335cd7cb691fbcd16346e151ffb21ad4e2a8675eda06b48275b8f52549" +checksum = "2ef330dc0657ac9e4ff93ff320e2ee1a120493bceb91010c7ef7b08fe8e27950" dependencies = [ "frame-support", "polkadot-primitives", @@ -10883,9 +11329,9 @@ checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" [[package]] name = "rustc_version" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" dependencies = [ "semver 1.0.23", ] @@ -10929,11 +11375,11 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.34" +version = "0.38.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" +checksum = "8acb788b847c24f28525660c4d7758620a7210875711f79e7f663cc152726811" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "errno", "libc", "linux-raw-sys 0.4.14", @@ -10946,7 +11392,6 @@ version = "0.20.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b80e3dec595989ea8510028f30c408a4630db12c9cbb8de34203b89d6577e99" dependencies = [ - "log", "ring 0.16.20", "sct", "webpki", @@ -10966,15 +11411,16 @@ dependencies = [ [[package]] name = "rustls" -version = "0.22.4" +version = "0.23.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432" +checksum = "f2dabaac7466917e566adb06783a81ca48944c6898a1b08b9374106dd671f4c8" dependencies = [ "log", + "once_cell", "ring 0.17.8", "rustls-pki-types", - "rustls-webpki 0.102.4", - "subtle 2.5.0", + "rustls-webpki 0.102.8", + "subtle 2.6.1", "zeroize", ] @@ -10992,12 +11438,12 @@ dependencies = [ [[package]] name = "rustls-native-certs" -version = "0.7.0" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f1fb85efa936c42c6d5fc28d2629bb51e4b2f4b8a5211e297d599cc5a093792" +checksum = "e5bfb394eeed242e909609f56089eecfe5fda225042e8b171791b9c95f5931e5" dependencies = [ "openssl-probe", - "rustls-pemfile 2.1.2", + "rustls-pemfile 2.1.3", "rustls-pki-types", "schannel", "security-framework", @@ -11014,9 +11460,9 @@ dependencies = [ [[package]] name = "rustls-pemfile" -version = "2.1.2" +version = "2.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29993a25686778eb88d4189742cd713c9bce943bc54251a33509dc63cbacf73d" +checksum = "196fe16b00e106300d3e45ecfcb764fa292a535d7326a29a5875c579c7417425" dependencies = [ "base64 0.22.1", "rustls-pki-types", @@ -11024,9 +11470,36 @@ dependencies = [ [[package]] name = "rustls-pki-types" -version = "1.7.0" +version = "1.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc0a2ce646f8655401bb81e7927b812614bd5d91dbc968696be50603510fcaf0" + +[[package]] +name = "rustls-platform-verifier" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afbb878bdfdf63a336a5e63561b1835e7a8c91524f51621db870169eac84b490" +dependencies = [ + "core-foundation", + "core-foundation-sys", + "jni", + "log", + "once_cell", + "rustls 0.23.13", + "rustls-native-certs 0.7.3", + "rustls-platform-verifier-android", + "rustls-webpki 0.102.8", + "security-framework", + "security-framework-sys", + "webpki-roots 0.26.5", + "winapi", +] + +[[package]] +name = "rustls-platform-verifier-android" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "976295e77ce332211c0d24d92c0e83e50f5c5f046d11082cea19f3df13a3562d" +checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f" [[package]] name = "rustls-webpki" @@ -11040,9 +11513,9 @@ dependencies = [ [[package]] name = "rustls-webpki" -version = "0.102.4" +version = "0.102.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff448f7e92e913c4b7d4c6d8e4540a1724b319b4152b8aef6d4cf8339712b33e" +checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9" dependencies = [ "ring 0.17.8", "rustls-pki-types", @@ -11068,9 +11541,9 @@ dependencies = [ [[package]] name = "rw-stream-sink" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26338f5e09bb721b85b135ea05af7767c90b52f6de4f087d4f4a3a9d64e7dc04" +checksum = "d8c9026ff5d2f23da5e45bbc283f156383001bfb09c4e44256d02c1a685fe9a1" dependencies = [ "futures", "pin-project", @@ -11085,9 +11558,9 @@ checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" [[package]] name = "safe_arch" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f398075ce1e6a179b46f51bd88d0598b92b00d3551f1a2d4ac49e771b56ac354" +checksum = "c3460605018fdc9612bce72735cba0d27efbcd9904780d44c7e3a9948f96148a" dependencies = [ "bytemuck", ] @@ -11103,9 +11576,9 @@ dependencies = [ [[package]] name = "sc-allocator" -version = "26.0.0" +version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4715fddb2bd1862aa21f6312528ab339b7d03ef5ec654e3aa200a3119392392f" +checksum = "b975ee3a95eaacb611e7b415737a7fa2db4d8ad7b880cc1b97371b04e95c7903" dependencies = [ "log", "sp-core", @@ -11115,24 +11588,25 @@ dependencies = [ [[package]] name = "sc-authority-discovery" -version = "0.37.0" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f987a536468e06b66fe3cac296b27dc532f301199e0278bc42ac32b8eb3a4a9d" +checksum = "7ae99d03b5cf657754241180c4aedd14c4851a08f3fa56814106b3cc02083d2c" dependencies = [ "async-trait", "futures", "futures-timer", "ip_network", "libp2p", + "linked_hash_set", "log", - "multihash 0.18.1", - "multihash-codetable", + "multihash 0.19.1", "parity-scale-codec", "prost 0.12.6", - "prost-build", + "prost-build 0.12.6", "rand", "sc-client-api", "sc-network", + "sc-network-types", "sp-api", "sp-authority-discovery", "sp-blockchain", @@ -11145,9 +11619,9 @@ dependencies = [ [[package]] name = "sc-basic-authorship" -version = "0.37.0" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "295be922b93bd4bc77edadffe66ac85a09436284afe7f12c1efd4d01ec530d07" +checksum = "5c31a124aa02343a17cb86cc714bc2b66ce18c7f17530178767388de8a37b152" dependencies = [ "futures", "futures-timer", @@ -11168,9 +11642,9 @@ dependencies = [ [[package]] name = "sc-block-builder" -version = "0.36.0" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "033b5ee0fa6d770c9db8cd59f6d1f88e792c088238278fcb836b5c851936a62d" +checksum = "d6345fb862e10aaa7d88d6689a7c247448c40ae465253c83566dc76a17ec1426" dependencies = [ "parity-scale-codec", "sp-api", @@ -11184,11 +11658,11 @@ dependencies = [ [[package]] name = "sc-chain-spec" -version = "30.0.1" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dfb28048e5b2d168870e2205d3e41db1f387a781831a8b8b82c9f10536c2742" +checksum = "e04100ec7ff9cf1f2052b05086c77cc216ff7268b8c4fe41007de420bc1f70be" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "docify", "log", "memmap2 0.9.4", @@ -11207,32 +11681,33 @@ dependencies = [ "sp-io", "sp-runtime", "sp-state-machine", + "sp-tracing", ] [[package]] name = "sc-chain-spec-derive" -version = "11.0.0" +version = "12.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2e80fbdaea194762d4b4b0eec389037c25ad102676203b42d684774ae3019b8" +checksum = "b18cef11d2c69703e0d7c3528202ef4ed1cd2b47a6f063e9e17cad8255b1fa94" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] name = "sc-cli" -version = "0.39.0" +version = "0.44.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20c2eae4d9396b19403f89f058a6a684066b58e051b1310f246eb9b41a7b54fe" +checksum = "23a50b5a5de473b38de8a909b125b9747a30158900159e59251bb716f80d6d22" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "chrono", "clap", "fdlimit", "futures", - "itertools 0.10.5", + "itertools 0.11.0", "libp2p-identity", "log", "names", @@ -11265,9 +11740,9 @@ dependencies = [ [[package]] name = "sc-client-api" -version = "31.0.0" +version = "35.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08db275ca98f1fe44db2e2058893b182b85ef11cee7cf271edffd449a1179fc4" +checksum = "1bb517f4418644aeefd7c29bbe34bfc56ba8b5ea56e0b661a48a4d4d6afef40b" dependencies = [ "fnv", "futures", @@ -11293,9 +11768,9 @@ dependencies = [ [[package]] name = "sc-client-db" -version = "0.38.0" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bd93f124c30ec885696128a639e190293bee2a6430cc04248d656093b5d4f42" +checksum = "2e3c685871877f39df000ec446f65fc8d502a7cecfc437cdac59866349642dc3" dependencies = [ "hash-db", "kvdb", @@ -11320,18 +11795,17 @@ dependencies = [ [[package]] name = "sc-consensus" -version = "0.36.0" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4da51746e9689ecee65d6c1ac32e89a7b0452ee1ce377485e94c285e9690dcfd" +checksum = "2b2927954d83d4c055a8699cad8ae093fc921ce73694da6773bd06d195e9a8dd" dependencies = [ "async-trait", "futures", - "futures-timer", - "libp2p-identity", "log", - "mockall", + "mockall 0.11.4", "parking_lot 0.12.3", "sc-client-api", + "sc-network-types", "sc-utils", "serde", "sp-api", @@ -11346,9 +11820,9 @@ dependencies = [ [[package]] name = "sc-consensus-aura" -version = "0.37.0" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "988701c58dcd9521412cfcbb54457b17546bb4363f021ee8131af409a027b879" +checksum = "017320849a7fce8200da88ccf07785d461c4d144032788f09eb4316742649a38" dependencies = [ "async-trait", "futures", @@ -11376,9 +11850,9 @@ dependencies = [ [[package]] name = "sc-consensus-babe" -version = "0.37.0" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a65da2a2d198d0c06be3614eabc254b40ebb27516dd17bee56d24cbe08d0c19e" +checksum = "91c28b231f19a90917fde889a5077a796e2f9cb4dc6b62f861a8d859437a54cc" dependencies = [ "async-trait", "fork-tree", @@ -11413,9 +11887,9 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" -version = "0.37.0" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec114d8e12b82b298abdfbca76e7aac3af42865510dfb0f92fd3992e7edbb383" +checksum = "879efb0d8d0bd363d38ca314fbe4c44363dc1bdcab0ba1c21e78d9a68fd4398b" dependencies = [ "futures", "jsonrpsee", @@ -11436,11 +11910,11 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" -version = "16.0.0" +version = "21.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a49993da0847cf1ef84184e24e8d95f71efac2e940556678bf9e45a8fd0a47f" +checksum = "5ddcd779375dc2aa4abfb2ff8e001d0901593b58e5c70e1720472a001fe13105" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "async-channel 1.9.0", "async-trait", "fnv", @@ -11453,6 +11927,7 @@ dependencies = [ "sc-network", "sc-network-gossip", "sc-network-sync", + "sc-network-types", "sc-utils", "sp-api", "sp-application-crypto", @@ -11463,7 +11938,6 @@ dependencies = [ "sp-core", "sp-crypto-hashing", "sp-keystore", - "sp-mmr-primitives", "sp-runtime", "substrate-prometheus-endpoint", "thiserror", @@ -11473,9 +11947,9 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" -version = "16.0.0" +version = "21.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "179b561aa302c0a5a572c5484a50f85e4ccd55025fc14daddabf5fe16e8150e1" +checksum = "54e88abb3353e3ed98bcb8ab829dc84dfdf9d17f5312568bdf2361a1bde7ce0a" dependencies = [ "futures", "jsonrpsee", @@ -11485,6 +11959,7 @@ dependencies = [ "sc-consensus-beefy", "sc-rpc", "serde", + "sp-application-crypto", "sp-consensus-beefy", "sp-core", "sp-runtime", @@ -11493,9 +11968,9 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" -version = "0.36.0" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e892ae8bf5faa9042b6ec46396db1b4d9ded180a5f82afe3236fdebe0195f850" +checksum = "8c983798bfea80e629ffa4faa7c299f8522d382703cd32f7a299beaf69631586" dependencies = [ "fork-tree", "parity-scale-codec", @@ -11507,12 +11982,12 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" -version = "0.22.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e19945689693bbea950220bf7af1c79a2f70f5f37b97f7e6d136dcaf2b34f4a5" +checksum = "c7c6c62a03b54973f1a608a405908af0fe957fefaf77483cce96bd213eee7ed0" dependencies = [ - "ahash 0.8.11", - "array-bytes 6.2.3", + "ahash", + "array-bytes", "async-trait", "dyn-clone", "finality-grandpa", @@ -11531,6 +12006,7 @@ dependencies = [ "sc-network-common", "sc-network-gossip", "sc-network-sync", + "sc-network-types", "sc-telemetry", "sc-transaction-pool-api", "sc-utils", @@ -11551,9 +12027,9 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" -version = "0.22.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68cd632a2a33d82e67cfd57dda6d966a6e25df08a4698c8d6ea7010515c5aebc" +checksum = "9ef329f23bdafaeb57e131b81cc479a85b6ecb25e42435b6a6a544d048207685" dependencies = [ "finality-grandpa", "futures", @@ -11572,9 +12048,9 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" -version = "0.38.0" +version = "0.43.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0741690ea4a51823f2828a545d8df184d5e0b526ca306c467be557dfac1d074" +checksum = "f3c4bab931271a11b6ce1b90b6c98cece668bfcece232b5ebdf616809e07c174" dependencies = [ "assert_matches", "async-trait", @@ -11608,9 +12084,9 @@ dependencies = [ [[package]] name = "sc-consensus-slots" -version = "0.36.0" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80b431251c43b5af64b0f2758a387061f53fa045bdbf97d7353fe06aa9ddfb7b" +checksum = "4dca112d43c7785193362b33aa7941947bb84d65db9187abe72f1f7a969474c0" dependencies = [ "async-trait", "futures", @@ -11632,9 +12108,9 @@ dependencies = [ [[package]] name = "sc-executor" -version = "0.35.0" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b8f8ddc63df8219768b729f9098ecd4362d2756b40784071cd44c3041f1d51d" +checksum = "39f5767bf6a6bad29365d6d08fcf940ee453d31457ed034cf14f0392877daafd" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -11656,9 +12132,9 @@ dependencies = [ [[package]] name = "sc-executor-common" -version = "0.32.0" +version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00308c10173ec6446ccc2b96cd3a3037e64c94a424f94daa8c96f288794f4d34" +checksum = "0c3b703a33dcb7cddf19176fdf12294b9a6408125836b0f4afee3e6969e7f190" dependencies = [ "polkavm", "sc-allocator", @@ -11670,9 +12146,9 @@ dependencies = [ [[package]] name = "sc-executor-polkavm" -version = "0.29.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63b9c814d3a94df7a323d728a6961a3b9ec8c5c5979eb858ec098ddf2838cfc0" +checksum = "26fe58d9cacfab73e5595fa84b80f7bd03efebe54a0574daaeb221a1d1f7ab80" dependencies = [ "log", "polkavm", @@ -11682,9 +12158,9 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" -version = "0.32.0" +version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa37286464bd16146c612e3193a56df728815d23f9bf0faac7df898c0944c87f" +checksum = "8cd498f2f77ec1f861c30804f5bfd796d4afcc8ce44ea1f11bfbe2847551d161" dependencies = [ "anyhow", "cfg-if", @@ -11701,9 +12177,9 @@ dependencies = [ [[package]] name = "sc-informant" -version = "0.36.0" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e9005c37100c6ea2b06668f72ba5bc927b5a2445ed26b008ddf1875998dea41" +checksum = "74c3751acd690bc469b859d0ad899b076642db9b107e31c28cbd99749b6ecb91" dependencies = [ "ansi_term", "futures", @@ -11719,11 +12195,11 @@ dependencies = [ [[package]] name = "sc-keystore" -version = "28.0.0" +version = "32.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ef7283da5d643ef89ed094e1b23451ec70386a9474d337cdaa0ef81870bb2d4" +checksum = "267c8cfaceaeecb25484bad8668c17036016e46053a23509d44486474dbf44d3" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "parking_lot 0.12.3", "serde_json", "sp-application-crypto", @@ -11734,24 +12210,24 @@ dependencies = [ [[package]] name = "sc-mixnet" -version = "0.7.0" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "248d9be75de68e34f6490065c398b8177ff967902d93e6b88527a0e8c00903ad" +checksum = "a5a72a92dc72572a0facd73b410855d7f6edf38b32aef46c4798c74f25e595d5" dependencies = [ - "array-bytes 4.2.0", - "arrayvec 0.7.4", + "array-bytes", + "arrayvec 0.7.6", "blake2 0.10.6", "bytes", "futures", "futures-timer", - "libp2p-identity", "log", "mixnet", - "multiaddr", + "multiaddr 0.18.1", "parity-scale-codec", "parking_lot 0.12.3", "sc-client-api", "sc-network", + "sc-network-types", "sc-transaction-pool-api", "sp-api", "sp-consensus", @@ -11764,15 +12240,16 @@ dependencies = [ [[package]] name = "sc-network" -version = "0.37.0" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4067423488686ff78561ed0d32ac7e2617edd31219088b1322e85e945e62de29" +checksum = "04be75f35cea819bae84be99cde138872b17494acf0e54f5f0ae8b0ed3fbe51a" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "async-channel 1.9.0", "async-trait", "asynchronous-codec", "bytes", + "cid 0.9.0", "either", "fnv", "futures", @@ -11780,16 +12257,22 @@ dependencies = [ "ip_network", "libp2p", "linked_hash_set", + "litep2p", "log", - "mockall", + "mockall 0.11.4", + "once_cell", "parity-scale-codec", "parking_lot 0.12.3", "partial_sort", "pin-project", + "prost 0.12.6", + "prost-build 0.12.6", "rand", "sc-client-api", "sc-network-common", + "sc-network-types", "sc-utils", + "schnellru", "serde", "serde_json", "smallvec", @@ -11801,45 +12284,26 @@ dependencies = [ "thiserror", "tokio", "tokio-stream", - "unsigned-varint", + "unsigned-varint 0.7.2", + "void", "wasm-timer", "zeroize", ] -[[package]] -name = "sc-network-bitswap" -version = "0.36.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8dacf210f4e36e53dc3d3ff1cfd72e4378eb973568c261e7c62bc8daaec9f945" -dependencies = [ - "async-channel 1.9.0", - "cid", - "futures", - "libp2p-identity", - "log", - "prost 0.12.6", - "prost-build", - "sc-client-api", - "sc-network", - "sp-blockchain", - "sp-runtime", - "thiserror", - "unsigned-varint", -] - [[package]] name = "sc-network-common" -version = "0.36.0" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "551dba7ce65d136788c3154044fb425e2cb6e883d20c3cd25c0720a5b5251ed4" +checksum = "2ec0c3c5629a418fb26b56963d40c5ca3fd02dd94eb5753e9eb72cea5c2eeb2f" dependencies = [ "async-trait", "bitflags 1.3.2", "futures", "libp2p-identity", "parity-scale-codec", - "prost-build", + "prost-build 0.12.6", "sc-consensus", + "sc-network-types", "sp-consensus", "sp-consensus-grandpa", "sp-runtime", @@ -11847,18 +12311,18 @@ dependencies = [ [[package]] name = "sc-network-gossip" -version = "0.37.0" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06e36f8665cba733bd0690e864ef59cb87627120e57607b768e6e7cf30cecd20" +checksum = "0ae1836528495b6aa5140da39ed0278f5086c21ce530c37964db1b2e2c101ab1" dependencies = [ - "ahash 0.8.11", + "ahash", "futures", "futures-timer", - "libp2p", "log", "sc-network", "sc-network-common", "sc-network-sync", + "sc-network-types", "schnellru", "sp-runtime", "substrate-prometheus-endpoint", @@ -11867,20 +12331,20 @@ dependencies = [ [[package]] name = "sc-network-light" -version = "0.36.0" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4c4a77832e7d86e2b8f579339a47ebc16eec560bb4d62c42f0daad10700a512" +checksum = "f5e6deda277664336c26ea251cc1ebff7a165df0e3ad4ae23113380d9863ea40" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "async-channel 1.9.0", "futures", - "libp2p-identity", "log", "parity-scale-codec", "prost 0.12.6", - "prost-build", + "prost-build 0.12.6", "sc-client-api", "sc-network", + "sc-network-types", "sp-blockchain", "sp-core", "sp-runtime", @@ -11889,11 +12353,11 @@ dependencies = [ [[package]] name = "sc-network-sync" -version = "0.36.0" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7dfdaf49edeaa23ae0da1a9bf6ea3e308c11822cb3a853996f1203b06249411" +checksum = "ee9ab31b84534c487b9fb84e83db47890fcbd350f354b1e6484892d3d42d0020" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "async-channel 1.9.0", "async-trait", "fork-tree", @@ -11901,14 +12365,15 @@ dependencies = [ "futures-timer", "libp2p", "log", - "mockall", + "mockall 0.11.4", "parity-scale-codec", "prost 0.12.6", - "prost-build", + "prost-build 0.12.6", "sc-client-api", "sc-consensus", "sc-network", "sc-network-common", + "sc-network-types", "sc-utils", "schnellru", "smallvec", @@ -11926,38 +12391,55 @@ dependencies = [ [[package]] name = "sc-network-transactions" -version = "0.36.0" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b3824e7a1aa29ed3d2294810c8e018a6df3798eec236f3043a62945daf7d9b1" +checksum = "7c2eb55e29b0ca52ad3e209fe569b72dfe6b44cc1da7d722446d5a8333dff8e1" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "futures", - "libp2p", "log", "parity-scale-codec", "sc-network", "sc-network-common", "sc-network-sync", + "sc-network-types", "sc-utils", "sp-consensus", "sp-runtime", "substrate-prometheus-endpoint", ] +[[package]] +name = "sc-network-types" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c372dbda66644a1df0daa8c0d99c36b6f74db7dca213d2416cd84f507125224" +dependencies = [ + "bs58 0.5.1", + "ed25519-dalek", + "libp2p-identity", + "litep2p", + "log", + "multiaddr 0.18.1", + "multihash 0.19.1", + "rand", + "thiserror", + "zeroize", +] + [[package]] name = "sc-offchain" -version = "32.0.0" +version = "37.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9d03fd90a535f30badaee9763a2124b9c68dae406e29497f406bfd45cbc7eac" +checksum = "038d77ad5f923ec4183d6b31c7432fdb56d12ee69cad2cff17d4a39caf933bcb" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "bytes", "fnv", "futures", "futures-timer", - "hyper", + "hyper 0.14.30", "hyper-rustls", - "libp2p", "log", "num_cpus", "once_cell", @@ -11967,6 +12449,7 @@ dependencies = [ "sc-client-api", "sc-network", "sc-network-common", + "sc-network-types", "sc-transaction-pool-api", "sc-utils", "sp-api", @@ -11991,9 +12474,9 @@ dependencies = [ [[package]] name = "sc-rpc" -version = "32.0.0" +version = "37.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d796d75b22785b09c58478f1418b75c9787d598a0d2ab8edbd0072731ec4aaa" +checksum = "ca9cb792ddb5d0c3df89018e80290de4c769315fa59271bda0a0d29b2d182fdc" dependencies = [ "futures", "jsonrpsee", @@ -12024,9 +12507,9 @@ dependencies = [ [[package]] name = "sc-rpc-api" -version = "0.36.0" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3705feca378ef3f3f84fb337480405a611a15c8637b2449ed514ca63765e421b" +checksum = "57b8adf62a207985cf7534abf0d940b335fda0a68eb902da05b7270ee30a6293" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -12045,16 +12528,20 @@ dependencies = [ [[package]] name = "sc-rpc-server" -version = "14.0.0" +version = "16.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65f705946ae375fc47ee9a2e2df0b7e339a1fb8c8eb5c9eb6f206619d27946a7" +checksum = "3c14c236a01e03f55f16b92d89fd902cf2e4e9887357a3c36827a1e39b799c6b" dependencies = [ + "forwarded-header-value", "futures", "governor", - "http", - "hyper", + "http 1.1.0", + "http-body-util", + "hyper 1.4.1", + "ip_network", "jsonrpsee", "log", + "serde", "serde_json", "substrate-prometheus-endpoint", "tokio", @@ -12064,11 +12551,11 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" -version = "0.37.0" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66dcea3fe5f0bcbaf08d6a42e877ae8f50b9cdbc87f65f7c79fbe5003e3969dc" +checksum = "4242d30df623f68d5b937ae264cce85e734c35922e0bf196d7a59b8e7f7843c2" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "futures", "futures-util", "hex", @@ -12082,6 +12569,7 @@ dependencies = [ "sc-rpc", "sc-transaction-pool-api", "sc-utils", + "schnellru", "serde", "sp-api", "sp-blockchain", @@ -12096,9 +12584,9 @@ dependencies = [ [[package]] name = "sc-service" -version = "0.38.0" +version = "0.43.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42678fb737ea101658a8288cd3fcc0bff59ef40cd1a1c4f4d4042c3fa17bae41" +checksum = "718b7e3a3963b09c2ab18ce13dbc43c0afa8b53169b67372fbcc4c4147b77e05" dependencies = [ "async-trait", "directories", @@ -12119,11 +12607,11 @@ dependencies = [ "sc-informant", "sc-keystore", "sc-network", - "sc-network-bitswap", "sc-network-common", "sc-network-light", "sc-network-sync", "sc-network-transactions", + "sc-network-types", "sc-rpc", "sc-rpc-server", "sc-rpc-spec-v2", @@ -12161,9 +12649,9 @@ dependencies = [ [[package]] name = "sc-state-db" -version = "0.33.0" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9863fb81595a25b908d7143c1a3e162d237e67890088363df4a121fe37c49d08" +checksum = "f689d0b97c1bbdb2ca31b5f202bda195947f85c7fef990651cad202b99de896b" dependencies = [ "log", "parity-scale-codec", @@ -12173,9 +12661,9 @@ dependencies = [ [[package]] name = "sc-storage-monitor" -version = "0.19.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d54aa61816b82fbe136f3c39b40ecb27bc7302c0c9039cc426b2c6f492666ac5" +checksum = "1d117c3945c524b9c0e30966359895f5ad551c2cd4ccbb677b53917fbad5039a" dependencies = [ "clap", "fs4", @@ -12187,9 +12675,9 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" -version = "0.37.0" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fa4c5d5add3ee03e2b0aa02c827b8e3bc307be7c403eb534f95d5c81d372f78" +checksum = "58fca6421f003249095557d97b674a27bf4bbf1f301406eb04c42878a43fc715" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -12207,9 +12695,9 @@ dependencies = [ [[package]] name = "sc-sysinfo" -version = "30.0.0" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f098da1a83dc5b4e69ef66f7dfc5c0a82bc63defe8dcb0aaa1819e9b2bd6d744" +checksum = "7c00ab3d8f51c1905cc3c53cf441b9d94403c67f27968002ff7765248b0f3e6b" dependencies = [ "derive_more", "futures", @@ -12229,9 +12717,9 @@ dependencies = [ [[package]] name = "sc-telemetry" -version = "17.0.0" +version = "22.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c6807ebd9f43ab628931842d3aaa9404ddfd07013e9c7027ca603f496939577" +checksum = "b1fc8e8ad7f84f2ca864ee361b6207fe21e18c8182c60f209732b2a7c0dcbd31" dependencies = [ "chrono", "futures", @@ -12240,6 +12728,7 @@ dependencies = [ "parking_lot 0.12.3", "pin-project", "rand", + "sc-network", "sc-utils", "serde", "serde_json", @@ -12249,9 +12738,9 @@ dependencies = [ [[package]] name = "sc-tracing" -version = "31.0.0" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83e8f5e8eb36f887dba06e1392717e27e4edf12d23d5220dba8ee851de8b174e" +checksum = "61151f2d6b7ce3d7174484414dbc4e2f64b05a144c8f0a59ea02284e6c748a19" dependencies = [ "ansi_term", "chrono", @@ -12274,8 +12763,8 @@ dependencies = [ "sp-tracing", "thiserror", "tracing", - "tracing-log", - "tracing-subscriber", + "tracing-log 0.2.0", + "tracing-subscriber 0.3.18", ] [[package]] @@ -12284,17 +12773,17 @@ version = "11.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "151cdf86d79abf22cf2a240a7ca95041c908dbd96c2ae9a818073042aa210964" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] name = "sc-transaction-pool" -version = "31.0.0" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d56300f466670067cca98a931b0b6cbc8b018c0d296eb915c1473bac45b7cd73" +checksum = "800e35d0d2f2b8e17170ec961d58756fe7891026b19d889be388b9585cb12f90" dependencies = [ "async-trait", "futures", @@ -12320,9 +12809,9 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" -version = "31.0.0" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3609025d39a1b75f1ee4f490dc52e000de144948a73cacd788f5995df5ebe8bf" +checksum = "b3de6f60df6706970061e225e87d77aab9a764b258fe151b896a700419bc6b9d" dependencies = [ "async-trait", "futures", @@ -12337,9 +12826,9 @@ dependencies = [ [[package]] name = "sc-utils" -version = "16.0.0" +version = "17.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1863d482be044f4768ef5de6119dc70b5e31e6e9f71ad225c177474d6540e424" +checksum = "acf1bad736c230f16beb1cf48af9e69564df23b13aca9e5751a61266340b4bb5" dependencies = [ "async-channel 1.9.0", "futures", @@ -12351,6 +12840,29 @@ dependencies = [ "sp-arithmetic", ] +[[package]] +name = "scale-bits" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e57b1e7f6b65ed1f04e79a85a57d755ad56d76fdf1e9bddcc9ae14f71fcdcf54" +dependencies = [ + "parity-scale-codec", + "scale-type-resolver", +] + +[[package]] +name = "scale-decode" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e98f3262c250d90e700bb802eb704e1f841e03331c2eb815e46516c4edbf5b27" +dependencies = [ + "derive_more", + "parity-scale-codec", + "scale-bits", + "scale-type-resolver", + "smallvec", +] + [[package]] name = "scale-info" version = "2.11.3" @@ -12371,19 +12883,25 @@ version = "2.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2d35494501194174bda522a32605929eefc9ecf7e0a326c26db1fdd85881eb62" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", "syn 1.0.109", ] +[[package]] +name = "scale-type-resolver" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0cded6518aa0bd6c1be2b88ac81bf7044992f0f154bfbabd5ad34f43512abcb" + [[package]] name = "schannel" -version = "0.1.23" +version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534" +checksum = "e9aaafd5a2b6e3d657ff009d82fbd630b6bd54dd4eb06f21693925cdf80f9b8b" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -12392,7 +12910,7 @@ version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c9a8ef13a93c54d20580de1e5c413e624e53121d42fc7e2c11d10ef7f8b02367" dependencies = [ - "ahash 0.8.11", + "ahash", "cfg-if", "hashbrown 0.13.2", ] @@ -12404,10 +12922,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "844b7645371e6ecdf61ff246ba1958c29e802881a749ae3fb1993675d210d28d" dependencies = [ "arrayref", - "arrayvec 0.7.4", + "arrayvec 0.7.6", "curve25519-dalek-ng", "merlin", - "rand_core 0.6.4", + "rand_core", "sha2 0.9.9", "subtle-ng", "zeroize", @@ -12421,14 +12939,14 @@ checksum = "8de18f6d8ba0aad7045f5feae07ec29899c1112584a38509a84ad7b04451eaa0" dependencies = [ "aead", "arrayref", - "arrayvec 0.7.4", - "curve25519-dalek 4.1.2", + "arrayvec 0.7.6", + "curve25519-dalek", "getrandom_or_panic", "merlin", - "rand_core 0.6.4", + "rand_core", "serde_bytes", "sha2 0.10.8", - "subtle 2.5.0", + "subtle 2.6.1", "zeroize", ] @@ -12454,6 +12972,21 @@ dependencies = [ "untrusted 0.9.0", ] +[[package]] +name = "sctp-proto" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6220f78bb44c15f326b0596113305f6101097a18755d53727a575c97e09fb24" +dependencies = [ + "bytes", + "crc", + "fxhash", + "log", + "rand", + "slab", + "thiserror", +] + [[package]] name = "sec1" version = "0.7.3" @@ -12465,7 +12998,7 @@ dependencies = [ "generic-array 0.14.7", "pkcs8", "serdect", - "subtle 2.5.0", + "subtle 2.6.1", "zeroize", ] @@ -12507,22 +13040,23 @@ dependencies = [ [[package]] name = "security-framework" -version = "2.11.0" +version = "2.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c627723fd09706bacdb5cf41499e95098555af3c3c29d014dc3c458ef6be11c0" +checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "core-foundation", "core-foundation-sys", "libc", + "num-bigint", "security-framework-sys", ] [[package]] name = "security-framework-sys" -version = "2.11.0" +version = "2.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "317936bbbd05227752583946b9e66d7ce3b489f84e11a94a510b4437fef407d7" +checksum = "75da29fe9b9b08fe9d6b22b5b4bcbc75d8db3aa31e639aa56bb62e9d46bfceaf" dependencies = [ "core-foundation-sys", "libc", @@ -12552,33 +13086,39 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" +[[package]] +name = "send_wrapper" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73" + [[package]] name = "serde" -version = "1.0.203" +version = "1.0.210" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7253ab4de971e72fb7be983802300c30b5a7f0c2e56fab8abfc6a214307c0094" +checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a" dependencies = [ "serde_derive", ] [[package]] name = "serde_bytes" -version = "0.11.14" +version = "0.11.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b8497c313fd43ab992087548117643f6fcd935cbf36f176ffda0aacf9591734" +checksum = "387cc504cb06bb40a96c8e04e951fe01854cf6bc921053c954e4a606d9675c6a" dependencies = [ "serde", ] [[package]] name = "serde_derive" -version = "1.0.203" +version = "1.0.210" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "500cbc0ebeb6f46627f50f3f5811ccf6bf00643be300b4c3eabc0ef55dc5b5ba" +checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] @@ -12594,9 +13134,9 @@ dependencies = [ [[package]] name = "serde_spanned" -version = "0.6.6" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79e674e01f999af37c49f70a6ede167a8a60b2503e56c5599532a65baa5969a0" +checksum = "eb5b1b31579f3811bf615c144393417496f152e12ac8b7663bf664f4a815306d" dependencies = [ "serde", ] @@ -12624,6 +13164,18 @@ dependencies = [ "opaque-debug 0.3.1", ] +[[package]] +name = "sha-1" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest 0.10.7", + "sha1-asm", +] + [[package]] name = "sha1" version = "0.10.6" @@ -12635,6 +13187,15 @@ dependencies = [ "digest 0.10.7", ] +[[package]] +name = "sha1-asm" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "286acebaf8b67c1130aedffad26f594eff0c1292389158135327d2e23aed582b" +dependencies = [ + "cc", +] + [[package]] name = "sha2" version = "0.9.9" @@ -12719,7 +13280,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" dependencies = [ "digest 0.10.7", - "rand_core 0.6.4", + "rand_core", ] [[package]] @@ -12735,6 +13296,15 @@ dependencies = [ "wide", ] +[[package]] +name = "simple-dns" +version = "0.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cae9a3fcdadafb6d97f4c0e007e4247b114ee0f119f650c3cbf3a8b3a1479694" +dependencies = [ + "bitflags 2.6.0", +] + [[package]] name = "simple-mermaid" version = "0.1.1" @@ -12764,9 +13334,9 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" -version = "10.0.0" +version = "14.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ada4c82b85daa6134837918889b341716e4918c608b3cc5345ae67ea85a187c6" +checksum = "a4d67aa9b1ccfd746c8529754c4ce06445b1d48e189567402ef856340a3a6b14" dependencies = [ "enumn", "parity-scale-codec", @@ -12813,7 +13383,7 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0bb30cf57b7b5f6109ce17c3164445e2d6f270af2cb48f6e4d31c2967c9a9f5" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "async-lock 2.8.0", "atomic-take", "base64 0.21.7", @@ -12823,7 +13393,7 @@ dependencies = [ "chacha20", "crossbeam-queue", "derive_more", - "ed25519-zebra 4.0.3", + "ed25519-zebra", "either", "event-listener 2.5.3", "fnv", @@ -12844,7 +13414,7 @@ dependencies = [ "pin-project", "poly1305", "rand", - "rand_chacha 0.3.1", + "rand_chacha", "ruzstd", "schnorrkel 0.10.2", "serde", @@ -12854,10 +13424,10 @@ dependencies = [ "siphasher", "slab", "smallvec", - "soketto", + "soketto 0.7.1", "twox-hash", "wasmi", - "x25519-dalek 2.0.1", + "x25519-dalek", "zeroize", ] @@ -12887,7 +13457,7 @@ dependencies = [ "parking_lot 0.12.3", "pin-project", "rand", - "rand_chacha 0.3.1", + "rand_chacha", "serde", "serde_json", "siphasher", @@ -12912,12 +13482,12 @@ dependencies = [ "aes-gcm", "blake2 0.10.6", "chacha20poly1305", - "curve25519-dalek 4.1.2", - "rand_core 0.6.4", + "curve25519-dalek", + "rand_core", "ring 0.17.8", "rustc_version", "sha2 0.10.8", - "subtle 2.5.0", + "subtle 2.6.1", ] [[package]] @@ -12948,20 +13518,34 @@ checksum = "41d1c5305e39e09653383c2c7244f2f78b3bcae37cf50c64cb4789c9f5096ec2" dependencies = [ "base64 0.13.1", "bytes", - "flate2", "futures", - "http", "httparse", "log", "rand", - "sha-1", + "sha-1 0.9.8", +] + +[[package]] +name = "soketto" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37468c595637c10857701c990f93a40ce0e357cedb0953d1c26c8d8027f9bb53" +dependencies = [ + "base64 0.22.1", + "bytes", + "futures", + "http 1.1.0", + "httparse", + "log", + "rand", + "sha1", ] [[package]] name = "sp-api" -version = "29.0.0" +version = "33.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb3fb2cdf7ee9b8d6ec7c2d8740b1a506e393dc18c7c2776764b47136d72dce7" +checksum = "b7e43fbf034e9dbaa8ffc6a238a22808777eb38c580f66fc6736d8511631789e" dependencies = [ "hash-db", "log", @@ -12982,24 +13566,24 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" -version = "17.0.1" +version = "20.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63a5680d94c55e1c7dc54e9e09b4827314fab44f9300f0be170898dc402318de" +checksum = "c9aadf9e97e694f0e343978aa632938c5de309cbcc8afed4136cb71596737278" dependencies = [ "Inflector", "blake2 0.10.6", - "expander 2.1.0", - "proc-macro-crate 3.1.0", + "expander", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] name = "sp-application-crypto" -version = "33.0.0" +version = "37.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13ca6121c22c8bd3d1dce1f05c479101fd0d7b159bef2a3e8c834138d839c75c" +checksum = "0d96d1fc0f1c741bbcbd0dd5470eff7b66f011708cc1942b088ebf0d4efb3d93" dependencies = [ "parity-scale-codec", "scale-info", @@ -13011,10 +13595,11 @@ dependencies = [ [[package]] name = "sp-arithmetic" -version = "25.0.0" +version = "26.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "910c07fa263b20bf7271fdd4adcb5d3217dfdac14270592e0780223542e7e114" +checksum = "46d0d0a4c591c421d3231ddd5e27d828618c24456d51445d21a1f79fcee97c23" dependencies = [ + "docify", "integer-sqrt", "num-traits", "parity-scale-codec", @@ -13026,35 +13611,33 @@ dependencies = [ [[package]] name = "sp-authority-discovery" -version = "29.0.0" +version = "33.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ab47c385784b3f9646a21d5dcb236399083d77420a1269e70c04772336c519f" +checksum = "6a4a1e45abc3277f18484ee0b0f9808e4206eb696ad38500c892c72f33480d69" dependencies = [ "parity-scale-codec", "scale-info", "sp-api", "sp-application-crypto", "sp-runtime", - "sp-std", ] [[package]] name = "sp-block-builder" -version = "29.0.0" +version = "33.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97e155e388d7e41c39a27f40f50c2517facdbf20dde4a73f40ec8f1f30ce190e" +checksum = "2cf199dc4f9f77abd3fd91c409759118159ce6ffcd8bc90b229b684ccc8c981f" dependencies = [ "sp-api", "sp-inherents", "sp-runtime", - "sp-std", ] [[package]] name = "sp-blockchain" -version = "31.0.0" +version = "35.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d00084ddd62a3bad1fc4c04cdb1cdbcbb55d813dbd4e42d52e42e8b6599fb210" +checksum = "f27eb18b6ddf7d663f4886f7edba3eb73bd102d68cf10802c1f862e3b3db32ab" dependencies = [ "futures", "log", @@ -13071,9 +13654,9 @@ dependencies = [ [[package]] name = "sp-consensus" -version = "0.35.0" +version = "0.39.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed6f1ae58a74d619bd2c1d7939b4aa805f4226c7454ec3591c8a59fb0cc6477f" +checksum = "ab094e8a7e9e5c7f05f8d90592aa1d1cf9b3f547d0dd401daff7ed98af942e12" dependencies = [ "async-trait", "futures", @@ -13087,9 +13670,9 @@ dependencies = [ [[package]] name = "sp-consensus-aura" -version = "0.35.0" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "334d0088b7de70a94d58e7e93acd8d5101b35fadca7e19fa26788203b22e309b" +checksum = "05ebb90bf00f331b898eb729a1f707251846c1d5582d7467f083884799a69b89" dependencies = [ "async-trait", "parity-scale-codec", @@ -13099,15 +13682,14 @@ dependencies = [ "sp-consensus-slots", "sp-inherents", "sp-runtime", - "sp-std", "sp-timestamp", ] [[package]] name = "sp-consensus-babe" -version = "0.35.0" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb593ec8ec674a583d6fc5386b7f8964a9db78dcaabc0595559145a4053c9f6c" +checksum = "3aa2de4c7100a3279658d8dd4affd8f92487528deae5cb4b40322717b9175ed5" dependencies = [ "async-trait", "parity-scale-codec", @@ -13119,15 +13701,14 @@ dependencies = [ "sp-core", "sp-inherents", "sp-runtime", - "sp-std", "sp-timestamp", ] [[package]] name = "sp-consensus-beefy" -version = "16.0.0" +version = "20.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e2b03bc552702dd20fd3dad01631b13ca3e62e814ad278fe3012f5e3bb3e100" +checksum = "b277bc109da8e1c3768d3a046e1cd1ab687aabac821c976c5f510deb6f0bc8d3" dependencies = [ "lazy_static", "parity-scale-codec", @@ -13141,15 +13722,14 @@ dependencies = [ "sp-keystore", "sp-mmr-primitives", "sp-runtime", - "sp-std", - "strum 0.24.1", + "strum 0.26.3", ] [[package]] name = "sp-consensus-grandpa" -version = "16.0.0" +version = "20.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71df706a104a752101b52f12cca7f5b7ffe1ca6ce9b4b1eb8c5d04356f248fa5" +checksum = "21dd06bf366c60f69411668b26d6ab3c55120aa6d423e6af0373ec23d8957300" dependencies = [ "finality-grandpa", "log", @@ -13161,40 +13741,38 @@ dependencies = [ "sp-core", "sp-keystore", "sp-runtime", - "sp-std", ] [[package]] name = "sp-consensus-slots" -version = "0.35.0" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0a5c47c52ad58aa349f7c13cb356ab45c32964ee28354c27fd6e4b417cb2644" +checksum = "c8ca60d713f8ddb03bbebcc755d5e6463fdc0b6259fabfc4221b20a5f1e428fd" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std", "sp-timestamp", ] [[package]] name = "sp-core" -version = "31.0.0" +version = "34.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26d7a0fd8f16dcc3761198fc83be12872f823b37b749bc72a3a6a1f702509366" +checksum = "c961a5e33fb2962fa775c044ceba43df9c6f917e2c35d63bfe23738468fa76a7" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "bitflags 1.3.2", "blake2 0.10.6", "bounded-collections", "bs58 0.5.1", "dyn-clonable", - "ed25519-zebra 3.1.0", + "ed25519-zebra", "futures", "hash-db", "hash256-std-hasher", "impl-serde", - "itertools 0.10.5", + "itertools 0.11.0", "k256", "libsecp256k1", "log", @@ -13246,7 +13824,7 @@ checksum = "b85d0f1f1e44bd8617eb2a48203ee854981229e3e79e6f468c7175d5fd37489b" dependencies = [ "quote", "sp-crypto-hashing", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] @@ -13267,60 +13845,59 @@ checksum = "48d09fa0a5f7299fb81ee25ae3853d26200f7a348148aed6de76be905c007dbe" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] name = "sp-externalities" -version = "0.27.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d6a4572eadd4a63cff92509a210bf425501a0c5e76574b30a366ac77653787" +checksum = "a904407d61cb94228c71b55a9d3708e9d6558991f9e83bd42bd91df37a159d30" dependencies = [ "environmental", "parity-scale-codec", - "sp-std", "sp-storage", ] [[package]] name = "sp-genesis-builder" -version = "0.10.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16a1192b502d38c6d17b1005a7b3e7a6ab835df996803968ae3be9e8f7399ee4" +checksum = "fcd065854d96fd81521c103d0aaa287d4f08b9b15c9fae2a3bfb208b0812bf44" dependencies = [ + "parity-scale-codec", + "scale-info", "serde_json", "sp-api", "sp-runtime", - "sp-std", ] [[package]] name = "sp-inherents" -version = "29.0.0" +version = "33.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b5e46ccc5848542648dcf05f882e41de2e341d0eeca97ff2b7dfad0f38e8500" +checksum = "53407ba38ec22ca4a16381722c4bd0b559a0428bc1713079b0d5163ada63186a" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std", "thiserror", ] [[package]] name = "sp-io" -version = "33.0.0" +version = "37.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e09bba780b55bd9e67979cd8f654a31e4a6cf45426ff371394a65953d2177f2" +checksum = "5036cad2e48d41f5caf6785226c8be1a7db15bec14a9fd7aa6cca84f34cf689f" dependencies = [ "bytes", "ed25519-dalek", "libsecp256k1", "log", "parity-scale-codec", - "polkavm-derive 0.9.1", + "polkavm-derive", "rustversion", "secp256k1", "sp-core", @@ -13338,20 +13915,20 @@ dependencies = [ [[package]] name = "sp-keyring" -version = "34.0.0" +version = "38.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a07a31da596d705b3a3458d784a897af7fd2f8090de436dc386a112e8ea7f34f" +checksum = "b03536e1ff3ec2bd8181eeaa26c0d682ebdcbd01548a055cf591077188b8c3f0" dependencies = [ "sp-core", "sp-runtime", - "strum 0.24.1", + "strum 0.26.3", ] [[package]] name = "sp-keystore" -version = "0.37.0" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdbab8b61bd61d5f8625a0c75753b5d5a23be55d3445419acd42caf59cf6236b" +checksum = "0248b4d784cb4a01472276928977121fa39d977a5bb24793b6b15e64b046df42" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -13371,53 +13948,50 @@ dependencies = [ [[package]] name = "sp-metadata-ir" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa0b5e87e56c1bb26d9524d48dd127121d630f895bd5914a34f0b017489f7c1d" +checksum = "a616fa51350b35326682a472ee8e6ba742fdacb18babac38ecd46b3e05ead869" dependencies = [ "frame-metadata", "parity-scale-codec", "scale-info", - "sp-std", ] [[package]] name = "sp-mixnet" -version = "0.7.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22d9da31673ad5771faf8cd0e62ab0c183ea71a630d187b926bc52af379cb1de" +checksum = "2f65a570519da820ce3dc35053497a65f9fbd3f5a7dc81fa03078ca263e9311e" dependencies = [ "parity-scale-codec", "scale-info", "sp-api", "sp-application-crypto", - "sp-std", ] [[package]] name = "sp-mmr-primitives" -version = "29.0.0" +version = "33.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "518fcd8710618d104e04c9e63e697d3406180afbe55cc5400168019647fc5880" +checksum = "47412a2d2e988430d5f59d7fec1473f229e1ef5ce24c1ea4f601b4b3679cac52" dependencies = [ - "ckb-merkle-mountain-range", "log", "parity-scale-codec", + "polkadot-ckb-merkle-mountain-range", "scale-info", "serde", "sp-api", "sp-core", "sp-debug-derive", "sp-runtime", - "sp-std", "thiserror", ] [[package]] name = "sp-npos-elections" -version = "29.0.0" +version = "33.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e03ec553bc1a0f4d3aa902d3c5b3cdbe76f8218c642cbca0305722b3f8bbc826" +checksum = "0b0c51a7b60cd663f2661e6949069eb316b092f22c239691d5272a4d0cfca0fb" dependencies = [ "parity-scale-codec", "scale-info", @@ -13425,14 +13999,13 @@ dependencies = [ "sp-arithmetic", "sp-core", "sp-runtime", - "sp-std", ] [[package]] name = "sp-offchain" -version = "29.0.0" +version = "33.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c041d932d7debf1d2e073ecece1425aadae7482689cd4bf148d5886b28bd10d7" +checksum = "cbe721c367760bddf10fcfa24fb48edd64c442f71db971f043c8ac73f51aa6e9" dependencies = [ "sp-api", "sp-core", @@ -13452,9 +14025,9 @@ dependencies = [ [[package]] name = "sp-rpc" -version = "29.0.0" +version = "32.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b26650747f5c204afd8c637df5e882ea912a890cf974fe67c36b430318fc451c" +checksum = "45458f0955870a92b3969098d4f1f4e9b55b4282d9f1dc112a51bb5bb6584900" dependencies = [ "rustc-hash", "serde", @@ -13463,15 +14036,16 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "34.0.0" +version = "38.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec3cb126971e7db2f0fcf8053dce740684c438c7180cfca1959598230f342c58" +checksum = "5273900f0b0bef48b2e1ff9c4fb5e188b8168ee5891418a427f4be2af92ee40f" dependencies = [ "docify", "either", "hash256-std-hasher", "impl-trait-for-tuples", "log", + "num-traits", "parity-scale-codec", "paste", "rand", @@ -13484,18 +14058,19 @@ dependencies = [ "sp-io", "sp-std", "sp-weights", + "tracing", ] [[package]] name = "sp-runtime-interface" -version = "26.0.0" +version = "28.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e48a675ea4858333d4d755899ed5ed780174aa34fec15953428d516af5452295" +checksum = "985eb981f40c689c6a0012c937b68ed58dabb4341d06f2dfe4dfd5ed72fa4017" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", - "polkavm-derive 0.8.0", + "polkavm-derive", "primitive-types", "sp-externalities", "sp-runtime-interface-proc-macro", @@ -13513,18 +14088,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0195f32c628fee3ce1dfbbf2e7e52a30ea85f3589da9fe62a8b816d70fc06294" dependencies = [ "Inflector", - "expander 2.1.0", - "proc-macro-crate 3.1.0", + "expander", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] name = "sp-session" -version = "30.0.0" +version = "34.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a61ea4ca90f644da2c25edee711b53b1c0b8d50628ceef372224ea24d252b57" +checksum = "4daf2e40ffc7e7e8de08efb860eb9534faf614a49c53dc282f430faedb4aed13" dependencies = [ "parity-scale-codec", "scale-info", @@ -13533,14 +14108,13 @@ dependencies = [ "sp-keystore", "sp-runtime", "sp-staking", - "sp-std", ] [[package]] name = "sp-staking" -version = "29.0.0" +version = "33.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4114cde17987eaa2f17b8850a8c856b90364666cdbc920d511e7a1cde0574d24" +checksum = "0a0b7abfe66c07a3b6eb99e1286dfa9b6f3b057b0e986e7da2ccbf707f6c781a" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -13548,14 +14122,13 @@ dependencies = [ "serde", "sp-core", "sp-runtime", - "sp-std", ] [[package]] name = "sp-state-machine" -version = "0.38.0" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1eae0eac8034ba14437e772366336f579398a46d101de13dbb781ab1e35e67c5" +checksum = "211e528aa6e902261a343f7b40840aa3d66fe4ad3aadbd04a035f10baf96dbc5" dependencies = [ "hash-db", "log", @@ -13566,21 +14139,20 @@ dependencies = [ "sp-core", "sp-externalities", "sp-panic-handler", - "sp-std", "sp-trie", "thiserror", "tracing", - "trie-db 0.28.0", + "trie-db 0.29.1", ] [[package]] name = "sp-statement-store" -version = "13.0.0" +version = "17.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b90e8440d72e0ae5d273374af3ebe16768d05b40dff1f487835dd2f826ee9568" +checksum = "b03aa86b1b46549889d32348bc85a8135c725665115567507231a6d85712aaac" dependencies = [ "aes-gcm", - "curve25519-dalek 4.1.2", + "curve25519-dalek", "ed25519-dalek", "hkdf", "parity-scale-codec", @@ -13594,9 +14166,8 @@ dependencies = [ "sp-externalities", "sp-runtime", "sp-runtime-interface", - "sp-std", "thiserror", - "x25519-dalek 2.0.1", + "x25519-dalek", ] [[package]] @@ -13607,50 +14178,47 @@ checksum = "12f8ee986414b0a9ad741776762f4083cd3a5128449b982a3919c4df36874834" [[package]] name = "sp-storage" -version = "20.0.0" +version = "21.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8dba5791cb3978e95daf99dad919ecb3ec35565604e88cd38d805d9d4981e8bd" +checksum = "99c82989b3a4979a7e1ad848aad9f5d0b4388f1f454cc131766526601ab9e8f8" dependencies = [ "impl-serde", "parity-scale-codec", "ref-cast", "serde", "sp-debug-derive", - "sp-std", ] [[package]] name = "sp-timestamp" -version = "29.0.0" +version = "33.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64d51fcd008fd5a79d61dba98c7ae89c2460a49dff07001bf1e9b12535d49536" +checksum = "78becf144a76f6fd108dfe94a90e20a185b38c0b310dc5482328196143c8266b" dependencies = [ "async-trait", "parity-scale-codec", "sp-inherents", "sp-runtime", - "sp-std", "thiserror", ] [[package]] name = "sp-tracing" -version = "16.0.0" +version = "17.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0351810b9d074df71c4514c5228ed05c250607cba131c1c9d1526760ab69c05c" +checksum = "90b3decf116db9f1dfaf1f1597096b043d0e12c952d3bcdc018c6d6b77deec7e" dependencies = [ "parity-scale-codec", - "sp-std", "tracing", "tracing-core", - "tracing-subscriber", + "tracing-subscriber 0.2.25", ] [[package]] name = "sp-transaction-pool" -version = "29.0.0" +version = "33.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0484eaf40c2abda75bda9688298cc8f6e02161176e3aab501207c8ccf4d4b3e1" +checksum = "a3c9d1604aadc15b70e95f4388d0b1aa380215520b7ddfd372531a6d8262269c" dependencies = [ "sp-api", "sp-runtime", @@ -13658,9 +14226,9 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" -version = "29.0.0" +version = "33.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba0c99e0852ddd18159c2dc6100c2b5852e49211d8afe373cbce33d1da0050dd" +checksum = "5b5a891cb913015bb99401e372255193cc3848c6fe5c2f6fe2383ef9588cb190" dependencies = [ "async-trait", "parity-scale-codec", @@ -13668,17 +14236,16 @@ dependencies = [ "sp-core", "sp-inherents", "sp-runtime", - "sp-std", "sp-trie", ] [[package]] name = "sp-trie" -version = "32.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1aa91ad26c62b93d73e65f9ce7ebd04459c4bad086599348846a81988d6faa4" +checksum = "841d717c0f465f5371569e6fdc25b6f32d47c15d6e4c92b3b779e1c9b18b951d" dependencies = [ - "ahash 0.8.11", + "ahash", "hash-db", "lazy_static", "memory-db", @@ -13690,18 +14257,17 @@ dependencies = [ "schnellru", "sp-core", "sp-externalities", - "sp-std", "thiserror", "tracing", - "trie-db 0.28.0", + "trie-db 0.29.1", "trie-root", ] [[package]] name = "sp-version" -version = "32.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c0219b1aeb89e36d13bd43a718920a9087dbb66c567e672c4639cefb2fefc05" +checksum = "bccf96fefae339dee7c4453f91be64eb28cce4c2fe82130445cf096b18b2c081" dependencies = [ "impl-serde", "parity-scale-codec", @@ -13717,35 +14283,34 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" -version = "13.0.0" +version = "14.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9bc3fed32d6dacbbbfb28dd1fe0224affbb737cb6cbfca1d9149351c2b69a7d" +checksum = "5aee8f6730641a65fcf0c8f9b1e448af4b3bb083d08058b47528188bccc7b7a7" dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] name = "sp-wasm-interface" -version = "20.0.0" +version = "21.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ef97172c42eb4c6c26506f325f48463e9bc29b2034a587f1b9e48c751229bee" +checksum = "3b04b919e150b4736d85089d49327eab65507deb1485eec929af69daa2278eb3" dependencies = [ "anyhow", "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std", "wasmtime", ] [[package]] name = "sp-weights" -version = "30.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9af6c661fe3066b29f9e1d258000f402ff5cc2529a9191972d214e5871d0ba87" +checksum = "93cdaf72a1dad537bbb130ba4d47307ebe5170405280ed1aa31fa712718a400e" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -13754,7 +14319,6 @@ dependencies = [ "smallvec", "sp-arithmetic", "sp-debug-derive", - "sp-std", ] [[package]] @@ -13765,7 +14329,7 @@ checksum = "c87e960f4dca2788eeb86bbdde8dd246be8948790b7618d656e68f9b720a86e8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] @@ -13780,17 +14344,6 @@ version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" -[[package]] -name = "spinners" -version = "4.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0ef947f358b9c238923f764c72a4a9d42f2d637c46e059dbd319d6e7cfb4f82" -dependencies = [ - "lazy_static", - "maplit", - "strum 0.24.1", -] - [[package]] name = "spinning_top" version = "0.3.0" @@ -13812,9 +14365,9 @@ dependencies = [ [[package]] name = "ss58-registry" -version = "1.47.0" +version = "1.50.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4743ce898933fbff7bbf414f497c459a782d496269644b3d650a398ae6a487ba" +checksum = "43fce22ed1df64d04b262351c8f9d5c6da4f76f79f25ad15529792f893fad25d" dependencies = [ "Inflector", "num-format", @@ -13833,9 +14386,9 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-parachain-info" -version = "0.10.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4df1c48ca2892cb0694c7e10fbcfc8d15fe0fd0b763d61fbc587a870fbb97147" +checksum = "cd00d586b0dac4f42736bdd0ad52213a891b240e011ea82b38938263dd821c25" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -13848,11 +14401,11 @@ dependencies = [ [[package]] name = "staging-xcm" -version = "10.0.0" +version = "14.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6ee775f7fc9dfae15d9d5a806efa7d3215f7b7b1cfd225809285a0281addeab" +checksum = "f2b7b5f531c6bf9629514ef8e5fda0e9e80dd84516957f710940d0e01d3fb36c" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "bounded-collections", "derivative", "environmental", @@ -13867,9 +14420,9 @@ dependencies = [ [[package]] name = "staging-xcm-builder" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41c905c7e545eb80efdbf62470575a37935260503494453ffa3c1ac6207d06c9" +checksum = "847fa2afe1bed2751eaabf7b91fa4043037947f17653d7cc59ea202cc44c6bb8" dependencies = [ "frame-support", "frame-system", @@ -13890,9 +14443,9 @@ dependencies = [ [[package]] name = "staging-xcm-executor" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e30434a78d4392b698bc7854c00f52d83c1c544da4be1912f898958c3e32f062" +checksum = "26b98d8219449eaf02e71a7edf1a14b14d4c713dd01d9df66fde1ce30dba4d6d" dependencies = [ "environmental", "frame-benchmarking", @@ -13945,16 +14498,23 @@ dependencies = [ ] [[package]] -name = "strobe-rs" -version = "0.8.1" +name = "str0m" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fabb238a1cccccfa4c4fb703670c0d157e1256c1ba695abf1b93bd2bb14bab2d" +checksum = "6706347e49b13373f7ddfafad47df7583ed52083d6fc8a594eb2c80497ef959d" dependencies = [ - "bitflags 1.3.2", - "byteorder", - "keccak", - "subtle 2.5.0", - "zeroize", + "combine", + "crc", + "fastrand 2.1.1", + "hmac 0.12.1", + "once_cell", + "openssl", + "openssl-sys", + "sctp-proto", + "serde", + "sha-1 0.10.1", + "thiserror", + "tracing", ] [[package]] @@ -13976,15 +14536,15 @@ name = "strum" version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f" -dependencies = [ - "strum_macros 0.24.3", -] [[package]] name = "strum" -version = "0.26.2" +version = "0.26.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d8cec3501a5194c432b2b7976db6b7d10ec95c253208b45f83f7136aa985e29" +checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" +dependencies = [ + "strum_macros 0.26.4", +] [[package]] name = "strum_macros" @@ -14001,22 +14561,22 @@ dependencies = [ [[package]] name = "strum_macros" -version = "0.26.2" +version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6cf59daf282c0a494ba14fd21610a0325f9f90ec9d1231dea26bcb1d696c946" +checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" dependencies = [ - "heck 0.4.1", + "heck 0.5.0", "proc-macro2", "quote", "rustversion", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] name = "substrate-bip39" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2b564c293e6194e8b222e52436bcb99f60de72043c7f845cf6c4406db4df121" +checksum = "ca58ffd742f693dc13d69bdbb2e642ae239e0053f6aab3b104252892f856700a" dependencies = [ "hmac 0.12.1", "pbkdf2", @@ -14033,10 +14593,11 @@ checksum = "b285e7d183a32732fdc119f3d81b7915790191fad602b7c709ef247073c77a2e" [[package]] name = "substrate-frame-rpc-system" -version = "31.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c0da351445855b0d5bff2721c64508dc790d5cc0804d1d395074c8dafeb2170" +checksum = "02b8837de37f5ea6316846a63dc48489b63ebde05df73ba7d7077b3135487560" dependencies = [ + "docify", "frame-system-rpc-runtime-api", "futures", "jsonrpsee", @@ -14057,32 +14618,18 @@ version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0d8fe06b03b8a291c09507c42f92a2c2c10dd3d62975d02c7f64a92d87bfe09b" dependencies = [ - "hyper", + "hyper 0.14.30", "log", "prometheus", "thiserror", "tokio", ] -[[package]] -name = "substrate-rpc-client" -version = "0.36.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e71c3305c6159e3f4cfc158f88ceefb94dd86b2c92c6120ad51a9d9c31c0dce6" -dependencies = [ - "async-trait", - "jsonrpsee", - "log", - "sc-rpc-api", - "serde", - "sp-runtime", -] - [[package]] name = "substrate-state-trie-migration-rpc" -version = "30.0.0" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff3afa7be8eca9226448012fa58eeaaab9c42be60214471d304658ac4856052b" +checksum = "df246ac77a641b23068e8c49cff4dfbaefc78405f80c9589a10909e02d525141" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -14093,25 +14640,34 @@ dependencies = [ "sp-runtime", "sp-state-machine", "sp-trie", - "trie-db 0.28.0", + "trie-db 0.29.1", ] [[package]] name = "substrate-wasm-builder" -version = "20.0.0" +version = "23.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f55ed4ff2945faa132b9658cb581a3a5cf14dd90b5e217b3e16724eb202ed6c6" +checksum = "7dc993ad871b63fbba60362f3ea86583f5e7e1256e8fdcb3b5b249c9ead354bf" dependencies = [ + "array-bytes", "build-helper", "cargo_metadata", "console", "filetime", + "frame-metadata", + "merkleized-metadata", + "parity-scale-codec", "parity-wasm", "polkavm-linker", + "sc-executor", + "sp-core", + "sp-io", "sp-maybe-compressed-blob", - "strum 0.24.1", + "sp-tracing", + "sp-version", + "strum 0.26.3", "tempfile", - "toml 0.8.13", + "toml 0.8.19", "walkdir", "wasm-opt", ] @@ -14124,9 +14680,9 @@ checksum = "2d67a5a62ba6e01cb2192ff309324cb4875d0c451d55fe2319433abe7a05a8ee" [[package]] name = "subtle" -version = "2.5.0" +version = "2.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "subtle-ng" @@ -14147,9 +14703,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.66" +version = "2.0.77" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c42f3f41a2de00b01c0aaad383c5a45241efc8b2d1eda5661812fda5f3cdcff5" +checksum = "9f35bcdf61fd8e7be6caf75f429fdca8beb3ed76584befb503b1569faee373ed" dependencies = [ "proc-macro2", "quote", @@ -14168,6 +14724,17 @@ dependencies = [ "unicode-xid", ] +[[package]] +name = "synstructure" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.77", +] + [[package]] name = "system-configuration" version = "0.5.1" @@ -14197,20 +14764,21 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "target-lexicon" -version = "0.12.14" +version = "0.12.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f" +checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" [[package]] name = "tempfile" -version = "3.10.1" +version = "3.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" +checksum = "04cbcdd0c794ebb0d4cf35e88edd2f7d2c4c3e9a5a6dab322839b321c6a87a64" dependencies = [ "cfg-if", - "fastrand 2.1.0", - "rustix 0.38.34", - "windows-sys 0.52.0", + "fastrand 2.1.1", + "once_cell", + "rustix 0.38.37", + "windows-sys 0.59.0", ] [[package]] @@ -14228,7 +14796,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7" dependencies = [ - "rustix 0.38.34", + "rustix 0.38.37", "windows-sys 0.48.0", ] @@ -14272,9 +14840,9 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.61" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c546c80d6be4bc6a00c0f01730c08df82eaa7a7a61f11d656526506112cc1709" +checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" dependencies = [ "thiserror-impl", ] @@ -14296,18 +14864,18 @@ checksum = "e4c60d69f36615a077cc7663b9cb8e42275722d23e58a7fa3d2c7f2915d09d04" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] name = "thiserror-impl" -version = "1.0.61" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533" +checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] @@ -14411,9 +14979,9 @@ dependencies = [ [[package]] name = "tinyvec" -version = "1.6.0" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" +checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938" dependencies = [ "tinyvec_macros", ] @@ -14426,89 +14994,92 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.38.0" +version = "1.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba4f4a02a7a80d6f274636f0aa95c7e383b912d41fe721a31f29e29698585a4a" +checksum = "e2b070231665d27ad9ec9b8df639893f46727666c6767db40317fbe920a5d998" dependencies = [ "backtrace", "bytes", "libc", "mio", - "num_cpus", "parking_lot 0.12.3", - "pin-project-lite 0.2.14", + "pin-project-lite", "signal-hook-registry", "socket2 0.5.7", "tokio-macros", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] name = "tokio-macros" -version = "2.3.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f5ae998a069d4b5aba8ee9dad856af7d520c3699e6159b185c2acd48155d39a" +checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] -name = "tokio-retry" -version = "0.3.0" +name = "tokio-rustls" +version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f57eb36ecbe0fc510036adff84824dd3c24bb781e21bfa67b69d556aa85214f" +checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" dependencies = [ - "pin-project", - "rand", + "rustls 0.21.12", "tokio", ] [[package]] name = "tokio-rustls" -version = "0.24.1" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" +checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4" dependencies = [ - "rustls 0.21.12", + "rustls 0.23.13", + "rustls-pki-types", "tokio", ] [[package]] -name = "tokio-rustls" -version = "0.25.0" +name = "tokio-stream" +version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "775e0c0f0adb3a2f22a00c4745d728b479985fc15ee7ca6a2608388c5569860f" +checksum = "4f4e6ce100d0eb49a2734f8c0812bcd324cf357d21810932c5df6b96ef2b86f1" dependencies = [ - "rustls 0.22.4", - "rustls-pki-types", + "futures-core", + "pin-project-lite", "tokio", + "tokio-util", ] [[package]] -name = "tokio-stream" -version = "0.1.15" +name = "tokio-tungstenite" +version = "0.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "267ac89e0bec6e691e5813911606935d77c476ff49024f98abcea3e7b15e37af" +checksum = "212d5dcb2a1ce06d81107c3d0ffa3121fe974b73f068c8282cb1c32328113b6c" dependencies = [ - "futures-core", - "pin-project-lite 0.2.14", + "futures-util", + "log", + "rustls 0.21.12", + "rustls-native-certs 0.6.3", "tokio", - "tokio-util", + "tokio-rustls 0.24.1", + "tungstenite", ] [[package]] name = "tokio-util" -version = "0.7.11" +version = "0.7.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1" +checksum = "61e7c3654c13bcd040d4a03abee2c75b1d14a37b423cf5a813ceae1cc903ec6a" dependencies = [ "bytes", "futures-core", "futures-io", "futures-sink", - "pin-project-lite 0.2.14", + "pin-project-lite", "tokio", ] @@ -14523,58 +15094,36 @@ dependencies = [ [[package]] name = "toml" -version = "0.8.13" +version = "0.8.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4e43f8cc456c9704c851ae29c67e17ef65d2c30017c17a9765b89c382dc8bba" +checksum = "a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e" dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.22.13", + "toml_edit", ] [[package]] name = "toml_datetime" -version = "0.6.6" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4badfd56924ae69bcc9039335b2e017639ce3f9b001c393c1b2d1ef846ce2cbf" +checksum = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41" dependencies = [ "serde", ] [[package]] name = "toml_edit" -version = "0.19.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" -dependencies = [ - "indexmap 2.2.6", - "toml_datetime", - "winnow 0.5.40", -] - -[[package]] -name = "toml_edit" -version = "0.21.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" -dependencies = [ - "indexmap 2.2.6", - "toml_datetime", - "winnow 0.5.40", -] - -[[package]] -name = "toml_edit" -version = "0.22.13" +version = "0.22.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c127785850e8c20836d49732ae6abfa47616e60bf9d9f57c43c250361a9db96c" +checksum = "583c44c02ad26b0c3f3066fe629275e50627026c51ac2e595cca4c230ce1ce1d" dependencies = [ - "indexmap 2.2.6", + "indexmap 2.5.0", "serde", "serde_spanned", "toml_datetime", - "winnow 0.6.9", + "winnow", ] [[package]] @@ -14586,7 +15135,8 @@ dependencies = [ "futures-core", "futures-util", "pin-project", - "pin-project-lite 0.2.14", + "pin-project-lite", + "tokio", "tower-layer", "tower-service", "tracing", @@ -14594,33 +15144,31 @@ dependencies = [ [[package]] name = "tower-http" -version = "0.4.4" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61c5bb1d698276a2443e5ecfabc1008bf15a36c12e6a7176e7bf089ea9131140" +checksum = "1e9cd434a998747dd2c4276bc96ee2e0c7a2eadf3cae88e52be55a05fa9053f5" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "bytes", - "futures-core", - "futures-util", - "http", - "http-body", - "http-range-header", - "pin-project-lite 0.2.14", + "http 1.1.0", + "http-body 1.0.1", + "http-body-util", + "pin-project-lite", "tower-layer", "tower-service", ] [[package]] name = "tower-layer" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0" +checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" [[package]] name = "tower-service" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" +checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" [[package]] name = "tracing" @@ -14629,7 +15177,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" dependencies = [ "log", - "pin-project-lite 0.2.14", + "pin-project-lite", "tracing-attributes", "tracing-core", ] @@ -14642,7 +15190,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] @@ -14667,9 +15215,9 @@ dependencies = [ [[package]] name = "tracing-gum" -version = "10.0.0" +version = "14.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "461fe686e103f3afc4c93a56474193ffc46d4b2770f8df5d56e025e8bb54960c" +checksum = "d07f52b2b1a1c1c21094bd0b6fdcf1b7dbe785b937b30e82dba688d55d988efb" dependencies = [ "coarsetime", "polkadot-primitives", @@ -14683,11 +15231,11 @@ version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0f074568687ffdfd0adb6005aa8d1d96840197f2c159f80471285f08694cf0ce" dependencies = [ - "expander 2.1.0", - "proc-macro-crate 3.1.0", + "expander", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] @@ -14701,6 +15249,17 @@ dependencies = [ "tracing-core", ] +[[package]] +name = "tracing-log" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" +dependencies = [ + "log", + "once_cell", + "tracing-core", +] + [[package]] name = "tracing-serde" version = "0.1.3" @@ -14720,8 +15279,7 @@ dependencies = [ "ansi_term", "chrono", "lazy_static", - "matchers", - "parking_lot 0.11.2", + "matchers 0.0.1", "regex", "serde", "serde_json", @@ -14730,10 +15288,29 @@ dependencies = [ "thread_local", "tracing", "tracing-core", - "tracing-log", + "tracing-log 0.1.4", "tracing-serde", ] +[[package]] +name = "tracing-subscriber" +version = "0.3.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b" +dependencies = [ + "matchers 0.1.0", + "nu-ansi-term", + "once_cell", + "parking_lot 0.12.3", + "regex", + "sharded-slab", + "smallvec", + "thread_local", + "tracing", + "tracing-core", + "tracing-log 0.2.0", +] + [[package]] name = "trie-db" version = "0.27.1" @@ -14748,12 +15325,11 @@ dependencies = [ [[package]] name = "trie-db" -version = "0.28.0" +version = "0.29.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff28e0f815c2fea41ebddf148e008b077d2faddb026c9555b29696114d602642" +checksum = "0c992b4f40c234a074d48a757efeabb1a6be88af84c0c23f7ca158950cb0ae7f" dependencies = [ "hash-db", - "hashbrown 0.13.2", "log", "rustc-hex", "smallvec", @@ -14777,7 +15353,7 @@ dependencies = [ "async-trait", "cfg-if", "data-encoding", - "enum-as-inner", + "enum-as-inner 0.5.1", "futures-channel", "futures-io", "futures-util", @@ -14794,24 +15370,50 @@ dependencies = [ "url", ] +[[package]] +name = "trust-dns-proto" +version = "0.23.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3119112651c157f4488931a01e586aa459736e9d6046d3bd9105ffb69352d374" +dependencies = [ + "async-trait", + "cfg-if", + "data-encoding", + "enum-as-inner 0.6.1", + "futures-channel", + "futures-io", + "futures-util", + "idna 0.4.0", + "ipnet", + "once_cell", + "rand", + "smallvec", + "thiserror", + "tinyvec", + "tokio", + "tracing", + "url", +] + [[package]] name = "trust-dns-resolver" -version = "0.22.0" +version = "0.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aff21aa4dcefb0a1afbfac26deb0adc93888c7d295fb63ab273ef276ba2b7cfe" +checksum = "10a3e6c3aff1718b3c73e395d1f35202ba2ffa847c6a62eea0db8fb4cfe30be6" dependencies = [ "cfg-if", "futures-util", "ipconfig", - "lazy_static", "lru-cache", + "once_cell", "parking_lot 0.12.3", + "rand", "resolv-conf", "smallvec", "thiserror", "tokio", "tracing", - "trust-dns-proto", + "trust-dns-proto 0.23.2", ] [[package]] @@ -14820,49 +15422,32 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" -[[package]] -name = "try-runtime-cli" -version = "0.41.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80765dc36d90e9f2112dccc6e5d70df50ab1239dba8e004bcc70cc77b3a9712d" -dependencies = [ - "async-trait", - "clap", - "frame-remote-externalities", - "frame-try-runtime", - "hex", - "log", - "parity-scale-codec", - "sc-cli", - "sc-executor", - "serde", - "serde_json", - "sp-api", - "sp-consensus-aura", - "sp-consensus-babe", - "sp-core", - "sp-debug-derive", - "sp-externalities", - "sp-inherents", - "sp-io", - "sp-keystore", - "sp-rpc", - "sp-runtime", - "sp-state-machine", - "sp-timestamp", - "sp-transaction-storage-proof", - "sp-version", - "sp-weights", - "substrate-rpc-client", - "zstd 0.12.4", -] - [[package]] name = "tt-call" version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f4f195fd851901624eee5a58c4bb2b4f06399148fcd0ed336e6f1cb60a9881df" +[[package]] +name = "tungstenite" +version = "0.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e3dac10fd62eaf6617d3a904ae222845979aec67c615d1c842b4002c7666fb9" +dependencies = [ + "byteorder", + "bytes", + "data-encoding", + "http 0.2.12", + "httparse", + "log", + "rand", + "rustls 0.21.12", + "sha1", + "thiserror", + "url", + "utf-8", +] + [[package]] name = "twox-hash" version = "1.6.3" @@ -14940,9 +15525,9 @@ checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" [[package]] name = "unicode-ident" -version = "1.0.12" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" +checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe" [[package]] name = "unicode-normalization" @@ -14955,19 +15540,19 @@ dependencies = [ [[package]] name = "unicode-width" -version = "0.1.12" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68f5e5f3158ecfd4b8ff6fe086db7c8467a2dfdac97fe420f2b7c4aa97af66d6" +checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d" [[package]] name = "unicode-xid" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" +checksum = "229730647fbc343e3a80e463c1db7f78f3855d3f3739bee0dda773c9a037c90a" [[package]] name = "unique-node" -version = "1.9.0" +version = "1.14.0" dependencies = [ "app-promotion-rpc", "clap", @@ -15043,7 +15628,6 @@ dependencies = [ "substrate-frame-rpc-system", "substrate-prometheus-endpoint", "tokio", - "try-runtime-cli", "uc-rpc", "unique-runtime", "up-common", @@ -15054,7 +15638,7 @@ dependencies = [ [[package]] name = "unique-runtime" -version = "1.9.0" +version = "1.14.0" dependencies = [ "app-promotion-rpc", "cumulus-pallet-aura-ext", @@ -15062,6 +15646,7 @@ dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcm", "cumulus-pallet-xcmp-queue", + "cumulus-primitives-aura", "cumulus-primitives-core", "cumulus-primitives-timestamp", "cumulus-primitives-utility", @@ -15072,6 +15657,7 @@ dependencies = [ "fp-self-contained", "frame-benchmarking", "frame-executive", + "frame-metadata-hash-extension", "frame-support", "frame-system", "frame-system-benchmarking", @@ -15172,7 +15758,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" dependencies = [ "crypto-common", - "subtle 2.5.0", + "subtle 2.6.1", ] [[package]] @@ -15187,6 +15773,16 @@ dependencies = [ "futures-util", ] +[[package]] +name = "unsigned-varint" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb066959b24b5196ae73cb057f45598450d2c5f71460e98c49b738086eff9c06" +dependencies = [ + "bytes", + "tokio-util", +] + [[package]] name = "untrusted" version = "0.7.1" @@ -15201,7 +15797,7 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "up-common" -version = "1.9.0" +version = "1.14.0" dependencies = [ "cumulus-primitives-core", "fp-rpc", @@ -15262,27 +15858,33 @@ dependencies = [ [[package]] name = "up-sponsorship" version = "0.1.0" -source = "git+https://github.com/uniquenetwork/pallet-sponsoring?branch=polkadot-v1.9.0#f61acb0c67e58e16f9a4d9ab3a82b5cac1a5bede" +source = "git+https://github.com/uniquenetwork/pallet-sponsoring?branch=polkadot-v1.14.0#5927847660b35ac457ccd7ce6874ea136c38d770" dependencies = [ "impl-trait-for-tuples", ] [[package]] name = "url" -version = "2.5.0" +version = "2.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" +checksum = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c" dependencies = [ "form_urlencoded", "idna 0.5.0", "percent-encoding", ] +[[package]] +name = "utf-8" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" + [[package]] name = "utf8parse" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" +checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "valuable" @@ -15298,9 +15900,9 @@ checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" [[package]] name = "version_check" -version = "0.9.4" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" [[package]] name = "void" @@ -15310,9 +15912,9 @@ checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" [[package]] name = "w3f-bls" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7335e4c132c28cc43caef6adb339789e599e39adbe78da0c4d547fad48cbc331" +checksum = "9c5da5fa2c6afa2c9158eaa7cd9aee249765eb32b5fb0c63ad8b9e79336a47ec" dependencies = [ "ark-bls12-377", "ark-bls12-381", @@ -15324,8 +15926,8 @@ dependencies = [ "constcat", "digest 0.10.7", "rand", - "rand_chacha 0.3.1", - "rand_core 0.6.4", + "rand_chacha", + "rand_core", "sha2 0.10.8", "sha3 0.10.8", "thiserror", @@ -15357,12 +15959,6 @@ dependencies = [ "try-lock", ] -[[package]] -name = "wasi" -version = "0.9.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" - [[package]] name = "wasi" version = "0.11.0+wasi-snapshot-preview1" @@ -15375,39 +15971,40 @@ version = "0.12.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c1fbb4ef9bbca0c1170e0b00dd28abc9e3b68669821600cad1caaed606583c6d" dependencies = [ - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi", ] [[package]] name = "wasm-bindgen" -version = "0.2.92" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8" +checksum = "a82edfc16a6c469f5f44dc7b571814045d60404b55a0ee849f9bcfa2e63dd9b5" dependencies = [ "cfg-if", + "once_cell", "wasm-bindgen-macro", ] [[package]] name = "wasm-bindgen-backend" -version = "0.2.92" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da" +checksum = "9de396da306523044d3302746f1208fa71d7532227f15e347e2d93e4145dd77b" dependencies = [ "bumpalo", "log", "once_cell", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.42" +version = "0.4.43" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76bc14366121efc8dbb487ab05bcc9d346b3b5ec0eaa76e46594cabbe51762c0" +checksum = "61e9300f63a621e96ed275155c108eb6f843b6a26d053f122ab69724559dc8ed" dependencies = [ "cfg-if", "js-sys", @@ -15417,9 +16014,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.92" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726" +checksum = "585c4c91a46b072c92e908d99cb1dcdf95c5218eeb6f3bf1efa991ee7a68cccf" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -15427,22 +16024,22 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.92" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" +checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.92" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" +checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484" [[package]] name = "wasm-instrument" @@ -15755,9 +16352,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.69" +version = "0.3.70" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef" +checksum = "26fdeaafd9bd129f65e7c031593c24d62186301e0c72c8978fa1678be7d532c0" dependencies = [ "js-sys", "wasm-bindgen", @@ -15775,24 +16372,31 @@ dependencies = [ [[package]] name = "webpki-roots" -version = "0.22.6" +version = "0.25.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" + +[[package]] +name = "webpki-roots" +version = "0.26.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c71e40d7d2c34a5106301fb632274ca37242cd0c9d3e64dbece371a40a2d87" +checksum = "0bd24728e5af82c6c4ec1b66ac4844bdf8156257fccda846ec58b42cd0cdbe6a" dependencies = [ - "webpki", + "rustls-pki-types", ] [[package]] name = "westend-runtime" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ef1f629f711d7d110a1d13a12d3b4ab8fdc4ec3f97abbe9d1f0d248014a9e72" +checksum = "56b8918bb9fe4938757d4f003b7fa26598a632e350feac4e7477bb6b36e2f2af" dependencies = [ "binary-merkle-tree", "bitvec", "frame-benchmarking", "frame-election-provider-support", "frame-executive", + "frame-metadata-hash-extension", "frame-support", "frame-system", "frame-system-benchmarking", @@ -15810,14 +16414,14 @@ dependencies = [ "pallet-beefy-mmr", "pallet-collective", "pallet-conviction-voting", + "pallet-delegated-staking", "pallet-democracy", "pallet-election-provider-multi-phase", "pallet-election-provider-support-benchmarking", "pallet-elections-phragmen", "pallet-fast-unstake", "pallet-grandpa", - "pallet-identity 31.0.0", - "pallet-im-online", + "pallet-identity 36.0.0", "pallet-indices", "pallet-membership", "pallet-message-queue", @@ -15856,7 +16460,6 @@ dependencies = [ "polkadot-primitives", "polkadot-runtime-common", "polkadot-runtime-parachains", - "rustc-hex", "scale-info", "serde", "serde_derive", @@ -15887,13 +16490,14 @@ dependencies = [ "staging-xcm-executor", "substrate-wasm-builder", "westend-runtime-constants", + "xcm-runtime-apis", ] [[package]] name = "westend-runtime-constants" -version = "10.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38ee9606d7d954aef2b22107e80fc128a467cd8d6f1d347f64e417f88b2833c8" +checksum = "8c7a91c27c398b11f7633cc2382cbba53b02e7196ebe8fff13c170e54a54e9d8" dependencies = [ "frame-support", "polkadot-primitives", @@ -15915,14 +16519,14 @@ dependencies = [ "either", "home", "once_cell", - "rustix 0.38.34", + "rustix 0.38.37", ] [[package]] name = "wide" -version = "0.7.21" +version = "0.7.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd8dc749a1b03f3c255a3064a4f5c0ee5ed09b7c6bc6d4525d31f779cd74d7fc" +checksum = "b828f995bf1e9622031f8009f8481a85406ce1f4d4588ff746d872043e855690" dependencies = [ "bytemuck", "safe_arch", @@ -15952,11 +16556,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.8" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b" +checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -15990,7 +16594,22 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" dependencies = [ - "windows-targets 0.52.5", + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-sys" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" +dependencies = [ + "windows_aarch64_gnullvm 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", ] [[package]] @@ -16017,7 +16636,16 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" dependencies = [ - "windows-targets 0.52.5", + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-sys" +version = "0.59.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +dependencies = [ + "windows-targets 0.52.6", ] [[package]] @@ -16052,18 +16680,18 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.52.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb" +checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" dependencies = [ - "windows_aarch64_gnullvm 0.52.5", - "windows_aarch64_msvc 0.52.5", - "windows_i686_gnu 0.52.5", + "windows_aarch64_gnullvm 0.52.6", + "windows_aarch64_msvc 0.52.6", + "windows_i686_gnu 0.52.6", "windows_i686_gnullvm", - "windows_i686_msvc 0.52.5", - "windows_x86_64_gnu 0.52.5", - "windows_x86_64_gnullvm 0.52.5", - "windows_x86_64_msvc 0.52.5", + "windows_i686_msvc 0.52.6", + "windows_x86_64_gnu 0.52.6", + "windows_x86_64_gnullvm 0.52.6", + "windows_x86_64_msvc 0.52.6", ] [[package]] @@ -16080,9 +16708,9 @@ checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" [[package]] name = "windows_aarch64_gnullvm" -version = "0.52.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263" +checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" [[package]] name = "windows_aarch64_msvc" @@ -16098,9 +16726,9 @@ checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" [[package]] name = "windows_aarch64_msvc" -version = "0.52.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6" +checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" [[package]] name = "windows_i686_gnu" @@ -16116,15 +16744,15 @@ checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" [[package]] name = "windows_i686_gnu" -version = "0.52.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670" +checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" [[package]] name = "windows_i686_gnullvm" -version = "0.52.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9" +checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" [[package]] name = "windows_i686_msvc" @@ -16140,9 +16768,9 @@ checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" [[package]] name = "windows_i686_msvc" -version = "0.52.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf" +checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" [[package]] name = "windows_x86_64_gnu" @@ -16158,9 +16786,9 @@ checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" [[package]] name = "windows_x86_64_gnu" -version = "0.52.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9" +checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" [[package]] name = "windows_x86_64_gnullvm" @@ -16176,9 +16804,9 @@ checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" [[package]] name = "windows_x86_64_gnullvm" -version = "0.52.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596" +checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" [[package]] name = "windows_x86_64_msvc" @@ -16194,24 +16822,15 @@ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" [[package]] name = "windows_x86_64_msvc" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0" - -[[package]] -name = "winnow" -version = "0.5.40" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" -dependencies = [ - "memchr", -] +checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] name = "winnow" -version = "0.6.9" +version = "0.6.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86c949fede1d13936a99f14fafd3e76fd642b556dd2ce96287fbe2e0151bfac6" +checksum = "68a9bda4691f099d435ad181000724da8e5899daa10713c2d432552b9ccd3a6f" dependencies = [ "memchr", ] @@ -16237,40 +16856,45 @@ dependencies = [ [[package]] name = "x25519-dalek" -version = "1.1.1" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a0c105152107e3b96f6a00a65e86ce82d9b125230e1c4302940eca58ff71f4f" +checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" dependencies = [ - "curve25519-dalek 3.2.0", - "rand_core 0.5.1", + "curve25519-dalek", + "rand_core", + "serde", "zeroize", ] [[package]] -name = "x25519-dalek" -version = "2.0.1" +name = "x509-parser" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" +checksum = "7069fba5b66b9193bd2c5d3d4ff12b839118f6bcbef5328efafafb5395cf63da" dependencies = [ - "curve25519-dalek 4.1.2", - "rand_core 0.6.4", - "serde", - "zeroize", + "asn1-rs 0.5.2", + "data-encoding", + "der-parser 8.2.0", + "lazy_static", + "nom", + "oid-registry 0.6.1", + "rusticata-macros", + "thiserror", + "time", ] [[package]] name = "x509-parser" -version = "0.14.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0ecbeb7b67ce215e40e3cc7f2ff902f94a223acf44995934763467e7b1febc8" +checksum = "fcbc162f30700d6f3f82a24bf7cc62ffe7caea42c0b2cba8bf7f3ae50cf51f69" dependencies = [ - "asn1-rs", - "base64 0.13.1", + "asn1-rs 0.6.2", "data-encoding", - "der-parser", + "der-parser 9.0.0", "lazy_static", "nom", - "oid-registry", + "oid-registry 0.7.1", "rusticata-macros", "thiserror", "time", @@ -16278,26 +16902,58 @@ dependencies = [ [[package]] name = "xcm-procedural" -version = "8.0.0" +version = "10.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4717a97970a9cda70d7db53cf50d2615c2f6f6b7c857445325b4a39ea7aa2cd" +checksum = "87fb4f14094d65c500a59bcf540cf42b99ee82c706edd6226a92e769ad60563e" dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", +] + +[[package]] +name = "xcm-runtime-apis" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30fffcd9128a46abd836c37dd001c2cbe122aeb8904cd7b9bac8358564fb7b56" +dependencies = [ + "frame-support", + "parity-scale-codec", + "scale-info", + "sp-api", + "sp-std", + "sp-weights", + "staging-xcm", + "staging-xcm-executor", +] + +[[package]] +name = "xml-rs" +version = "0.8.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af4e2e2f7cba5a093896c1e150fbfe177d1883e7448200efb81d40b9d339ef26" + +[[package]] +name = "xmltree" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7d8a75eaf6557bb84a65ace8609883db44a29951042ada9b393151532e41fcb" +dependencies = [ + "xml-rs", ] [[package]] name = "yamux" -version = "0.10.2" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5d9ba232399af1783a58d8eb26f6b5006fbefe2dc9ef36bd283324792d03ea5" +checksum = "9ed0164ae619f2dc144909a9f082187ebb5893693d8c0196e8085283ccd4b776" dependencies = [ "futures", "log", "nohash-hasher", "parking_lot 0.12.3", + "pin-project", "rand", "static_assertions", ] @@ -16313,22 +16969,23 @@ dependencies = [ [[package]] name = "zerocopy" -version = "0.7.34" +version = "0.7.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae87e3fcd617500e5d106f0380cf7b77f3c6092aae37191433159dda23cfb087" +checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" dependencies = [ + "byteorder", "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.7.34" +version = "0.7.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15e934569e47891f7d9411f1a451d947a60e000ab3bd24fbb970f000387d1b3b" +checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] @@ -16348,7 +17005,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.77", ] [[package]] @@ -16391,9 +17048,9 @@ dependencies = [ [[package]] name = "zstd-sys" -version = "2.0.10+zstd.1.5.6" +version = "2.0.13+zstd.1.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c253a4914af5bafc8fa8c86ee400827e83cf6ec01195ec1f1ed8441bf00d65aa" +checksum = "38ff0f21cfee8f97d94cef41359e0c89aa6113028ab0291aa8ca0038995a95aa" dependencies = [ "cc", "pkg-config", diff --git a/Cargo.toml b/Cargo.toml index 513e617702..17a887a17a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ members = [ 'runtime/tests', 'runtime/unique', ] -package.version = "1.9.0" +package.version = "1.14.0" resolver = "2" [profile.release] @@ -34,7 +34,7 @@ app-promotion-rpc = { path = "primitives/app_promotion_rpc", default-features = evm-coder = { version = "0.4.3", default-features = false, features = ['bondrewd'] } pallet-app-promotion = { path = "pallets/app-promotion", default-features = false } pallet-balances-adapter = { default-features = false, path = "pallets/balances-adapter" } -pallet-charge-transaction = { package = "pallet-template-transaction-payment", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v1.9.0" } +pallet-charge-transaction = { package = "pallet-template-transaction-payment", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v1.14.0" } pallet-collator-selection = { default-features = false, path = "pallets/collator-selection" } pallet-common = { default-features = false, path = "pallets/common" } pallet-configuration = { default-features = false, path = "pallets/configuration" } @@ -61,7 +61,7 @@ up-common = { path = "primitives/common", default-features = false } up-data-structs = { path = "primitives/data-structs", default-features = false } up-pov-estimate-rpc = { path = "primitives/pov-estimate-rpc", default-features = false } up-rpc = { path = "primitives/rpc", default-features = false } -up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v1.9.0" } +up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v1.14.0" } # Unique: Runtimes opal-runtime = { path = "runtime/opal" } @@ -69,145 +69,145 @@ quartz-runtime = { path = "runtime/quartz" } unique-runtime = { path = "runtime/unique" } # Frontier (Unique patches over the Parity version) -fc-api = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v1.9.0" } -fc-consensus = { git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v1.9.0" } -fc-db = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v1.9.0" } -fc-mapping-sync = { git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v1.9.0" } -fc-rpc = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v1.9.0" } -fc-rpc-core = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v1.9.0" } -fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v1.9.0" } -fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v1.9.0" } +fc-api = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v1.14.0" } +fc-consensus = { git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v1.14.0" } +fc-db = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v1.14.0" } +fc-mapping-sync = { git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v1.14.0" } +fc-rpc = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v1.14.0" } +fc-rpc-core = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v1.14.0" } +fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v1.14.0" } +fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v1.14.0" } fp-self-contained = { default-features = false, features = [ "serde", -], git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v1.9.0" } -fp-storage = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v1.9.0" } -pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v1.9.0" } -pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v1.9.0" } -pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v1.9.0" } -pallet-evm-precompile-simple = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v1.9.0" } +], git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v1.14.0" } +fp-storage = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v1.14.0" } +pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v1.14.0" } +pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v1.14.0" } +pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v1.14.0" } +pallet-evm-precompile-simple = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v1.14.0" } # Parity codec = { default-features = false, features = ['derive'], package = 'parity-scale-codec', version = "3.6.5" } -cumulus-client-cli = "0.10.0" -cumulus-client-collator = "0.10.0" -cumulus-client-consensus-aura = "0.10.0" -cumulus-client-consensus-common = "0.10.0" -cumulus-client-consensus-proposer = "0.10.0" -cumulus-client-network = "0.10.0" -cumulus-client-service = "0.10.0" -cumulus-client-parachain-inherent = "0.4.0" -cumulus-pallet-aura-ext = { default-features = false, version = "0.10.0" } -cumulus-pallet-dmp-queue = { default-features = false, version = "0.10.0" } -cumulus-pallet-parachain-system = { default-features = false, version = "0.10.0" } -cumulus-pallet-xcm = { default-features = false, version = "0.10.0" } -cumulus-pallet-xcmp-queue = { default-features = false, version = "0.10.0" } -cumulus-primitives-aura = { default-features = false, version = "0.10.0" } -cumulus-primitives-core = { default-features = false, version = "0.10.0" } -cumulus-primitives-parachain-inherent = { default-features = false, version = "0.10.0" } -cumulus-primitives-timestamp = { default-features = false, version = "0.10.0" } -cumulus-primitives-utility = { default-features = false, version = "0.10.0" } -cumulus-relay-chain-inprocess-interface = "0.10.0" -cumulus-relay-chain-interface = "0.10.0" -cumulus-relay-chain-minimal-node = "0.10.0" -cumulus-test-relay-sproof-builder = "0.10.0" -parachains-common = { default-features = false, version = "10.0.0"} -frame-executive = { default-features = false, version = "31.0.0" } -frame-support = { default-features = false, version = "31.0.0" } -frame-system = { default-features = false, version = "31.0.0" } -frame-system-rpc-runtime-api = { default-features = false, version = "29.0.0" } -pallet-aura = { default-features = false, version = "30.0.0" } -pallet-authorship = { default-features = false, version = "31.0.0" } -pallet-balances = { default-features = false, version = "31.0.0" } -pallet-collective = { default-features = false, version = "31.0.0" } -pallet-democracy = { default-features = false, version = "31.0.0" } -pallet-membership = { default-features = false, version = "31.0.0" } -pallet-preimage = { default-features = false, version = "31.0.0" } -pallet-ranked-collective = { default-features = false, version = "31.0.0" } -pallet-referenda = { default-features = false, version = "31.0.0" } -pallet-scheduler = { default-features = false, version = "32.0.0" } -pallet-session = { default-features = false, version = "31.0.0" } -pallet-state-trie-migration = { default-features = false, version = "32.0.0" } -pallet-sudo = { default-features = false, version = "31.0.0" } -pallet-timestamp = { default-features = false, version = "30.0.0" } -pallet-transaction-payment = { default-features = false, version = "31.0.0" } -pallet-transaction-payment-rpc = "33.0.0" -pallet-transaction-payment-rpc-runtime-api = { default-features = false, version = "31.0.0" } -pallet-treasury = { default-features = false, version = "30.0.0" } -pallet-utility = { default-features = false, version = "31.0.0" } -pallet-xcm = { default-features = false, version = "10.0.1" } -pallet-message-queue = { default-features = false, version = "34.0.0" } +cumulus-client-cli = "0.15.0" +cumulus-client-collator = "0.15.0" +cumulus-client-consensus-aura = "0.15.0" +cumulus-client-consensus-common = "0.15.0" +cumulus-client-consensus-proposer = "0.14.0" +cumulus-client-network = "0.15.0" +cumulus-client-service = "0.15.0" +cumulus-client-parachain-inherent = "0.9.0" +cumulus-pallet-aura-ext = { default-features = false, version = "0.15.0" } +cumulus-pallet-dmp-queue = { default-features = false, version = "0.15.0" } +cumulus-pallet-parachain-system = { default-features = false, version = "0.15.0" } +cumulus-pallet-xcm = { default-features = false, version = "0.15.0" } +cumulus-pallet-xcmp-queue = { default-features = false, version = "0.15.0" } +cumulus-primitives-aura = { default-features = false, version = "0.14.0" } +cumulus-primitives-core = { default-features = false, version = "0.14.0" } +cumulus-primitives-parachain-inherent = { default-features = false, version = "0.14.0" } +cumulus-primitives-timestamp = { default-features = false, version = "0.14.0" } +cumulus-primitives-utility = { default-features = false, version = "0.15.0" } +cumulus-relay-chain-inprocess-interface = "0.15.0" +cumulus-relay-chain-interface = "0.15.0" +cumulus-relay-chain-minimal-node = "0.15.0" +cumulus-test-relay-sproof-builder = "0.14.0" +parachains-common = { default-features = false, version = "15.0.0" } +frame-executive = { default-features = false, version = "36.0.0" } +frame-metadata-hash-extension = { default-features = false, version = "0.4.0" } +frame-support = { default-features = false, version = "36.0.0" } +frame-system = { default-features = false, version = "36.1.0" } +frame-system-rpc-runtime-api = { default-features = false, version = "33.0.0" } +pallet-aura = { default-features = false, version = "35.0.0" } +pallet-authorship = { default-features = false, version = "36.0.0" } +pallet-balances = { default-features = false, version = "37.0.0" } +pallet-collective = { default-features = false, version = "36.0.0" } +pallet-democracy = { default-features = false, version = "36.0.0" } +pallet-membership = { default-features = false, version = "36.0.0" } +pallet-preimage = { default-features = false, version = "36.0.0" } +pallet-ranked-collective = { default-features = false, version = "36.0.0" } +pallet-referenda = { default-features = false, version = "36.0.0" } +pallet-scheduler = { default-features = false, version = "37.0.0" } +pallet-session = { default-features = false, version = "36.0.0" } +pallet-state-trie-migration = { default-features = false, version = "37.0.0" } +pallet-sudo = { default-features = false, version = "36.0.0" } +pallet-timestamp = { default-features = false, version = "35.0.0" } +pallet-transaction-payment = { default-features = false, version = "36.0.0" } +pallet-transaction-payment-rpc = "38.0.0" +pallet-transaction-payment-rpc-runtime-api = { default-features = false, version = "36.0.0" } +pallet-treasury = { default-features = false, version = "35.0.0" } +pallet-utility = { default-features = false, version = "36.0.0" } +pallet-xcm = { default-features = false, version = "15.0.0" } +pallet-message-queue = { default-features = false, version = "39.0.0" } parity-scale-codec = { version = "3.6.5", features = ["derive"], default-features = false } -polkadot-cli = "10.0.0" -polkadot-parachain-primitives = { default-features = false, version = "9.0.0" } -polkadot-primitives = "10.0.0" -polkadot-runtime-common = { default-features = false, version = "10.0.0" } -polkadot-service = "10.0.0" -sc-basic-authorship = "0.37.0" -sc-chain-spec = "30.0.0" -sc-cli = "0.39.0" -sc-client-api = "31.0.0" -sc-consensus = "0.36.0" -sc-consensus-manual-seal = "0.38.0" -sc-executor = "0.35.0" -sc-network = "0.37.0" -sc-network-sync = "0.36.0" -sc-rpc = "32.0.0" -sc-rpc-api = "0.36.0" -sc-service = "0.38.0" -sc-sysinfo = "30.0.0" -sc-telemetry = "17.0.0" -sc-tracing = "31.0.0" -sc-transaction-pool = "31.0.0" +polkadot-cli = "15.0.0" +polkadot-parachain-primitives = { default-features = false, version = "13.0.0" } +polkadot-primitives = "14.0.0" +polkadot-runtime-common = { default-features = false, version = "15.0.0" } +polkadot-service = "15.0.0" +sc-basic-authorship = "0.42.0" +sc-chain-spec = "35.0.0" +sc-cli = "0.44.0" +sc-client-api = "35.1.0" +sc-consensus = "0.41.0" +sc-consensus-manual-seal = "0.43.0" +sc-executor = "0.39.0" +sc-network = "0.42.0" +sc-network-sync = "0.41.0" +sc-rpc = "37.0.0" +sc-rpc-api = "0.41.0" +sc-service = "0.43.0" +sc-sysinfo = "35.0.0" +sc-telemetry = "22.0.0" +sc-tracing = "35.0.0" +sc-transaction-pool = "35.0.0" scale-info = { version = "2.9.0", default-features = false, features = ["derive"] } -sp-api = { default-features = false, version = "29.0.0" } -sp-arithmetic = { default-features = false, version = "25.0.0" } -sp-block-builder = { default-features = false, version = "29.0.0" } -sp-blockchain = "31.0.0" -sp-consensus-aura = { default-features = false, version = "0.35.0" } -sp-core = { default-features = false, version = "31.0.0" } -sp-externalities = "0.27.0" -sp-inherents = { default-features = false, version = "29.0.0" } -sp-io = { default-features = false, version = "33.0.0" } -sp-keystore = "0.37.0" -sp-offchain = { default-features = false, version = "29.0.0" } -sp-runtime = { default-features = false, version = "34.0.0" } -sp-session = { default-features = false, version = "30.0.0" } -sp-staking = { default-features = false, version = "29.0.0" } -sp-state-machine = "0.38.0" +sp-api = { default-features = false, version = "33.0.0" } +sp-arithmetic = { default-features = false, version = "26.0.0" } +sp-block-builder = { default-features = false, version = "33.0.0" } +sp-blockchain = "35.1.0" +sp-consensus-aura = { default-features = false, version = "0.39.0" } +sp-core = { default-features = false, version = "34.0.0" } +sp-externalities = "0.29.0" +sp-inherents = { default-features = false, version = "33.0.0" } +sp-io = { default-features = false, version = "37.0.0" } +sp-keystore = "0.40.0" +sp-offchain = { default-features = false, version = "33.0.0" } +sp-runtime = { default-features = false, version = "38.0.0" } +sp-session = { default-features = false, version = "34.0.0" } +sp-staking = { default-features = false, version = "33.0.0" } +sp-state-machine = "0.42.0" sp-std = { default-features = false, version = "14.0.0" } -sp-storage = { default-features = false, version = "20.0.0" } -sp-timestamp = "29.0.0" -sp-tracing = "16.0.0" -sp-transaction-pool = { default-features = false, version = "29.0.0" } -sp-trie = { default-features = false, version = "32.0.0" } -sp-version = { default-features = false, version = "32.0.0" } -sp-weights = { default-features = false, version = "30.0.0" } -sp-genesis-builder = { default-features = false, version = "0.10.0" } -staging-parachain-info = { default-features = false, version = "0.10.0" } -staging-xcm = { default-features = false, version = "10.0.0" } -staging-xcm-builder = { default-features = false, version = "10.0.0" } -staging-xcm-executor = { default-features = false, version = "10.0.0" } -substrate-frame-rpc-system = "31.0.0" +sp-storage = { default-features = false, version = "21.0.0" } +sp-timestamp = "33.0.0" +sp-tracing = "17.0.0" +sp-transaction-pool = { default-features = false, version = "33.0.0" } +sp-trie = { default-features = false, version = "36.0.0" } +sp-version = { default-features = false, version = "36.0.0" } +sp-weights = { default-features = false, version = "31.0.0" } +sp-genesis-builder = { default-features = false, version = "0.14.0" } +staging-parachain-info = { default-features = false, version = "0.15.0" } +staging-xcm = { default-features = false, version = "14.0.3" } +staging-xcm-builder = { default-features = false, version = "15.0.0" } +staging-xcm-executor = { default-features = false, version = "15.0.0" } +substrate-frame-rpc-system = "36.0.0" substrate-prometheus-endpoint = "0.17.0" # Parity: Build utils substrate-build-script-utils = "11.0.0" -substrate-wasm-builder = "20.0.0" +substrate-wasm-builder = "23.0.0" # Parity: Benchmarking -frame-benchmarking = { default-features = false, version = "31.0.0" } -frame-benchmarking-cli = "35.0.0" -frame-system-benchmarking = { default-features = false, version = "31.0.0" } +frame-benchmarking = { default-features = false, version = "36.0.0" } +frame-benchmarking-cli = "40.0.0" +frame-system-benchmarking = { default-features = false, version = "36.0.0" } # Parity: Try Runtime -frame-try-runtime = { default-features = false, version = "0.37.0" } -try-runtime-cli = "0.41.0" +frame-try-runtime = { default-features = false, version = "0.42.0" } # ORML -orml-traits = { version = "0.9.1", default-features = false } -orml-vesting = { version = "0.9.1", default-features = false } -orml-xcm-support = { version = "0.9.1", default-features = false } -orml-xtokens = { version = "0.9.1", default-features = false } +orml-traits = { default-features = false, git = "https://github.com/UniqueNetwork/open-runtime-module-library.git", branch = "polkadot-v1.14.0" } +orml-vesting = { default-features = false, git = "https://github.com/UniqueNetwork/open-runtime-module-library.git", branch = "polkadot-v1.14.0" } +orml-xcm-support = { default-features = false, git = "https://github.com/UniqueNetwork/open-runtime-module-library.git", branch = "polkadot-v1.14.0" } +orml-xtokens = { default-features = false, git = "https://github.com/UniqueNetwork/open-runtime-module-library.git", branch = "polkadot-v1.14.0" } # Other derivative = { version = "2.2.0", features = ["use_core"] } @@ -215,9 +215,10 @@ ethereum = { version = "0.15.0", default-features = false, features = ["with-cod evm-core = { version = "0.41.0", default-features = false } hex-literal = "0.4.1" impl-trait-for-tuples = "0.2.2" -jsonrpsee = { version = "0.22.5", features = ["macros", "server"] } +jsonrpsee = { version = "0.23.2", features = ["macros", "server"] } log = { version = "0.4.20", default-features = false } num_enum = { version = "0.7.0", default-features = false } serde = { default-features = false, features = ['derive'], version = "1.0.188" } serde_json = "1" smallvec = "1.11.1" + diff --git a/js-packages/package.json b/js-packages/package.json index a7f6c65d9f..39ebb8ccb6 100644 --- a/js-packages/package.json +++ b/js-packages/package.json @@ -13,6 +13,7 @@ "chai-like": "^1.1.1", "csv-writer": "^1.6.0", "lossless-json": "^3.0.1", + "patch-package": "8.0.0", "solc": "^0.8.22", "typechain": "^8.3.2", "web3": "1.10.0" diff --git a/js-packages/patches/ts-node+10.9.1.patch b/js-packages/patches/ts-node+10.9.1.patch new file mode 100644 index 0000000000..e04688279e --- /dev/null +++ b/js-packages/patches/ts-node+10.9.1.patch @@ -0,0 +1,28 @@ +diff --git a/node_modules/ts-node/dist/index.js b/node_modules/ts-node/dist/index.js +index c03afbf..0370067 100644 +--- a/node_modules/ts-node/dist/index.js ++++ b/node_modules/ts-node/dist/index.js +@@ -94,7 +94,7 @@ exports.DEFAULTS = { +/** + * TypeScript diagnostics error. + */ +-class TSError extends make_error_1.BaseError { ++class TSError extends Error { + constructor(diagnosticText, diagnosticCodes, diagnostics = []) { + super(`⨯ Unable to compile TypeScript:\n${diagnosticText}`); + this.diagnosticCodes = diagnosticCodes; +@@ -110,13 +110,8 @@ class TSError extends make_error_1.BaseError { + value: diagnostics, + }); + } +- /** +- * @internal +- */ +- [exports.INSPECT_CUSTOM]() { +- return this.diagnosticText; +- } +} ++ +exports.TSError = TSError; +const TS_NODE_SERVICE_BRAND = Symbol('TS_NODE_SERVICE_BRAND'); +function register(serviceOrOpts) { \ No newline at end of file diff --git a/js-packages/playgrounds/package.json b/js-packages/playgrounds/package.json index 82e0ae5ed9..162d8050b6 100644 --- a/js-packages/playgrounds/package.json +++ b/js-packages/playgrounds/package.json @@ -10,8 +10,8 @@ "version": "1.0.0", "main": "unique.js", "dependencies": { - "@polkadot/api": "10.10.1", - "@polkadot/util": "^12.5.1", - "@polkadot/util-crypto": "^12.5.1" + "@polkadot/api": "12.4.2", + "@polkadot/util": "^13.0.2", + "@polkadot/util-crypto": "^13.0.2" } } diff --git a/js-packages/playgrounds/unique.ts b/js-packages/playgrounds/unique.ts index 3fda72def8..273c0f39e7 100644 --- a/js-packages/playgrounds/unique.ts +++ b/js-packages/playgrounds/unique.ts @@ -192,7 +192,8 @@ class UniqueUtil { static extractCollectionIdFromCreationResult(creationResult: ITransactionResult): number { if(creationResult.status !== this.transactionStatus.SUCCESS) { - throw Error('Unable to create collection!'); + const status = JSON.stringify((creationResult.result as any).status.toHuman()); + throw Error(`Unable to create collection! Status: ${status}`); } let collectionId = null; @@ -558,6 +559,12 @@ export class ChainHelperBase { if(status.isBroadcast) { return this.transactionStatus.NOT_READY; } + if(status.isFuture) { + return this.transactionStatus.NOT_READY; + } + if(status.isRetracted) { + return this.transactionStatus.NOT_READY; + } if(status.isInBlock || status.isFinalized) { const errors = events.filter(e => e.event.method === 'ExtrinsicFailed'); if(errors.length > 0) { @@ -571,21 +578,30 @@ export class ChainHelperBase { return this.transactionStatus.FAIL; } - signTransaction(sender: TSigner, transaction: any, options: Partial | null = null, label = 'transaction') { + async signTransaction(sender: TSigner, transaction: any, options: Partial | null = null, label = 'transaction') { const sign = (callback: any) => { if(options !== null) return transaction.signAndSend(sender, options, callback); return transaction.signAndSend(sender, callback); }; - // eslint-disable-next-line no-async-promise-executor + options = options || { nonce: 0}; + if (!options.nonce) { + let nonce = await this.chain.getNonce(sender.address); + options.nonce = nonce++; + } return new Promise(async (resolve, reject) => { try { + let inBlockResult; const unsub = await sign((result: any) => { const status = this.getTransactionStatus(result); if(status === this.transactionStatus.SUCCESS) { + if (!result.status.isFinalized) { + inBlockResult = result; + return; + } this.logger.log(`${label} successful`); unsub(); - resolve({result, status, blockHash: result.status.asInBlock.toHuman()}); + resolve({result: inBlockResult!, status, blockHash: inBlockResult!.status.asInBlock.toHuman()}); } else if(status === this.transactionStatus.FAIL) { let moduleError = null; diff --git a/js-packages/scripts/generateEnv.ts b/js-packages/scripts/generateEnv.ts index 7933d4aa2d..153b2610cc 100644 --- a/js-packages/scripts/generateEnv.ts +++ b/js-packages/scripts/generateEnv.ts @@ -41,14 +41,14 @@ function fixupUnique(version: string): string { let env = (await readFile(join(dirname, '../../.env'))).toString(); await Promise.all([ // Version from polkadot-fellows - //ff('wss://rpc.polkadot.io/', /^(.)(...)(...)$/, 'v$1.$2.$3').then(v => env = setVar(env, 'POLKADOT_MAINNET_BRANCH', v)), + // ff('wss://rpc.polkadot.io/', /^(.)(...)(...)$/, 'v$1.$2.$3').then(v => env = setVar(env, 'POLKADOT_MAINNET_BRANCH', v)), ff('wss://rococo-rpc.polkadot.io/', /^(.)(...)(...)$/, 'v$1.$2.$3').then(v => env = setVar(env, 'POLKADOT_MAINNET_BRANCH', v)), // ff('wss://statemint-rpc.polkadot.io/', /^(....)$/, 'release-parachains-v$1').then(v => env = setVar(env, 'STATEMINT_BUILD_BRANCH', v)), ff('wss://acala-rpc-0.aca-api.network/', /^(.)(..)(.)$/, '$1.$2.$3').then(v => env = setVar(env, 'ACALA_BUILD_BRANCH', v)), ff('wss://wss.api.moonbeam.network/', /^(....)$/, 'runtime-$1').then(v => env = setVar(env, 'MOONBEAM_BUILD_BRANCH', v)), ff('wss://ws.unique.network/', /^(........)$/, 'release-v$1').then(v => env = setVar(env, 'UNIQUE_MAINNET_BRANCH', fixupUnique(v))), - //ff('wss://kusama-rpc.polkadot.io/', /^(.)(...)(...)$/, 'v$1.$2.$3').then(v => env = setVar(env, 'KUSAMA_MAINNET_BRANCH', v)), + // ff('wss://kusama-rpc.polkadot.io/', /^(.)(...)(...)$/, 'v$1.$2.$3').then(v => env = setVar(env, 'KUSAMA_MAINNET_BRANCH', v)), ff('wss://rococo-rpc.polkadot.io/', /^(.)(...)(...)$/, 'v$1.$2.$3').then(v => env = setVar(env, 'KUSAMA_MAINNET_BRANCH', v)), // ff('wss://statemine-rpc.polkadot.io/', /^(....)$/, 'release-parachains-v$1').then(v => env = setVar(env, 'STATEMINE_BUILD_BRANCH', v)), ff('wss://karura-rpc-0.aca-api.network/', /^(.)(..)(.)$/, 'release-karura-$1.$2.$3').then(v => env = setVar(env, 'KARURA_BUILD_BRANCH', v)), diff --git a/js-packages/scripts/wait_for_first_block.sh b/js-packages/scripts/wait_for_first_block.sh index 2caf07d8a6..6ce0a7be0c 100755 --- a/js-packages/scripts/wait_for_first_block.sh +++ b/js-packages/scripts/wait_for_first_block.sh @@ -32,7 +32,7 @@ while ! had_new_block ; do echo "Waiting for another block..." counter=$((counter+1)) echo "counter="$counter - sleep 12 + sleep 6 if [ $counter -gt 400 ]; then exit 1; fi @@ -47,7 +47,7 @@ while ! had_new_block ; do echo "Waiting for another block..." counter=$((counter+1)) echo "counter="$counter - sleep 12 + sleep 6 if [ $counter -gt 400 ]; then exit 1; fi diff --git a/js-packages/test-utils/globalSetup.ts b/js-packages/test-utils/globalSetup.ts index 22191d93ed..318d1ac776 100644 --- a/js-packages/test-utils/globalSetup.ts +++ b/js-packages/test-utils/globalSetup.ts @@ -39,8 +39,7 @@ const globalSetup = async (): Promise => { pendingInterval: UNLOCKING_PERIOD})], true); } } catch (error) { - console.error(error); - throw Error('Error during globalSetup'); + throw Error('Error during globalSetup', {cause: error}); } }); }; @@ -64,7 +63,7 @@ const fundFilenames = async () => { const oneToken = helper.balance.getOneTokenNominal(); const alice = await privateKey('//Alice'); const nonce = await helper.chain.getNonce(alice.address); - const filenames = await getFiles(path.resolve(dirname, '..')); + const filenames = await getFiles(path.resolve(dirname, '../tests')); // batching is actually undesireable, it takes away the time while all the transactions actually succeed const batchSize = 300; @@ -72,7 +71,7 @@ const fundFilenames = async () => { for(let b = 0; b < filenames.length; b += batchSize) { const tx: Promise[] = []; let batchBalanceGrantedCounter = 0; - for(let i = 0; batchBalanceGrantedCounter < batchSize && b + i < filenames.length; i++) { + for(let i = 0; i < batchSize && b + i < filenames.length; i++) { const f = filenames[b + i]; if(!f.endsWith('.test.ts') && !f.endsWith('seqtest.ts') || f.includes('.outdated')) continue; const account = await privateKey({filename: f, ignoreFundsPresence: true}); @@ -96,7 +95,6 @@ const fundFilenames = async () => { if(result && result.lastIndexOf(false) > -1) throw new Error('The transactions actually probably succeeded, should check the balances.'); } } - if(balanceGrantedCounter == 0) console.log('No account needs additional funding.'); }); }; @@ -114,6 +112,10 @@ const fundFilenamesWithRetries = (retriesLeft: number): Promise => { globalSetup().catch(e => { console.error('Setup error'); - console.error(e); + if (e.result) { + console.error("Status:", e.status); + console.error("Result:", JSON.stringify(e.result.toHuman())); + } else + console.error(e); process.exit(1); }); diff --git a/js-packages/test-utils/index.ts b/js-packages/test-utils/index.ts index 5f7831acfb..5b4ba793ea 100644 --- a/js-packages/test-utils/index.ts +++ b/js-packages/test-utils/index.ts @@ -14,7 +14,7 @@ import * as defs from '@unique-nft/opal-testnet-types/definitions.js'; import type {IKeyringPair} from '@polkadot/types/types'; import type {EventRecord} from '@polkadot/types/interfaces'; import type {ICrossAccountId, ILogger, IPovInfo, ISchedulerOptions, ITransactionResult, TSigner} from '@unique-nft/playgrounds/types.js'; -import type {FrameSystemEventRecord, StagingXcmV2TraitsError, StagingXcmV3TraitsOutcome} from '@polkadot/types/lookup'; +import type {FrameSystemEventRecord, XcmV2TraitsError, StagingXcmV4TraitsOutcome} from '@polkadot/types/lookup'; import type {SignerOptions, VoidFn} from '@polkadot/api/types'; import {spawnSync} from 'child_process'; import {AcalaHelper, AstarHelper, MoonbeamHelper, PolkadexHelper, RelayHelper, WestmintHelper, ForeignAssetsGroup, XcmGroup, XTokensGroup, TokensGroup, HydraDxHelper} from './xcm/index.js'; @@ -279,13 +279,13 @@ export class Event { static Fail = this.Method('Fail', data => ({ messageHash: eventJsonData(data, 0), - outcome: eventData(data, 2), + outcome: eventData(data, 2), })); }; static DmpQueue = class extends EventSection('dmpQueue') { static ExecutedDownward = this.Method('ExecutedDownward', data => ({ - outcome: eventData(data, 2), + outcome: eventData(data, 2), })); }; } @@ -835,11 +835,11 @@ export class ArrangeGroup { const block2 = await this.helper.callRpc('api.rpc.chain.getBlock', [await this.helper.callRpc('api.rpc.chain.getBlockHash', [blockNumber])]); const block1 = await this.helper.callRpc('api.rpc.chain.getBlock', [await this.helper.callRpc('api.rpc.chain.getBlockHash', [blockNumber - 1])]); const findCreationDate = (block: any) => { - const humanBlock = block.toHuman(); + const methods = block.block.extrinsics.map((ext: any) => ext.method.toHuman()); let date; - humanBlock.block.extrinsics.forEach((ext: any) => { - if(ext.method.section === 'timestamp') { - date = Number(ext.method.args.now.replaceAll(',', '')); + methods.forEach((method: any) => { + if(method.section === 'timestamp') { + date = Number(method.args.now.replaceAll(',', '')); } }); return date; @@ -1290,7 +1290,7 @@ class WaitGroup { while(!isBlock) { await this.sleep(step); totalTime += step; - if(totalTime >= timeout) throw Error('Blocks production failed'); + if(totalTime >= timeout) throw Error(`Timeout ${timeout} ms`); } return promise; } @@ -1322,6 +1322,8 @@ class WaitGroup { * @returns */ async newBlocks(blocksCount = 1, timeout?: number): Promise { + const initialBlocksCount = blocksCount; + timeout = timeout ?? blocksCount * 60_000; // eslint-disable-next-line no-async-promise-executor const promise = new Promise(async (resolve) => { @@ -1334,7 +1336,13 @@ class WaitGroup { } }); }); - await this.waitWithTimeout(promise, timeout); + + try { + await this.waitWithTimeout(promise, timeout); + } catch (error) { + throw Error(`Failed to wait for ${initialBlocksCount} new blocks within ${timeout} ms. ${blocksCount} blocks left`); + } + return promise; } @@ -1364,32 +1372,48 @@ class WaitGroup { async forParachainBlockNumber(blockNumber: bigint | number, timeout?: number) { timeout = timeout ?? 30 * 60 * 1000; + let lastBlock = null; // eslint-disable-next-line no-async-promise-executor const promise = new Promise(async (resolve) => { const unsubscribe = await this.helper.getApi().rpc.chain.subscribeNewHeads((data: any) => { - if(data.number.toNumber() >= blockNumber) { + lastBlock = data.number.toNumber(); + if(lastBlock >= blockNumber) { unsubscribe(); resolve(); } }); }); - await this.waitWithTimeout(promise, timeout); + + try { + await this.waitWithTimeout(promise, timeout); + } catch (error) { + throw Error(`Failed to wait for block ${blockNumber} on parachain within ${timeout} ms. Last block from parachain is ${lastBlock}`); + } + return promise; } async forRelayBlockNumber(blockNumber: bigint | number, timeout?: number) { timeout = timeout ?? 30 * 60 * 1000; + let lastBlock = null; // eslint-disable-next-line no-async-promise-executor const promise = new Promise(async (resolve) => { const unsubscribe = await this.helper.getApi().query.parachainSystem.validationData((data: any) => { - if(data.value.relayParentNumber.toNumber() >= blockNumber) { + lastBlock = data.value.relayParentNumber.toNumber(); + if(lastBlock >= blockNumber) { // @ts-ignore unsubscribe(); resolve(); } }); }); - await this.waitWithTimeout(promise, timeout); + + try { + await this.waitWithTimeout(promise, timeout); + } catch (error) { + throw Error(`Failed to wait for block ${blockNumber} on relay within ${timeout} ms. Last block from relay is ${lastBlock}`); + } + return promise; } @@ -1494,6 +1518,7 @@ class SessionGroup { return (this.helper as DevUniqueHelper).wait.newSessions(sessionCount, blockTimeout); } + // TODO: Add nonce setOwnKeys(signer: TSigner, key: string) { return this.helper.executeExtrinsic( signer, diff --git a/js-packages/test-utils/package.json b/js-packages/test-utils/package.json index 6e2f4e588d..4a912ac942 100644 --- a/js-packages/test-utils/package.json +++ b/js-packages/test-utils/package.json @@ -10,9 +10,9 @@ "version": "1.0.0", "main": "index.js", "dependencies": { - "@polkadot/api": "10.10.1", - "@polkadot/util": "^12.5.1", - "@polkadot/util-crypto": "^12.5.1", + "@polkadot/api": "12.4.2", + "@polkadot/util": "^13.0.2", + "@polkadot/util-crypto": "^13.0.2", "@unique-nft/opal-testnet-types": "workspace:*" } } diff --git a/js-packages/tests/config.ts b/js-packages/tests/config.ts index 4f8a3f18d5..13a6b837ac 100644 --- a/js-packages/tests/config.ts +++ b/js-packages/tests/config.ts @@ -25,9 +25,9 @@ const config = { moonriverUrl: process.env.RELAY_MOONRIVER_URL || 'ws://127.0.0.1:9947', astarUrl: process.env.RELAY_ASTAR_URL || 'ws://127.0.0.1:9949', shidenUrl: process.env.RELAY_SHIDEN_URL || 'ws://127.0.0.1:9949', - westmintUrl: process.env.RELAY_WESTMINT_URL || 'ws://127.0.0.1:9948', - statemineUrl: process.env.RELAY_STATEMINE_URL || 'ws://127.0.0.1:9948', - statemintUrl: process.env.RELAY_STATEMINT_URL || 'ws://127.0.0.1:9948', + westmintUrl: process.env.RELAY_ASSETHUB_URL || 'ws://127.0.0.1:9948', + statemineUrl: process.env.RELAY_ASSETHUB_URL || 'ws://127.0.0.1:9948', + statemintUrl: process.env.RELAY_ASSETHUB_URL || 'ws://127.0.0.1:9948', polkadexUrl: process.env.RELAY_POLKADEX_URL || 'ws://127.0.0.1:9950', hydraDxUrl: process.env.RELAY_HYDRADX_URL || 'ws://127.0.0.1:9951', }; diff --git a/js-packages/tests/creditFeesToTreasury.seqtest.ts b/js-packages/tests/creditFeesToTreasury.seqtest.ts index 581a8d67a9..8391e38af3 100644 --- a/js-packages/tests/creditFeesToTreasury.seqtest.ts +++ b/js-packages/tests/creditFeesToTreasury.seqtest.ts @@ -18,8 +18,8 @@ import type {IKeyringPair} from '@polkadot/types/types'; import {ApiPromise} from '@polkadot/api'; import {usingPlaygrounds, expect, itSub} from '@unique/test-utils/util.js'; import type {u32} from '@polkadot/types-codec'; -import { itEth } from '@unique/test-utils/eth/util.js'; -import { ITransactionResult } from '@unique-nft/playgrounds/types'; +import {itEth} from '@unique/test-utils/eth/util.js'; +import {ITransactionResult} from '@unique-nft/playgrounds/types'; const TREASURY = '5EYCAe5ijiYfyeZ2JJCGq56LmPyNRAKzpG4QkoQkkQNB5e6Z'; const saneMinimumFee = 0.05; @@ -165,12 +165,12 @@ describe('integration test: Fees must be credited to Treasury:', () => { expect(Math.abs(fee - expectedTransferFee)).to.be.lessThan(tolerance); }); - + itEth('Evm Transactions send fees to Treasury', async ({helper}) => { const value = helper.balance.getOneTokenNominal(); const gasPrice = await helper.getWeb3().eth.getGasPrice(); let result = null; - + const lambda = async () => { result = await helper.executeExtrinsic(alice, 'api.tx.evm.call', [ helper.address.substrateToEth(alice.address), @@ -184,17 +184,17 @@ describe('integration test: Fees must be credited to Treasury:', () => { [], ]); }; - - const totalPaid = await helper.arrange.calculcateFee({ Substrate: alice.address }, lambda); + + const totalPaid = await helper.arrange.calculcateFee({Substrate: alice.address}, lambda); const evmFees = totalPaid - value; - + const treasuryDepoosited = (result as unknown as ITransactionResult).result.events - .filter(({ event: { method, section } }) => section == 'treasury' && method == 'Deposit') - .map(({ event: { data } }) => data[0].toJSON()); - + .filter(({event: {method, section}}) => section == 'treasury' && method == 'Deposit') + .map(({event: {data}}) => data[0].toJSON()); + const deposit = BigInt(treasuryDepoosited[0]); - + expect(deposit).to.be.equal(evmFees); }); - + }); diff --git a/js-packages/tests/eth/contractSponsoring.test.ts b/js-packages/tests/eth/contractSponsoring.test.ts index 3cc79011ca..332f7e32e9 100644 --- a/js-packages/tests/eth/contractSponsoring.test.ts +++ b/js-packages/tests/eth/contractSponsoring.test.ts @@ -395,12 +395,12 @@ describe('Sponsoring EVM contracts', () => { }); // TODO: Find a way to calculate default rate limit - itEth('Default rate limit equal 7200', async ({helper}) => { + itEth('Default rate limit equal 14400', async ({helper}) => { const owner = await helper.eth.createAccountWithBalance(donor); const helpers = await helper.ethNativeContract.contractHelpers(owner); const flipper = await helper.eth.deployFlipper(owner); - expect(await helpers.methods.sponsoringRateLimit(flipper.options.address).call()).to.be.equal('7200'); + expect(await helpers.methods.sponsoringRateLimit(flipper.options.address).call()).to.be.equal('14400'); }); itEth('Gas price boundaries', async ({helper}) => { diff --git a/js-packages/tests/maintenance.seqtest.ts b/js-packages/tests/maintenance.seqtest.ts index 6fc8adc37f..9a6b61d788 100644 --- a/js-packages/tests/maintenance.seqtest.ts +++ b/js-packages/tests/maintenance.seqtest.ts @@ -19,7 +19,7 @@ import {ApiPromise} from '@polkadot/api'; import {expect, itSched, itSub, Pallets, requirePalletsOrSkip, usingPlaygrounds} from '@unique/test-utils/util.js'; import {itEth} from '@unique/test-utils/eth/util.js'; import {main as correctState} from '@unique/scripts/correctStateAfterMaintenance.js'; -import type {PalletBalancesIdAmount} from '@polkadot/types/lookup'; +import type {FrameSupportTokensMiscIdAmount} from '@polkadot/types/lookup'; import type {Vec} from '@polkadot/types-codec'; async function maintenanceEnabled(api: ApiPromise): Promise { @@ -321,7 +321,7 @@ describe('Integration Test: Maintenance Functionality', () => { expect((await api.query.appPromotion.pendingUnstake(1)).toJSON()).to.be.deep.equal([[superuser.address, '0x00000000000000056bc75e2d63100000']]); expect((await api.query.appPromotion.pendingUnstake(2)).toJSON()).to.be.deep.equal([[superuser.address, '0x00000000000000056bc75e2d63100000']]); - expect((await api.query.balances.freezes(superuser.address) as Vec) + expect((await api.query.balances.freezes(superuser.address) as Vec) .map(lock => ({id: lock.id.toUtf8(), amount: lock.amount.toBigInt()}))) .to.be.deep.equal([{id: 'appstakeappstake', amount: 200000000000000000000n}]); await correctState(); diff --git a/js-packages/tests/sub/collator-selection/collatorSelection.seqtest.ts b/js-packages/tests/sub/collator-selection/collatorSelection.seqtest.ts index ee98c47b4c..0a0cbe4549 100644 --- a/js-packages/tests/sub/collator-selection/collatorSelection.seqtest.ts +++ b/js-packages/tests/sub/collator-selection/collatorSelection.seqtest.ts @@ -140,8 +140,9 @@ describe('Integration Test: Collator Selection', () => { await usingPlaygrounds(async (helper) => { crowd = await helper.arrange.createCrowd(20, 100n, superuser); - // set session keys for everyone - await Promise.all(crowd.map(acc => helper.session.setOwnKeysFromAddress(acc))); + for(const acc of crowd) { + await helper.session.setOwnKeysFromAddress(acc); + } }); }); @@ -222,8 +223,9 @@ describe('Integration Test: Collator Selection', () => { await usingPlaygrounds(async (helper) => { crowd = await helper.arrange.createCrowd(20, 100n, superuser); - // set session keys for everyone - await Promise.all(crowd.map(acc => helper.session.setOwnKeysFromAddress(acc))); + for(const acc of crowd) { + await helper.session.setOwnKeysFromAddress(acc); + } }); }); @@ -364,8 +366,10 @@ describe('Integration Test: Collator Selection', () => { const newInvulnerables = await helper.arrange.createAccounts(Array(invulnerablesUntilLimit).fill(10n), superuser); const [lastInvulnerable] = await helper.arrange.createAccounts([10n], superuser); - await Promise.all(newInvulnerables.map((i: IKeyringPair) => - helper.session.setOwnKeysFromAddress(i))); + for(const i of newInvulnerables) { + await helper.session.setOwnKeysFromAddress(i); + } + await helper.session.setOwnKeysFromAddress(lastInvulnerable); let nonce = await helper.chain.getNonce(superuser.address); diff --git a/js-packages/types/augment-api-consts.ts b/js-packages/types/augment-api-consts.ts index 46fd606d94..2b8bb8148e 100644 --- a/js-packages/types/augment-api-consts.ts +++ b/js-packages/types/augment-api-consts.ts @@ -6,10 +6,10 @@ import '@polkadot/api-base/types/consts'; import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types'; -import type { Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; +import type { Null, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { Codec, ITuple } from '@polkadot/types-codec/types'; import type { H160, Perbill, Permill } from '@polkadot/types/interfaces/runtime'; -import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV3MultiLocation, UpDataStructsCollectionLimits } from '@polkadot/types/lookup'; +import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV4Location, UpDataStructsCollectionLimits } from '@polkadot/types/lookup'; export type __AugmentedConst = AugmentedConst; @@ -45,6 +45,19 @@ declare module '@polkadot/api-base/types/consts' { **/ [key: string]: Codec; }; + aura: { + /** + * The slot duration Aura should run with, expressed in milliseconds. + * The effective value of this type should not change while the chain is running. + * + * For backwards compatibility either use [`MinimumPeriodTimesTwo`] or a const. + **/ + slotDuration: u64 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; balances: { /** * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO! @@ -61,17 +74,17 @@ declare module '@polkadot/api-base/types/consts' { * The maximum number of individual freeze locks that can exist on an account at any time. **/ maxFreezes: u32 & AugmentedConst; - /** - * The maximum number of holds that can exist on an account at any time. - **/ - maxHolds: u32 & AugmentedConst; /** * The maximum number of locks that should exist on an account. * Not strictly enforced, but used for weight estimation. + * + * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/` **/ maxLocks: u32 & AugmentedConst; /** * The maximum number of named reserves that can exist on an account. + * + * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/` **/ maxReserves: u32 & AugmentedConst; /** @@ -226,6 +239,16 @@ declare module '@polkadot/api-base/types/consts' { **/ [key: string]: Codec; }; + financialCouncil: { + /** + * The maximum weight of a dispatch call that can be proposed and executed. + **/ + maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; identity: { /** * The amount held on deposit for a registered identity @@ -270,6 +293,53 @@ declare module '@polkadot/api-base/types/consts' { **/ [key: string]: Codec; }; + messageQueue: { + /** + * The size of the page; this implies the maximum message size which can be sent. + * + * A good value depends on the expected message sizes, their weights, the weight that is + * available for processing them and the maximal needed message size. The maximal message + * size is slightly lower than this as defined by [`MaxMessageLenOf`]. + **/ + heapSize: u32 & AugmentedConst; + /** + * The maximum amount of weight (if any) to be used from remaining weight `on_idle` which + * should be provided to the message queue for servicing enqueued items `on_idle`. + * Useful for parachains to process messages at the same block they are received. + * + * If `None`, it will not call `ServiceQueues::service_queues` in `on_idle`. + **/ + idleMaxServiceWeight: Option & AugmentedConst; + /** + * The maximum number of stale pages (i.e. of overweight messages) allowed before culling + * can happen. Once there are more stale pages than this, then historical pages may be + * dropped, even if they contain unprocessed overweight messages. + **/ + maxStale: u32 & AugmentedConst; + /** + * The amount of weight (if any) which should be provided to the message queue for + * servicing enqueued items `on_initialize`. + * + * This may be legitimately `None` in the case that you will call + * `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have + * it run in `on_idle`. + **/ + serviceWeight: Option & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; + parachainSystem: { + /** + * Returns the parachain ID we are running with. + **/ + selfParaId: u32 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; scheduler: { /** * The maximum weight that may be scheduled per block for any dispatchables. @@ -310,7 +380,7 @@ declare module '@polkadot/api-base/types/consts' { * - [`frame_support::storage::StorageDoubleMap`]: 96 byte * * For more info see - * + * **/ maxKeyLen: u32 & AugmentedConst; /** @@ -344,7 +414,7 @@ declare module '@polkadot/api-base/types/consts' { **/ ss58Prefix: u16 & AugmentedConst; /** - * Get the chain's current version. + * Get the chain's in-code version. **/ version: SpVersionRuntimeVersion & AugmentedConst; /** @@ -364,10 +434,12 @@ declare module '@polkadot/api-base/types/consts' { }; timestamp: { /** - * The minimum period between blocks. Beware that this is different to the *expected* - * period that the block production apparatus provides. Your chosen consensus system will - * generally work with this to determine a sensible block time. e.g. For Aura, it will be - * double this period on default settings. + * The minimum period between blocks. + * + * Be aware that this is different to the *expected* period that the block production + * apparatus provides. Your chosen consensus system will generally work with this to + * determine a sensible block time. For example, in the Aura pallet it will be double this + * period on default settings. **/ minimumPeriod: u64 & AugmentedConst; /** @@ -375,23 +447,12 @@ declare module '@polkadot/api-base/types/consts' { **/ [key: string]: Codec; }; - tokens: { - maxLocks: u32 & AugmentedConst; - /** - * The maximum number of named reserves that can exist on an account. - **/ - maxReserves: u32 & AugmentedConst; - /** - * Generic const - **/ - [key: string]: Codec; - }; transactionPayment: { /** - * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their + * A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their * `priority` * - * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later + * This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later * added to a tip component in regular `priority` calculations. * It means that a `Normal` transaction can front-run a similarly-sized `Operational` * extrinsic (with no tip), by including a tip value greater than the virtual tip. @@ -432,18 +493,9 @@ declare module '@polkadot/api-base/types/consts' { **/ palletId: FrameSupportPalletId & AugmentedConst; /** - * Fraction of a proposal's value that should be bonded in order to place the proposal. - * An accepted proposal gets these back. A rejected proposal does not. - **/ - proposalBond: Permill & AugmentedConst; - /** - * Maximum amount of funds that should be placed in a deposit for making a proposal. + * The period during which an approved treasury spend has to be claimed. **/ - proposalBondMaximum: Option & AugmentedConst; - /** - * Minimum amount of funds that should be placed in a deposit for making a proposal. - **/ - proposalBondMinimum: u128 & AugmentedConst; + payoutPeriod: u32 & AugmentedConst; /** * Period between successive spends. **/ @@ -531,6 +583,39 @@ declare module '@polkadot/api-base/types/consts' { **/ [key: string]: Codec; }; + xcmpQueue: { + /** + * Maximal number of outbound XCMP channels that can have messages queued at the same time. + * + * If this is reached, then no further messages can be sent to channels that do not yet + * have a message queued. This should be set to the expected maximum of outbound channels + * which is determined by [`Self::ChannelInfo`]. It is important to set this large enough, + * since otherwise the congestion control protocol will not work as intended and messages + * may be dropped. This value increases the PoV and should therefore not be picked too + * high. Governance needs to pay attention to not open more channels than this value. + **/ + maxActiveOutboundChannels: u32 & AugmentedConst; + /** + * The maximum number of inbound XCMP channels that can be suspended simultaneously. + * + * Any further channel suspensions will fail and messages may get dropped without further + * notice. Choosing a high value (1000) is okay; the trade-off that is described in + * [`InboundXcmpSuspended`] still applies at that scale. + **/ + maxInboundSuspended: u32 & AugmentedConst; + /** + * The maximal page size for HRMP message pages. + * + * A lower limit can be set dynamically, but this is the hard-limit for the PoV worst case + * benchmarking. The limit for the size of a message is slightly below this, since some + * overhead is incurred for encoding the format. + **/ + maxPageSize: u32 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; xTokens: { /** * Base XCM weight. @@ -539,10 +624,14 @@ declare module '@polkadot/api-base/types/consts' { * T::Weigher::weight(&msg)`. **/ baseXcmWeight: SpWeightsWeightV2Weight & AugmentedConst; + /** + * The id of the RateLimiter. + **/ + rateLimiterId: Null & AugmentedConst; /** * Self chain location. **/ - selfLocation: StagingXcmV3MultiLocation & AugmentedConst; + selfLocation: StagingXcmV4Location & AugmentedConst; /** * Generic const **/ diff --git a/js-packages/types/augment-api-errors.ts b/js-packages/types/augment-api-errors.ts index f2aa64459e..443a87b881 100644 --- a/js-packages/types/augment-api-errors.ts +++ b/js-packages/types/augment-api-errors.ts @@ -50,6 +50,10 @@ declare module '@polkadot/api-base/types/errors' { * Beneficiary account must pre-exist. **/ DeadAccount: AugmentedError; + /** + * The delta cannot be zero. + **/ + DeltaZero: AugmentedError; /** * Value too low to create account due to existential deposit. **/ @@ -66,6 +70,10 @@ declare module '@polkadot/api-base/types/errors' { * Balance too low to send value. **/ InsufficientBalance: AugmentedError; + /** + * The issuance cannot be modified since it is already deactivated. + **/ + IssuanceDeactivated: AugmentedError; /** * Account liquidity restrictions prevent withdrawal. **/ @@ -75,7 +83,7 @@ declare module '@polkadot/api-base/types/errors' { **/ TooManyFreezes: AugmentedError; /** - * Number of holds exceed `MaxHolds`. + * Number of holds exceed `VariantCountOf`. **/ TooManyHolds: AugmentedError; /** @@ -250,6 +258,10 @@ declare module '@polkadot/api-base/types/errors' { * Tried to store more property data than allowed **/ NoSpaceForProperty: AugmentedError; + /** + * Not Fungible item data used to mint in Fungible collection. + **/ + NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError; /** * Insufficient funds to perform an action **/ @@ -382,12 +394,6 @@ declare module '@polkadot/api-base/types/errors' { **/ [key: string]: AugmentedError; }; - cumulusXcm: { - /** - * Generic error - **/ - [key: string]: AugmentedError; - }; democracy: { /** * Cannot cancel the same proposal twice @@ -491,20 +497,6 @@ declare module '@polkadot/api-base/types/errors' { **/ [key: string]: AugmentedError; }; - dmpQueue: { - /** - * The amount of weight given is possibly not enough for executing the message. - **/ - OverLimit: AugmentedError; - /** - * The message index given is unknown. - **/ - Unknown: AugmentedError; - /** - * Generic error - **/ - [key: string]: AugmentedError; - }; ethereum: { /** * Signature is invalid. @@ -540,10 +532,18 @@ declare module '@polkadot/api-base/types/errors' { * Gas price is too low. **/ GasPriceTooLow: AugmentedError; + /** + * The chain id is invalid. + **/ + InvalidChainId: AugmentedError; /** * Nonce is invalid **/ InvalidNonce: AugmentedError; + /** + * the signature is invalid. + **/ + InvalidSignature: AugmentedError; /** * Calculating total payment overflowed **/ @@ -650,6 +650,14 @@ declare module '@polkadot/api-base/types/errors' { * The member's rank is too low to vote. **/ RankTooLow: AugmentedError; + /** + * The new member to exchange is the same as the old member + **/ + SameMember: AugmentedError; + /** + * The max member count for the rank has been reached. + **/ + TooManyMembers: AugmentedError; /** * Generic error **/ @@ -700,6 +708,10 @@ declare module '@polkadot/api-base/types/errors' { * The preimage does not exist. **/ PreimageNotExist: AugmentedError; + /** + * The preimage is stored with a different length than the one provided. + **/ + PreimageStoredWithDifferentLength: AugmentedError; /** * The queue of the track is empty. **/ @@ -713,24 +725,83 @@ declare module '@polkadot/api-base/types/errors' { **/ [key: string]: AugmentedError; }; - foreignAssets: { + financialCouncil: { /** - * AssetId exists + * Members are already initialized! **/ - AssetIdExisted: AugmentedError; + AlreadyInitialized: AugmentedError; /** - * AssetId not exists + * Duplicate proposals not allowed **/ - AssetIdNotExists: AugmentedError; + DuplicateProposal: AugmentedError; /** - * The given location could not be used (e.g. because it cannot be expressed in the - * desired version of XCM). + * Duplicate vote ignored **/ - BadLocation: AugmentedError; + DuplicateVote: AugmentedError; + /** + * Account is not a member + **/ + NotMember: AugmentedError; + /** + * Prime account is not a member + **/ + PrimeAccountNotMember: AugmentedError; + /** + * Proposal must exist + **/ + ProposalMissing: AugmentedError; + /** + * The close call was made too early, before the end of the voting. + **/ + TooEarly: AugmentedError; + /** + * There can only be a maximum of `MaxProposals` active proposals. + **/ + TooManyProposals: AugmentedError; + /** + * Mismatched index + **/ + WrongIndex: AugmentedError; + /** + * The given length bound for the proposal was too low. + **/ + WrongProposalLength: AugmentedError; + /** + * The given weight bound for the proposal was too low. + **/ + WrongProposalWeight: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + financialCouncilMembership: { + /** + * Already a member. + **/ + AlreadyMember: AugmentedError; + /** + * Not a member. + **/ + NotMember: AugmentedError; + /** + * Too many members. + **/ + TooManyMembers: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; + foreignAssets: { /** - * MultiLocation existed + * The given asset ID could not be converted into the current XCM version. **/ - MultiLocationExisted: AugmentedError; + BadForeignAssetId: AugmentedError; + /** + * The foreign asset is already registered. + **/ + ForeignAssetAlreadyRegistered: AugmentedError; /** * Generic error **/ @@ -749,10 +820,6 @@ declare module '@polkadot/api-base/types/errors' { * Only a fungible collection could be possibly broken; any fungible token is valid. **/ FungibleTokensAreAlwaysValid: AugmentedError; - /** - * Not Fungible item data used to mint in Fungible collection. - **/ - NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError; /** * Setting allowance for all is not allowed. **/ @@ -850,6 +917,54 @@ declare module '@polkadot/api-base/types/errors' { **/ [key: string]: AugmentedError; }; + messageQueue: { + /** + * The message was already processed and cannot be processed again. + **/ + AlreadyProcessed: AugmentedError; + /** + * There is temporarily not enough weight to continue servicing messages. + **/ + InsufficientWeight: AugmentedError; + /** + * The referenced message could not be found. + **/ + NoMessage: AugmentedError; + /** + * Page to be reaped does not exist. + **/ + NoPage: AugmentedError; + /** + * Page is not reapable because it has items remaining to be processed and is not old + * enough. + **/ + NotReapable: AugmentedError; + /** + * The message is queued for future execution. + **/ + Queued: AugmentedError; + /** + * The queue is paused and no message can be executed from it. + * + * This can change at any time and may resolve in the future by re-trying. + **/ + QueuePaused: AugmentedError; + /** + * Another call is in progress and needs to finish before this call can happen. + **/ + RecursiveDisallowed: AugmentedError; + /** + * This message is temporarily unprocessable. + * + * Such errors are expected, but not guaranteed, to resolve themselves eventually through + * retrying. + **/ + TemporarilyUnprocessable: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; nonfungible: { /** * Unable to burn NFT with children @@ -925,12 +1040,16 @@ declare module '@polkadot/api-base/types/errors' { * The version of the `Versioned` value used is not able to be interpreted. **/ BadVersion: AugmentedError; + /** + * Could not check-out the assets for teleportation to the destination chain. + **/ + CannotCheckOutTeleport: AugmentedError; /** * Could not re-anchor the assets to declare the fees for the destination chain. **/ CannotReanchor: AugmentedError; /** - * The destination `MultiLocation` provided cannot be inverted. + * The destination `Location` provided cannot be inverted. **/ DestinationNotInvertible: AugmentedError; /** @@ -950,13 +1069,21 @@ declare module '@polkadot/api-base/types/errors' { **/ InUse: AugmentedError; /** - * Invalid asset for the operation. + * Invalid asset, reserve chain could not be determined for it. **/ - InvalidAsset: AugmentedError; + InvalidAssetUnknownReserve: AugmentedError; + /** + * Invalid asset, do not support remote asset reserves with different fees reserves. + **/ + InvalidAssetUnsupportedReserve: AugmentedError; /** * Origin is invalid for sending. **/ InvalidOrigin: AugmentedError; + /** + * Local XCM execution incomplete. + **/ + LocalExecutionIncomplete: AugmentedError; /** * A remote lock with the corresponding data could not be found. **/ @@ -982,6 +1109,10 @@ declare module '@polkadot/api-base/types/errors' { * The asset owner has too many locks on the asset. **/ TooManyLocks: AugmentedError; + /** + * Too many assets with different reserve locations have been attempted for transfer. + **/ + TooManyReserves: AugmentedError; /** * The desired destination was unreachable, generally because there is a no way of routing * to it. @@ -1001,6 +1132,10 @@ declare module '@polkadot/api-base/types/errors' { * Preimage has already been noted on-chain. **/ AlreadyNoted: AugmentedError; + /** + * No ticket with a cost was returned by [`Config::Consideration`] to store the preimage. + **/ + NoCost: AugmentedError; /** * The user is not authorized to perform this action. **/ @@ -1021,6 +1156,14 @@ declare module '@polkadot/api-base/types/errors' { * Preimage is too large to store on-chain. **/ TooBig: AugmentedError; + /** + * Too few hashes were requested to be upgraded (i.e. zero). + **/ + TooFew: AugmentedError; + /** + * More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once. + **/ + TooMany: AugmentedError; /** * Generic error **/ @@ -1168,7 +1311,7 @@ declare module '@polkadot/api-base/types/errors' { }; sudo: { /** - * Sender must be the Sudo account + * Sender must be the Sudo account. **/ RequireSudo: AugmentedError; /** @@ -1192,6 +1335,10 @@ declare module '@polkadot/api-base/types/errors' { * and the new runtime. **/ InvalidSpecName: AugmentedError; + /** + * A multi-block migration is ongoing and prevents the current code from being replaced. + **/ + MultiBlockMigrationsOngoing: AugmentedError; /** * Suicide called when the account has non-default composite data. **/ @@ -1200,11 +1347,19 @@ declare module '@polkadot/api-base/types/errors' { * There is a non-zero reference count preventing the account from being purged. **/ NonZeroRefCount: AugmentedError; + /** + * No upgrade authorized. + **/ + NothingAuthorized: AugmentedError; /** * The specification version is not allowed to decrease between the current runtime * and the new runtime. **/ SpecVersionNeedsToIncrease: AugmentedError; + /** + * The submitted code is not authorized. + **/ + Unauthorized: AugmentedError; /** * Generic error **/ @@ -1286,59 +1441,48 @@ declare module '@polkadot/api-base/types/errors' { **/ [key: string]: AugmentedError; }; - tokens: { - /** - * Cannot convert Amount into Balance type - **/ - AmountIntoBalanceFailed: AugmentedError; - /** - * The balance is too low - **/ - BalanceTooLow: AugmentedError; - /** - * Beneficiary account must pre-exist - **/ - DeadAccount: AugmentedError; - /** - * Value too low to create account due to existential deposit - **/ - ExistentialDeposit: AugmentedError; + treasury: { /** - * Transfer/payment would kill account + * The payment has already been attempted. **/ - KeepAlive: AugmentedError; + AlreadyAttempted: AugmentedError; /** - * Failed because liquidity restrictions due to locking + * The spend is not yet eligible for payout. **/ - LiquidityRestrictions: AugmentedError; + EarlyPayout: AugmentedError; /** - * Failed because the maximum locks was exceeded + * The balance of the asset kind is not convertible to the balance of the native asset. **/ - MaxLocksExceeded: AugmentedError; - TooManyReserves: AugmentedError; + FailedToConvertBalance: AugmentedError; /** - * Generic error + * The payment has neither failed nor succeeded yet. **/ - [key: string]: AugmentedError; - }; - treasury: { + Inconclusive: AugmentedError; /** * The spend origin is valid but the amount it is allowed to spend is lower than the * amount to be spent. **/ InsufficientPermission: AugmentedError; /** - * Proposer's balance is too low. + * No proposal, bounty or spend at that index. + **/ + InvalidIndex: AugmentedError; + /** + * The payout was not yet attempted/claimed. **/ - InsufficientProposersBalance: AugmentedError; + NotAttempted: AugmentedError; /** - * No proposal or bounty at that index. + * There was some issue with the mechanism of payment. **/ - InvalidIndex: AugmentedError; + PayoutError: AugmentedError; /** * Proposal has not been approved. **/ ProposalNotApproved: AugmentedError; + /** + * The spend has expired and cannot be claimed. + **/ + SpendExpired: AugmentedError; /** * Too many approvals in the queue. **/ @@ -1408,25 +1552,25 @@ declare module '@polkadot/api-base/types/errors' { }; xcmpQueue: { /** - * Bad overweight index. + * The execution is already resumed. **/ - BadOverweightIndex: AugmentedError; + AlreadyResumed: AugmentedError; /** - * Bad XCM data. + * The execution is already suspended. **/ - BadXcm: AugmentedError; + AlreadySuspended: AugmentedError; /** - * Bad XCM origin. + * Setting the queue config failed since one of its values was invalid. **/ - BadXcmOrigin: AugmentedError; + BadQueueConfig: AugmentedError; /** - * Failed to send XCM message. + * The message is too big. **/ - FailedToSend: AugmentedError; + TooBig: AugmentedError; /** - * Provided weight is possibly not enough to execute the message. + * There are too many active outbound channels. **/ - WeightOverLimit: AugmentedError; + TooManyActiveOutboundChannels: AugmentedError; /** * Generic error **/ @@ -1438,7 +1582,7 @@ declare module '@polkadot/api-base/types/errors' { **/ AssetHasNoReserve: AugmentedError; /** - * The specified index does not exist in a MultiAssets struct. + * The specified index does not exist in a Assets struct. **/ AssetIndexNonExistent: AugmentedError; /** @@ -1452,7 +1596,7 @@ declare module '@polkadot/api-base/types/errors' { **/ CannotReanchor: AugmentedError; /** - * The destination `MultiLocation` provided cannot be inverted. + * The destination `Location` provided cannot be inverted. **/ DestinationNotInvertible: AugmentedError; /** @@ -1469,7 +1613,7 @@ declare module '@polkadot/api-base/types/errors' { **/ InvalidAncestry: AugmentedError; /** - * The MultiAsset is invalid. + * The Asset is invalid. **/ InvalidAsset: AugmentedError; /** @@ -1489,9 +1633,13 @@ declare module '@polkadot/api-base/types/errors' { **/ NotCrossChainTransferableCurrency: AugmentedError; /** - * Not supported MultiLocation + * Not supported Location + **/ + NotSupportedLocation: AugmentedError; + /** + * Asset transfer is limited by RateLimiter. **/ - NotSupportedMultiLocation: AugmentedError; + RateLimited: AugmentedError; /** * The number of assets to be sent is over the maximum. **/ diff --git a/js-packages/types/augment-api-events.ts b/js-packages/types/augment-api-events.ts index 1ce8ce7ce7..8b7327b3f3 100644 --- a/js-packages/types/augment-api-events.ts +++ b/js-packages/types/augment-api-events.ts @@ -9,7 +9,7 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types'; import type { Bytes, Null, Option, Result, U8aFixed, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { ITuple } from '@polkadot/types-codec/types'; import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime'; -import type { EthereumLog, EvmCoreErrorExitReason, FrameSupportDispatchDispatchInfo, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, OrmlVestingVestingSchedule, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetId, PalletForeignAssetsModuleAssetMetadata, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpRuntimeDispatchError, SpWeightsWeightV2Weight, StagingXcmV3MultiAsset, StagingXcmV3MultiLocation, StagingXcmV3MultiassetMultiAssets, StagingXcmV3Response, StagingXcmV3TraitsError, StagingXcmV3TraitsOutcome, StagingXcmV3Xcm, StagingXcmVersionedMultiAssets, StagingXcmVersionedMultiLocation } from '@polkadot/types/lookup'; +import type { CumulusPrimitivesCoreAggregateMessageOrigin, EthereumLog, EvmCoreErrorExitReason, FrameSupportDispatchDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, OrmlVestingVestingSchedule, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsMigrationStatus, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpRuntimeDispatchError, SpWeightsWeightV2Weight, StagingXcmV4Asset, StagingXcmV4AssetAssets, StagingXcmV4Location, StagingXcmV4Response, StagingXcmV4TraitsOutcome, StagingXcmV4Xcm, XcmV3TraitsError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup'; export type __AugmentedEvent = AugmentedEvent; @@ -120,6 +120,10 @@ declare module '@polkadot/api-base/types/events' { * Some balance was thawed. **/ Thawed: AugmentedEvent; + /** + * The `TotalIssuance` was forcefully changed. + **/ + TotalIssuanceForced: AugmentedEvent; /** * Transfer succeeded. **/ @@ -331,7 +335,7 @@ declare module '@polkadot/api-base/types/events' { * Downward message executed with the given outcome. * \[ id, outcome \] **/ - ExecutedDownward: AugmentedEvent; + ExecutedDownward: AugmentedEvent; /** * Downward message is invalid XCM. * \[ id \] @@ -393,7 +397,7 @@ declare module '@polkadot/api-base/types/events' { **/ Proposed: AugmentedEvent; /** - * An account has secconded a proposal + * An account has seconded a proposal **/ Seconded: AugmentedEvent; /** @@ -423,33 +427,53 @@ declare module '@polkadot/api-base/types/events' { }; dmpQueue: { /** - * Downward message executed with the given outcome. + * Some debris was cleaned up. **/ - ExecutedDownward: AugmentedEvent; + CleanedSome: AugmentedEvent; /** - * Downward message is invalid XCM. + * The cleanup of remaining pallet storage completed. **/ - InvalidFormat: AugmentedEvent; + Completed: AugmentedEvent; /** - * The maximum number of downward messages was reached. + * The export of pages completed. **/ - MaxMessagesExhausted: AugmentedEvent; + CompletedExport: AugmentedEvent; /** - * Downward message is overweight and was placed in the overweight queue. + * The export of overweight messages completed. **/ - OverweightEnqueued: AugmentedEvent; + CompletedOverweightExport: AugmentedEvent; /** - * Downward message from the overweight queue was executed. + * The export of a page completed. **/ - OverweightServiced: AugmentedEvent; + Exported: AugmentedEvent; /** - * Downward message is unsupported version of XCM. + * The export of an overweight message completed. + **/ + ExportedOverweight: AugmentedEvent; + /** + * The export of a page failed. + * + * This should never be emitted. + **/ + ExportFailed: AugmentedEvent; + /** + * The export of an overweight message failed. + * + * This should never be emitted. **/ - UnsupportedVersion: AugmentedEvent; + ExportOverweightFailed: AugmentedEvent; /** - * The weight limit for handling downward messages was reached. + * The cleanup of remaining pallet storage started. **/ - WeightExhausted: AugmentedEvent; + StartedCleanup: AugmentedEvent; + /** + * The export of pages started. + **/ + StartedExport: AugmentedEvent; + /** + * The export of overweight messages started. + **/ + StartedOverweightExport: AugmentedEvent; /** * Generic event **/ @@ -524,6 +548,10 @@ declare module '@polkadot/api-base/types/events' { * A member `who` has been added. **/ MemberAdded: AugmentedEvent; + /** + * The member `who` had their `AccountId` changed to `new_who`. + **/ + MemberExchanged: AugmentedEvent; /** * The member `who` of given `rank` has been removed from the collective. **/ @@ -570,7 +598,7 @@ declare module '@polkadot/api-base/types/events' { **/ DecisionStarted: AugmentedEvent; /** - * A deposit has been slashaed. + * A deposit has been slashed. **/ DepositSlashed: AugmentedEvent; /** @@ -606,23 +634,81 @@ declare module '@polkadot/api-base/types/events' { **/ [key: string]: AugmentedEvent; }; - foreignAssets: { + financialCouncil: { + /** + * A motion was approved by the required threshold. + **/ + Approved: AugmentedEvent; + /** + * A proposal was closed because its threshold was reached or after its duration was up. + **/ + Closed: AugmentedEvent; + /** + * A motion was not approved by the required threshold. + **/ + Disapproved: AugmentedEvent; + /** + * A motion was executed; result will be `Ok` if it returned without error. + **/ + Executed: AugmentedEvent], { proposalHash: H256, result: Result }>; + /** + * A single member did some action; result will be `Ok` if it returned without error. + **/ + MemberExecuted: AugmentedEvent], { proposalHash: H256, result: Result }>; + /** + * A motion (given hash) has been proposed (by given account) with a threshold (given + * `MemberCount`). + **/ + Proposed: AugmentedEvent; /** - * The asset registered. + * A motion (given hash) has been voted on by given account, leaving + * a tally (yes votes and no votes given respectively as `MemberCount`). **/ - AssetRegistered: AugmentedEvent; + Voted: AugmentedEvent; /** - * The asset updated. + * Generic event **/ - AssetUpdated: AugmentedEvent; + [key: string]: AugmentedEvent; + }; + financialCouncilMembership: { + /** + * Phantom member, never used. + **/ + Dummy: AugmentedEvent; + /** + * One of the members' keys changed. + **/ + KeyChanged: AugmentedEvent; + /** + * The given member was added; see the transaction for who. + **/ + MemberAdded: AugmentedEvent; + /** + * The given member was removed; see the transaction for who. + **/ + MemberRemoved: AugmentedEvent; + /** + * The membership was reset; see the transaction for who the new set is. + **/ + MembersReset: AugmentedEvent; + /** + * Two members were swapped; see the transaction for who. + **/ + MembersSwapped: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; + foreignAssets: { /** * The foreign asset registered. **/ - ForeignAssetRegistered: AugmentedEvent; + ForeignAssetRegistered: AugmentedEvent; /** - * The foreign asset updated. + * The migration status. **/ - ForeignAssetUpdated: AugmentedEvent; + MigrationStatus: AugmentedEvent; /** * Generic event **/ @@ -695,6 +781,28 @@ declare module '@polkadot/api-base/types/events' { **/ [key: string]: AugmentedEvent; }; + messageQueue: { + /** + * Message placed in overweight queue. + **/ + OverweightEnqueued: AugmentedEvent; + /** + * This page was reaped. + **/ + PageReaped: AugmentedEvent; + /** + * Message is processed. + **/ + Processed: AugmentedEvent; + /** + * Message discarded due to an error in the `MessageProcessor` (usually a format error). + **/ + ProcessingFailed: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; parachainSystem: { /** * Downward messages were processed using the given weight. @@ -704,10 +812,6 @@ declare module '@polkadot/api-base/types/events' { * Some downward messages have been received and will be processed. **/ DownwardMessagesReceived: AugmentedEvent; - /** - * An upgrade has been authorized. - **/ - UpgradeAuthorized: AugmentedEvent; /** * An upward message was sent to the relay chain. **/ @@ -733,25 +837,25 @@ declare module '@polkadot/api-base/types/events' { /** * Some assets have been claimed from an asset trap **/ - AssetsClaimed: AugmentedEvent; + AssetsClaimed: AugmentedEvent; /** * Some assets have been placed in an asset trap. **/ - AssetsTrapped: AugmentedEvent; + AssetsTrapped: AugmentedEvent; /** * Execution of an XCM message was attempted. **/ - Attempted: AugmentedEvent; + Attempted: AugmentedEvent; /** * Fees were paid from a location for an operation (often for using `SendXcm`). **/ - FeesPaid: AugmentedEvent; + FeesPaid: AugmentedEvent; /** * Expected query response has been received but the querier location of the response does * not match the expected. The query remains registered for a later, valid, response to * be received and acted upon. **/ - InvalidQuerier: AugmentedEvent], { origin: StagingXcmV3MultiLocation, queryId: u64, expectedQuerier: StagingXcmV3MultiLocation, maybeActualQuerier: Option }>; + InvalidQuerier: AugmentedEvent], { origin: StagingXcmV4Location, queryId: u64, expectedQuerier: StagingXcmV4Location, maybeActualQuerier: Option }>; /** * Expected query response has been received but the expected querier location placed in * storage by this runtime previously cannot be decoded. The query remains registered. @@ -761,13 +865,13 @@ declare module '@polkadot/api-base/types/events' { * valid response will be dropped. Manual governance intervention is probably going to be * needed. **/ - InvalidQuerierVersion: AugmentedEvent; + InvalidQuerierVersion: AugmentedEvent; /** * Expected query response has been received but the origin location of the response does * not match that expected. The query remains registered for a later, valid, response to * be received and acted upon. **/ - InvalidResponder: AugmentedEvent], { origin: StagingXcmV3MultiLocation, queryId: u64, expectedLocation: Option }>; + InvalidResponder: AugmentedEvent], { origin: StagingXcmV4Location, queryId: u64, expectedLocation: Option }>; /** * Expected query response has been received but the expected origin location placed in * storage by this runtime previously cannot be decoded. The query remains registered. @@ -777,7 +881,7 @@ declare module '@polkadot/api-base/types/events' { * valid response will be dropped. Manual governance intervention is probably going to be * needed. **/ - InvalidResponderVersion: AugmentedEvent; + InvalidResponderVersion: AugmentedEvent; /** * Query response has been received and query is removed. The registered notification has * been dispatched and executed successfully. @@ -804,17 +908,17 @@ declare module '@polkadot/api-base/types/events' { * A given location which had a version change subscription was dropped owing to an error * migrating the location to our new XCM format. **/ - NotifyTargetMigrationFail: AugmentedEvent; + NotifyTargetMigrationFail: AugmentedEvent; /** * A given location which had a version change subscription was dropped owing to an error * sending the notification to it. **/ - NotifyTargetSendFail: AugmentedEvent; + NotifyTargetSendFail: AugmentedEvent; /** * Query response has been received and is ready for taking with `take_response`. There is * no registered notification call. **/ - ResponseReady: AugmentedEvent; + ResponseReady: AugmentedEvent; /** * Received query response has been read and removed. **/ @@ -822,38 +926,42 @@ declare module '@polkadot/api-base/types/events' { /** * A XCM message was sent. **/ - Sent: AugmentedEvent; + Sent: AugmentedEvent; /** * The supported version of a location has been changed. This might be through an * automatic notification or a manual intervention. **/ - SupportedVersionChanged: AugmentedEvent; + SupportedVersionChanged: AugmentedEvent; /** * Query response received which does not match a registered query. This may be because a * matching query was never registered, it may be because it is a duplicate response, or * because the query timed out. **/ - UnexpectedResponse: AugmentedEvent; + UnexpectedResponse: AugmentedEvent; /** * An XCM version change notification message has been attempted to be sent. * * The cost of sending it (borne by the chain) is included. **/ - VersionChangeNotified: AugmentedEvent; + VersionChangeNotified: AugmentedEvent; + /** + * A XCM version migration finished. + **/ + VersionMigrationFinished: AugmentedEvent; /** * We have requested that a remote chain send us XCM version change notifications. **/ - VersionNotifyRequested: AugmentedEvent; + VersionNotifyRequested: AugmentedEvent; /** * A remote has requested XCM version change notification from us and we have honored it. * A version information message is sent to them and its cost is included. **/ - VersionNotifyStarted: AugmentedEvent; + VersionNotifyStarted: AugmentedEvent; /** * We have requested that a remote chain stops sending us XCM version change * notifications. **/ - VersionNotifyUnrequested: AugmentedEvent; + VersionNotifyUnrequested: AugmentedEvent; /** * Generic event **/ @@ -898,6 +1006,19 @@ declare module '@polkadot/api-base/types/events' { * The given task can never be executed since it is overweight. **/ PermanentlyOverweight: AugmentedEvent, id: Option], { task: ITuple<[u32, u32]>, id: Option }>; + /** + * Cancel a retry configuration for some task. + **/ + RetryCancelled: AugmentedEvent, id: Option], { task: ITuple<[u32, u32]>, id: Option }>; + /** + * The given task was unable to be retried since the agenda is full at that block or there + * was not enough weight to reschedule it. + **/ + RetryFailed: AugmentedEvent, id: Option], { task: ITuple<[u32, u32]>, id: Option }>; + /** + * Set a retry configuration for some task. + **/ + RetrySet: AugmentedEvent, id: Option, period: u32, retries: u8], { task: ITuple<[u32, u32]>, id: Option, period: u32, retries: u8 }>; /** * Scheduled some task. **/ @@ -953,15 +1074,19 @@ declare module '@polkadot/api-base/types/events' { }; sudo: { /** - * The \[sudoer\] just switched identity; the old key is supplied if one existed. + * The sudo key has been updated. **/ - KeyChanged: AugmentedEvent], { oldSudoer: Option }>; + KeyChanged: AugmentedEvent, new_: AccountId32], { old: Option, new_: AccountId32 }>; /** - * A sudo just took place. \[result\] + * The key was permanently removed. + **/ + KeyRemoved: AugmentedEvent; + /** + * A sudo call just took place. **/ Sudid: AugmentedEvent], { sudoResult: Result }>; /** - * A sudo just took place. \[result\] + * A [sudo_as](Pallet::sudo_as) call just took place. **/ SudoAsDone: AugmentedEvent], { sudoResult: Result }>; /** @@ -994,6 +1119,10 @@ declare module '@polkadot/api-base/types/events' { * On on-chain remark happened. **/ Remarked: AugmentedEvent; + /** + * An upgrade was authorized. + **/ + UpgradeAuthorized: AugmentedEvent; /** * Generic event **/ @@ -1074,76 +1203,6 @@ declare module '@polkadot/api-base/types/events' { **/ [key: string]: AugmentedEvent; }; - tokens: { - /** - * A balance was set by root. - **/ - BalanceSet: AugmentedEvent; - /** - * Deposited some balance into an account - **/ - Deposited: AugmentedEvent; - /** - * An account was removed whose balance was non-zero but below - * ExistentialDeposit, resulting in an outright loss. - **/ - DustLost: AugmentedEvent; - /** - * An account was created with some free balance. - **/ - Endowed: AugmentedEvent; - Issued: AugmentedEvent; - /** - * Some free balance was locked. - **/ - Locked: AugmentedEvent; - /** - * Some locked funds were unlocked - **/ - LockRemoved: AugmentedEvent; - /** - * Some funds are locked - **/ - LockSet: AugmentedEvent; - Rescinded: AugmentedEvent; - /** - * Some balance was reserved (moved from free to reserved). - **/ - Reserved: AugmentedEvent; - /** - * Some reserved balance was repatriated (moved from reserved to - * another account). - **/ - ReserveRepatriated: AugmentedEvent; - /** - * Some balances were slashed (e.g. due to mis-behavior) - **/ - Slashed: AugmentedEvent; - /** - * The total issuance of an currency has been set - **/ - TotalIssuanceSet: AugmentedEvent; - /** - * Transfer succeeded. - **/ - Transfer: AugmentedEvent; - /** - * Some locked balance was freed. - **/ - Unlocked: AugmentedEvent; - /** - * Some balance was unreserved (moved from reserved to free). - **/ - Unreserved: AugmentedEvent; - /** - * Some balances were withdrawn (e.g. pay for transaction fee) - **/ - Withdrawn: AugmentedEvent; - /** - * Generic event - **/ - [key: string]: AugmentedEvent; - }; transactionPayment: { /** * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee, @@ -1156,6 +1215,14 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; treasury: { + /** + * A new asset spend proposal has been approved. + **/ + AssetSpendApproved: AugmentedEvent; + /** + * An approved spend was voided. + **/ + AssetSpendVoided: AugmentedEvent; /** * Some funds have been allocated. **/ @@ -1169,13 +1236,13 @@ declare module '@polkadot/api-base/types/events' { **/ Deposit: AugmentedEvent; /** - * New proposal. + * A payment happened. **/ - Proposed: AugmentedEvent; + Paid: AugmentedEvent; /** - * A proposal was rejected; funds were slashed. + * A payment failed and can be retried. **/ - Rejected: AugmentedEvent; + PaymentFailed: AugmentedEvent; /** * Spending has finished; this is the amount that rolls over until next spend. **/ @@ -1188,6 +1255,11 @@ declare module '@polkadot/api-base/types/events' { * We have ended a spend period and will now allocate funds. **/ Spending: AugmentedEvent; + /** + * A spend was processed and removed from the storage. It might have been successfully + * paid or it may have expired. + **/ + SpendProcessed: AugmentedEvent; /** * The inactive funds of the pallet have been updated. **/ @@ -1247,30 +1319,6 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; xcmpQueue: { - /** - * Bad XCM format used. - **/ - BadFormat: AugmentedEvent; - /** - * Bad XCM version used. - **/ - BadVersion: AugmentedEvent; - /** - * Some XCM failed. - **/ - Fail: AugmentedEvent; - /** - * An XCM exceeded the individual message weight budget. - **/ - OverweightEnqueued: AugmentedEvent; - /** - * An XCM from the overweight queue was executed with the given actual weight used. - **/ - OverweightServiced: AugmentedEvent; - /** - * Some XCM was executed ok. - **/ - Success: AugmentedEvent; /** * An HRMP message was sent to a sibling parachain. **/ @@ -1282,9 +1330,9 @@ declare module '@polkadot/api-base/types/events' { }; xTokens: { /** - * Transferred `MultiAsset` with fee. + * Transferred `Asset` with fee. **/ - TransferredMultiAssets: AugmentedEvent; + TransferredAssets: AugmentedEvent; /** * Generic event **/ diff --git a/js-packages/types/augment-api-query.ts b/js-packages/types/augment-api-query.ts index 48dc53f49c..ec78d024b4 100644 --- a/js-packages/types/augment-api-query.ts +++ b/js-packages/types/augment-api-query.ts @@ -7,10 +7,10 @@ import '@polkadot/api-base/types/storage'; import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types'; import type { Data } from '@polkadot/types'; -import type { BTreeMap, Bytes, Option, Struct, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; +import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { AnyNumber, ITuple } from '@polkadot/types-codec/types'; import type { AccountId32, Call, H160, H256 } from '@polkadot/types/interfaces/runtime'; -import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCodeUpgradeAuthorization, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OpalRuntimeRuntimeCommonSessionKeys, OpalRuntimeRuntimeHoldReason, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmount, PalletBalancesReserveData, PalletCollectiveVotes, PalletConfigurationAppPromotionConfiguration, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCodeMetadata, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetId, PalletForeignAssetsModuleAssetMetadata, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletNonfungibleItemData, PalletPreimageRequestStatus, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletReferendaReferendumInfo, PalletSchedulerScheduled, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV5AbridgedHostConfiguration, PolkadotPrimitivesV5PersistedValidationData, PolkadotPrimitivesV5UpgradeGoAhead, PolkadotPrimitivesV5UpgradeRestriction, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, StagingXcmV3MultiLocation, StagingXcmVersionedAssetId, StagingXcmVersionedMultiLocation, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild } from '@polkadot/types/lookup'; +import type { CumulusPalletDmpQueueMigrationState, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OpalRuntimeRuntimeCommonSessionKeys, OpalRuntimeRuntimeHoldReason, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletCollectiveVotes, PalletConfigurationAppPromotionConfiguration, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCodeMetadata, PalletEvmContractHelpersSponsoringModeT, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletMessageQueueBookState, PalletMessageQueuePage, PalletNonfungibleItemData, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletReferendaReferendumInfo, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV7AbridgedHostConfiguration, PolkadotPrimitivesV7PersistedValidationData, PolkadotPrimitivesV7UpgradeGoAhead, PolkadotPrimitivesV7UpgradeRestriction, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, StagingXcmV4AssetAssetId, StagingXcmV4AssetAssetInstance, StagingXcmV4Instruction, StagingXcmV4Xcm, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup'; import type { Observable } from '@polkadot/types/types'; export type __AugmentedQuery = AugmentedQuery unknown>; @@ -137,7 +137,7 @@ declare module '@polkadot/api-base/types/storage' { /** * Freeze locks on account balances. **/ - freezes: AugmentedQuery Observable>, [AccountId32]> & QueryableStorageEntry; + freezes: AugmentedQuery Observable>, [AccountId32]> & QueryableStorageEntry; /** * Holds on account balances. **/ @@ -152,10 +152,14 @@ declare module '@polkadot/api-base/types/storage' { /** * Any liquidity locks on some account balances. * NOTE: Should only be accessed when setting, changing and freeing a lock. + * + * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/` **/ locks: AugmentedQuery Observable>, [AccountId32]> & QueryableStorageEntry; /** * Named reserves on some account balances. + * + * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/` **/ reserves: AugmentedQuery Observable>, [AccountId32]> & QueryableStorageEntry; /** @@ -249,7 +253,7 @@ declare module '@polkadot/api-base/types/storage' { **/ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** - * The prime member that helps determine the default vote behavior in case of absentations. + * The prime member that helps determine the default vote behavior in case of abstentions. **/ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** @@ -315,7 +319,7 @@ declare module '@polkadot/api-base/types/storage' { lowestUnbaked: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * General information concerning any proposal or referendum. - * The `PreimageHash` refers to the preimage of the `Preimages` provider which can be a JSON + * The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON * dump or IPFS hash of a JSON file. * * Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove) @@ -361,25 +365,9 @@ declare module '@polkadot/api-base/types/storage' { }; dmpQueue: { /** - * The configuration. - **/ - configuration: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Counter for the related counted storage map - **/ - counterForOverweight: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The overweight messages. - **/ - overweight: AugmentedQuery Observable>>, [u64]> & QueryableStorageEntry; - /** - * The page index. + * The migration state of this pallet. **/ - pageIndex: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The queue pages. - **/ - pages: AugmentedQuery Observable>>, [u32]> & QueryableStorageEntry; + migrationStatus: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Generic query **/ @@ -421,6 +409,7 @@ declare module '@polkadot/api-base/types/storage' { * Should be empty between transactions **/ currentLogs: AugmentedQuery Observable>, []> & QueryableStorageEntry; + suicided: AugmentedQuery Observable>, [H160]> & QueryableStorageEntry; /** * Generic query **/ @@ -540,7 +529,7 @@ declare module '@polkadot/api-base/types/storage' { decidingCount: AugmentedQuery Observable, [u16]> & QueryableStorageEntry; /** * The metadata is a general information concerning the referendum. - * The `PreimageHash` refers to the preimage of the `Preimages` provider which can be a JSON + * The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON * dump or IPFS hash of a JSON file. * * Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove) @@ -567,36 +556,67 @@ declare module '@polkadot/api-base/types/storage' { **/ [key: string]: QueryableStorageEntry; }; - foreignAssets: { + financialCouncil: { /** - * The storages for assets to fungible collection binding - * + * The current members of the collective. This is stored sorted (just by value). **/ - assetBinding: AugmentedQuery Observable>, [u32]> & QueryableStorageEntry; + members: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** - * The storages for AssetMetadatas. - * - * AssetMetadatas: map AssetIds => Option + * The prime member that helps determine the default vote behavior in case of abstentions. **/ - assetMetadatas: AugmentedQuery Observable>, [PalletForeignAssetsAssetId]> & QueryableStorageEntry; + prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** - * The storages for MultiLocations. - * - * ForeignAssetLocations: map ForeignAssetId => Option + * Proposals so far. **/ - foreignAssetLocations: AugmentedQuery Observable>, [u32]> & QueryableStorageEntry; + proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * The storages for CurrencyIds. - * - * LocationToCurrencyIds: map MultiLocation => Option + * Actual proposal for a given hash, if it's current. **/ - locationToCurrencyIds: AugmentedQuery Observable>, [StagingXcmV3MultiLocation]> & QueryableStorageEntry; + proposalOf: AugmentedQuery Observable>, [H256]> & QueryableStorageEntry; /** - * Next available Foreign AssetId ID. - * - * NextForeignAssetId: ForeignAssetId + * The hashes of the active proposals. **/ - nextForeignAssetId: AugmentedQuery Observable, []> & QueryableStorageEntry; + proposals: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Votes on a given proposal, if it is ongoing. + **/ + voting: AugmentedQuery Observable>, [H256]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + financialCouncilMembership: { + /** + * The current membership, stored as an ordered Vec. + **/ + members: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * The current prime member, if one exists. + **/ + prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; + foreignAssets: { + /** + * The corresponding foreign assets of collections. + **/ + collectionToForeignAsset: AugmentedQuery Observable>, [u32]> & QueryableStorageEntry; + /** + * The corresponding collections of foreign assets. + **/ + foreignAssetToCollection: AugmentedQuery Observable>, [StagingXcmV4AssetAssetId]> & QueryableStorageEntry; + /** + * The correponding NFT token id of reserve NFTs + **/ + foreignReserveAssetInstanceToTokenId: AugmentedQuery Observable>, [u32, StagingXcmV4AssetAssetInstance]> & QueryableStorageEntry; + /** + * The correponding reserve NFT of a token ID + **/ + tokenIdToForeignReserveAssetInstance: AugmentedQuery Observable>, [u32, u32]> & QueryableStorageEntry; /** * Generic query **/ @@ -685,6 +705,24 @@ declare module '@polkadot/api-base/types/storage' { **/ [key: string]: QueryableStorageEntry; }; + messageQueue: { + /** + * The index of the first and last (non-empty) pages. + **/ + bookStateFor: AugmentedQuery Observable, [CumulusPrimitivesCoreAggregateMessageOrigin]> & QueryableStorageEntry; + /** + * The map of page indices to pages. + **/ + pages: AugmentedQuery Observable>, [CumulusPrimitivesCoreAggregateMessageOrigin, u32]> & QueryableStorageEntry; + /** + * The origin at which we should begin servicing. + **/ + serviceHead: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; nonfungible: { /** * Amount of tokens owned by an account in a collection. @@ -749,7 +787,7 @@ declare module '@polkadot/api-base/types/storage' { parachainSystem: { /** * Storage field that keeps track of bandwidth used by the unincluded segment along with the - * latest the latest HRMP watermark. Used for limiting the acceptance of new blocks with + * latest HRMP watermark. Used for limiting the acceptance of new blocks with * respect to relay chain constraints. **/ aggregatedUnincludedSegment: AugmentedQuery Observable>, []> & QueryableStorageEntry; @@ -758,10 +796,6 @@ declare module '@polkadot/api-base/types/storage' { * announcing the weight of `on_initialize` and `on_finalize`. **/ announcedHrmpMessagesPerCandidate: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The next authorized upgrade, if there is one. - **/ - authorizedUpgrade: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * A custom head data that should be returned as result of `validate_block`. * @@ -780,7 +814,7 @@ declare module '@polkadot/api-base/types/storage' { * * This data is also absent from the genesis. **/ - hostConfiguration: AugmentedQuery Observable>, []> & QueryableStorageEntry; + hostConfiguration: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * HRMP messages that were sent in a block. * @@ -809,6 +843,8 @@ declare module '@polkadot/api-base/types/storage' { lastHrmpMqcHeads: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * The relay chain block number associated with the last parachain block. + * + * This is updated in `on_finalize`. **/ lastRelayChainBlockNumber: AugmentedQuery Observable, []> & QueryableStorageEntry; /** @@ -883,7 +919,7 @@ declare module '@polkadot/api-base/types/storage' { * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is * set after the inherent. **/ - upgradeGoAhead: AugmentedQuery Observable>, []> & QueryableStorageEntry; + upgradeGoAhead: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * An option which indicates if the relay-chain restricts signalling a validation code upgrade. * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced @@ -893,7 +929,11 @@ declare module '@polkadot/api-base/types/storage' { * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is * set after the inherent. **/ - upgradeRestrictionSignal: AugmentedQuery Observable>, []> & QueryableStorageEntry; + upgradeRestrictionSignal: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * The factor to multiply the base delivery fee by for UMP. + **/ + upwardDeliveryFeeFactor: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Upward messages that were sent in a block. * @@ -905,7 +945,7 @@ declare module '@polkadot/api-base/types/storage' { * This value is expected to be set only once per block and it's never stored * in the trie. **/ - validationData: AugmentedQuery Observable>, []> & QueryableStorageEntry; + validationData: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Generic query **/ @@ -915,7 +955,7 @@ declare module '@polkadot/api-base/types/storage' { /** * The existing asset traps. * - * Key is the blake2 256 hash of (origin, versioned `MultiAssets`) pair. Value is the number of + * Key is the blake2 256 hash of (origin, versioned `Assets`) pair. Value is the number of * times this pair has been trapped (usually just 1 if it exists at all). **/ assetTraps: AugmentedQuery Observable, [H256]> & QueryableStorageEntry; @@ -926,7 +966,7 @@ declare module '@polkadot/api-base/types/storage' { /** * Fungible assets which we know are locked on this chain. **/ - lockedFungibles: AugmentedQuery Observable>>>, [AccountId32]> & QueryableStorageEntry; + lockedFungibles: AugmentedQuery Observable>>>, [AccountId32]> & QueryableStorageEntry; /** * The ongoing queries. **/ @@ -935,34 +975,53 @@ declare module '@polkadot/api-base/types/storage' { * The latest available query index. **/ queryCounter: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally + * will be stored here. + * Runtime APIs can fetch the XCM that was executed by accessing this value. + * + * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`] + * implementation in the XCM executor configuration. + **/ + recordedXcm: AugmentedQuery Observable>>, []> & QueryableStorageEntry; /** * Fungible assets which we know are locked on a remote chain. **/ - remoteLockedFungibles: AugmentedQuery Observable>, [u32, AccountId32, StagingXcmVersionedAssetId]> & QueryableStorageEntry; + remoteLockedFungibles: AugmentedQuery Observable>, [u32, AccountId32, XcmVersionedAssetId]> & QueryableStorageEntry; /** * Default version to encode XCM when latest version of destination is unknown. If `None`, * then the destinations whose XCM version is unknown are considered unreachable. **/ safeXcmVersion: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Whether or not incoming XCMs (both executed locally and received) should be recorded. + * Only one XCM program will be recorded at a time. + * This is meant to be used in runtime APIs, and it's advised it stays false + * for all other use cases, so as to not degrade regular performance. + * + * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`] + * implementation in the XCM executor configuration. + **/ + shouldRecordXcm: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * The Latest versions that we know various locations support. **/ - supportedVersion: AugmentedQuery Observable>, [u32, StagingXcmVersionedMultiLocation]> & QueryableStorageEntry; + supportedVersion: AugmentedQuery Observable>, [u32, XcmVersionedLocation]> & QueryableStorageEntry; /** * Destinations whose latest XCM version we would like to know. Duplicates not allowed, and * the `u32` counter is the number of times that a send to the destination has been attempted, * which is used as a prioritization. **/ - versionDiscoveryQueue: AugmentedQuery Observable>>, []> & QueryableStorageEntry; + versionDiscoveryQueue: AugmentedQuery Observable>>, []> & QueryableStorageEntry; /** * All locations that we have requested version notifications from. **/ - versionNotifiers: AugmentedQuery Observable>, [u32, StagingXcmVersionedMultiLocation]> & QueryableStorageEntry; + versionNotifiers: AugmentedQuery Observable>, [u32, XcmVersionedLocation]> & QueryableStorageEntry; /** * The target locations that are subscribed to our version changes, as well as the most recent * of our versions we informed them of. **/ - versionNotifyTargets: AugmentedQuery Observable>>, [u32, StagingXcmVersionedMultiLocation]> & QueryableStorageEntry; + versionNotifyTargets: AugmentedQuery Observable>>, [u32, XcmVersionedLocation]> & QueryableStorageEntry; /** * Global suspension state of the XCM executor. **/ @@ -977,7 +1036,11 @@ declare module '@polkadot/api-base/types/storage' { /** * The request status of a given hash. **/ - statusFor: AugmentedQuery Observable>, [H256]> & QueryableStorageEntry; + requestStatusFor: AugmentedQuery Observable>, [H256]> & QueryableStorageEntry; + /** + * The request status of a given hash. + **/ + statusFor: AugmentedQuery Observable>, [H256]> & QueryableStorageEntry; /** * Generic query **/ @@ -1038,6 +1101,10 @@ declare module '@polkadot/api-base/types/storage' { * identities. **/ lookup: AugmentedQuery Observable>>, [U8aFixed]> & QueryableStorageEntry; + /** + * Retry configurations for items to be executed, indexed by task address. + **/ + retries: AugmentedQuery | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable>, [ITuple<[u32, u32]>]> & QueryableStorageEntry]>; /** * Generic query **/ @@ -1127,6 +1194,10 @@ declare module '@polkadot/api-base/types/storage' { * Total length (in bytes) for all extrinsics put together, for the current block. **/ allExtrinsicsLen: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * `Some` if a code upgrade has been authorized. + **/ + authorizedUpgrade: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Map of block numbers to block hashes. **/ @@ -1178,6 +1249,10 @@ declare module '@polkadot/api-base/types/storage' { * Extrinsics data for the current block (maps an extrinsic's index to its data). **/ extrinsicData: AugmentedQuery Observable, [u32]> & QueryableStorageEntry; + /** + * Whether all inherents have been applied. + **/ + inherentsApplied: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened. **/ @@ -1210,7 +1285,7 @@ declare module '@polkadot/api-base/types/storage' { **/ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** - * The prime member that helps determine the default vote behavior in case of absentations. + * The prime member that helps determine the default vote behavior in case of abstentions. **/ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** @@ -1258,11 +1333,14 @@ declare module '@polkadot/api-base/types/storage' { }; timestamp: { /** - * Did the timestamp get updated in this block? + * Whether the timestamp has been updated in this block. + * + * This value is updated to `true` upon successful submission of a timestamp by a node. + * It is then checked at the end of each block execution in the `on_finalize` hook. **/ didUpdate: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * Current time for the current block. + * The current time for the current block. **/ now: AugmentedQuery Observable, []> & QueryableStorageEntry; /** @@ -1270,34 +1348,6 @@ declare module '@polkadot/api-base/types/storage' { **/ [key: string]: QueryableStorageEntry; }; - tokens: { - /** - * The balance of a token type under an account. - * - * NOTE: If the total is ever zero, decrease account ref account. - * - * NOTE: This is only used in the case that this module is used to store - * balances. - **/ - accounts: AugmentedQuery Observable, [AccountId32, PalletForeignAssetsAssetId]> & QueryableStorageEntry; - /** - * Any liquidity locks of a token type under an account. - * NOTE: Should only be accessed when setting, changing and freeing a lock. - **/ - locks: AugmentedQuery Observable>, [AccountId32, PalletForeignAssetsAssetId]> & QueryableStorageEntry; - /** - * Named reserves on some account balances. - **/ - reserves: AugmentedQuery Observable>, [AccountId32, PalletForeignAssetsAssetId]> & QueryableStorageEntry; - /** - * The total issuance of a token type. - **/ - totalIssuance: AugmentedQuery Observable, [PalletForeignAssetsAssetId]> & QueryableStorageEntry; - /** - * Generic query - **/ - [key: string]: QueryableStorageEntry; - }; transactionPayment: { nextFeeMultiplier: AugmentedQuery Observable, []> & QueryableStorageEntry; storageVersion: AugmentedQuery Observable, []> & QueryableStorageEntry; @@ -1323,6 +1373,14 @@ declare module '@polkadot/api-base/types/storage' { * Proposals that have been made. **/ proposals: AugmentedQuery Observable>, [u32]> & QueryableStorageEntry; + /** + * The count of spends that have been made. + **/ + spendCount: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Spends that have been approved and being processed. + **/ + spends: AugmentedQuery Observable>, [u32]> & QueryableStorageEntry; /** * Generic query **/ @@ -1385,17 +1443,20 @@ declare module '@polkadot/api-base/types/storage' { }; xcmpQueue: { /** - * Counter for the related counted storage map - **/ - counterForOverweight: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Inbound aggregate XCMP messages. It can only be one per ParaId/block. + * The factor to multiply the base delivery fee by. **/ - inboundXcmpMessages: AugmentedQuery Observable, [u32, u32]> & QueryableStorageEntry; + deliveryFeeFactor: AugmentedQuery Observable, [u32]> & QueryableStorageEntry; /** - * Status of the inbound XCMP channels. + * The suspended inbound XCMP channels. All others are not suspended. + * + * This is a `StorageValue` instead of a `StorageMap` since we expect multiple reads per block + * to different keys with a one byte payload. The access to `BoundedBTreeSet` will be cached + * within the block and therefore only included once in the proof size. + * + * NOTE: The PoV benchmarking cannot know this and will over-estimate, but the actual proof + * will be smaller. **/ - inboundXcmpStatus: AugmentedQuery Observable>, []> & QueryableStorageEntry; + inboundXcmpSuspended: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * The messages outbound in a given XCMP channel. **/ @@ -1409,18 +1470,6 @@ declare module '@polkadot/api-base/types/storage' { * The bool is true if there is a signal message waiting to be sent. **/ outboundXcmpStatus: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * The messages that exceeded max individual message weight budget. - * - * These message stay in this storage map until they are manually dispatched via - * `service_overweight`. - **/ - overweight: AugmentedQuery Observable>>, [u64]> & QueryableStorageEntry; - /** - * The number of overweight messages ever recorded in `Overweight`. Also doubles as the next - * available free overweight index. - **/ - overweightCount: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * The configuration which controls the dynamics of the outbound queue. **/ diff --git a/js-packages/types/augment-api-rpc.ts b/js-packages/types/augment-api-rpc.ts index 3d9c5365a6..45ce4cdf3a 100644 --- a/js-packages/types/augment-api-rpc.ts +++ b/js-packages/types/augment-api-rpc.ts @@ -12,7 +12,7 @@ import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, f6 import type { AnyNumber, Codec, ITuple } from '@polkadot/types-codec/types'; import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author'; import type { EpochAuthorship } from '@polkadot/types/interfaces/babe'; -import type { BeefySignedCommitment } from '@polkadot/types/interfaces/beefy'; +import type { BeefyVersionedFinalityProof } from '@polkadot/types/interfaces/beefy'; import type { BlockHash } from '@polkadot/types/interfaces/chain'; import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate'; import type { AuthorityId } from '@polkadot/types/interfaces/consensus'; @@ -99,9 +99,9 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { **/ getFinalizedHead: AugmentedRpc<() => Observable>; /** - * Returns the block most recently finalized by BEEFY, alongside side its justification. + * Returns the block most recently finalized by BEEFY, alongside its justification. **/ - subscribeJustifications: AugmentedRpc<() => Observable>; + subscribeJustifications: AugmentedRpc<() => Observable>; }; chain: { /** diff --git a/js-packages/types/augment-api-runtime.ts b/js-packages/types/augment-api-runtime.ts index 7e7525759f..f0219e2732 100644 --- a/js-packages/types/augment-api-runtime.ts +++ b/js-packages/types/augment-api-runtime.ts @@ -15,9 +15,10 @@ import type { CollationInfo } from '@polkadot/types/interfaces/cumulus'; import type { BlockV2, EthReceiptV3, EthTransactionStatus, TransactionV2 } from '@polkadot/types/interfaces/eth'; import type { EvmAccount, EvmCallInfoV2, EvmCreateInfoV2 } from '@polkadot/types/interfaces/evm'; import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics'; +import type { GenesisBuildErr } from '@polkadot/types/interfaces/genesisBuilder'; import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata'; import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment'; -import type { AccountId, Balance, Block, H160, H256, Header, Index, KeyTypeId, Permill, SlotDuration, Weight } from '@polkadot/types/interfaces/runtime'; +import type { AccountId, Balance, Block, ExtrinsicInclusionMode, H160, H256, Header, Index, KeyTypeId, Permill, Slot, SlotDuration, Weight } from '@polkadot/types/interfaces/runtime'; import type { RuntimeVersion } from '@polkadot/types/interfaces/state'; import type { ApplyExtrinsicResult, DispatchError } from '@polkadot/types/interfaces/system'; import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue'; @@ -54,6 +55,17 @@ declare module '@polkadot/api-base/types/calls' { **/ [key: string]: DecoratedCallBase; }; + /** 0xd7bdd8a272ca0d65/1 */ + auraUnincludedSegmentApi: { + /** + * Whether it is legal to extend the chain + **/ + canBuildUpon: AugmentedCall Observable>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; /** 0x40fe3ad401f8959a/6 */ blockBuilder: { /** @@ -99,7 +111,7 @@ declare module '@polkadot/api-base/types/calls' { **/ [key: string]: DecoratedCallBase; }; - /** 0xdf6acb689907609b/4 */ + /** 0xdf6acb689907609b/5 */ core: { /** * Execute the given block. @@ -108,7 +120,7 @@ declare module '@polkadot/api-base/types/calls' { /** * Initialize a block with the given header. **/ - initializeBlock: AugmentedCall Observable>; + initializeBlock: AugmentedCall Observable>; /** * Returns the version of the runtime. **/ @@ -181,6 +193,21 @@ declare module '@polkadot/api-base/types/calls' { **/ [key: string]: DecoratedCallBase; }; + /** 0xfbc577b9d747efd6/1 */ + genesisBuilder: { + /** + * Build `RuntimeGenesisConfig` from a JSON blob not using any defaults and store it in the storage. + **/ + buildConfig: AugmentedCall Observable, GenesisBuildErr>>>; + /** + * Creates the default `RuntimeGenesisConfig` and returns it as a JSON blob. + **/ + createDefaultConfig: AugmentedCall Observable>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; /** 0x37e397fc7c91f5e4/2 */ metadata: { /** diff --git a/js-packages/types/augment-api-tx.ts b/js-packages/types/augment-api-tx.ts index e7890eafd3..945011aa3a 100644 --- a/js-packages/types/augment-api-tx.ts +++ b/js-packages/types/augment-api-tx.ts @@ -7,10 +7,10 @@ import '@polkadot/api-base/types/submittable'; import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types'; import type { Data } from '@polkadot/types'; -import type { Bytes, Compact, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; +import type { Bytes, Compact, Null, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types'; import type { AccountId32, Call, H160, H256, MultiAddress } from '@polkadot/types/interfaces/runtime'; -import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumLog, EthereumTransactionTransactionV2, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, OpalRuntimeOriginCaller, OpalRuntimeRuntimeCommonSessionKeys, OrmlVestingVestingSchedule, PalletConfigurationAppPromotionConfiguration, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetId, PalletForeignAssetsModuleAssetMetadata, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistration, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, SpWeightsWeightV2Weight, StagingXcmV3MultiLocation, StagingXcmV3WeightLimit, StagingXcmVersionedMultiAsset, StagingXcmVersionedMultiAssets, StagingXcmVersionedMultiLocation, StagingXcmVersionedXcm, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission } from '@polkadot/types/lookup'; +import type { CumulusPrimitivesCoreAggregateMessageOrigin, CumulusPrimitivesParachainInherentParachainInherentData, EthereumLog, EthereumTransactionTransactionV2, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, OpalRuntimeOriginCaller, OpalRuntimeRuntimeCommonSessionKeys, OrmlVestingVestingSchedule, PalletBalancesAdjustmentDirection, PalletConfigurationAppPromotionConfiguration, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsForeignCollectionMode, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistration, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, SpWeightsWeightV2Weight, StagingXcmExecutorAssetTransferTransferType, StagingXcmV4Location, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV3WeightLimit, XcmVersionedAsset, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup'; export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>; export type __SubmittableExtrinsic = SubmittableExtrinsic; @@ -20,43 +20,119 @@ declare module '@polkadot/api-base/types/submittable' { interface AugmentedSubmittables { appPromotion: { /** - * See [`Pallet::force_unstake`]. - **/ - forceUnstake: AugmentedSubmittable<(pendingBlocks: Vec | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; - /** - * See [`Pallet::payout_stakers`]. + * Recalculates interest for the specified number of stakers. + * If all stakers are not recalculated, the next call of the extrinsic + * will continue the recalculation, from those stakers for whom this + * was not perform in last call. + * + * # Permissions + * + * * Pallet admin + * + * # Arguments + * + * * `stakers_number`: the number of stakers for which recalculation will be performed **/ payoutStakers: AugmentedSubmittable<(stakersNumber: Option | null | Uint8Array | u8 | AnyNumber) => SubmittableExtrinsic, [Option]>; /** - * See [`Pallet::set_admin_address`]. + * Called for blocks that, for some reason, have not been unstacked + * + * + * # Arguments + * + * * `origin`: Must be `Signed`. + * * `pending_blocks`: Block numbers that will be processed. + **/ + resolveSkippedBlocks: AugmentedSubmittable<(pendingBlocks: Vec | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; + /** + * Sets an address as the the admin. + * + * # Permissions + * + * * Sudo + * + * # Arguments + * + * * `admin`: account of the new admin. **/ setAdminAddress: AugmentedSubmittable<(admin: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic, [PalletEvmAccountBasicCrossAccountIdRepr]>; /** - * See [`Pallet::sponsor_collection`]. + * Sets the pallet to be the sponsor for the collection. + * + * # Permissions + * + * * Pallet admin + * + * # Arguments + * + * * `collection_id`: ID of the collection that will be sponsored by `pallet_id` **/ sponsorCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * See [`Pallet::sponsor_contract`]. + * Sets the pallet to be the sponsor for the contract. + * + * # Permissions + * + * * Pallet admin + * + * # Arguments + * + * * `contract_id`: the contract address that will be sponsored by `pallet_id` **/ sponsorContract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic, [H160]>; /** - * See [`Pallet::stake`]. + * Stakes the amount of native tokens. + * Sets `amount` to the locked state. + * The maximum number of stakes for a staker is 10. + * + * # Arguments + * + * * `amount`: in native tokens. **/ stake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128]>; /** - * See [`Pallet::stop_sponsoring_collection`]. + * Removes the pallet as the sponsor for the collection. + * Returns [`NoPermission`][`Error::NoPermission`] + * if the pallet wasn't the sponsor. + * + * # Permissions + * + * * Pallet admin + * + * # Arguments + * + * * `collection_id`: ID of the collection that is sponsored by `pallet_id` **/ stopSponsoringCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * See [`Pallet::stop_sponsoring_contract`]. + * Removes the pallet as the sponsor for the contract. + * Returns [`NoPermission`][`Error::NoPermission`] + * if the pallet wasn't the sponsor. + * + * # Permissions + * + * * Pallet admin + * + * # Arguments + * + * * `contract_id`: the contract address that is sponsored by `pallet_id` **/ stopSponsoringContract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic, [H160]>; /** - * See [`Pallet::unstake_all`]. + * Unstakes all stakes. + * After the end of `PendingInterval` this sum becomes completely + * free for further use. **/ unstakeAll: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * See [`Pallet::unstake_partial`]. + * Unstakes the amount of balance for the staker. + * After the end of `PendingInterval` this sum becomes completely + * free for further use. + * + * # Arguments + * + * * `staker`: staker account. + * * `amount`: amount of unstaked funds. **/ unstakePartial: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128]>; /** @@ -66,39 +142,86 @@ declare module '@polkadot/api-base/types/submittable' { }; balances: { /** - * See [`Pallet::force_set_balance`]. + * Burn the specified liquid free balance from the origin account. + * + * If the origin's account ends up below the existential deposit as a result + * of the burn and `keep_alive` is false, the account will be reaped. + * + * Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible, + * this `burn` operation will reduce total issuance by the amount _burned_. **/ - forceSetBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, newFree: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, Compact]>; + burn: AugmentedSubmittable<(value: Compact | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [Compact, bool]>; /** - * See [`Pallet::force_transfer`]. + * Adjust the total issuance in a saturating way. + * + * Can only be called by root and always needs a positive `delta`. + * + * # Example **/ - forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, MultiAddress, Compact]>; + forceAdjustTotalIssuance: AugmentedSubmittable<(direction: PalletBalancesAdjustmentDirection | 'Increase' | 'Decrease' | number | Uint8Array, delta: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [PalletBalancesAdjustmentDirection, Compact]>; /** - * See [`Pallet::force_unreserve`]. + * Set the regular balance of a given account. + * + * The dispatch origin for this call is `root`. **/ - forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, u128]>; + forceSetBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, newFree: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, Compact]>; /** - * See [`Pallet::set_balance_deprecated`]. + * Exactly as `transfer_allow_death`, except the origin must be root and the source account + * may be specified. **/ - setBalanceDeprecated: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, newFree: Compact | AnyNumber | Uint8Array, oldReserved: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, Compact, Compact]>; + forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, MultiAddress, Compact]>; /** - * See [`Pallet::transfer`]. + * Unreserve some balance from a user by force. + * + * Can only be called by ROOT. **/ - transfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, Compact]>; + forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, u128]>; /** - * See [`Pallet::transfer_all`]. + * Transfer the entire transferable balance from the caller account. + * + * NOTE: This function only attempts to transfer _transferable_ balances. This means that + * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be + * transferred by this function. To ensure that this function results in a killed account, + * you might need to prepare the account by removing any reference counters, storage + * deposits, etc... + * + * The dispatch origin of this call must be Signed. + * + * - `dest`: The recipient of the transfer. + * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all + * of the funds the account has, causing the sender account to be killed (false), or + * transfer everything except at least the existential deposit, which will guarantee to + * keep the sender account alive (true). **/ transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [MultiAddress, bool]>; /** - * See [`Pallet::transfer_allow_death`]. + * Transfer some liquid free balance to another account. + * + * `transfer_allow_death` will set the `FreeBalance` of the sender and receiver. + * If the sender's account is below the existential deposit as a result + * of the transfer, the account will be reaped. + * + * The dispatch origin for this call must be `Signed` by the transactor. **/ transferAllowDeath: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, Compact]>; /** - * See [`Pallet::transfer_keep_alive`]. + * Same as the [`transfer_allow_death`] call, but with a check that the transfer will not + * kill the origin account. + * + * 99% of the time you want [`transfer_allow_death`] instead. + * + * [`transfer_allow_death`]: struct.Pallet.html#method.transfer **/ transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, Compact]>; /** - * See [`Pallet::upgrade_accounts`]. + * Upgrade a specified account. + * + * - `origin`: Must be `Signed`. + * - `who`: The account to be upgraded. + * + * This will waive the transaction fee if at least all but 10% of the accounts needed to + * be upgraded. (We let some not have to be upgraded just in order to allow for the + * possibility of churn). **/ upgradeAccounts: AugmentedSubmittable<(who: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; /** @@ -108,31 +231,45 @@ declare module '@polkadot/api-base/types/submittable' { }; collatorSelection: { /** - * See [`Pallet::add_invulnerable`]. + * Add a collator to the list of invulnerable (fixed) collators. **/ addInvulnerable: AugmentedSubmittable<(updated: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [AccountId32]>; /** - * See [`Pallet::force_release_license`]. + * Force deregister `origin` as a collator candidate as a governing authority, and revoke its license. + * Note that the collator can only leave on session change. + * The `LicenseBond` will be unreserved and returned immediately. + * + * This call is, of course, not applicable to `Invulnerable` collators. **/ forceReleaseLicense: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [AccountId32]>; /** - * See [`Pallet::get_license`]. + * Purchase a license on block collation for this account. + * It does not make it a collator candidate, use `onboard` afterward. The account must + * (a) already have registered session keys and (b) be able to reserve the `LicenseBond`. + * + * This call is not available to `Invulnerable` collators. **/ getLicense: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * See [`Pallet::offboard`]. + * Deregister `origin` as a collator candidate. Note that the collator can only leave on + * session change. The license to `onboard` later at any other time will remain. **/ offboard: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * See [`Pallet::onboard`]. + * Register this account as a candidate for collators for next sessions. + * The account must already hold a license, and cannot offboard immediately during a session. + * + * This call is not available to `Invulnerable` collators. **/ onboard: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * See [`Pallet::release_license`]. + * Forfeit `origin`'s own license. The `LicenseBond` will be unreserved immediately. + * + * This call is not available to `Invulnerable` collators. **/ releaseLicense: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * See [`Pallet::remove_invulnerable`]. + * Remove a collator from the list of invulnerable (fixed) collators. **/ removeInvulnerable: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [AccountId32]>; /** @@ -141,29 +278,11 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; configuration: { - /** - * See [`Pallet::set_app_promotion_configuration_override`]. - **/ setAppPromotionConfigurationOverride: AugmentedSubmittable<(configuration: PalletConfigurationAppPromotionConfiguration | { recalculationInterval?: any; pendingInterval?: any; intervalIncome?: any; maxStakersPerCalculation?: any } | string | Uint8Array) => SubmittableExtrinsic, [PalletConfigurationAppPromotionConfiguration]>; - /** - * See [`Pallet::set_collator_selection_desired_collators`]. - **/ setCollatorSelectionDesiredCollators: AugmentedSubmittable<(max: Option | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic, [Option]>; - /** - * See [`Pallet::set_collator_selection_kick_threshold`]. - **/ setCollatorSelectionKickThreshold: AugmentedSubmittable<(threshold: Option | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic, [Option]>; - /** - * See [`Pallet::set_collator_selection_license_bond`]. - **/ setCollatorSelectionLicenseBond: AugmentedSubmittable<(amount: Option | null | Uint8Array | u128 | AnyNumber) => SubmittableExtrinsic, [Option]>; - /** - * See [`Pallet::set_min_gas_price_override`]. - **/ setMinGasPriceOverride: AugmentedSubmittable<(coeff: Option | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic, [Option]>; - /** - * See [`Pallet::set_weight_to_fee_coefficient_override`]. - **/ setWeightToFeeCoefficientOverride: AugmentedSubmittable<(coeff: Option | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic, [Option]>; /** * Generic tx @@ -172,27 +291,111 @@ declare module '@polkadot/api-base/types/submittable' { }; council: { /** - * See [`Pallet::close`]. + * Close a vote that is either approved, disapproved or whose voting period has ended. + * + * May be called by any signed account in order to finish voting and close the proposal. + * + * If called before the end of the voting period it will only close the vote if it is + * has enough votes to be approved or disapproved. + * + * If called after the end of the voting period abstentions are counted as rejections + * unless there is a prime member set and the prime member cast an approval. + * + * If the close operation completes successfully with disapproval, the transaction fee will + * be waived. Otherwise execution of the approved operation will be charged to the caller. + * + * + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed + * proposal. + * + `length_bound`: The upper bound for the length of the proposal in storage. Checked via + * `storage::read` so it is `size_of::() == 4` larger than the pure length. + * + * ## Complexity + * - `O(B + M + P1 + P2)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` is members-count (code- and governance-bounded) + * - `P1` is the complexity of `proposal` preimage. + * - `P2` is proposal-count (code-bounded) **/ close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [H256, Compact, SpWeightsWeightV2Weight, Compact]>; /** - * See [`Pallet::disapprove_proposal`]. + * Disapprove a proposal, close, and remove it from the system, regardless of its current + * state. + * + * Must be called by the Root origin. + * + * Parameters: + * * `proposal_hash`: The hash of the proposal that should be disapproved. + * + * ## Complexity + * O(P) where P is the number of max proposals **/ disapproveProposal: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; /** - * See [`Pallet::execute`]. + * Dispatch a proposal from a member using the `Member` origin. + * + * Origin must be a member of the collective. + * + * ## Complexity: + * - `O(B + M + P)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` members-count (code-bounded) + * - `P` complexity of dispatching `proposal` **/ execute: AugmentedSubmittable<(proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Call, Compact]>; /** - * See [`Pallet::propose`]. + * Add a new proposal to either be voted on or executed directly. + * + * Requires the sender to be member. + * + * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) + * or put up for voting. + * + * ## Complexity + * - `O(B + M + P1)` or `O(B + M + P2)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` is members-count (code- and governance-bounded) + * - branching is influenced by `threshold` where: + * - `P1` is proposal execution complexity (`threshold < 2`) + * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) **/ propose: AugmentedSubmittable<(threshold: Compact | AnyNumber | Uint8Array, proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact, Call, Compact]>; /** - * See [`Pallet::set_members`]. + * Set the collective's membership. + * + * - `new_members`: The new member list. Be nice to the chain and provide it sorted. + * - `prime`: The prime member whose vote sets the default. + * - `old_count`: The upper bound for the previous number of members in storage. Used for + * weight estimation. + * + * The dispatch of this call must be `SetMembersOrigin`. + * + * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but + * the weight estimations rely on it to estimate dispatchable weight. + * + * # WARNING: + * + * The `pallet-collective` can also be managed by logic outside of the pallet through the + * implementation of the trait [`ChangeMembers`]. + * Any call to `set_members` must be careful that the member set doesn't get out of sync + * with other logic managing the member set. + * + * ## Complexity: + * - `O(MP + N)` where: + * - `M` old-members-count (code- and governance-bounded) + * - `N` new-members-count (code- and governance-bounded) + * - `P` proposals-count (code-bounded) **/ setMembers: AugmentedSubmittable<(newMembers: Vec | (AccountId32 | string | Uint8Array)[], prime: Option | null | Uint8Array | AccountId32 | string, oldCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Vec, Option, u32]>; /** - * See [`Pallet::vote`]. + * Add an aye or nay vote for the sender to the given proposal. + * + * Requires the sender to be a member. + * + * Transaction fees will be waived if the member is voting on any particular proposal + * for the first time and the call is successful. Subsequent vote changes will charge a + * fee. + * ## Complexity + * - `O(M)` where `M` is members-count (code- and governance-bounded) **/ vote: AugmentedSubmittable<(proposal: H256 | string | Uint8Array, index: Compact | AnyNumber | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic, [H256, Compact, bool]>; /** @@ -202,31 +405,50 @@ declare module '@polkadot/api-base/types/submittable' { }; councilMembership: { /** - * See [`Pallet::add_member`]. + * Add a member `who` to the set. + * + * May only be called from `T::AddOrigin`. **/ addMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * See [`Pallet::change_key`]. + * Swap out the sending member for some other key `new`. + * + * May only be called from `Signed` origin of a current member. + * + * Prime membership is passed from the origin account to `new`, if extant. **/ changeKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * See [`Pallet::clear_prime`]. + * Remove the prime member if it exists. + * + * May only be called from `T::PrimeOrigin`. **/ clearPrime: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * See [`Pallet::remove_member`]. + * Remove a member `who` from the set. + * + * May only be called from `T::RemoveOrigin`. **/ removeMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * See [`Pallet::reset_members`]. + * Change the membership to a new set, disregarding the existing membership. Be nice and + * pass `members` pre-sorted. + * + * May only be called from `T::ResetOrigin`. **/ resetMembers: AugmentedSubmittable<(members: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; /** - * See [`Pallet::set_prime`]. + * Set the prime member. Must be a current member. + * + * May only be called from `T::PrimeOrigin`. **/ setPrime: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * See [`Pallet::swap_member`]. + * Swap out one member `remove` for another `add`. + * + * May only be called from `T::SwapOrigin`. + * + * Prime membership is *not* passed from `remove` to `add`, if extant. **/ swapMember: AugmentedSubmittable<(remove: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, add: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, MultiAddress]>; /** @@ -242,79 +464,273 @@ declare module '@polkadot/api-base/types/submittable' { }; democracy: { /** - * See [`Pallet::blacklist`]. + * Permanently place a proposal into the blacklist. This prevents it from ever being + * proposed again. + * + * If called on a queued public or external proposal, then this will result in it being + * removed. If the `ref_index` supplied is an active referendum with the proposal hash, + * then it will be cancelled. + * + * The dispatch origin of this call must be `BlacklistOrigin`. + * + * - `proposal_hash`: The proposal hash to blacklist permanently. + * - `ref_index`: An ongoing referendum whose hash is `proposal_hash`, which will be + * cancelled. + * + * Weight: `O(p)` (though as this is an high-privilege dispatch, we assume it has a + * reasonable value). **/ blacklist: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, maybeRefIndex: Option | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic, [H256, Option]>; /** - * See [`Pallet::cancel_proposal`]. + * Remove a proposal. + * + * The dispatch origin of this call must be `CancelProposalOrigin`. + * + * - `prop_index`: The index of the proposal to cancel. + * + * Weight: `O(p)` where `p = PublicProps::::decode_len()` **/ cancelProposal: AugmentedSubmittable<(propIndex: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; /** - * See [`Pallet::cancel_referendum`]. + * Remove a referendum. + * + * The dispatch origin of this call must be _Root_. + * + * - `ref_index`: The index of the referendum to cancel. + * + * # Weight: `O(1)`. **/ cancelReferendum: AugmentedSubmittable<(refIndex: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; /** - * See [`Pallet::clear_public_proposals`]. + * Clears all public proposals. + * + * The dispatch origin of this call must be _Root_. + * + * Weight: `O(1)`. **/ clearPublicProposals: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * See [`Pallet::delegate`]. + * Delegate the voting power (with some given conviction) of the sending account. + * + * The balance delegated is locked for as long as it's delegated, and thereafter for the + * time appropriate for the conviction's lock period. + * + * The dispatch origin of this call must be _Signed_, and the signing account must either: + * - be delegating already; or + * - have no voting activity (if there is, then it will need to be removed/consolidated + * through `reap_vote` or `unvote`). + * + * - `to`: The account whose voting the `target` account's voting power will follow. + * - `conviction`: The conviction that will be attached to the delegated votes. When the + * account is undelegated, the funds will be locked for the corresponding period. + * - `balance`: The amount of the account's balance to be used in delegating. This must not + * be more than the account's current balance. + * + * Emits `Delegated`. + * + * Weight: `O(R)` where R is the number of referendums the voter delegating to has + * voted on. Weight is charged as if maximum votes. **/ delegate: AugmentedSubmittable<(to: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, conviction: PalletDemocracyConviction | 'None' | 'Locked1x' | 'Locked2x' | 'Locked3x' | 'Locked4x' | 'Locked5x' | 'Locked6x' | number | Uint8Array, balance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, PalletDemocracyConviction, u128]>; /** - * See [`Pallet::emergency_cancel`]. + * Schedule an emergency cancellation of a referendum. Cannot happen twice to the same + * referendum. + * + * The dispatch origin of this call must be `CancellationOrigin`. + * + * -`ref_index`: The index of the referendum to cancel. + * + * Weight: `O(1)`. **/ emergencyCancel: AugmentedSubmittable<(refIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * See [`Pallet::external_propose`]. + * Schedule a referendum to be tabled once it is legal to schedule an external + * referendum. + * + * The dispatch origin of this call must be `ExternalOrigin`. + * + * - `proposal_hash`: The preimage hash of the proposal. **/ externalPropose: AugmentedSubmittable<(proposal: FrameSupportPreimagesBounded | { Legacy: any } | { Inline: any } | { Lookup: any } | string | Uint8Array) => SubmittableExtrinsic, [FrameSupportPreimagesBounded]>; /** - * See [`Pallet::external_propose_default`]. + * Schedule a negative-turnout-bias referendum to be tabled next once it is legal to + * schedule an external referendum. + * + * The dispatch of this call must be `ExternalDefaultOrigin`. + * + * - `proposal_hash`: The preimage hash of the proposal. + * + * Unlike `external_propose`, blacklisting has no effect on this and it may replace a + * pre-scheduled `external_propose` call. + * + * Weight: `O(1)` **/ externalProposeDefault: AugmentedSubmittable<(proposal: FrameSupportPreimagesBounded | { Legacy: any } | { Inline: any } | { Lookup: any } | string | Uint8Array) => SubmittableExtrinsic, [FrameSupportPreimagesBounded]>; /** - * See [`Pallet::external_propose_majority`]. + * Schedule a majority-carries referendum to be tabled next once it is legal to schedule + * an external referendum. + * + * The dispatch of this call must be `ExternalMajorityOrigin`. + * + * - `proposal_hash`: The preimage hash of the proposal. + * + * Unlike `external_propose`, blacklisting has no effect on this and it may replace a + * pre-scheduled `external_propose` call. + * + * Weight: `O(1)` **/ externalProposeMajority: AugmentedSubmittable<(proposal: FrameSupportPreimagesBounded | { Legacy: any } | { Inline: any } | { Lookup: any } | string | Uint8Array) => SubmittableExtrinsic, [FrameSupportPreimagesBounded]>; /** - * See [`Pallet::fast_track`]. + * Schedule the currently externally-proposed majority-carries referendum to be tabled + * immediately. If there is no externally-proposed referendum currently, or if there is one + * but it is not a majority-carries referendum then it fails. + * + * The dispatch of this call must be `FastTrackOrigin`. + * + * - `proposal_hash`: The hash of the current external proposal. + * - `voting_period`: The period that is allowed for voting on this proposal. Increased to + * Must be always greater than zero. + * For `FastTrackOrigin` must be equal or greater than `FastTrackVotingPeriod`. + * - `delay`: The number of block after voting has ended in approval and this should be + * enacted. This doesn't have a minimum amount. + * + * Emits `Started`. + * + * Weight: `O(1)` **/ fastTrack: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, votingPeriod: u32 | AnyNumber | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [H256, u32, u32]>; /** - * See [`Pallet::propose`]. + * Propose a sensitive action to be taken. + * + * The dispatch origin of this call must be _Signed_ and the sender must + * have funds to cover the deposit. + * + * - `proposal_hash`: The hash of the proposal preimage. + * - `value`: The amount of deposit (must be at least `MinimumDeposit`). + * + * Emits `Proposed`. **/ propose: AugmentedSubmittable<(proposal: FrameSupportPreimagesBounded | { Legacy: any } | { Inline: any } | { Lookup: any } | string | Uint8Array, value: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [FrameSupportPreimagesBounded, Compact]>; /** - * See [`Pallet::remove_other_vote`]. + * Remove a vote for a referendum. + * + * If the `target` is equal to the signer, then this function is exactly equivalent to + * `remove_vote`. If not equal to the signer, then the vote must have expired, + * either because the referendum was cancelled, because the voter lost the referendum or + * because the conviction period is over. + * + * The dispatch origin of this call must be _Signed_. + * + * - `target`: The account of the vote to be removed; this account must have voted for + * referendum `index`. + * - `index`: The index of referendum of the vote to be removed. + * + * Weight: `O(R + log R)` where R is the number of referenda that `target` has voted on. + * Weight is calculated for the maximum number of vote. **/ removeOtherVote: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, u32]>; /** - * See [`Pallet::remove_vote`]. + * Remove a vote for a referendum. + * + * If: + * - the referendum was cancelled, or + * - the referendum is ongoing, or + * - the referendum has ended such that + * - the vote of the account was in opposition to the result; or + * - there was no conviction to the account's vote; or + * - the account made a split vote + * ...then the vote is removed cleanly and a following call to `unlock` may result in more + * funds being available. + * + * If, however, the referendum has ended and: + * - it finished corresponding to the vote of the account, and + * - the account made a standard vote with conviction, and + * - the lock period of the conviction is not over + * ...then the lock will be aggregated into the overall account's lock, which may involve + * *overlocking* (where the two locks are combined into a single lock that is the maximum + * of both the amount locked and the time is it locked for). + * + * The dispatch origin of this call must be _Signed_, and the signer must have a vote + * registered for referendum `index`. + * + * - `index`: The index of referendum of the vote to be removed. + * + * Weight: `O(R + log R)` where R is the number of referenda that `target` has voted on. + * Weight is calculated for the maximum number of vote. **/ removeVote: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * See [`Pallet::second`]. + * Signals agreement with a particular proposal. + * + * The dispatch origin of this call must be _Signed_ and the sender + * must have funds to cover the deposit, equal to the original deposit. + * + * - `proposal`: The index of the proposal to second. **/ second: AugmentedSubmittable<(proposal: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; /** - * See [`Pallet::set_metadata`]. + * Set or clear a metadata of a proposal or a referendum. + * + * Parameters: + * - `origin`: Must correspond to the `MetadataOwner`. + * - `ExternalOrigin` for an external proposal with the `SuperMajorityApprove` + * threshold. + * - `ExternalDefaultOrigin` for an external proposal with the `SuperMajorityAgainst` + * threshold. + * - `ExternalMajorityOrigin` for an external proposal with the `SimpleMajority` + * threshold. + * - `Signed` by a creator for a public proposal. + * - `Signed` to clear a metadata for a finished referendum. + * - `Root` to set a metadata for an ongoing referendum. + * - `owner`: an identifier of a metadata owner. + * - `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata. **/ setMetadata: AugmentedSubmittable<(owner: PalletDemocracyMetadataOwner | { External: any } | { Proposal: any } | { Referendum: any } | string | Uint8Array, maybeHash: Option | null | Uint8Array | H256 | string) => SubmittableExtrinsic, [PalletDemocracyMetadataOwner, Option]>; /** - * See [`Pallet::undelegate`]. + * Undelegate the voting power of the sending account. + * + * Tokens may be unlocked following once an amount of time consistent with the lock period + * of the conviction with which the delegation was issued. + * + * The dispatch origin of this call must be _Signed_ and the signing account must be + * currently delegating. + * + * Emits `Undelegated`. + * + * Weight: `O(R)` where R is the number of referendums the voter delegating to has + * voted on. Weight is charged as if maximum votes. **/ undelegate: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * See [`Pallet::unlock`]. + * Unlock tokens that have an expired lock. + * + * The dispatch origin of this call must be _Signed_. + * + * - `target`: The account to remove the lock on. + * + * Weight: `O(R)` with R number of vote of target. **/ unlock: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * See [`Pallet::veto_external`]. + * Veto and blacklist the external proposal hash. + * + * The dispatch origin of this call must be `VetoOrigin`. + * + * - `proposal_hash`: The preimage hash of the proposal to veto and blacklist. + * + * Emits `Vetoed`. + * + * Weight: `O(V + log(V))` where V is number of `existing vetoers` **/ vetoExternal: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; /** - * See [`Pallet::vote`]. + * Vote in a referendum. If `vote.is_aye()`, the vote is to enact the proposal; + * otherwise it is a vote to keep the status quo. + * + * The dispatch origin of this call must be _Signed_. + * + * - `ref_index`: The index of the referendum to vote for. + * - `vote`: The vote configuration. **/ vote: AugmentedSubmittable<(refIndex: Compact | AnyNumber | Uint8Array, vote: PalletDemocracyVoteAccountVote | { Standard: any } | { Split: any } | string | Uint8Array) => SubmittableExtrinsic, [Compact, PalletDemocracyVoteAccountVote]>; /** @@ -323,10 +739,6 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; dmpQueue: { - /** - * See [`Pallet::service_overweight`]. - **/ - serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic, [u64, SpWeightsWeightV2Weight]>; /** * Generic tx **/ @@ -334,7 +746,7 @@ declare module '@polkadot/api-base/types/submittable' { }; ethereum: { /** - * See [`Pallet::transact`]. + * Transact an Ethereum transaction. **/ transact: AugmentedSubmittable<(transaction: EthereumTransactionTransactionV2 | { Legacy: any } | { EIP2930: any } | { EIP1559: any } | string | Uint8Array) => SubmittableExtrinsic, [EthereumTransactionTransactionV2]>; /** @@ -344,19 +756,20 @@ declare module '@polkadot/api-base/types/submittable' { }; evm: { /** - * See [`Pallet::call`]. + * Issue an EVM call operation. This is similar to a message call transaction in Ethereum. **/ call: AugmentedSubmittable<(source: H160 | string | Uint8Array, target: H160 | string | Uint8Array, input: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option | null | Uint8Array | U256 | AnyNumber, nonce: Option | null | Uint8Array | U256 | AnyNumber, accessList: Vec]>> | ([H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic, [H160, H160, Bytes, U256, u64, U256, Option, Option, Vec]>>]>; /** - * See [`Pallet::create`]. + * Issue an EVM create operation. This is similar to a contract creation transaction in + * Ethereum. **/ create: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option | null | Uint8Array | U256 | AnyNumber, nonce: Option | null | Uint8Array | U256 | AnyNumber, accessList: Vec]>> | ([H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic, [H160, Bytes, U256, u64, U256, Option, Option, Vec]>>]>; /** - * See [`Pallet::create2`]. + * Issue an EVM create2 operation. **/ create2: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, salt: H256 | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option | null | Uint8Array | U256 | AnyNumber, nonce: Option | null | Uint8Array | U256 | AnyNumber, accessList: Vec]>> | ([H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic, [H160, Bytes, H256, U256, u64, U256, Option, Option, Vec]>>]>; /** - * See [`Pallet::withdraw`]. + * Withdraw balance from EVM into currency/balances pallet. **/ withdraw: AugmentedSubmittable<(address: H160 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [H160, u128]>; /** @@ -366,7 +779,7 @@ declare module '@polkadot/api-base/types/submittable' { }; evmContractHelpers: { /** - * See [`Pallet::migrate_from_self_sponsoring`]. + * Migrate contract to use `SponsoringMode` storage instead of `SelfSponsoring` **/ migrateFromSelfSponsoring: AugmentedSubmittable<(addresses: Vec | (H160 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; /** @@ -376,27 +789,31 @@ declare module '@polkadot/api-base/types/submittable' { }; evmMigration: { /** - * See [`Pallet::begin`]. + * Start contract migration, inserts contract stub at target address, + * and marks account as pending, allowing to insert storage **/ begin: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic, [H160]>; /** - * See [`Pallet::finish`]. + * Finish contract migration, allows it to be called. + * It is not possible to alter contract storage via [`Self::set_data`] + * after this call. **/ finish: AugmentedSubmittable<(address: H160 | string | Uint8Array, code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [H160, Bytes]>; /** - * See [`Pallet::insert_eth_logs`]. + * Create ethereum events attached to the fake transaction **/ insertEthLogs: AugmentedSubmittable<(logs: Vec | (EthereumLog | { address?: any; topics?: any; data?: any } | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; /** - * See [`Pallet::insert_events`]. + * Create substrate events **/ insertEvents: AugmentedSubmittable<(events: Vec | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; /** - * See [`Pallet::remove_rmrk_data`]. + * Remove remark compatibility data leftovers **/ removeRmrkData: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * See [`Pallet::set_data`]. + * Insert items into contract storage, this method can be called + * multiple times **/ setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic, [H160, Vec>]>; /** @@ -406,27 +823,76 @@ declare module '@polkadot/api-base/types/submittable' { }; fellowshipCollective: { /** - * See [`Pallet::add_member`]. + * Introduce a new member. + * + * - `origin`: Must be the `AddOrigin`. + * - `who`: Account of non-member which will become a member. + * + * Weight: `O(1)` **/ addMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * See [`Pallet::cleanup_poll`]. + * Remove votes from the given poll. It must have ended. + * + * - `origin`: Must be `Signed` by any account. + * - `poll_index`: Index of a poll which is completed and for which votes continue to + * exist. + * - `max`: Maximum number of vote items from remove in this call. + * + * Transaction fees are waived if the operation is successful. + * + * Weight `O(max)` (less if there are fewer items to remove than `max`). **/ cleanupPoll: AugmentedSubmittable<(pollIndex: u32 | AnyNumber | Uint8Array, max: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32, u32]>; /** - * See [`Pallet::demote_member`]. + * Decrement the rank of an existing member by one. If the member is already at rank zero, + * then they are removed entirely. + * + * - `origin`: Must be the `DemoteOrigin`. + * - `who`: Account of existing member of rank greater than zero. + * + * Weight: `O(1)`, less if the member's index is highest in its rank. **/ demoteMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * See [`Pallet::promote_member`]. + * Exchanges a member with a new account and the same existing rank. + * + * - `origin`: Must be the `ExchangeOrigin`. + * - `who`: Account of existing member of rank greater than zero to be exchanged. + * - `new_who`: New Account of existing member of rank greater than zero to exchanged to. + **/ + exchangeMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, newWho: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, MultiAddress]>; + /** + * Increment the rank of an existing member by one. + * + * - `origin`: Must be the `PromoteOrigin`. + * - `who`: Account of existing member. + * + * Weight: `O(1)` **/ promoteMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * See [`Pallet::remove_member`]. + * Remove the member entirely. + * + * - `origin`: Must be the `RemoveOrigin`. + * - `who`: Account of existing member of rank greater than zero. + * - `min_rank`: The rank of the member or greater. + * + * Weight: `O(min_rank)`. **/ removeMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, minRank: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, u16]>; /** - * See [`Pallet::vote`]. + * Add an aye or nay vote for the sender to the given proposal. + * + * - `origin`: Must be `Signed` by a member account. + * - `poll`: Index of a poll which is ongoing. + * - `aye`: `true` if the vote is to approve the proposal, `false` otherwise. + * + * Transaction fees are be waived if the member is voting on any particular proposal + * for the first time and the call is successful. Subsequent vote changes will charge a + * fee. + * + * Weight: `O(1)`, less if there was no previous vote on the poll by the member. **/ vote: AugmentedSubmittable<(poll: u32 | AnyNumber | Uint8Array, aye: bool | boolean | Uint8Array) => SubmittableExtrinsic, [u32, bool]>; /** @@ -436,55 +902,269 @@ declare module '@polkadot/api-base/types/submittable' { }; fellowshipReferenda: { /** - * See [`Pallet::cancel`]. + * Cancel an ongoing referendum. + * + * - `origin`: must be the `CancelOrigin`. + * - `index`: The index of the referendum to be cancelled. + * + * Emits `Cancelled`. **/ cancel: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * See [`Pallet::kill`]. + * Cancel an ongoing referendum and slash the deposits. + * + * - `origin`: must be the `KillOrigin`. + * - `index`: The index of the referendum to be cancelled. + * + * Emits `Killed` and `DepositSlashed`. **/ kill: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * See [`Pallet::nudge_referendum`]. + * Advance a referendum onto its next logical state. Only used internally. + * + * - `origin`: must be `Root`. + * - `index`: the referendum to be advanced. **/ nudgeReferendum: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * See [`Pallet::one_fewer_deciding`]. + * Advance a track onto its next logical state. Only used internally. + * + * - `origin`: must be `Root`. + * - `track`: the track to be advanced. + * + * Action item for when there is now one fewer referendum in the deciding phase and the + * `DecidingCount` is not yet updated. This means that we should either: + * - begin deciding another referendum (and leave `DecidingCount` alone); or + * - decrement `DecidingCount`. **/ oneFewerDeciding: AugmentedSubmittable<(track: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u16]>; /** - * See [`Pallet::place_decision_deposit`]. + * Post the Decision Deposit for a referendum. + * + * - `origin`: must be `Signed` and the account must have funds available for the + * referendum's track's Decision Deposit. + * - `index`: The index of the submitted referendum whose Decision Deposit is yet to be + * posted. + * + * Emits `DecisionDepositPlaced`. **/ placeDecisionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * See [`Pallet::refund_decision_deposit`]. + * Refund the Decision Deposit for a closed referendum back to the depositor. + * + * - `origin`: must be `Signed` or `Root`. + * - `index`: The index of a closed referendum whose Decision Deposit has not yet been + * refunded. + * + * Emits `DecisionDepositRefunded`. **/ refundDecisionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * See [`Pallet::refund_submission_deposit`]. + * Refund the Submission Deposit for a closed referendum back to the depositor. + * + * - `origin`: must be `Signed` or `Root`. + * - `index`: The index of a closed referendum whose Submission Deposit has not yet been + * refunded. + * + * Emits `SubmissionDepositRefunded`. **/ refundSubmissionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * See [`Pallet::set_metadata`]. + * Set or clear metadata of a referendum. + * + * Parameters: + * - `origin`: Must be `Signed` by a creator of a referendum or by anyone to clear a + * metadata of a finished referendum. + * - `index`: The index of a referendum to set or clear metadata for. + * - `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata. **/ setMetadata: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array, maybeHash: Option | null | Uint8Array | H256 | string) => SubmittableExtrinsic, [u32, Option]>; /** - * See [`Pallet::submit`]. + * Propose a referendum on a privileged action. + * + * - `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds + * available. + * - `proposal_origin`: The origin from which the proposal should be executed. + * - `proposal`: The proposal. + * - `enactment_moment`: The moment that the proposal should be enacted. + * + * Emits `Submitted`. **/ - submit: AugmentedSubmittable<(proposalOrigin: OpalRuntimeOriginCaller | { system: any } | { Void: any } | { Council: any } | { TechnicalCommittee: any } | { PolkadotXcm: any } | { CumulusXcm: any } | { Origins: any } | { Ethereum: any } | string | Uint8Array, proposal: FrameSupportPreimagesBounded | { Legacy: any } | { Inline: any } | { Lookup: any } | string | Uint8Array, enactmentMoment: FrameSupportScheduleDispatchTime | { At: any } | { After: any } | string | Uint8Array) => SubmittableExtrinsic, [OpalRuntimeOriginCaller, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime]>; + submit: AugmentedSubmittable<(proposalOrigin: OpalRuntimeOriginCaller | { system: any } | { Void: any } | { Council: any } | { TechnicalCommittee: any } | { PolkadotXcm: any } | { CumulusXcm: any } | { FinancialCouncil: any } | { Origins: any } | { Ethereum: any } | string | Uint8Array, proposal: FrameSupportPreimagesBounded | { Legacy: any } | { Inline: any } | { Lookup: any } | string | Uint8Array, enactmentMoment: FrameSupportScheduleDispatchTime | { At: any } | { After: any } | string | Uint8Array) => SubmittableExtrinsic, [OpalRuntimeOriginCaller, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction; }; - foreignAssets: { + financialCouncil: { + /** + * Close a vote that is either approved, disapproved or whose voting period has ended. + * + * May be called by any signed account in order to finish voting and close the proposal. + * + * If called before the end of the voting period it will only close the vote if it is + * has enough votes to be approved or disapproved. + * + * If called after the end of the voting period abstentions are counted as rejections + * unless there is a prime member set and the prime member cast an approval. + * + * If the close operation completes successfully with disapproval, the transaction fee will + * be waived. Otherwise execution of the approved operation will be charged to the caller. + * + * + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed + * proposal. + * + `length_bound`: The upper bound for the length of the proposal in storage. Checked via + * `storage::read` so it is `size_of::() == 4` larger than the pure length. + * + * ## Complexity + * - `O(B + M + P1 + P2)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` is members-count (code- and governance-bounded) + * - `P1` is the complexity of `proposal` preimage. + * - `P2` is proposal-count (code-bounded) + **/ + close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [H256, Compact, SpWeightsWeightV2Weight, Compact]>; + /** + * Disapprove a proposal, close, and remove it from the system, regardless of its current + * state. + * + * Must be called by the Root origin. + * + * Parameters: + * * `proposal_hash`: The hash of the proposal that should be disapproved. + * + * ## Complexity + * O(P) where P is the number of max proposals + **/ + disapproveProposal: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; + /** + * Dispatch a proposal from a member using the `Member` origin. + * + * Origin must be a member of the collective. + * + * ## Complexity: + * - `O(B + M + P)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` members-count (code-bounded) + * - `P` complexity of dispatching `proposal` + **/ + execute: AugmentedSubmittable<(proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Call, Compact]>; + /** + * Add a new proposal to either be voted on or executed directly. + * + * Requires the sender to be member. + * + * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) + * or put up for voting. + * + * ## Complexity + * - `O(B + M + P1)` or `O(B + M + P2)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` is members-count (code- and governance-bounded) + * - branching is influenced by `threshold` where: + * - `P1` is proposal execution complexity (`threshold < 2`) + * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) + **/ + propose: AugmentedSubmittable<(threshold: Compact | AnyNumber | Uint8Array, proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact, Call, Compact]>; + /** + * Set the collective's membership. + * + * - `new_members`: The new member list. Be nice to the chain and provide it sorted. + * - `prime`: The prime member whose vote sets the default. + * - `old_count`: The upper bound for the previous number of members in storage. Used for + * weight estimation. + * + * The dispatch of this call must be `SetMembersOrigin`. + * + * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but + * the weight estimations rely on it to estimate dispatchable weight. + * + * # WARNING: + * + * The `pallet-collective` can also be managed by logic outside of the pallet through the + * implementation of the trait [`ChangeMembers`]. + * Any call to `set_members` must be careful that the member set doesn't get out of sync + * with other logic managing the member set. + * + * ## Complexity: + * - `O(MP + N)` where: + * - `M` old-members-count (code- and governance-bounded) + * - `N` new-members-count (code- and governance-bounded) + * - `P` proposals-count (code-bounded) + **/ + setMembers: AugmentedSubmittable<(newMembers: Vec | (AccountId32 | string | Uint8Array)[], prime: Option | null | Uint8Array | AccountId32 | string, oldCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Vec, Option, u32]>; + /** + * Add an aye or nay vote for the sender to the given proposal. + * + * Requires the sender to be a member. + * + * Transaction fees will be waived if the member is voting on any particular proposal + * for the first time and the call is successful. Subsequent vote changes will charge a + * fee. + * ## Complexity + * - `O(M)` where `M` is members-count (code- and governance-bounded) + **/ + vote: AugmentedSubmittable<(proposal: H256 | string | Uint8Array, index: Compact | AnyNumber | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic, [H256, Compact, bool]>; /** - * See [`Pallet::register_foreign_asset`]. + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; + financialCouncilMembership: { + /** + * Add a member `who` to the set. + * + * May only be called from `T::AddOrigin`. + **/ + addMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; + /** + * Swap out the sending member for some other key `new`. + * + * May only be called from `Signed` origin of a current member. + * + * Prime membership is passed from the origin account to `new`, if extant. + **/ + changeKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; + /** + * Remove the prime member if it exists. + * + * May only be called from `T::PrimeOrigin`. + **/ + clearPrime: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Remove a member `who` from the set. + * + * May only be called from `T::RemoveOrigin`. + **/ + removeMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; + /** + * Change the membership to a new set, disregarding the existing membership. Be nice and + * pass `members` pre-sorted. + * + * May only be called from `T::ResetOrigin`. + **/ + resetMembers: AugmentedSubmittable<(members: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; + /** + * Set the prime member. Must be a current member. + * + * May only be called from `T::PrimeOrigin`. + **/ + setPrime: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; + /** + * Swap out one member `remove` for another `add`. + * + * May only be called from `T::SwapOrigin`. + * + * Prime membership is *not* passed from `remove` to `add`, if extant. **/ - registerForeignAsset: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, location: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic, [AccountId32, StagingXcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>; + swapMember: AugmentedSubmittable<(remove: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, add: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, MultiAddress]>; /** - * See [`Pallet::update_foreign_asset`]. + * Generic tx **/ - updateForeignAsset: AugmentedSubmittable<(foreignAssetId: u32 | AnyNumber | Uint8Array, location: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, StagingXcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>; + [key: string]: SubmittableExtrinsicFunction; + }; + foreignAssets: { + forceRegisterForeignAsset: AugmentedSubmittable<(versionedAssetId: XcmVersionedAssetId | { V3: any } | { V4: any } | string | Uint8Array, name: Vec | (u16 | AnyNumber | Uint8Array)[], tokenPrefix: Bytes | string | Uint8Array, mode: PalletForeignAssetsForeignCollectionMode | { NFT: any } | { Fungible: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedAssetId, Vec, Bytes, PalletForeignAssetsForeignCollectionMode]>; /** * Generic tx **/ @@ -492,75 +1172,289 @@ declare module '@polkadot/api-base/types/submittable' { }; identity: { /** - * See [`Pallet::add_registrar`]. + * Add a registrar to the system. + * + * The dispatch origin for this call must be `T::RegistrarOrigin`. + * + * - `account`: the account of the registrar. + * + * Emits `RegistrarAdded` if successful. + * + * # + * - `O(R)` where `R` registrar-count (governance-bounded and code-bounded). + * - One storage mutation (codec `O(R)`). + * - One event. + * # **/ addRegistrar: AugmentedSubmittable<(account: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * See [`Pallet::add_sub`]. + * Add the given account to the sender's subs. + * + * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated + * to the sender. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * sub identity of `sub`. **/ addSub: AugmentedSubmittable<(sub: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, data: Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, Data]>; /** - * See [`Pallet::cancel_request`]. + * Cancel a previous request. + * + * Payment: A previously reserved deposit is returned on success. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a + * registered identity. + * + * - `reg_index`: The index of the registrar whose judgement is no longer requested. + * + * Emits `JudgementUnrequested` if successful. + * + * # + * - `O(R + X)`. + * - One balance-reserve operation. + * - One storage mutation `O(R + X)`. + * - One event + * # **/ cancelRequest: AugmentedSubmittable<(regIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * See [`Pallet::clear_identity`]. + * Clear an account's identity info and all sub-accounts and return all deposits. + * + * Payment: All reserved balances on the account are returned. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * identity. + * + * Emits `IdentityCleared` if successful. + * + * # + * - `O(R + S + X)` + * - where `R` registrar-count (governance-bounded). + * - where `S` subs-count (hard- and deposit-bounded). + * - where `X` additional-field-count (deposit-bounded and code-bounded). + * - One balance-unreserve operation. + * - `2` storage reads and `S + 2` storage deletions. + * - One event. + * # **/ clearIdentity: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * See [`Pallet::force_insert_identities`]. + * Set identities to be associated with the provided accounts as force origin. + * + * This is not meant to operate in tandem with the identity pallet as is, + * and be instead used to keep identities made and verified externally, + * forbidden from interacting with an ordinary user, since it ignores any safety mechanism. **/ forceInsertIdentities: AugmentedSubmittable<(identities: Vec> | ([AccountId32 | string | Uint8Array, PalletIdentityRegistration | { judgements?: any; deposit?: any; info?: any } | string | Uint8Array])[]) => SubmittableExtrinsic, [Vec>]>; /** - * See [`Pallet::force_remove_identities`]. + * Remove identities associated with the provided accounts as force origin. + * + * This is not meant to operate in tandem with the identity pallet as is, + * and be instead used to keep identities made and verified externally, + * forbidden from interacting with an ordinary user, since it ignores any safety mechanism. **/ forceRemoveIdentities: AugmentedSubmittable<(identities: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; /** - * See [`Pallet::force_set_subs`]. + * Set sub-identities to be associated with the provided accounts as force origin. + * + * This is not meant to operate in tandem with the identity pallet as is, + * and be instead used to keep identities made and verified externally, + * forbidden from interacting with an ordinary user, since it ignores any safety mechanism. **/ forceSetSubs: AugmentedSubmittable<(subs: Vec>]>]>> | ([AccountId32 | string | Uint8Array, ITuple<[u128, Vec>]> | [u128 | AnyNumber | Uint8Array, Vec> | ([AccountId32 | string | Uint8Array, Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array])[]]])[]) => SubmittableExtrinsic, [Vec>]>]>>]>; /** - * See [`Pallet::kill_identity`]. + * Remove an account's identity and sub-account information and slash the deposits. + * + * Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by + * `Slash`. Verification request deposits are not returned; they should be cancelled + * manually using `cancel_request`. + * + * The dispatch origin for this call must match `T::ForceOrigin`. + * + * - `target`: the account whose identity the judgement is upon. This must be an account + * with a registered identity. + * + * Emits `IdentityKilled` if successful. + * + * # + * - `O(R + S + X)`. + * - One balance-reserve operation. + * - `S + 2` storage mutations. + * - One event. + * # **/ killIdentity: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * See [`Pallet::provide_judgement`]. + * Provide a judgement for an account's identity. + * + * The dispatch origin for this call must be _Signed_ and the sender must be the account + * of the registrar whose index is `reg_index`. + * + * - `reg_index`: the index of the registrar whose judgement is being made. + * - `target`: the account whose identity the judgement is upon. This must be an account + * with a registered identity. + * - `judgement`: the judgement of the registrar of index `reg_index` about `target`. + * - `identity`: The hash of the [`IdentityInfo`] for that the judgement is provided. + * + * Emits `JudgementGiven` if successful. + * + * # + * - `O(R + X)`. + * - One balance-transfer operation. + * - Up to one account-lookup operation. + * - Storage: 1 read `O(R)`, 1 mutate `O(R + X)`. + * - One event. + * # **/ provideJudgement: AugmentedSubmittable<(regIndex: Compact | AnyNumber | Uint8Array, target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, judgement: PalletIdentityJudgement | { Unknown: any } | { FeePaid: any } | { Reasonable: any } | { KnownGood: any } | { OutOfDate: any } | { LowQuality: any } | { Erroneous: any } | string | Uint8Array, identity: H256 | string | Uint8Array) => SubmittableExtrinsic, [Compact, MultiAddress, PalletIdentityJudgement, H256]>; /** - * See [`Pallet::quit_sub`]. + * Remove the sender as a sub-account. + * + * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated + * to the sender (*not* the original depositor). + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * super-identity. + * + * NOTE: This should not normally be used, but is provided in the case that the non- + * controller of an account is maliciously registered as a sub-account. **/ quitSub: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * See [`Pallet::remove_sub`]. + * Remove the given account from the sender's subs. + * + * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated + * to the sender. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * sub identity of `sub`. **/ removeSub: AugmentedSubmittable<(sub: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * See [`Pallet::rename_sub`]. + * Alter the associated name of the given sub-account. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * sub identity of `sub`. **/ renameSub: AugmentedSubmittable<(sub: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, data: Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, Data]>; /** - * See [`Pallet::request_judgement`]. + * Request a judgement from a registrar. + * + * Payment: At most `max_fee` will be reserved for payment to the registrar if judgement + * given. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a + * registered identity. + * + * - `reg_index`: The index of the registrar whose judgement is requested. + * - `max_fee`: The maximum fee that may be paid. This should just be auto-populated as: + * + * ```nocompile + * Self::registrars().get(reg_index).unwrap().fee + * ``` + * + * Emits `JudgementRequested` if successful. + * + * # + * - `O(R + X)`. + * - One balance-reserve operation. + * - Storage: 1 read `O(R)`, 1 mutate `O(X + R)`. + * - One event. + * # **/ requestJudgement: AugmentedSubmittable<(regIndex: Compact | AnyNumber | Uint8Array, maxFee: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact, Compact]>; /** - * See [`Pallet::set_account_id`]. + * Change the account associated with a registrar. + * + * The dispatch origin for this call must be _Signed_ and the sender must be the account + * of the registrar whose index is `index`. + * + * - `index`: the index of the registrar whose fee is to be set. + * - `new`: the new account ID. + * + * # + * - `O(R)`. + * - One storage mutation `O(R)`. + * - Benchmark: 8.823 + R * 0.32 µs (min squares analysis) + * # **/ setAccountId: AugmentedSubmittable<(index: Compact | AnyNumber | Uint8Array, updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [Compact, MultiAddress]>; /** - * See [`Pallet::set_fee`]. + * Set the fee required for a judgement to be requested from a registrar. + * + * The dispatch origin for this call must be _Signed_ and the sender must be the account + * of the registrar whose index is `index`. + * + * - `index`: the index of the registrar whose fee is to be set. + * - `fee`: the new fee. + * + * # + * - `O(R)`. + * - One storage mutation `O(R)`. + * - Benchmark: 7.315 + R * 0.329 µs (min squares analysis) + * # **/ setFee: AugmentedSubmittable<(index: Compact | AnyNumber | Uint8Array, fee: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact, Compact]>; /** - * See [`Pallet::set_fields`]. + * Set the field information for a registrar. + * + * The dispatch origin for this call must be _Signed_ and the sender must be the account + * of the registrar whose index is `index`. + * + * - `index`: the index of the registrar whose fee is to be set. + * - `fields`: the fields that the registrar concerns themselves with. + * + * # + * - `O(R)`. + * - One storage mutation `O(R)`. + * - Benchmark: 7.464 + R * 0.325 µs (min squares analysis) + * # **/ setFields: AugmentedSubmittable<(index: Compact | AnyNumber | Uint8Array, fields: PalletIdentityBitFlags) => SubmittableExtrinsic, [Compact, PalletIdentityBitFlags]>; /** - * See [`Pallet::set_identity`]. + * Set an account's identity information and reserve the appropriate deposit. + * + * If the account already has identity information, the deposit is taken as part payment + * for the new deposit. + * + * The dispatch origin for this call must be _Signed_. + * + * - `info`: The identity information. + * + * Emits `IdentitySet` if successful. + * + * # + * - `O(X + X' + R)` + * - where `X` additional-field-count (deposit-bounded and code-bounded) + * - where `R` judgements-count (registrar-count-bounded) + * - One balance reserve operation. + * - One storage mutation (codec-read `O(X' + R)`, codec-write `O(X + R)`). + * - One event. + * # **/ setIdentity: AugmentedSubmittable<(info: PalletIdentityIdentityInfo | { additional?: any; display?: any; legal?: any; web?: any; riot?: any; email?: any; pgpFingerprint?: any; image?: any; twitter?: any } | string | Uint8Array) => SubmittableExtrinsic, [PalletIdentityIdentityInfo]>; /** - * See [`Pallet::set_subs`]. + * Set the sub-accounts of the sender. + * + * Payment: Any aggregate balance reserved by previous `set_subs` calls will be returned + * and an amount `SubAccountDeposit` will be reserved for each item in `subs`. + * + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * identity. + * + * - `subs`: The identity's (new) sub-accounts. + * + * # + * - `O(P + S)` + * - where `P` old-subs-count (hard- and deposit-bounded). + * - where `S` subs-count (hard- and deposit-bounded). + * - At most one balance operations. + * - DB: + * - `P + S` storage mutations (codec complexity `O(1)`) + * - One storage read (codec complexity `O(P)`). + * - One storage write (codec complexity `O(S)`). + * - One storage-exists (`IdentityOf::contains_key`). + * # **/ setSubs: AugmentedSubmittable<(subs: Vec> | ([AccountId32 | string | Uint8Array, Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array])[]) => SubmittableExtrinsic, [Vec>]>; /** @@ -570,7 +1464,17 @@ declare module '@polkadot/api-base/types/submittable' { }; inflation: { /** - * See [`Pallet::start_inflation`]. + * This method sets the inflation start date. Can be only called once. + * Inflation start block can be backdated and will catch up. The method will create Treasury + * account if it does not exist and perform the first inflation deposit. + * + * # Permissions + * + * * Root + * + * # Arguments + * + * * inflation_start_relay_block: The relay chain block at which inflation should start **/ startInflation: AugmentedSubmittable<(inflationStartRelayBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** @@ -579,14 +1483,34 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; maintenance: { + disable: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + enable: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * See [`Pallet::disable`]. + * Generic tx **/ - disable: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + [key: string]: SubmittableExtrinsicFunction; + }; + messageQueue: { /** - * See [`Pallet::enable`]. + * Execute an overweight message. + * + * Temporary processing errors will be propagated whereas permanent errors are treated + * as success condition. + * + * - `origin`: Must be `Signed`. + * - `message_origin`: The origin from which the message to be executed arrived. + * - `page`: The page in the queue in which the message to be executed is sitting. + * - `index`: The index into the queue of the message to be executed. + * - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution + * of the message. + * + * Benchmark complexity considerations: O(index + weight_limit). **/ - enable: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + executeOverweight: AugmentedSubmittable<(messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin | { Here: any } | { Parent: any } | { Sibling: any } | string | Uint8Array, page: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic, [CumulusPrimitivesCoreAggregateMessageOrigin, u32, u32, SpWeightsWeightV2Weight]>; + /** + * Remove a page which has no more messages remaining to be processed or is stale. + **/ + reapPage: AugmentedSubmittable<(messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin | { Here: any } | { Parent: any } | { Sibling: any } | string | Uint8Array, pageIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [CumulusPrimitivesCoreAggregateMessageOrigin, u32]>; /** * Generic tx **/ @@ -600,20 +1524,40 @@ declare module '@polkadot/api-base/types/submittable' { }; parachainSystem: { /** - * See [`Pallet::authorize_upgrade`]. + * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied + * later. + * + * The `check_version` parameter sets a boolean flag for whether or not the runtime's spec + * version and name should be verified on upgrade. Since the authorization only has a hash, + * it cannot actually perform the verification. + * + * This call requires Root origin. **/ authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array, checkVersion: bool | boolean | Uint8Array) => SubmittableExtrinsic, [H256, bool]>; /** - * See [`Pallet::enact_authorized_upgrade`]. + * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized. + * + * If the authorization required a version check, this call will ensure the spec name + * remains unchanged and that the spec version has increased. + * + * Note that this function will not apply the new `code`, but only attempt to schedule the + * upgrade with the Relay Chain. + * + * All origins are allowed. **/ enactAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; /** - * See [`Pallet::set_validation_data`]. + * Set the current validation data. + * + * This should be invoked exactly once per block. It will panic at the finalization + * phase if the call was not invoked. + * + * The dispatch origin for this call must be `Inherent` + * + * As a side effect, this function upgrades the current validation function + * if the appropriate time has come. **/ setValidationData: AugmentedSubmittable<(data: CumulusPrimitivesParachainInherentParachainInherentData | { validationData?: any; relayChainState?: any; downwardMessages?: any; horizontalMessages?: any } | string | Uint8Array) => SubmittableExtrinsic, [CumulusPrimitivesParachainInherentParachainInherentData]>; - /** - * See [`Pallet::sudo_send_upward_message`]. - **/ sudoSendUpwardMessage: AugmentedSubmittable<(message: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; /** * Generic tx @@ -622,49 +1566,261 @@ declare module '@polkadot/api-base/types/submittable' { }; polkadotXcm: { /** - * See [`Pallet::execute`]. - **/ - execute: AugmentedSubmittable<(message: StagingXcmVersionedXcm | { V2: any } | { V3: any } | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic, [StagingXcmVersionedXcm, SpWeightsWeightV2Weight]>; - /** - * See [`Pallet::force_default_xcm_version`]. - **/ - forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic, [Option]>; - /** - * See [`Pallet::force_subscribe_version_notify`]. - **/ - forceSubscribeVersionNotify: AugmentedSubmittable<(location: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array) => SubmittableExtrinsic, [StagingXcmVersionedMultiLocation]>; - /** - * See [`Pallet::force_suspension`]. + * Claims assets trapped on this pallet because of leftover assets during XCM execution. + * + * - `origin`: Anyone can call this extrinsic. + * - `assets`: The exact assets that were trapped. Use the version to specify what version + * was the latest when they were trapped. + * - `beneficiary`: The location/account where the claimed assets will be deposited. **/ - forceSuspension: AugmentedSubmittable<(suspended: bool | boolean | Uint8Array) => SubmittableExtrinsic, [bool]>; + claimAssets: AugmentedSubmittable<(assets: XcmVersionedAssets | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedAssets, XcmVersionedLocation]>; /** - * See [`Pallet::force_unsubscribe_version_notify`]. + * Execute an XCM message from a local, signed, origin. + * + * An event is deposited indicating whether `msg` could be executed completely or only + * partially. + * + * No more than `max_weight` will be used in its attempted execution. If this is less than + * the maximum amount of weight that the message could take to be executed, then no + * execution attempt will be made. **/ - forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array) => SubmittableExtrinsic, [StagingXcmVersionedMultiLocation]>; + execute: AugmentedSubmittable<(message: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedXcm, SpWeightsWeightV2Weight]>; /** - * See [`Pallet::force_xcm_version`]. + * Set a safe XCM version (the version that XCM should be encoded with if the most recent + * version a destination can accept is unknown). + * + * - `origin`: Must be an origin specified by AdminOrigin. + * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable. **/ - forceXcmVersion: AugmentedSubmittable<(location: StagingXcmV3MultiLocation | { parents?: any; interior?: any } | string | Uint8Array, version: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [StagingXcmV3MultiLocation, u32]>; - /** - * See [`Pallet::limited_reserve_transfer_assets`]. - **/ - limitedReserveTransferAssets: AugmentedSubmittable<(dest: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, beneficiary: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, assets: StagingXcmVersionedMultiAssets | { V2: any } | { V3: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: StagingXcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [StagingXcmVersionedMultiLocation, StagingXcmVersionedMultiLocation, StagingXcmVersionedMultiAssets, u32, StagingXcmV3WeightLimit]>; + forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic, [Option]>; /** - * See [`Pallet::limited_teleport_assets`]. + * Ask a location to notify us regarding their XCM version and any changes to it. + * + * - `origin`: Must be an origin specified by AdminOrigin. + * - `location`: The location to which we should subscribe for XCM version notifications. **/ - limitedTeleportAssets: AugmentedSubmittable<(dest: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, beneficiary: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, assets: StagingXcmVersionedMultiAssets | { V2: any } | { V3: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: StagingXcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [StagingXcmVersionedMultiLocation, StagingXcmVersionedMultiLocation, StagingXcmVersionedMultiAssets, u32, StagingXcmV3WeightLimit]>; + forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedLocation]>; /** - * See [`Pallet::reserve_transfer_assets`]. + * Set or unset the global suspension state of the XCM executor. + * + * - `origin`: Must be an origin specified by AdminOrigin. + * - `suspended`: `true` to suspend, `false` to resume. **/ - reserveTransferAssets: AugmentedSubmittable<(dest: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, beneficiary: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, assets: StagingXcmVersionedMultiAssets | { V2: any } | { V3: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [StagingXcmVersionedMultiLocation, StagingXcmVersionedMultiLocation, StagingXcmVersionedMultiAssets, u32]>; + forceSuspension: AugmentedSubmittable<(suspended: bool | boolean | Uint8Array) => SubmittableExtrinsic, [bool]>; /** - * See [`Pallet::send`]. - **/ - send: AugmentedSubmittable<(dest: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, message: StagingXcmVersionedXcm | { V2: any } | { V3: any } | string | Uint8Array) => SubmittableExtrinsic, [StagingXcmVersionedMultiLocation, StagingXcmVersionedXcm]>; - /** - * See [`Pallet::teleport_assets`]. - **/ - teleportAssets: AugmentedSubmittable<(dest: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, beneficiary: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, assets: StagingXcmVersionedMultiAssets | { V2: any } | { V3: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [StagingXcmVersionedMultiLocation, StagingXcmVersionedMultiLocation, StagingXcmVersionedMultiAssets, u32]>; + * Require that a particular destination should no longer notify us regarding any XCM + * version changes. + * + * - `origin`: Must be an origin specified by AdminOrigin. + * - `location`: The location to which we are currently subscribed for XCM version + * notifications which we no longer desire. + **/ + forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedLocation]>; + /** + * Extoll that a particular destination can be communicated with through a particular + * version of XCM. + * + * - `origin`: Must be an origin specified by AdminOrigin. + * - `location`: The destination that is being described. + * - `xcm_version`: The latest version of XCM that `location` supports. + **/ + forceXcmVersion: AugmentedSubmittable<(location: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, version: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [StagingXcmV4Location, u32]>; + /** + * Transfer some assets from the local chain to the destination chain through their local, + * destination or remote reserve. + * + * `assets` must have same reserve location and may not be teleportable to `dest`. + * - `assets` have local reserve: transfer assets to sovereign account of destination + * chain and forward a notification XCM to `dest` to mint and deposit reserve-based + * assets to `beneficiary`. + * - `assets` have destination reserve: burn local assets and forward a notification to + * `dest` chain to withdraw the reserve assets from this chain's sovereign account and + * deposit them to `beneficiary`. + * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move + * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` + * to mint and deposit reserve-based assets to `beneficiary`. + * + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight + * is needed than `weight_limit`, then the operation will fail and the sent assets may be + * at risk. + * + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from + * relay to parachain. + * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` (and possibly reserve) chains. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. + * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. + **/ + limitedReserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, assets: XcmVersionedAssets | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>; + /** + * Teleport some assets from the local chain to some destination chain. + * + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight + * is needed than `weight_limit`, then the operation will fail and the sent assets may be + * at risk. + * + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from + * relay to parachain. + * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` chain. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. + * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. + **/ + limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, assets: XcmVersionedAssets | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>; + /** + * Transfer some assets from the local chain to the destination chain through their local, + * destination or remote reserve. + * + * `assets` must have same reserve location and may not be teleportable to `dest`. + * - `assets` have local reserve: transfer assets to sovereign account of destination + * chain and forward a notification XCM to `dest` to mint and deposit reserve-based + * assets to `beneficiary`. + * - `assets` have destination reserve: burn local assets and forward a notification to + * `dest` chain to withdraw the reserve assets from this chain's sovereign account and + * deposit them to `beneficiary`. + * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move + * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` + * to mint and deposit reserve-based assets to `beneficiary`. + * + * **This function is deprecated: Use `limited_reserve_transfer_assets` instead.** + * + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, + * with all fees taken as needed from the asset. + * + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from + * relay to parachain. + * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` (and possibly reserve) chains. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. + **/ + reserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, assets: XcmVersionedAssets | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32]>; + send: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, message: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedXcm]>; + /** + * Teleport some assets from the local chain to some destination chain. + * + * **This function is deprecated: Use `limited_teleport_assets` instead.** + * + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, + * with all fees taken as needed from the asset. + * + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from + * relay to parachain. + * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` chain. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. + **/ + teleportAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, assets: XcmVersionedAssets | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32]>; + /** + * Transfer some assets from the local chain to the destination chain through their local, + * destination or remote reserve, or through teleports. + * + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item` (hence referred to as `fees`), up to enough to pay for + * `weight_limit` of weight. If more weight is needed than `weight_limit`, then the + * operation will fail and the sent assets may be at risk. + * + * `assets` (excluding `fees`) must have same reserve location or otherwise be teleportable + * to `dest`, no limitations imposed on `fees`. + * - for local reserve: transfer assets to sovereign account of destination chain and + * forward a notification XCM to `dest` to mint and deposit reserve-based assets to + * `beneficiary`. + * - for destination reserve: burn local assets and forward a notification to `dest` chain + * to withdraw the reserve assets from this chain's sovereign account and deposit them + * to `beneficiary`. + * - for remote reserve: burn local assets, forward XCM to reserve chain to move reserves + * from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to mint + * and deposit reserve-based assets to `beneficiary`. + * - for teleports: burn local assets and forward XCM to `dest` chain to mint/teleport + * assets and deposit them to `beneficiary`. + * + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `X2(Parent, + * Parachain(..))` to send from parachain to parachain, or `X1(Parachain(..))` to send + * from relay to parachain. + * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` (and possibly reserve) chains. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. + * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. + **/ + transferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, assets: XcmVersionedAssets | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>; + /** + * Transfer assets from the local chain to the destination chain using explicit transfer + * types for assets and fees. + * + * `assets` must have same reserve location or may be teleportable to `dest`. Caller must + * provide the `assets_transfer_type` to be used for `assets`: + * - `TransferType::LocalReserve`: transfer assets to sovereign account of destination + * chain and forward a notification XCM to `dest` to mint and deposit reserve-based + * assets to `beneficiary`. + * - `TransferType::DestinationReserve`: burn local assets and forward a notification to + * `dest` chain to withdraw the reserve assets from this chain's sovereign account and + * deposit them to `beneficiary`. + * - `TransferType::RemoteReserve(reserve)`: burn local assets, forward XCM to `reserve` + * chain to move reserves from this chain's SA to `dest` chain's SA, and forward another + * XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. Typically + * the remote `reserve` is Asset Hub. + * - `TransferType::Teleport`: burn local assets and forward XCM to `dest` chain to + * mint/teleport assets and deposit them to `beneficiary`. + * + * On the destination chain, as well as any intermediary hops, `BuyExecution` is used to + * buy execution using transferred `assets` identified by `remote_fees_id`. + * Make sure enough of the specified `remote_fees_id` asset is included in the given list + * of `assets`. `remote_fees_id` should be enough to pay for `weight_limit`. If more weight + * is needed than `weight_limit`, then the operation will fail and the sent assets may be + * at risk. + * + * `remote_fees_id` may use different transfer type than rest of `assets` and can be + * specified through `fees_transfer_type`. + * + * The caller needs to specify what should happen to the transferred assets once they reach + * the `dest` chain. This is done through the `custom_xcm_on_dest` parameter, which + * contains the instructions to execute on `dest` as a final step. + * This is usually as simple as: + * `Xcm(vec![DepositAsset { assets: Wild(AllCounted(assets.len())), beneficiary }])`, + * but could be something more exotic like sending the `assets` even further. + * + * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from + * relay to parachain, or `(parents: 2, (GlobalConsensus(..), ..))` to send from + * parachain across a bridge to another ecosystem destination. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` (and possibly reserve) chains. + * - `assets_transfer_type`: The XCM `TransferType` used to transfer the `assets`. + * - `remote_fees_id`: One of the included `assets` to be used to pay fees. + * - `fees_transfer_type`: The XCM `TransferType` used to transfer the `fees` assets. + * - `custom_xcm_on_dest`: The XCM to be executed on `dest` chain as the last step of the + * transfer, which also determines what happens to the assets on the destination chain. + * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. + **/ + transferAssetsUsingTypeAndThen: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, assets: XcmVersionedAssets | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, assetsTransferType: StagingXcmExecutorAssetTransferTransferType | { Teleport: any } | { LocalReserve: any } | { DestinationReserve: any } | { RemoteReserve: any } | string | Uint8Array, remoteFeesId: XcmVersionedAssetId | { V3: any } | { V4: any } | string | Uint8Array, feesTransferType: StagingXcmExecutorAssetTransferTransferType | { Teleport: any } | { LocalReserve: any } | { DestinationReserve: any } | { RemoteReserve: any } | string | Uint8Array, customXcmOnDest: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedAssets, StagingXcmExecutorAssetTransferTransferType, XcmVersionedAssetId, StagingXcmExecutorAssetTransferTransferType, XcmVersionedXcm, XcmV3WeightLimit]>; /** * Generic tx **/ @@ -672,19 +1828,38 @@ declare module '@polkadot/api-base/types/submittable' { }; preimage: { /** - * See [`Pallet::note_preimage`]. + * Ensure that the a bulk of pre-images is upgraded. + * + * The caller pays no fee if at least 90% of pre-images were successfully updated. + **/ + ensureUpdated: AugmentedSubmittable<(hashes: Vec | (H256 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; + /** + * Register a preimage on-chain. + * + * If the preimage was previously requested, no fees or deposits are taken for providing + * the preimage. Otherwise, a deposit is taken proportional to the size of the preimage. **/ notePreimage: AugmentedSubmittable<(bytes: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; /** - * See [`Pallet::request_preimage`]. + * Request a preimage be uploaded to the chain without paying any fees or deposits. + * + * If the preimage requests has already been provided on-chain, we unreserve any deposit + * a user may have paid, and take the control of the preimage out of their hands. **/ requestPreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; /** - * See [`Pallet::unnote_preimage`]. + * Clear an unrequested preimage from the runtime storage. + * + * If `len` is provided, then it will be a much cheaper operation. + * + * - `hash`: The hash of the preimage to be removed from the store. + * - `len`: The length of the preimage of `hash`. **/ unnotePreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; /** - * See [`Pallet::unrequest_preimage`]. + * Clear a previously made request for a preimage. + * + * NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`. **/ unrequestPreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; /** @@ -694,29 +1869,67 @@ declare module '@polkadot/api-base/types/submittable' { }; scheduler: { /** - * See [`Pallet::cancel`]. + * Cancel an anonymously scheduled task. **/ cancel: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32, u32]>; /** - * See [`Pallet::cancel_named`]. + * Cancel a named scheduled task. **/ cancelNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed]>; /** - * See [`Pallet::schedule`]. + * Removes the retry configuration of a task. + **/ + cancelRetry: AugmentedSubmittable<(task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => SubmittableExtrinsic, [ITuple<[u32, u32]>]>; + /** + * Cancel the retry configuration of a named task. + **/ + cancelRetryNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed]>; + /** + * Anonymously schedule a task. **/ schedule: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [u32, Option>, u8, Call]>; /** - * See [`Pallet::schedule_after`]. + * Anonymously schedule a task after a delay. **/ scheduleAfter: AugmentedSubmittable<(after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [u32, Option>, u8, Call]>; /** - * See [`Pallet::schedule_named`]. + * Schedule a named task. **/ scheduleNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed, u32, Option>, u8, Call]>; /** - * See [`Pallet::schedule_named_after`]. + * Schedule a named task after a delay. **/ scheduleNamedAfter: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed, u32, Option>, u8, Call]>; + /** + * Set a retry configuration for a task so that, in case its scheduled run fails, it will + * be retried after `period` blocks, for a total amount of `retries` retries or until it + * succeeds. + * + * Tasks which need to be scheduled for a retry are still subject to weight metering and + * agenda space, same as a regular task. If a periodic task fails, it will be scheduled + * normally while the task is retrying. + * + * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic + * clones of the original task. Their retry configuration will be derived from the + * original task's configuration, but will have a lower value for `remaining` than the + * original `total_retries`. + **/ + setRetry: AugmentedSubmittable<(task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], retries: u8 | AnyNumber | Uint8Array, period: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ITuple<[u32, u32]>, u8, u32]>; + /** + * Set a retry configuration for a named task so that, in case its scheduled run fails, it + * will be retried after `period` blocks, for a total amount of `retries` retries or until + * it succeeds. + * + * Tasks which need to be scheduled for a retry are still subject to weight metering and + * agenda space, same as a regular task. If a periodic task fails, it will be scheduled + * normally while the task is retrying. + * + * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic + * clones of the original task. Their retry configuration will be derived from the + * original task's configuration, but will have a lower value for `remaining` than the + * original `total_retries`. + **/ + setRetryNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, retries: u8 | AnyNumber | Uint8Array, period: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [U8aFixed, u8, u32]>; /** * Generic tx **/ @@ -724,11 +1937,30 @@ declare module '@polkadot/api-base/types/submittable' { }; session: { /** - * See [`Pallet::purge_keys`]. + * Removes any session key(s) of the function caller. + * + * This doesn't take effect until the next session. + * + * The dispatch origin of this function must be Signed and the account must be either be + * convertible to a validator ID using the chain's typical addressing system (this usually + * means being a controller account) or directly convertible into a validator ID (which + * usually means being a stash account). + * + * ## Complexity + * - `O(1)` in number of key types. Actual cost depends on the number of length of + * `T::Keys::key_ids()` which is fixed. **/ purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * See [`Pallet::set_keys`]. + * Sets the session key(s) of the function caller to `keys`. + * Allows an account to set its session key prior to becoming a validator. + * This doesn't take effect until the next session. + * + * The dispatch origin of this function must be signed. + * + * ## Complexity + * - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is + * fixed. **/ setKeys: AugmentedSubmittable<(keys: OpalRuntimeRuntimeCommonSessionKeys | { aura?: any } | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic, [OpalRuntimeRuntimeCommonSessionKeys, Bytes]>; /** @@ -738,27 +1970,65 @@ declare module '@polkadot/api-base/types/submittable' { }; stateTrieMigration: { /** - * See [`Pallet::continue_migrate`]. + * Continue the migration for the given `limits`. + * + * The dispatch origin of this call can be any signed account. + * + * This transaction has NO MONETARY INCENTIVES. calling it will not reward anyone. Albeit, + * Upon successful execution, the transaction fee is returned. + * + * The (potentially over-estimated) of the byte length of all the data read must be + * provided for up-front fee-payment and weighing. In essence, the caller is guaranteeing + * that executing the current `MigrationTask` with the given `limits` will not exceed + * `real_size_upper` bytes of read data. + * + * The `witness_task` is merely a helper to prevent the caller from being slashed or + * generally trigger a migration that they do not intend. This parameter is just a message + * from caller, saying that they believed `witness_task` was the last state of the + * migration, and they only wish for their transaction to do anything, if this assumption + * holds. In case `witness_task` does not match, the transaction fails. + * + * Based on the documentation of [`MigrationTask::migrate_until_exhaustion`], the + * recommended way of doing this is to pass a `limit` that only bounds `count`, as the + * `size` limit can always be overwritten. **/ continueMigrate: AugmentedSubmittable<(limits: PalletStateTrieMigrationMigrationLimits | { size_?: any; item?: any } | string | Uint8Array, realSizeUpper: u32 | AnyNumber | Uint8Array, witnessTask: PalletStateTrieMigrationMigrationTask | { progressTop?: any; progressChild?: any; size_?: any; topItems?: any; childItems?: any } | string | Uint8Array) => SubmittableExtrinsic, [PalletStateTrieMigrationMigrationLimits, u32, PalletStateTrieMigrationMigrationTask]>; /** - * See [`Pallet::control_auto_migration`]. + * Control the automatic migration. + * + * The dispatch origin of this call must be [`Config::ControlOrigin`]. **/ controlAutoMigration: AugmentedSubmittable<(maybeConfig: Option | null | Uint8Array | PalletStateTrieMigrationMigrationLimits | { size_?: any; item?: any } | string) => SubmittableExtrinsic, [Option]>; /** - * See [`Pallet::force_set_progress`]. + * Forcefully set the progress the running migration. + * + * This is only useful in one case: the next key to migrate is too big to be migrated with + * a signed account, in a parachain context, and we simply want to skip it. A reasonable + * example of this would be `:code:`, which is both very expensive to migrate, and commonly + * used, so probably it is already migrated. + * + * In case you mess things up, you can also, in principle, use this to reset the migration + * process. **/ forceSetProgress: AugmentedSubmittable<(progressTop: PalletStateTrieMigrationProgress | { ToStart: any } | { LastKey: any } | { Complete: any } | string | Uint8Array, progressChild: PalletStateTrieMigrationProgress | { ToStart: any } | { LastKey: any } | { Complete: any } | string | Uint8Array) => SubmittableExtrinsic, [PalletStateTrieMigrationProgress, PalletStateTrieMigrationProgress]>; /** - * See [`Pallet::migrate_custom_child`]. + * Migrate the list of child keys by iterating each of them one by one. + * + * All of the given child keys must be present under one `child_root`. + * + * This does not affect the global migration process tracker ([`MigrationProcess`]), and + * should only be used in case any keys are leftover due to a bug. **/ migrateCustomChild: AugmentedSubmittable<(root: Bytes | string | Uint8Array, childKeys: Vec | (Bytes | string | Uint8Array)[], totalSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Bytes, Vec, u32]>; /** - * See [`Pallet::migrate_custom_top`]. + * Migrate the list of top keys by iterating each of them one by one. + * + * This does not affect the global migration process tracker ([`MigrationProcess`]), and + * should only be used in case any keys are leftover due to a bug. **/ migrateCustomTop: AugmentedSubmittable<(keys: Vec | (Bytes | string | Uint8Array)[], witnessSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Vec, u32]>; /** - * See [`Pallet::set_signed_max_limits`]. + * Set the maximum limit of the signed migration. **/ setSignedMaxLimits: AugmentedSubmittable<(limits: PalletStateTrieMigrationMigrationLimits | { size_?: any; item?: any } | string | Uint8Array) => SubmittableExtrinsic, [PalletStateTrieMigrationMigrationLimits]>; /** @@ -774,19 +2044,33 @@ declare module '@polkadot/api-base/types/submittable' { }; sudo: { /** - * See [`Pallet::set_key`]. + * Permanently removes the sudo key. + * + * **This cannot be un-done.** + **/ + removeKey: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo + * key. **/ setKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * See [`Pallet::sudo`]. + * Authenticates the sudo key and dispatches a function call with `Root` origin. **/ sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [Call]>; /** - * See [`Pallet::sudo_as`]. + * Authenticates the sudo key and dispatches a function call with `Signed` origin from + * a given account. + * + * The dispatch origin for this call must be _Signed_. **/ sudoAs: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, Call]>; /** - * See [`Pallet::sudo_unchecked_weight`]. + * Authenticates the sudo key and dispatches a function call with `Root` origin. + * This function does not check the weight of the call, and instead allows the + * Sudo user to specify the weight of the call. + * + * The dispatch origin for this call must be _Signed_. **/ sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic, [Call, SpWeightsWeightV2Weight]>; /** @@ -796,35 +2080,73 @@ declare module '@polkadot/api-base/types/submittable' { }; system: { /** - * See [`Pallet::kill_prefix`]. + * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized. + * + * If the authorization required a version check, this call will ensure the spec name + * remains unchanged and that the spec version has increased. + * + * Depending on the runtime's `OnSetCode` configuration, this function may directly apply + * the new `code` in the same block or attempt to schedule the upgrade. + * + * All origins are allowed. + **/ + applyAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; + /** + * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied + * later. + * + * This call requires Root origin. + **/ + authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; + /** + * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied + * later. + * + * WARNING: This authorizes an upgrade that will take place without any safety checks, for + * example that the spec name remains the same and that the version number increases. Not + * recommended for normal use. Use `authorize_upgrade` instead. + * + * This call requires Root origin. + **/ + authorizeUpgradeWithoutChecks: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; + /** + * Kill all storage items with a key that starts with the given prefix. + * + * **NOTE:** We rely on the Root origin to provide us the number of subkeys under + * the prefix we are removing to accurately calculate the weight of this function. **/ killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Bytes, u32]>; /** - * See [`Pallet::kill_storage`]. + * Kill some items from storage. **/ killStorage: AugmentedSubmittable<(keys: Vec | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; /** - * See [`Pallet::remark`]. + * Make some on-chain remark. + * + * Can be executed by every `origin`. **/ remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; /** - * See [`Pallet::remark_with_event`]. + * Make some on-chain remark and emit event. **/ remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; /** - * See [`Pallet::set_code`]. + * Set the new runtime code. **/ setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; /** - * See [`Pallet::set_code_without_checks`]. + * Set the new runtime code without doing any checks of the given `code`. + * + * Note that runtime upgrades will not run if this is called with a not-increasing spec + * version! **/ setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; /** - * See [`Pallet::set_heap_pages`]. + * Set the number of pages in the WebAssembly environment's heap. **/ setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u64]>; /** - * See [`Pallet::set_storage`]. + * Set some items of storage. **/ setStorage: AugmentedSubmittable<(items: Vec> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic, [Vec>]>; /** @@ -834,27 +2156,111 @@ declare module '@polkadot/api-base/types/submittable' { }; technicalCommittee: { /** - * See [`Pallet::close`]. + * Close a vote that is either approved, disapproved or whose voting period has ended. + * + * May be called by any signed account in order to finish voting and close the proposal. + * + * If called before the end of the voting period it will only close the vote if it is + * has enough votes to be approved or disapproved. + * + * If called after the end of the voting period abstentions are counted as rejections + * unless there is a prime member set and the prime member cast an approval. + * + * If the close operation completes successfully with disapproval, the transaction fee will + * be waived. Otherwise execution of the approved operation will be charged to the caller. + * + * + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed + * proposal. + * + `length_bound`: The upper bound for the length of the proposal in storage. Checked via + * `storage::read` so it is `size_of::() == 4` larger than the pure length. + * + * ## Complexity + * - `O(B + M + P1 + P2)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` is members-count (code- and governance-bounded) + * - `P1` is the complexity of `proposal` preimage. + * - `P2` is proposal-count (code-bounded) **/ close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [H256, Compact, SpWeightsWeightV2Weight, Compact]>; /** - * See [`Pallet::disapprove_proposal`]. + * Disapprove a proposal, close, and remove it from the system, regardless of its current + * state. + * + * Must be called by the Root origin. + * + * Parameters: + * * `proposal_hash`: The hash of the proposal that should be disapproved. + * + * ## Complexity + * O(P) where P is the number of max proposals **/ disapproveProposal: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; /** - * See [`Pallet::execute`]. + * Dispatch a proposal from a member using the `Member` origin. + * + * Origin must be a member of the collective. + * + * ## Complexity: + * - `O(B + M + P)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` members-count (code-bounded) + * - `P` complexity of dispatching `proposal` **/ execute: AugmentedSubmittable<(proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Call, Compact]>; /** - * See [`Pallet::propose`]. + * Add a new proposal to either be voted on or executed directly. + * + * Requires the sender to be member. + * + * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) + * or put up for voting. + * + * ## Complexity + * - `O(B + M + P1)` or `O(B + M + P2)` where: + * - `B` is `proposal` size in bytes (length-fee-bounded) + * - `M` is members-count (code- and governance-bounded) + * - branching is influenced by `threshold` where: + * - `P1` is proposal execution complexity (`threshold < 2`) + * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) **/ propose: AugmentedSubmittable<(threshold: Compact | AnyNumber | Uint8Array, proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact, Call, Compact]>; /** - * See [`Pallet::set_members`]. + * Set the collective's membership. + * + * - `new_members`: The new member list. Be nice to the chain and provide it sorted. + * - `prime`: The prime member whose vote sets the default. + * - `old_count`: The upper bound for the previous number of members in storage. Used for + * weight estimation. + * + * The dispatch of this call must be `SetMembersOrigin`. + * + * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but + * the weight estimations rely on it to estimate dispatchable weight. + * + * # WARNING: + * + * The `pallet-collective` can also be managed by logic outside of the pallet through the + * implementation of the trait [`ChangeMembers`]. + * Any call to `set_members` must be careful that the member set doesn't get out of sync + * with other logic managing the member set. + * + * ## Complexity: + * - `O(MP + N)` where: + * - `M` old-members-count (code- and governance-bounded) + * - `N` new-members-count (code- and governance-bounded) + * - `P` proposals-count (code-bounded) **/ setMembers: AugmentedSubmittable<(newMembers: Vec | (AccountId32 | string | Uint8Array)[], prime: Option | null | Uint8Array | AccountId32 | string, oldCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Vec, Option, u32]>; /** - * See [`Pallet::vote`]. + * Add an aye or nay vote for the sender to the given proposal. + * + * Requires the sender to be a member. + * + * Transaction fees will be waived if the member is voting on any particular proposal + * for the first time and the call is successful. Subsequent vote changes will charge a + * fee. + * ## Complexity + * - `O(M)` where `M` is members-count (code- and governance-bounded) **/ vote: AugmentedSubmittable<(proposal: H256 | string | Uint8Array, index: Compact | AnyNumber | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic, [H256, Compact, bool]>; /** @@ -864,31 +2270,50 @@ declare module '@polkadot/api-base/types/submittable' { }; technicalCommitteeMembership: { /** - * See [`Pallet::add_member`]. + * Add a member `who` to the set. + * + * May only be called from `T::AddOrigin`. **/ addMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * See [`Pallet::change_key`]. + * Swap out the sending member for some other key `new`. + * + * May only be called from `Signed` origin of a current member. + * + * Prime membership is passed from the origin account to `new`, if extant. **/ changeKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * See [`Pallet::clear_prime`]. + * Remove the prime member if it exists. + * + * May only be called from `T::PrimeOrigin`. **/ clearPrime: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * See [`Pallet::remove_member`]. + * Remove a member `who` from the set. + * + * May only be called from `T::RemoveOrigin`. **/ removeMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * See [`Pallet::reset_members`]. + * Change the membership to a new set, disregarding the existing membership. Be nice and + * pass `members` pre-sorted. + * + * May only be called from `T::ResetOrigin`. **/ resetMembers: AugmentedSubmittable<(members: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; /** - * See [`Pallet::set_prime`]. + * Set the prime member. Must be a current member. + * + * May only be called from `T::PrimeOrigin`. **/ setPrime: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * See [`Pallet::swap_member`]. + * Swap out one member `remove` for another `add`. + * + * May only be called from `T::SwapOrigin`. + * + * Prime membership is *not* passed from `remove` to `add`, if extant. **/ swapMember: AugmentedSubmittable<(remove: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, add: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, MultiAddress]>; /** @@ -897,29 +2322,11 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; testUtils: { - /** - * See `Pallet::batch_all`. - **/ batchAll: AugmentedSubmittable<(calls: Vec | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; - /** - * See `Pallet::enable`. - **/ enable: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** - * See `Pallet::inc_test_value`. - **/ incTestValue: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** - * See `Pallet::just_take_fee`. - **/ justTakeFee: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** - * See `Pallet::set_test_value`. - **/ setTestValue: AugmentedSubmittable<(value: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; - /** - * See `Pallet::set_test_value_and_rollback`. - **/ setTestValueAndRollback: AugmentedSubmittable<(value: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** * Generic tx @@ -928,7 +2335,25 @@ declare module '@polkadot/api-base/types/submittable' { }; timestamp: { /** - * See [`Pallet::set`]. + * Set the current time. + * + * This call should be invoked exactly once per block. It will panic at the finalization + * phase, if this call hasn't been invoked by that time. + * + * The timestamp should be greater than the previous one by the amount specified by + * [`Config::MinimumPeriod`]. + * + * The dispatch origin for this call must be _None_. + * + * This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware + * that changing the complexity of this call could result exhausting the resources in a + * block to execute any other calls. + * + * ## Complexity + * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`) + * - 1 storage read and 1 storage mutation (codec `O(1)` because of `DidUpdate::take` in + * `on_finalize`) + * - 1 event handler `on_timestamp_set`. Must be `O(1)`. **/ set: AugmentedSubmittable<(now: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; /** @@ -936,53 +2361,143 @@ declare module '@polkadot/api-base/types/submittable' { **/ [key: string]: SubmittableExtrinsicFunction; }; - tokens: { - /** - * See [`Pallet::force_transfer`]. - **/ - forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetId | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, MultiAddress, PalletForeignAssetsAssetId, Compact]>; - /** - * See [`Pallet::set_balance`]. - **/ - setBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetId | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, newFree: Compact | AnyNumber | Uint8Array, newReserved: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, PalletForeignAssetsAssetId, Compact, Compact]>; - /** - * See [`Pallet::transfer`]. - **/ - transfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetId | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, PalletForeignAssetsAssetId, Compact]>; - /** - * See [`Pallet::transfer_all`]. - **/ - transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetId | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [MultiAddress, PalletForeignAssetsAssetId, bool]>; - /** - * See [`Pallet::transfer_keep_alive`]. - **/ - transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetId | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, PalletForeignAssetsAssetId, Compact]>; - /** - * Generic tx - **/ - [key: string]: SubmittableExtrinsicFunction; - }; treasury: { /** - * See [`Pallet::approve_proposal`]. - **/ - approveProposal: AugmentedSubmittable<(proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; - /** - * See [`Pallet::propose_spend`]. - **/ - proposeSpend: AugmentedSubmittable<(value: Compact | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [Compact, MultiAddress]>; - /** - * See [`Pallet::reject_proposal`]. - **/ - rejectProposal: AugmentedSubmittable<(proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; - /** - * See [`Pallet::remove_approval`]. + * Check the status of the spend and remove it from the storage if processed. + * + * ## Dispatch Origin + * + * Must be signed. + * + * ## Details + * + * The status check is a prerequisite for retrying a failed payout. + * If a spend has either succeeded or expired, it is removed from the storage by this + * function. In such instances, transaction fees are refunded. + * + * ### Parameters + * - `index`: The spend index. + * + * ## Events + * + * Emits [`Event::PaymentFailed`] if the spend payout has failed. + * Emits [`Event::SpendProcessed`] if the spend payout has succeed. + **/ + checkStatus: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; + /** + * Claim a spend. + * + * ## Dispatch Origin + * + * Must be signed + * + * ## Details + * + * Spends must be claimed within some temporal bounds. A spend may be claimed within one + * [`Config::PayoutPeriod`] from the `valid_from` block. + * In case of a payout failure, the spend status must be updated with the `check_status` + * dispatchable before retrying with the current function. + * + * ### Parameters + * - `index`: The spend index. + * + * ## Events + * + * Emits [`Event::Paid`] if successful. + **/ + payout: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; + /** + * Force a previously approved proposal to be removed from the approval queue. + * + * ## Dispatch Origin + * + * Must be [`Config::RejectOrigin`]. + * + * ## Details + * + * The original deposit will no longer be returned. + * + * ### Parameters + * - `proposal_id`: The index of a proposal + * + * ### Complexity + * - O(A) where `A` is the number of approvals + * + * ### Errors + * - [`Error::ProposalNotApproved`]: The `proposal_id` supplied was not found in the + * approval queue, i.e., the proposal has not been approved. This could also mean the + * proposal does not exist altogether, thus there is no way it would have been approved + * in the first place. **/ removeApproval: AugmentedSubmittable<(proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; /** - * See [`Pallet::spend`]. - **/ - spend: AugmentedSubmittable<(amount: Compact | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [Compact, MultiAddress]>; + * Propose and approve a spend of treasury funds. + * + * ## Dispatch Origin + * + * Must be [`Config::SpendOrigin`] with the `Success` value being at least + * `amount` of `asset_kind` in the native asset. The amount of `asset_kind` is converted + * for assertion using the [`Config::BalanceConverter`]. + * + * ## Details + * + * Create an approved spend for transferring a specific `amount` of `asset_kind` to a + * designated beneficiary. The spend must be claimed using the `payout` dispatchable within + * the [`Config::PayoutPeriod`]. + * + * ### Parameters + * - `asset_kind`: An indicator of the specific asset class to be spent. + * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. + * - `beneficiary`: The beneficiary of the spend. + * - `valid_from`: The block number from which the spend can be claimed. It can refer to + * the past if the resulting spend has not yet expired according to the + * [`Config::PayoutPeriod`]. If `None`, the spend can be claimed immediately after + * approval. + * + * ## Events + * + * Emits [`Event::AssetSpendApproved`] if successful. + **/ + spend: AugmentedSubmittable<(assetKind: Null | null, amount: Compact | AnyNumber | Uint8Array, beneficiary: AccountId32 | string | Uint8Array, validFrom: Option | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic, [Null, Compact, AccountId32, Option]>; + /** + * Propose and approve a spend of treasury funds. + * + * ## Dispatch Origin + * + * Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount`. + * + * ### Details + * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the + * beneficiary. + * + * ### Parameters + * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. + * - `beneficiary`: The destination account for the transfer. + * + * ## Events + * + * Emits [`Event::SpendApproved`] if successful. + **/ + spendLocal: AugmentedSubmittable<(amount: Compact | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [Compact, MultiAddress]>; + /** + * Void previously approved spend. + * + * ## Dispatch Origin + * + * Must be [`Config::RejectOrigin`]. + * + * ## Details + * + * A spend void is only possible if the payout has not been attempted yet. + * + * ### Parameters + * - `index`: The spend index. + * + * ## Events + * + * Emits [`Event::AssetSpendVoided`] if successful. + **/ + voidSpend: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** * Generic tx **/ @@ -990,131 +2505,544 @@ declare module '@polkadot/api-base/types/submittable' { }; unique: { /** - * See [`Pallet::add_collection_admin`]. + * Add an admin to a collection. + * + * NFT Collection can be controlled by multiple admin addresses + * (some which can also be servers, for example). Admins can issue + * and burn NFTs, as well as add and remove other admins, + * but cannot change NFT or Collection ownership. + * + * # Permissions + * + * * Collection owner + * * Collection admin + * + * # Arguments + * + * * `collection_id`: ID of the Collection to add an admin for. + * * `new_admin`: Address of new admin to add. **/ addCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newAdminId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>; /** - * See [`Pallet::add_to_allow_list`]. + * Add an address to allow list. + * + * # Permissions + * + * * Collection owner + * * Collection admin + * + * # Arguments + * + * * `collection_id`: ID of the modified collection. + * * `address`: ID of the address to be added to the allowlist. **/ addToAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>; /** - * See [`Pallet::approve`]. + * Allow a non-permissioned address to transfer or burn an item. + * + * # Permissions + * + * * Collection owner + * * Collection admin + * * Current item owner + * + * # Arguments + * + * * `spender`: Account to be approved to make specific transactions on non-owned tokens. + * * `collection_id`: ID of the collection the item belongs to. + * * `item_id`: ID of the item transactions on which are now approved. + * * `amount`: Number of pieces of the item approved for a transaction (maximum of 1 for NFTs). + * Set to 0 to revoke the approval. **/ approve: AugmentedSubmittable<(spender: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>; /** - * See [`Pallet::approve_from`]. + * Allow a non-permissioned address to transfer or burn an item from owner's eth mirror. + * + * # Permissions + * + * * Collection owner + * * Collection admin + * * Current item owner + * + * # Arguments + * + * * `from`: Owner's account eth mirror + * * `to`: Account to be approved to make specific transactions on non-owned tokens. + * * `collection_id`: ID of the collection the item belongs to. + * * `item_id`: ID of the item transactions on which are now approved. + * * `amount`: Number of pieces of the item approved for a transaction (maximum of 1 for NFTs). + * Set to 0 to revoke the approval. **/ approveFrom: AugmentedSubmittable<(from: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, to: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>; /** - * See [`Pallet::burn_from`]. + * Destroy a token on behalf of the owner as a non-owner account. + * + * See also: [`approve`][`Pallet::approve`]. + * + * After this method executes, one approval is removed from the total so that + * the approved address will not be able to transfer this item again from this owner. + * + * # Permissions + * + * * Collection owner + * * Collection admin + * * Current token owner + * * Address approved by current item owner + * + * # Arguments + * + * * `from`: The owner of the burning item. + * * `collection_id`: ID of the collection to which the item belongs. + * * `item_id`: ID of item to burn. + * * `value`: Number of pieces to burn. + * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID. + * * Fungible Mode: The desired number of pieces to burn. + * * Re-Fungible Mode: The desired number of pieces to burn. **/ burnFrom: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, from: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32, u128]>; /** - * See [`Pallet::burn_item`]. + * Destroy an item. + * + * # Permissions + * + * * Collection owner + * * Collection admin + * * Current item owner + * + * # Arguments + * + * * `collection_id`: ID of the collection to which the item belongs. + * * `item_id`: ID of item to burn. + * * `value`: Number of pieces of the item to destroy. + * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID. + * * Fungible Mode: The desired number of pieces to burn. + * * Re-Fungible Mode: The desired number of pieces to burn. **/ burnItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32, u32, u128]>; /** - * See [`Pallet::change_collection_owner`]. + * Change the owner of the collection. + * + * # Permissions + * + * * Collection owner + * + * # Arguments + * + * * `collection_id`: ID of the modified collection. + * * `new_owner`: ID of the account that will become the owner. **/ changeCollectionOwner: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newOwner: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [u32, AccountId32]>; /** - * See [`Pallet::confirm_sponsorship`]. + * Confirm own sponsorship of a collection, becoming the sponsor. + * + * An invitation must be pending, see [`set_collection_sponsor`][`Pallet::set_collection_sponsor`]. + * Sponsor can pay the fees of a transaction instead of the sender, + * but only within specified limits. + * + * # Permissions + * + * * Sponsor-to-be + * + * # Arguments + * + * * `collection_id`: ID of the collection with the pending sponsor. **/ confirmSponsorship: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * See [`Pallet::create_collection`]. + * Create a collection of tokens. + * + * Each Token may have multiple properties encoded as an array of bytes + * of certain length. The initial owner of the collection is set + * to the address that signed the transaction and can be changed later. + * + * Prefer the more advanced [`create_collection_ex`][`Pallet::create_collection_ex`] instead. + * + * # Permissions + * + * * Anyone - becomes the owner of the new collection. + * + * # Arguments + * + * * `collection_name`: Wide-character string with collection name + * (limit [`MAX_COLLECTION_NAME_LENGTH`]). + * * `collection_description`: Wide-character string with collection description + * (limit [`MAX_COLLECTION_DESCRIPTION_LENGTH`]). + * * `token_prefix`: Byte string containing the token prefix to mark a collection + * to which a token belongs (limit [`MAX_TOKEN_PREFIX_LENGTH`]). + * * `mode`: Type of items stored in the collection and type dependent data. + * + * returns collection ID + * + * Deprecated: `create_collection_ex` is more up-to-date and advanced, prefer it instead. **/ createCollection: AugmentedSubmittable<(collectionName: Vec | (u16 | AnyNumber | Uint8Array)[], collectionDescription: Vec | (u16 | AnyNumber | Uint8Array)[], tokenPrefix: Bytes | string | Uint8Array, mode: UpDataStructsCollectionMode | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array) => SubmittableExtrinsic, [Vec, Vec, Bytes, UpDataStructsCollectionMode]>; /** - * See [`Pallet::create_collection_ex`]. + * Create a collection with explicit parameters. + * + * Prefer it to the deprecated [`create_collection`][`Pallet::create_collection`] method. + * + * # Permissions + * + * * Anyone - becomes the owner of the new collection. + * + * # Arguments + * + * * `data`: Explicit data of a collection used for its creation. **/ createCollectionEx: AugmentedSubmittable<(data: UpDataStructsCreateCollectionData | { mode?: any; access?: any; name?: any; description?: any; tokenPrefix?: any; limits?: any; permissions?: any; tokenPropertyPermissions?: any; properties?: any; adminList?: any; pendingSponsor?: any; flags?: any } | string | Uint8Array) => SubmittableExtrinsic, [UpDataStructsCreateCollectionData]>; /** - * See [`Pallet::create_item`]. + * Mint an item within a collection. + * + * A collection must exist first, see [`create_collection_ex`][`Pallet::create_collection_ex`]. + * + * # Permissions + * + * * Collection owner + * * Collection admin + * * Anyone if + * * Allow List is enabled, and + * * Address is added to allow list, and + * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`]) + * + * # Arguments + * + * * `collection_id`: ID of the collection to which an item would belong. + * * `owner`: Address of the initial owner of the item. + * * `data`: Token data describing the item to store on chain. **/ createItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, data: UpDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCreateItemData]>; /** - * See [`Pallet::create_multiple_items`]. + * Create multiple items within a collection. + * + * A collection must exist first, see [`create_collection_ex`][`Pallet::create_collection_ex`]. + * + * # Permissions + * + * * Collection owner + * * Collection admin + * * Anyone if + * * Allow List is enabled, and + * * Address is added to the allow list, and + * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`]) + * + * # Arguments + * + * * `collection_id`: ID of the collection to which the tokens would belong. + * * `owner`: Address of the initial owner of the tokens. + * * `items_data`: Vector of data describing each item to be created. **/ createMultipleItems: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemsData: Vec | (UpDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array)[]) => SubmittableExtrinsic, [u32, PalletEvmAccountBasicCrossAccountIdRepr, Vec]>; /** - * See [`Pallet::create_multiple_items_ex`]. + * Create multiple items within a collection with explicitly specified initial parameters. + * + * # Permissions + * + * * Collection owner + * * Collection admin + * * Anyone if + * * Allow List is enabled, and + * * Address is added to allow list, and + * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`]) + * + * # Arguments + * + * * `collection_id`: ID of the collection to which the tokens would belong. + * * `data`: Explicit item creation data. **/ createMultipleItemsEx: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, data: UpDataStructsCreateItemExData | { NFT: any } | { Fungible: any } | { RefungibleMultipleItems: any } | { RefungibleMultipleOwners: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, UpDataStructsCreateItemExData]>; /** - * See [`Pallet::delete_collection_properties`]. + * Delete specified collection properties. + * + * # Permissions + * + * * Collection Owner + * * Collection Admin + * + * # Arguments + * + * * `collection_id`: ID of the modified collection. + * * `property_keys`: Vector of keys of the properties to be deleted. + * Keys support Latin letters, `-`, `_`, and `.` as symbols. **/ deleteCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic, [u32, Vec]>; /** - * See [`Pallet::delete_token_properties`]. + * Delete specified token properties. Currently properties only work with NFTs. + * + * # Permissions + * + * * Depends on collection's token property permissions and specified property mutability: + * * Collection owner + * * Collection admin + * * Token owner + * + * # Arguments + * + * * `collection_id`: ID of the collection to which the token belongs. + * * `token_id`: ID of the modified token. + * * `property_keys`: Vector of keys of the properties to be deleted. + * Keys support Latin letters, `-`, `_`, and `.` as symbols. **/ deleteTokenProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic, [u32, u32, Vec]>; /** - * See [`Pallet::destroy_collection`]. + * Destroy a collection if no tokens exist within. + * + * # Permissions + * + * * Collection owner + * + * # Arguments + * + * * `collection_id`: Collection to destroy. **/ destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * See [`Pallet::force_repair_collection`]. + * Repairs a collection if the data was somehow corrupted. + * + * # Arguments + * + * * `collection_id`: ID of the collection to repair. **/ forceRepairCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * See [`Pallet::force_repair_item`]. + * Repairs a token if the data was somehow corrupted. + * + * # Arguments + * + * * `collection_id`: ID of the collection the item belongs to. + * * `item_id`: ID of the item. **/ forceRepairItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32, u32]>; /** - * See [`Pallet::remove_collection_admin`]. + * Remove admin of a collection. + * + * An admin address can remove itself. List of admins may become empty, + * in which case only Collection Owner will be able to add an Admin. + * + * # Permissions + * + * * Collection owner + * * Collection admin + * + * # Arguments + * + * * `collection_id`: ID of the collection to remove the admin for. + * * `account_id`: Address of the admin to remove. **/ removeCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, accountId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>; /** - * See [`Pallet::remove_collection_sponsor`]. + * Remove a collection's a sponsor, making everyone pay for their own transactions. + * + * # Permissions + * + * * Collection owner + * + * # Arguments + * + * * `collection_id`: ID of the collection with the sponsor to remove. **/ removeCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * See [`Pallet::remove_from_allow_list`]. + * Remove an address from allow list. + * + * # Permissions + * + * * Collection owner + * * Collection admin + * + * # Arguments + * + * * `collection_id`: ID of the modified collection. + * * `address`: ID of the address to be removed from the allowlist. **/ removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>; /** - * See [`Pallet::repartition`]. + * Re-partition a refungible token, while owning all of its parts/pieces. + * + * # Permissions + * + * * Token owner (must own every part) + * + * # Arguments + * + * * `collection_id`: ID of the collection the RFT belongs to. + * * `token_id`: ID of the RFT. + * * `amount`: New number of parts/pieces into which the token shall be partitioned. **/ repartition: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32, u32, u128]>; /** - * See [`Pallet::set_allowance_for_all`]. + * Sets or unsets the approval of a given operator. + * + * The `operator` is allowed to transfer all tokens of the `owner` on their behalf. + * + * # Arguments + * + * * `owner`: Token owner + * * `operator`: Operator + * * `approve`: Should operator status be granted or revoked? **/ setAllowanceForAll: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, operator: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic, [u32, PalletEvmAccountBasicCrossAccountIdRepr, bool]>; /** - * See [`Pallet::set_collection_limits`]. + * Set specific limits of a collection. Empty, or None fields mean chain default. + * + * # Permissions + * + * * Collection owner + * * Collection admin + * + * # Arguments + * + * * `collection_id`: ID of the modified collection. + * * `new_limit`: New limits of the collection. Fields that are not set (None) + * will not overwrite the old ones. **/ setCollectionLimits: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newLimit: UpDataStructsCollectionLimits | { accountTokenOwnershipLimit?: any; sponsoredDataSize?: any; sponsoredDataRateLimit?: any; tokenLimit?: any; sponsorTransferTimeout?: any; sponsorApproveTimeout?: any; ownerCanTransfer?: any; ownerCanDestroy?: any; transfersEnabled?: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, UpDataStructsCollectionLimits]>; /** - * See [`Pallet::set_collection_permissions`]. + * Set specific permissions of a collection. Empty, or None fields mean chain default. + * + * # Permissions + * + * * Collection owner + * * Collection admin + * + * # Arguments + * + * * `collection_id`: ID of the modified collection. + * * `new_permission`: New permissions of the collection. Fields that are not set (None) + * will not overwrite the old ones. **/ setCollectionPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newPermission: UpDataStructsCollectionPermissions | { access?: any; mintMode?: any; nesting?: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, UpDataStructsCollectionPermissions]>; /** - * See [`Pallet::set_collection_properties`]. + * Add or change collection properties. + * + * # Permissions + * + * * Collection owner + * * Collection admin + * + * # Arguments + * + * * `collection_id`: ID of the modified collection. + * * `properties`: Vector of key-value pairs stored as the collection's metadata. + * Keys support Latin letters, `-`, `_`, and `.` as symbols. **/ setCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, properties: Vec | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic, [u32, Vec]>; /** - * See [`Pallet::set_collection_sponsor`]. + * Set (invite) a new collection sponsor. + * + * If successful, confirmation from the sponsor-to-be will be pending. + * + * # Permissions + * + * * Collection owner + * * Collection admin + * + * # Arguments + * + * * `collection_id`: ID of the modified collection. + * * `new_sponsor`: ID of the account of the sponsor-to-be. **/ setCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newSponsor: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [u32, AccountId32]>; /** - * See [`Pallet::set_token_properties`]. + * Add or change token properties according to collection's permissions. + * Currently properties only work with NFTs. + * + * # Permissions + * + * * Depends on collection's token property permissions and specified property mutability: + * * Collection owner + * * Collection admin + * * Token owner + * + * See [`set_token_property_permissions`][`Pallet::set_token_property_permissions`]. + * + * # Arguments + * + * * `collection_id: ID of the collection to which the token belongs. + * * `token_id`: ID of the modified token. + * * `properties`: Vector of key-value pairs stored as the token's metadata. + * Keys support Latin letters, `-`, `_`, and `.` as symbols. **/ setTokenProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, properties: Vec | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic, [u32, u32, Vec]>; /** - * See [`Pallet::set_token_property_permissions`]. + * Add or change token property permissions of a collection. + * + * Without a permission for a particular key, a property with that key + * cannot be created in a token. + * + * # Permissions + * + * * Collection owner + * * Collection admin + * + * # Arguments + * + * * `collection_id`: ID of the modified collection. + * * `property_permissions`: Vector of permissions for property keys. + * Keys support Latin letters, `-`, `_`, and `.` as symbols. **/ setTokenPropertyPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyPermissions: Vec | (UpDataStructsPropertyKeyPermission | { key?: any; permission?: any } | string | Uint8Array)[]) => SubmittableExtrinsic, [u32, Vec]>; /** - * See [`Pallet::set_transfers_enabled_flag`]. + * Completely allow or disallow transfers for a particular collection. + * + * # Permissions + * + * * Collection owner + * + * # Arguments + * + * * `collection_id`: ID of the collection. + * * `value`: New value of the flag, are transfers allowed? **/ setTransfersEnabledFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: bool | boolean | Uint8Array) => SubmittableExtrinsic, [u32, bool]>; /** - * See [`Pallet::transfer`]. + * Change ownership of the token. + * + * # Permissions + * + * * Collection owner + * * Collection admin + * * Current token owner + * + * # Arguments + * + * * `recipient`: Address of token recipient. + * * `collection_id`: ID of the collection the item belongs to. + * * `item_id`: ID of the item. + * * Non-Fungible Mode: Required. + * * Fungible Mode: Ignored. + * * Re-Fungible Mode: Required. + * + * * `value`: Amount to transfer. + * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID. + * * Fungible Mode: The desired number of pieces to transfer. + * * Re-Fungible Mode: The desired number of pieces to transfer. **/ transfer: AugmentedSubmittable<(recipient: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>; /** - * See [`Pallet::transfer_from`]. + * Change ownership of an item on behalf of the owner as a non-owner account. + * + * See the [`approve`][`Pallet::approve`] method for additional information. + * + * After this method executes, one approval is removed from the total so that + * the approved address will not be able to transfer this item again from this owner. + * + * # Permissions + * + * * Collection owner + * * Collection admin + * * Current item owner + * * Address approved by current item owner + * + * # Arguments + * + * * `from`: Address that currently owns the token. + * * `recipient`: Address of the new token-owner-to-be. + * * `collection_id`: ID of the collection the item. + * * `item_id`: ID of the item to be transferred. + * * `value`: Amount to transfer. + * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID. + * * Fungible Mode: The desired number of pieces to transfer. + * * Re-Fungible Mode: The desired number of pieces to transfer. **/ transferFrom: AugmentedSubmittable<(from: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, recipient: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>; /** @@ -1124,27 +3052,90 @@ declare module '@polkadot/api-base/types/submittable' { }; utility: { /** - * See [`Pallet::as_derivative`]. + * Send a call through an indexed pseudonym of the sender. + * + * Filter from origin are passed along. The call will be dispatched with an origin which + * use the same filter as the origin of this call. + * + * NOTE: If you need to ensure that any account-based filtering is not honored (i.e. + * because you expect `proxy` to have been used prior in the call stack and you do not want + * the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1` + * in the Multisig pallet instead. + * + * NOTE: Prior to version *12, this was called `as_limited_sub`. + * + * The dispatch origin for this call must be _Signed_. **/ asDerivative: AugmentedSubmittable<(index: u16 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [u16, Call]>; /** - * See [`Pallet::batch`]. + * Send a batch of dispatch calls. + * + * May be called from any origin except `None`. + * + * - `calls`: The calls to be dispatched from the same origin. The number of call must not + * exceed the constant: `batched_calls_limit` (available in constant metadata). + * + * If origin is root then the calls are dispatched without checking origin filter. (This + * includes bypassing `frame_system::Config::BaseCallFilter`). + * + * ## Complexity + * - O(C) where C is the number of calls to be batched. + * + * This will return `Ok` in all circumstances. To determine the success of the batch, an + * event is deposited. If a call failed and the batch was interrupted, then the + * `BatchInterrupted` event is deposited, along with the number of successful calls made + * and the error of the failed call. If all were successful, then the `BatchCompleted` + * event is deposited. **/ batch: AugmentedSubmittable<(calls: Vec | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; /** - * See [`Pallet::batch_all`]. + * Send a batch of dispatch calls and atomically execute them. + * The whole transaction will rollback and fail if any of the calls failed. + * + * May be called from any origin except `None`. + * + * - `calls`: The calls to be dispatched from the same origin. The number of call must not + * exceed the constant: `batched_calls_limit` (available in constant metadata). + * + * If origin is root then the calls are dispatched without checking origin filter. (This + * includes bypassing `frame_system::Config::BaseCallFilter`). + * + * ## Complexity + * - O(C) where C is the number of calls to be batched. **/ batchAll: AugmentedSubmittable<(calls: Vec | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; /** - * See [`Pallet::dispatch_as`]. - **/ - dispatchAs: AugmentedSubmittable<(asOrigin: OpalRuntimeOriginCaller | { system: any } | { Void: any } | { Council: any } | { TechnicalCommittee: any } | { PolkadotXcm: any } | { CumulusXcm: any } | { Origins: any } | { Ethereum: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [OpalRuntimeOriginCaller, Call]>; - /** - * See [`Pallet::force_batch`]. + * Dispatches a function call with a provided origin. + * + * The dispatch origin for this call must be _Root_. + * + * ## Complexity + * - O(1). + **/ + dispatchAs: AugmentedSubmittable<(asOrigin: OpalRuntimeOriginCaller | { system: any } | { Void: any } | { Council: any } | { TechnicalCommittee: any } | { PolkadotXcm: any } | { CumulusXcm: any } | { FinancialCouncil: any } | { Origins: any } | { Ethereum: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [OpalRuntimeOriginCaller, Call]>; + /** + * Send a batch of dispatch calls. + * Unlike `batch`, it allows errors and won't interrupt. + * + * May be called from any origin except `None`. + * + * - `calls`: The calls to be dispatched from the same origin. The number of call must not + * exceed the constant: `batched_calls_limit` (available in constant metadata). + * + * If origin is root then the calls are dispatch without checking origin filter. (This + * includes bypassing `frame_system::Config::BaseCallFilter`). + * + * ## Complexity + * - O(C) where C is the number of calls to be batched. **/ forceBatch: AugmentedSubmittable<(calls: Vec | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; /** - * See [`Pallet::with_weight`]. + * Dispatch a function call with a specified weight. + * + * This function does not check the weight of the call, and instead allows the + * Root origin to specify the weight of the call. + * + * The dispatch origin for this call must be _Root_. **/ withWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic, [Call, SpWeightsWeightV2Weight]>; /** @@ -1153,21 +3144,9 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; vesting: { - /** - * See [`Pallet::claim`]. - **/ claim: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** - * See [`Pallet::claim_for`]. - **/ claimFor: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; - /** - * See [`Pallet::update_vesting_schedules`]. - **/ updateVestingSchedules: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, vestingSchedules: Vec | (OrmlVestingVestingSchedule | { start?: any; period?: any; periodCount?: any; perPeriod?: any } | string | Uint8Array)[]) => SubmittableExtrinsic, [MultiAddress, Vec]>; - /** - * See [`Pallet::vested_transfer`]. - **/ vestedTransfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, schedule: OrmlVestingVestingSchedule | { start?: any; period?: any; periodCount?: any; perPeriod?: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, OrmlVestingVestingSchedule]>; /** * Generic tx @@ -1176,41 +3155,43 @@ declare module '@polkadot/api-base/types/submittable' { }; xcmpQueue: { /** - * See [`Pallet::resume_xcm_execution`]. + * Resumes all XCM executions for the XCMP queue. + * + * Note that this function doesn't change the status of the in/out bound channels. + * + * - `origin`: Must pass `ControllerOrigin`. **/ resumeXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * See [`Pallet::service_overweight`]. - **/ - serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic, [u64, SpWeightsWeightV2Weight]>; - /** - * See [`Pallet::suspend_xcm_execution`]. + * Suspends all XCM executions for the XCMP queue, regardless of the sender's origin. + * + * - `origin`: Must pass `ControllerOrigin`. **/ suspendXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * See [`Pallet::update_drop_threshold`]. + * Overwrites the number of pages which must be in the queue after which we drop any + * further messages from the channel. + * + * - `origin`: Must pass `Root`. + * - `new`: Desired value for `QueueConfigData.drop_threshold` **/ updateDropThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * See [`Pallet::update_resume_threshold`]. + * Overwrites the number of pages which the queue must be reduced to before it signals + * that message sending may recommence after it has been suspended. + * + * - `origin`: Must pass `Root`. + * - `new`: Desired value for `QueueConfigData.resume_threshold` **/ updateResumeThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * See [`Pallet::update_suspend_threshold`]. + * Overwrites the number of pages which must be in the queue for the other side to be + * told to suspend their sending. + * + * - `origin`: Must pass `Root`. + * - `new`: Desired value for `QueueConfigData.suspend_value` **/ updateSuspendThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; - /** - * See [`Pallet::update_threshold_weight`]. - **/ - updateThresholdWeight: AugmentedSubmittable<(updated: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic, [SpWeightsWeightV2Weight]>; - /** - * See [`Pallet::update_weight_restrict_decay`]. - **/ - updateWeightRestrictDecay: AugmentedSubmittable<(updated: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic, [SpWeightsWeightV2Weight]>; - /** - * See [`Pallet::update_xcmp_max_individual_weight`]. - **/ - updateXcmpMaxIndividualWeight: AugmentedSubmittable<(updated: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic, [SpWeightsWeightV2Weight]>; /** * Generic tx **/ @@ -1218,29 +3199,119 @@ declare module '@polkadot/api-base/types/submittable' { }; xTokens: { /** - * See [`Pallet::transfer`]. - **/ - transfer: AugmentedSubmittable<(currencyId: PalletForeignAssetsAssetId | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, dest: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, destWeightLimit: StagingXcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [PalletForeignAssetsAssetId, u128, StagingXcmVersionedMultiLocation, StagingXcmV3WeightLimit]>; - /** - * See [`Pallet::transfer_multiasset`]. - **/ - transferMultiasset: AugmentedSubmittable<(asset: StagingXcmVersionedMultiAsset | { V2: any } | { V3: any } | string | Uint8Array, dest: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, destWeightLimit: StagingXcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [StagingXcmVersionedMultiAsset, StagingXcmVersionedMultiLocation, StagingXcmV3WeightLimit]>; - /** - * See [`Pallet::transfer_multiassets`]. - **/ - transferMultiassets: AugmentedSubmittable<(assets: StagingXcmVersionedMultiAssets | { V2: any } | { V3: any } | string | Uint8Array, feeItem: u32 | AnyNumber | Uint8Array, dest: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, destWeightLimit: StagingXcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [StagingXcmVersionedMultiAssets, u32, StagingXcmVersionedMultiLocation, StagingXcmV3WeightLimit]>; - /** - * See [`Pallet::transfer_multiasset_with_fee`]. - **/ - transferMultiassetWithFee: AugmentedSubmittable<(asset: StagingXcmVersionedMultiAsset | { V2: any } | { V3: any } | string | Uint8Array, fee: StagingXcmVersionedMultiAsset | { V2: any } | { V3: any } | string | Uint8Array, dest: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, destWeightLimit: StagingXcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [StagingXcmVersionedMultiAsset, StagingXcmVersionedMultiAsset, StagingXcmVersionedMultiLocation, StagingXcmV3WeightLimit]>; - /** - * See [`Pallet::transfer_multicurrencies`]. - **/ - transferMulticurrencies: AugmentedSubmittable<(currencies: Vec> | ([PalletForeignAssetsAssetId | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, u128 | AnyNumber | Uint8Array])[], feeItem: u32 | AnyNumber | Uint8Array, dest: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, destWeightLimit: StagingXcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [Vec>, u32, StagingXcmVersionedMultiLocation, StagingXcmV3WeightLimit]>; - /** - * See [`Pallet::transfer_with_fee`]. - **/ - transferWithFee: AugmentedSubmittable<(currencyId: PalletForeignAssetsAssetId | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, fee: u128 | AnyNumber | Uint8Array, dest: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, destWeightLimit: StagingXcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [PalletForeignAssetsAssetId, u128, u128, StagingXcmVersionedMultiLocation, StagingXcmV3WeightLimit]>; + * Transfer native currencies. + * + * `dest_weight_limit` is the weight for XCM execution on the dest + * chain, and it would be charged from the transferred assets. If set + * below requirements, the execution may fail and assets wouldn't be + * received. + * + * It's a no-op if any error on local XCM execution or message sending. + * Note sending assets out per se doesn't guarantee they would be + * received. Receiving depends on if the XCM message could be delivered + * by the network, and if the receiving chain would handle + * messages correctly. + **/ + transfer: AugmentedSubmittable<(currencyId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array, dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, destWeightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, u128, XcmVersionedLocation, XcmV3WeightLimit]>; + /** + * Transfer `Asset`. + * + * `dest_weight_limit` is the weight for XCM execution on the dest + * chain, and it would be charged from the transferred assets. If set + * below requirements, the execution may fail and assets wouldn't be + * received. + * + * It's a no-op if any error on local XCM execution or message sending. + * Note sending assets out per se doesn't guarantee they would be + * received. Receiving depends on if the XCM message could be delivered + * by the network, and if the receiving chain would handle + * messages correctly. + **/ + transferMultiasset: AugmentedSubmittable<(asset: XcmVersionedAsset | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, destWeightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedAsset, XcmVersionedLocation, XcmV3WeightLimit]>; + /** + * Transfer several `Asset` specifying the item to be used as fee + * + * `dest_weight_limit` is the weight for XCM execution on the dest + * chain, and it would be charged from the transferred assets. If set + * below requirements, the execution may fail and assets wouldn't be + * received. + * + * `fee_item` is index of the Assets that we want to use for + * payment + * + * It's a no-op if any error on local XCM execution or message sending. + * Note sending assets out per se doesn't guarantee they would be + * received. Receiving depends on if the XCM message could be delivered + * by the network, and if the receiving chain would handle + * messages correctly. + **/ + transferMultiassets: AugmentedSubmittable<(assets: XcmVersionedAssets | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, feeItem: u32 | AnyNumber | Uint8Array, dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, destWeightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedAssets, u32, XcmVersionedLocation, XcmV3WeightLimit]>; + /** + * Transfer `Asset` specifying the fee and amount as separate. + * + * `dest_weight_limit` is the weight for XCM execution on the dest + * chain, and it would be charged from the transferred assets. If set + * below requirements, the execution may fail and assets wouldn't be + * received. + * + * `fee` is the Asset to be spent to pay for execution in + * destination chain. Both fee and amount will be subtracted form the + * callers balance For now we only accept fee and asset having the same + * `Location` id. + * + * If `fee` is not high enough to cover for the execution costs in the + * destination chain, then the assets will be trapped in the + * destination chain + * + * It's a no-op if any error on local XCM execution or message sending. + * Note sending assets out per se doesn't guarantee they would be + * received. Receiving depends on if the XCM message could be delivered + * by the network, and if the receiving chain would handle + * messages correctly. + **/ + transferMultiassetWithFee: AugmentedSubmittable<(asset: XcmVersionedAsset | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, fee: XcmVersionedAsset | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, destWeightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedAsset, XcmVersionedAsset, XcmVersionedLocation, XcmV3WeightLimit]>; + /** + * Transfer several currencies specifying the item to be used as fee + * + * `dest_weight_limit` is the weight for XCM execution on the dest + * chain, and it would be charged from the transferred assets. If set + * below requirements, the execution may fail and assets wouldn't be + * received. + * + * `fee_item` is index of the currencies tuple that we want to use for + * payment + * + * It's a no-op if any error on local XCM execution or message sending. + * Note sending assets out per se doesn't guarantee they would be + * received. Receiving depends on if the XCM message could be delivered + * by the network, and if the receiving chain would handle + * messages correctly. + **/ + transferMulticurrencies: AugmentedSubmittable<(currencies: Vec> | ([u32 | AnyNumber | Uint8Array, u128 | AnyNumber | Uint8Array])[], feeItem: u32 | AnyNumber | Uint8Array, dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, destWeightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [Vec>, u32, XcmVersionedLocation, XcmV3WeightLimit]>; + /** + * Transfer native currencies specifying the fee and amount as + * separate. + * + * `dest_weight_limit` is the weight for XCM execution on the dest + * chain, and it would be charged from the transferred assets. If set + * below requirements, the execution may fail and assets wouldn't be + * received. + * + * `fee` is the amount to be spent to pay for execution in destination + * chain. Both fee and amount will be subtracted form the callers + * balance. + * + * If `fee` is not high enough to cover for the execution costs in the + * destination chain, then the assets will be trapped in the + * destination chain + * + * It's a no-op if any error on local XCM execution or message sending. + * Note sending assets out per se doesn't guarantee they would be + * received. Receiving depends on if the XCM message could be delivered + * by the network, and if the receiving chain would handle + * messages correctly. + **/ + transferWithFee: AugmentedSubmittable<(currencyId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array, fee: u128 | AnyNumber | Uint8Array, dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, destWeightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, u128, u128, XcmVersionedLocation, XcmV3WeightLimit]>; /** * Generic tx **/ diff --git a/js-packages/types/augment-types.ts b/js-packages/types/augment-types.ts index bdb80cc809..23378cbdf9 100644 --- a/js-packages/types/augment-types.ts +++ b/js-packages/types/augment-types.ts @@ -5,9 +5,10 @@ // this is required to allow for ambient/previous definitions import '@polkadot/types/types/registry'; -import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemCodeUpgradeAuthorization, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OpalRuntimeRuntimeHoldReason, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesIdAmount, PalletBalancesReasons, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCollatorSelectionHoldReason, PalletCollectiveCall, PalletCollectiveError, PalletCollectiveEvent, PalletCollectiveRawOrigin, PalletCollectiveVotes, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletDemocracyCall, PalletDemocracyConviction, PalletDemocracyDelegations, PalletDemocracyError, PalletDemocracyEvent, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyReferendumStatus, PalletDemocracyTally, PalletDemocracyVoteAccountVote, PalletDemocracyVotePriorLock, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCodeMetadata, PalletEvmCoderSubstrateError, PalletEvmContractHelpersCall, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetId, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletGovOriginsOrigin, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletMembershipCall, PalletMembershipError, PalletMembershipEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, PalletPreimageRequestStatus, PalletRankedCollectiveCall, PalletRankedCollectiveError, PalletRankedCollectiveEvent, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletReferendaCall, PalletReferendaCurve, PalletReferendaDecidingStatus, PalletReferendaDeposit, PalletReferendaError, PalletReferendaEvent, PalletReferendaReferendumInfo, PalletReferendaReferendumStatus, PalletReferendaTrackInfo, PalletRefungibleError, PalletSchedulerCall, PalletSchedulerError, PalletSchedulerEvent, PalletSchedulerScheduled, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStateTrieMigrationCall, PalletStateTrieMigrationError, PalletStateTrieMigrationEvent, PalletStateTrieMigrationMigrationCompute, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUtilityCall, PalletUtilityError, PalletUtilityEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, ParachainInfoCall, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesXcmpMessageFormat, PolkadotPrimitivesV5AbridgedHostConfiguration, PolkadotPrimitivesV5AbridgedHrmpChannel, PolkadotPrimitivesV5PersistedValidationData, PolkadotPrimitivesV5UpgradeGoAhead, PolkadotPrimitivesV5UpgradeRestriction, PolkadotPrimitivesVstagingAsyncBackingParams, SpArithmeticArithmeticError, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmDoubleEncoded, StagingXcmV2BodyId, StagingXcmV2BodyPart, StagingXcmV2Instruction, StagingXcmV2Junction, StagingXcmV2MultiAsset, StagingXcmV2MultiLocation, StagingXcmV2MultiassetAssetId, StagingXcmV2MultiassetAssetInstance, StagingXcmV2MultiassetFungibility, StagingXcmV2MultiassetMultiAssetFilter, StagingXcmV2MultiassetMultiAssets, StagingXcmV2MultiassetWildFungibility, StagingXcmV2MultiassetWildMultiAsset, StagingXcmV2MultilocationJunctions, StagingXcmV2NetworkId, StagingXcmV2OriginKind, StagingXcmV2Response, StagingXcmV2TraitsError, StagingXcmV2WeightLimit, StagingXcmV2Xcm, StagingXcmV3Instruction, StagingXcmV3Junction, StagingXcmV3JunctionBodyId, StagingXcmV3JunctionBodyPart, StagingXcmV3JunctionNetworkId, StagingXcmV3Junctions, StagingXcmV3MaybeErrorCode, StagingXcmV3MultiAsset, StagingXcmV3MultiLocation, StagingXcmV3MultiassetAssetId, StagingXcmV3MultiassetAssetInstance, StagingXcmV3MultiassetFungibility, StagingXcmV3MultiassetMultiAssetFilter, StagingXcmV3MultiassetMultiAssets, StagingXcmV3MultiassetWildFungibility, StagingXcmV3MultiassetWildMultiAsset, StagingXcmV3PalletInfo, StagingXcmV3QueryResponseInfo, StagingXcmV3Response, StagingXcmV3TraitsError, StagingXcmV3TraitsOutcome, StagingXcmV3WeightLimit, StagingXcmV3Xcm, StagingXcmVersionedAssetId, StagingXcmVersionedMultiAsset, StagingXcmVersionedMultiAssets, StagingXcmVersionedMultiLocation, StagingXcmVersionedResponse, StagingXcmVersionedXcm, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue } from './default'; +import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueueMigrationState, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth, CumulusPalletXcmCall, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameMetadataHashExtensionCheckMetadataHash, FrameMetadataHashExtensionMode, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportDispatchRawOrigin, FrameSupportMessagesProcessMessageError, FrameSupportPalletId, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, FrameSupportTokensMiscBalanceStatus, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCall, FrameSystemCodeUpgradeAuthorization, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OpalRuntimeRuntimeHoldReason, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesAdjustmentDirection, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCollatorSelectionHoldReason, PalletCollectiveCall, PalletCollectiveError, PalletCollectiveEvent, PalletCollectiveRawOrigin, PalletCollectiveVotes, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletDemocracyCall, PalletDemocracyConviction, PalletDemocracyDelegations, PalletDemocracyError, PalletDemocracyEvent, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyReferendumStatus, PalletDemocracyTally, PalletDemocracyVoteAccountVote, PalletDemocracyVotePriorLock, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCodeMetadata, PalletEvmCoderSubstrateError, PalletEvmContractHelpersCall, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsForeignCollectionMode, PalletForeignAssetsMigrationStatus, PalletForeignAssetsMigrationStatusV3ToV4, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletFungibleError, PalletGovOriginsOrigin, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletMembershipCall, PalletMembershipError, PalletMembershipEvent, PalletMessageQueueBookState, PalletMessageQueueCall, PalletMessageQueueError, PalletMessageQueueEvent, PalletMessageQueueNeighbours, PalletMessageQueuePage, PalletNonfungibleError, PalletNonfungibleItemData, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, PalletPreimageHoldReason, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletRankedCollectiveCall, PalletRankedCollectiveError, PalletRankedCollectiveEvent, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletReferendaCall, PalletReferendaCurve, PalletReferendaDecidingStatus, PalletReferendaDeposit, PalletReferendaError, PalletReferendaEvent, PalletReferendaReferendumInfo, PalletReferendaReferendumStatus, PalletReferendaTrackInfo, PalletRefungibleError, PalletSchedulerCall, PalletSchedulerError, PalletSchedulerEvent, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStateTrieMigrationCall, PalletStateTrieMigrationError, PalletStateTrieMigrationEvent, PalletStateTrieMigrationHoldReason, PalletStateTrieMigrationMigrationCompute, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTemplateTransactionPaymentCheckNonce, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryPaymentState, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletUniqueCall, PalletUniqueError, PalletUtilityCall, PalletUtilityError, PalletUtilityEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV7AbridgedHostConfiguration, PolkadotPrimitivesV7AbridgedHrmpChannel, PolkadotPrimitivesV7AsyncBackingAsyncBackingParams, PolkadotPrimitivesV7PersistedValidationData, PolkadotPrimitivesV7UpgradeGoAhead, PolkadotPrimitivesV7UpgradeRestriction, SpArithmeticArithmeticError, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreVoid, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingParachainInfoCall, StagingXcmExecutorAssetTransferTransferType, StagingXcmV3MultiLocation, StagingXcmV4Asset, StagingXcmV4AssetAssetFilter, StagingXcmV4AssetAssetId, StagingXcmV4AssetAssetInstance, StagingXcmV4AssetAssets, StagingXcmV4AssetFungibility, StagingXcmV4AssetWildAsset, StagingXcmV4AssetWildFungibility, StagingXcmV4Instruction, StagingXcmV4Junction, StagingXcmV4JunctionNetworkId, StagingXcmV4Junctions, StagingXcmV4Location, StagingXcmV4PalletInfo, StagingXcmV4QueryResponseInfo, StagingXcmV4Response, StagingXcmV4TraitsOutcome, StagingXcmV4Xcm, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmV2BodyId, XcmV2BodyPart, XcmV2Instruction, XcmV2Junction, XcmV2MultiAsset, XcmV2MultiLocation, XcmV2MultiassetAssetId, XcmV2MultiassetAssetInstance, XcmV2MultiassetFungibility, XcmV2MultiassetMultiAssetFilter, XcmV2MultiassetMultiAssets, XcmV2MultiassetWildFungibility, XcmV2MultiassetWildMultiAsset, XcmV2MultilocationJunctions, XcmV2NetworkId, XcmV2OriginKind, XcmV2Response, XcmV2TraitsError, XcmV2WeightLimit, XcmV2Xcm, XcmV3Instruction, XcmV3Junction, XcmV3JunctionBodyId, XcmV3JunctionBodyPart, XcmV3JunctionNetworkId, XcmV3Junctions, XcmV3MaybeErrorCode, XcmV3MultiAsset, XcmV3MultiassetAssetId, XcmV3MultiassetAssetInstance, XcmV3MultiassetFungibility, XcmV3MultiassetMultiAssetFilter, XcmV3MultiassetMultiAssets, XcmV3MultiassetWildFungibility, XcmV3MultiassetWildMultiAsset, XcmV3OriginKind, XcmV3PalletInfo, XcmV3QueryResponseInfo, XcmV3Response, XcmV3TraitsError, XcmV3WeightLimit, XcmV3Xcm, XcmVersionedAsset, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedResponse, XcmVersionedXcm } from './default'; import type { Data, StorageKey } from '@polkadot/types'; import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, ISize, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, i128, i16, i256, i32, i64, i8, isize, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec'; +import type { TAssetConversion } from '@polkadot/types/interfaces/assetConversion'; import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets'; import type { BlockAttestations, IncludedBlocks, MoreAttestations } from '@polkadot/types/interfaces/attestations'; import type { RawAuraPreDigest } from '@polkadot/types/interfaces/aura'; @@ -15,7 +16,7 @@ import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interface import type { UncleEntryItem } from '@polkadot/types/interfaces/authorship'; import type { AllowedSlots, BabeAuthorityWeight, BabeBlockWeight, BabeEpochConfiguration, BabeEquivocationProof, BabeGenesisConfiguration, BabeGenesisConfigurationV1, BabeWeight, Epoch, EpochAuthorship, MaybeRandomness, MaybeVrf, NextConfigDescriptor, NextConfigDescriptorV1, OpaqueKeyOwnershipProof, Randomness, RawBabePreDigest, RawBabePreDigestCompat, RawBabePreDigestPrimary, RawBabePreDigestPrimaryTo159, RawBabePreDigestSecondaryPlain, RawBabePreDigestSecondaryTo159, RawBabePreDigestSecondaryVRF, RawBabePreDigestTo159, SlotNumber, VrfData, VrfOutput, VrfProof } from '@polkadot/types/interfaces/babe'; import type { AccountData, BalanceLock, BalanceLockTo212, BalanceStatus, Reasons, ReserveData, ReserveIdentifier, VestingSchedule, WithdrawReasons } from '@polkadot/types/interfaces/balances'; -import type { BeefyAuthoritySet, BeefyCommitment, BeefyEquivocationProof, BeefyId, BeefyNextAuthoritySet, BeefyPayload, BeefyPayloadId, BeefySignedCommitment, BeefyVoteMessage, MmrRootHash, ValidatorSet, ValidatorSetId } from '@polkadot/types/interfaces/beefy'; +import type { BeefyAuthoritySet, BeefyCommitment, BeefyCompactSignedCommitment, BeefyEquivocationProof, BeefyId, BeefyNextAuthoritySet, BeefyPayload, BeefyPayloadId, BeefySignedCommitment, BeefyVersionedFinalityProof, BeefyVoteMessage, MmrRootHash, ValidatorSet, ValidatorSetId } from '@polkadot/types/interfaces/beefy'; import type { BenchmarkBatch, BenchmarkConfig, BenchmarkList, BenchmarkMetadata, BenchmarkParameter, BenchmarkResult } from '@polkadot/types/interfaces/benchmark'; import type { CheckInherentsResult, InherentData, InherentIdentifier } from '@polkadot/types/interfaces/blockbuilder'; import type { BridgeMessageId, BridgedBlockHash, BridgedBlockNumber, BridgedHeader, CallOrigin, ChainId, DeliveredMessages, DispatchFeePayment, InboundLaneData, InboundRelayer, InitializationData, LaneId, MessageData, MessageKey, MessageNonce, MessagesDeliveryProofOf, MessagesProofOf, OperatingMode, OutboundLaneData, OutboundMessageFee, OutboundPayload, Parameter, RelayerId, UnrewardedRelayer, UnrewardedRelayersState } from '@polkadot/types/interfaces/bridges'; @@ -25,7 +26,7 @@ import type { StatementKind } from '@polkadot/types/interfaces/claims'; import type { CollectiveOrigin, MemberCount, ProposalIndex, Votes, VotesTo230 } from '@polkadot/types/interfaces/collective'; import type { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus'; import type { AliveContractInfo, CodeHash, CodeSource, CodeUploadRequest, CodeUploadResult, CodeUploadResultValue, ContractCallFlags, ContractCallRequest, ContractExecResult, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractExecResultU64, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractInstantiateResultTo299, ContractInstantiateResultU64, ContractReturnFlags, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateRequestV1, InstantiateRequestV2, InstantiateReturnValue, InstantiateReturnValueOk, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, StorageDeposit, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts'; -import type { ContractConstructorSpecLatest, ContractConstructorSpecV0, ContractConstructorSpecV1, ContractConstructorSpecV2, ContractConstructorSpecV3, ContractConstructorSpecV4, ContractContractSpecV0, ContractContractSpecV1, ContractContractSpecV2, ContractContractSpecV3, ContractContractSpecV4, ContractCryptoHasher, ContractDiscriminant, ContractDisplayName, ContractEnvironmentV4, ContractEventParamSpecLatest, ContractEventParamSpecV0, ContractEventParamSpecV2, ContractEventSpecLatest, ContractEventSpecV0, ContractEventSpecV1, ContractEventSpecV2, ContractLayoutArray, ContractLayoutCell, ContractLayoutEnum, ContractLayoutHash, ContractLayoutHashingStrategy, ContractLayoutKey, ContractLayoutStruct, ContractLayoutStructField, ContractMessageParamSpecLatest, ContractMessageParamSpecV0, ContractMessageParamSpecV2, ContractMessageSpecLatest, ContractMessageSpecV0, ContractMessageSpecV1, ContractMessageSpecV2, ContractMessageSpecV3, ContractMetadata, ContractMetadataLatest, ContractMetadataV0, ContractMetadataV1, ContractMetadataV2, ContractMetadataV3, ContractMetadataV4, ContractProject, ContractProjectContract, ContractProjectInfo, ContractProjectSource, ContractProjectV0, ContractSelector, ContractStorageLayout, ContractTypeSpec } from '@polkadot/types/interfaces/contractsAbi'; +import type { ContractConstructorSpecLatest, ContractConstructorSpecV0, ContractConstructorSpecV1, ContractConstructorSpecV2, ContractConstructorSpecV3, ContractConstructorSpecV4, ContractContractSpecV0, ContractContractSpecV1, ContractContractSpecV2, ContractContractSpecV3, ContractContractSpecV4, ContractContractSpecV5, ContractCryptoHasher, ContractDiscriminant, ContractDisplayName, ContractEnvironmentV4, ContractEventParamSpecLatest, ContractEventParamSpecV0, ContractEventParamSpecV2, ContractEventSpecLatest, ContractEventSpecV0, ContractEventSpecV1, ContractEventSpecV2, ContractEventSpecV3, ContractLayoutArray, ContractLayoutCell, ContractLayoutEnum, ContractLayoutHash, ContractLayoutHashingStrategy, ContractLayoutKey, ContractLayoutStruct, ContractLayoutStructField, ContractMessageParamSpecLatest, ContractMessageParamSpecV0, ContractMessageParamSpecV2, ContractMessageSpecLatest, ContractMessageSpecV0, ContractMessageSpecV1, ContractMessageSpecV2, ContractMessageSpecV3, ContractMetadata, ContractMetadataLatest, ContractMetadataV0, ContractMetadataV1, ContractMetadataV2, ContractMetadataV3, ContractMetadataV4, ContractMetadataV5, ContractProject, ContractProjectContract, ContractProjectInfo, ContractProjectSource, ContractProjectV0, ContractSelector, ContractStorageLayout, ContractTypeSpec } from '@polkadot/types/interfaces/contractsAbi'; import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan'; import type { CollationInfo, CollationInfoV1, ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus'; import type { AccountVote, AccountVoteSplit, AccountVoteStandard, Conviction, Delegations, PreimageStatus, PreimageStatusAvailable, PriorLock, PropIndex, Proposal, ProxyState, ReferendumIndex, ReferendumInfo, ReferendumInfoFinished, ReferendumInfoTo239, ReferendumStatus, Tally, Voting, VotingDelegating, VotingDirect, VotingDirectVote } from '@polkadot/types/interfaces/democracy'; @@ -37,31 +38,34 @@ import type { EvmAccount, EvmCallInfo, EvmCallInfoV2, EvmCreateInfo, EvmCreateIn import type { AnySignature, EcdsaSignature, Ed25519Signature, Era, Extrinsic, ExtrinsicEra, ExtrinsicPayload, ExtrinsicPayloadUnknown, ExtrinsicPayloadV4, ExtrinsicSignature, ExtrinsicSignatureV4, ExtrinsicUnknown, ExtrinsicV4, ImmortalEra, MortalEra, MultiSignature, Signature, SignerPayload, Sr25519Signature } from '@polkadot/types/interfaces/extrinsics'; import type { FungiblesAccessError } from '@polkadot/types/interfaces/fungibles'; import type { AssetOptions, Owner, PermissionLatest, PermissionVersions, PermissionsV1 } from '@polkadot/types/interfaces/genericAsset'; +import type { GenesisBuildErr } from '@polkadot/types/interfaces/genesisBuilder'; import type { ActiveGilt, ActiveGiltsTotal, ActiveIndex, GiltBid } from '@polkadot/types/interfaces/gilt'; import type { AuthorityIndex, AuthorityList, AuthoritySet, AuthoritySetChange, AuthoritySetChanges, AuthorityWeight, DelayKind, DelayKindBest, EncodedFinalityProofs, ForkTreePendingChange, ForkTreePendingChangeNode, GrandpaCommit, GrandpaEquivocation, GrandpaEquivocationProof, GrandpaEquivocationValue, GrandpaJustification, GrandpaPrecommit, GrandpaPrevote, GrandpaSignedPrecommit, JustificationNotification, KeyOwnerProof, NextAuthority, PendingChange, PendingPause, PendingResume, Precommits, Prevotes, ReportedRoundStates, RoundState, SetId, StoredPendingChange, StoredState } from '@polkadot/types/interfaces/grandpa'; import type { IdentityFields, IdentityInfo, IdentityInfoAdditional, IdentityInfoTo198, IdentityJudgement, RegistrarIndex, RegistrarInfo, Registration, RegistrationJudgement, RegistrationTo198 } from '@polkadot/types/interfaces/identity'; import type { AuthIndex, AuthoritySignature, Heartbeat, HeartbeatTo244, OpaqueMultiaddr, OpaqueNetworkState, OpaquePeerId } from '@polkadot/types/interfaces/imOnline'; import type { CallIndex, LotteryConfig } from '@polkadot/types/interfaces/lottery'; import type { CustomMetadata15, CustomValueMetadata15, ErrorMetadataLatest, ErrorMetadataV10, ErrorMetadataV11, ErrorMetadataV12, ErrorMetadataV13, ErrorMetadataV14, ErrorMetadataV9, EventMetadataLatest, EventMetadataV10, EventMetadataV11, EventMetadataV12, EventMetadataV13, EventMetadataV14, EventMetadataV9, ExtrinsicMetadataLatest, ExtrinsicMetadataV11, ExtrinsicMetadataV12, ExtrinsicMetadataV13, ExtrinsicMetadataV14, ExtrinsicMetadataV15, FunctionArgumentMetadataLatest, FunctionArgumentMetadataV10, FunctionArgumentMetadataV11, FunctionArgumentMetadataV12, FunctionArgumentMetadataV13, FunctionArgumentMetadataV14, FunctionArgumentMetadataV9, FunctionMetadataLatest, FunctionMetadataV10, FunctionMetadataV11, FunctionMetadataV12, FunctionMetadataV13, FunctionMetadataV14, FunctionMetadataV9, MetadataAll, MetadataLatest, MetadataV10, MetadataV11, MetadataV12, MetadataV13, MetadataV14, MetadataV15, MetadataV9, ModuleConstantMetadataV10, ModuleConstantMetadataV11, ModuleConstantMetadataV12, ModuleConstantMetadataV13, ModuleConstantMetadataV9, ModuleMetadataV10, ModuleMetadataV11, ModuleMetadataV12, ModuleMetadataV13, ModuleMetadataV9, OpaqueMetadata, OuterEnums15, PalletCallMetadataLatest, PalletCallMetadataV14, PalletConstantMetadataLatest, PalletConstantMetadataV14, PalletErrorMetadataLatest, PalletErrorMetadataV14, PalletEventMetadataLatest, PalletEventMetadataV14, PalletMetadataLatest, PalletMetadataV14, PalletMetadataV15, PalletStorageMetadataLatest, PalletStorageMetadataV14, PortableType, PortableTypeV14, RuntimeApiMetadataLatest, RuntimeApiMetadataV15, RuntimeApiMethodMetadataV15, RuntimeApiMethodParamMetadataV15, SignedExtensionMetadataLatest, SignedExtensionMetadataV14, StorageEntryMetadataLatest, StorageEntryMetadataV10, StorageEntryMetadataV11, StorageEntryMetadataV12, StorageEntryMetadataV13, StorageEntryMetadataV14, StorageEntryMetadataV9, StorageEntryModifierLatest, StorageEntryModifierV10, StorageEntryModifierV11, StorageEntryModifierV12, StorageEntryModifierV13, StorageEntryModifierV14, StorageEntryModifierV9, StorageEntryTypeLatest, StorageEntryTypeV10, StorageEntryTypeV11, StorageEntryTypeV12, StorageEntryTypeV13, StorageEntryTypeV14, StorageEntryTypeV9, StorageHasher, StorageHasherV10, StorageHasherV11, StorageHasherV12, StorageHasherV13, StorageHasherV14, StorageHasherV9, StorageMetadataV10, StorageMetadataV11, StorageMetadataV12, StorageMetadataV13, StorageMetadataV9 } from '@polkadot/types/interfaces/metadata'; +import type { Mixnode, MixnodesErr, SessionPhase, SessionStatus } from '@polkadot/types/interfaces/mixnet'; import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError, MmrHash, MmrLeafBatchProof, MmrLeafIndex, MmrLeafProof, MmrNodeIndex, MmrProof } from '@polkadot/types/interfaces/mmr'; import type { NftCollectionId, NftItemId } from '@polkadot/types/interfaces/nfts'; import type { NpApiError, NpPoolId } from '@polkadot/types/interfaces/nompools'; import type { StorageKind } from '@polkadot/types/interfaces/offchain'; import type { DeferredOffenceOf, Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences'; -import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateEvent, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, CoreState, DisputeLocation, DisputeProof, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DisputesTimeSlot, DoubleVoteReport, DownwardMessage, ExecutorParam, ExecutorParams, ExecutorParamsHash, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, GroupRotationInfo, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OccupiedCore, OccupiedCoreAssumption, OldV1SessionInfo, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PendingSlashes, PersistedValidationData, PvfCheckStatement, PvfExecTimeoutKind, PvfPrepTimeoutKind, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, ScheduledCore, Scheduling, ScrapedOnChainVotes, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlashingOffenceKind, SlotRange, SlotRange10, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersData10, WinnersDataTuple, WinnersDataTuple10, WinningData, WinningData10, WinningDataEntry } from '@polkadot/types/interfaces/parachains'; +import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, ApprovalVotingParams, AssignmentId, AssignmentKind, AsyncBackingParams, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, BackingState, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateEvent, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, Constraints, CoreAssignment, CoreIndex, CoreOccupied, CoreState, DisputeLocation, DisputeProof, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DisputesTimeSlot, DoubleVoteReport, DownwardMessage, ExecutorParam, ExecutorParams, ExecutorParamsHash, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, GroupRotationInfo, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpLimitations, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, NodeFeatures, OccupiedCore, OccupiedCoreAssumption, OldV1SessionInfo, OutboundHrmpChannelLimitations, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PendingSlashes, PersistedValidationData, PvfCheckStatement, PvfExecTimeoutKind, PvfPrepTimeoutKind, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, ScheduledCore, Scheduling, ScrapedOnChainVotes, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlashingOffenceKind, SlotRange, SlotRange10, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersData10, WinnersDataTuple, WinnersDataTuple10, WinningData, WinningData10, WinningDataEntry } from '@polkadot/types/interfaces/parachains'; import type { FeeDetails, InclusionFee, RuntimeDispatchInfo, RuntimeDispatchInfoV1, RuntimeDispatchInfoV2 } from '@polkadot/types/interfaces/payment'; import type { Approvals } from '@polkadot/types/interfaces/poll'; import type { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@polkadot/types/interfaces/proxy'; import type { AccountStatus, AccountValidity } from '@polkadot/types/interfaces/purchase'; import type { ActiveRecovery, RecoveryConfig } from '@polkadot/types/interfaces/recovery'; import type { RpcMethods } from '@polkadot/types/interfaces/rpc'; -import type { AccountId, AccountId20, AccountId32, AccountId33, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, BlockNumberFor, BlockNumberOf, Call, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, CrateVersion, Digest, DigestItem, EncodedJustification, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H160, H2048, H256, H32, H512, H64, Hash, Header, HeaderPartial, I32F32, Index, IndicesLookupSource, Justification, Justifications, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiAddress, MultiSigner, OpaqueCall, Origin, OriginCaller, PalletId, PalletVersion, PalletsOrigin, Pays, PerU16, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, Releases, RuntimeCall, RuntimeDbWeight, RuntimeEvent, Seal, SealV0, SignedBlock, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, SlotDuration, StorageData, StorageInfo, StorageProof, TransactionInfo, TransactionLongevity, TransactionPriority, TransactionStorageProof, TransactionTag, U32F32, ValidatorId, ValidatorIdOf, Weight, WeightMultiplier, WeightV0, WeightV1, WeightV2 } from '@polkadot/types/interfaces/runtime'; +import type { AccountId, AccountId20, AccountId32, AccountId33, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, BlockNumberFor, BlockNumberOf, Call, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, CrateVersion, Digest, DigestItem, EncodedJustification, ExtrinsicInclusionMode, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H160, H2048, H256, H32, H512, H64, Hash, Header, HeaderPartial, I32F32, Index, IndicesLookupSource, Justification, Justifications, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiAddress, MultiSigner, OpaqueCall, Origin, OriginCaller, PalletId, PalletVersion, PalletsOrigin, Pays, PerU16, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, Releases, RuntimeCall, RuntimeDbWeight, RuntimeEvent, Seal, SealV0, SignedBlock, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, SlotDuration, StorageData, StorageInfo, StorageProof, TransactionInfo, TransactionLongevity, TransactionPriority, TransactionStorageProof, TransactionTag, U32F32, ValidatorId, ValidatorIdOf, Weight, WeightMultiplier, WeightV0, WeightV1, WeightV2 } from '@polkadot/types/interfaces/runtime'; import type { Si0Field, Si0LookupTypeId, Si0Path, Si0Type, Si0TypeDef, Si0TypeDefArray, Si0TypeDefBitSequence, Si0TypeDefCompact, Si0TypeDefComposite, Si0TypeDefPhantom, Si0TypeDefPrimitive, Si0TypeDefSequence, Si0TypeDefTuple, Si0TypeDefVariant, Si0TypeParameter, Si0Variant, Si1Field, Si1LookupTypeId, Si1Path, Si1Type, Si1TypeDef, Si1TypeDefArray, Si1TypeDefBitSequence, Si1TypeDefCompact, Si1TypeDefComposite, Si1TypeDefPrimitive, Si1TypeDefSequence, Si1TypeDefTuple, Si1TypeDefVariant, Si1TypeParameter, Si1Variant, SiField, SiLookupTypeId, SiPath, SiType, SiTypeDef, SiTypeDefArray, SiTypeDefBitSequence, SiTypeDefCompact, SiTypeDefComposite, SiTypeDefPrimitive, SiTypeDefSequence, SiTypeDefTuple, SiTypeDefVariant, SiTypeParameter, SiVariant } from '@polkadot/types/interfaces/scaleInfo'; import type { Period, Priority, SchedulePeriod, SchedulePriority, Scheduled, ScheduledTo254, TaskAddress } from '@polkadot/types/interfaces/scheduler'; import type { BeefyKey, FullIdentification, IdentificationTuple, Keys, MembershipProof, SessionIndex, SessionKeys1, SessionKeys10, SessionKeys10B, SessionKeys2, SessionKeys3, SessionKeys4, SessionKeys5, SessionKeys6, SessionKeys6B, SessionKeys7, SessionKeys7B, SessionKeys8, SessionKeys8B, SessionKeys9, SessionKeys9B, ValidatorCount } from '@polkadot/types/interfaces/session'; import type { Bid, BidKind, SocietyJudgement, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces/society'; import type { ActiveEraInfo, CompactAssignments, CompactAssignmentsTo257, CompactAssignmentsTo265, CompactAssignmentsWith16, CompactAssignmentsWith24, CompactScore, CompactScoreCompact, ElectionCompute, ElectionPhase, ElectionResult, ElectionScore, ElectionSize, ElectionStatus, EraIndex, EraPoints, EraRewardPoints, EraRewards, Exposure, ExtendedBalance, Forcing, IndividualExposure, KeyType, MomentOf, Nominations, NominatorIndex, NominatorIndexCompact, OffchainAccuracy, OffchainAccuracyCompact, PhragmenScore, Points, RawSolution, RawSolutionTo265, RawSolutionWith16, RawSolutionWith24, ReadySolution, RewardDestination, RewardPoint, RoundSnapshot, SeatHolder, SignedSubmission, SignedSubmissionOf, SignedSubmissionTo276, SlashJournalEntry, SlashingSpans, SlashingSpansTo204, SolutionOrSnapshotSize, SolutionSupport, SolutionSupports, SpanIndex, SpanRecord, StakingLedger, StakingLedgerTo223, StakingLedgerTo240, SubmissionIndicesOf, Supports, UnappliedSlash, UnappliedSlashOther, UnlockChunk, ValidatorIndex, ValidatorIndexCompact, ValidatorPrefs, ValidatorPrefsTo145, ValidatorPrefsTo196, ValidatorPrefsWithBlocked, ValidatorPrefsWithCommission, VoteWeight, Voter } from '@polkadot/types/interfaces/staking'; import type { ApiId, BlockTrace, BlockTraceEvent, BlockTraceEventData, BlockTraceSpan, KeyValueOption, MigrationStatusResult, ReadProof, RuntimeVersion, RuntimeVersionApi, RuntimeVersionPartial, RuntimeVersionPre3, RuntimeVersionPre4, SpecVersion, StorageChangeSet, TraceBlockResponse, TraceError } from '@polkadot/types/interfaces/state'; +import type { StatementStoreInvalidStatement, StatementStoreStatementSource, StatementStoreValidStatement } from '@polkadot/types/interfaces/statement'; import type { WeightToFeeCoefficient } from '@polkadot/types/interfaces/support'; import type { AccountInfo, AccountInfoWithDualRefCount, AccountInfoWithProviders, AccountInfoWithRefCount, AccountInfoWithRefCountU8, AccountInfoWithTripleRefCount, ApplyExtrinsicResult, ApplyExtrinsicResultPre6, ArithmeticError, BlockLength, BlockWeights, ChainProperties, ChainType, ConsumedWeight, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorModulePre6, DispatchErrorModuleU8, DispatchErrorModuleU8a, DispatchErrorPre6, DispatchErrorPre6First, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchOutcomePre6, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, PerDispatchClassU32, PerDispatchClassWeight, PerDispatchClassWeightsPerClass, Phase, RawOrigin, RefCount, RefCountTo259, SyncState, SystemOrigin, TokenError, TransactionValidityError, TransactionalError, UnknownTransaction, WeightPerClass } from '@polkadot/types/interfaces/system'; import type { Bounty, BountyIndex, BountyStatus, BountyStatusActive, BountyStatusCuratorProposed, BountyStatusPendingPayout, OpenTip, OpenTipFinderTo225, OpenTipTip, OpenTipTo225, TreasuryProposal } from '@polkadot/types/interfaces/treasury'; @@ -71,6 +75,8 @@ import type { ClassDetails, ClassId, ClassMetadata, DepositBalance, DepositBalan import type { Multisig, Timepoint } from '@polkadot/types/interfaces/utility'; import type { VestingInfo } from '@polkadot/types/interfaces/vesting'; import type { AssetInstance, AssetInstanceV0, AssetInstanceV1, AssetInstanceV2, BodyId, BodyPart, DoubleEncodedCall, Fungibility, FungibilityV0, FungibilityV1, FungibilityV2, InboundStatus, InstructionV2, InteriorMultiLocation, Junction, JunctionV0, JunctionV1, JunctionV2, Junctions, JunctionsV1, JunctionsV2, MultiAsset, MultiAssetFilter, MultiAssetFilterV1, MultiAssetFilterV2, MultiAssetV0, MultiAssetV1, MultiAssetV2, MultiAssets, MultiAssetsV1, MultiAssetsV2, MultiLocation, MultiLocationV0, MultiLocationV1, MultiLocationV2, NetworkId, OriginKindV0, OriginKindV1, OriginKindV2, OutboundStatus, Outcome, QueryId, QueryStatus, QueueConfigData, Response, ResponseV0, ResponseV1, ResponseV2, ResponseV2Error, ResponseV2Result, VersionMigrationStage, VersionedMultiAsset, VersionedMultiAssets, VersionedMultiLocation, VersionedResponse, VersionedXcm, WeightLimitV2, WildFungibility, WildFungibilityV0, WildFungibilityV1, WildFungibilityV2, WildMultiAsset, WildMultiAssetV1, WildMultiAssetV2, Xcm, XcmAssetId, XcmError, XcmErrorV0, XcmErrorV1, XcmErrorV2, XcmOrder, XcmOrderV0, XcmOrderV1, XcmOrderV2, XcmOrigin, XcmOriginKind, XcmV0, XcmV1, XcmV2, XcmVersion, XcmpMessageFormat } from '@polkadot/types/interfaces/xcm'; +import type { XcmPaymentApiError } from '@polkadot/types/interfaces/xcmPaymentApi'; +import type { Error } from '@polkadot/types/interfaces/xcmRuntimeApi'; declare module '@polkadot/types/types/registry' { interface InterfaceTypes { @@ -109,6 +115,7 @@ declare module '@polkadot/types/types/registry' { ApplyExtrinsicResultPre6: ApplyExtrinsicResultPre6; ApprovalFlag: ApprovalFlag; Approvals: Approvals; + ApprovalVotingParams: ApprovalVotingParams; ArithmeticError: ArithmeticError; AssetApproval: AssetApproval; AssetApprovalKey: AssetApprovalKey; @@ -124,6 +131,7 @@ declare module '@polkadot/types/types/registry' { AssetOptions: AssetOptions; AssignmentId: AssignmentId; AssignmentKind: AssignmentKind; + AsyncBackingParams: AsyncBackingParams; AttestedCandidate: AttestedCandidate; AuctionIndex: AuctionIndex; AuthIndex: AuthIndex; @@ -146,6 +154,7 @@ declare module '@polkadot/types/types/registry' { BabeGenesisConfigurationV1: BabeGenesisConfigurationV1; BabeWeight: BabeWeight; BackedCandidate: BackedCandidate; + BackingState: BackingState; Balance: Balance; BalanceLock: BalanceLock; BalanceLockTo212: BalanceLockTo212; @@ -153,6 +162,7 @@ declare module '@polkadot/types/types/registry' { BalanceStatus: BalanceStatus; BeefyAuthoritySet: BeefyAuthoritySet; BeefyCommitment: BeefyCommitment; + BeefyCompactSignedCommitment: BeefyCompactSignedCommitment; BeefyEquivocationProof: BeefyEquivocationProof; BeefyId: BeefyId; BeefyKey: BeefyKey; @@ -160,6 +170,7 @@ declare module '@polkadot/types/types/registry' { BeefyPayload: BeefyPayload; BeefyPayloadId: BeefyPayloadId; BeefySignedCommitment: BeefySignedCommitment; + BeefyVersionedFinalityProof: BeefyVersionedFinalityProof; BeefyVoteMessage: BeefyVoteMessage; BenchmarkBatch: BenchmarkBatch; BenchmarkConfig: BenchmarkConfig; @@ -246,6 +257,7 @@ declare module '@polkadot/types/types/registry' { ConfigData: ConfigData; Consensus: Consensus; ConsensusEngineId: ConsensusEngineId; + Constraints: Constraints; ConsumedWeight: ConsumedWeight; ContractCallFlags: ContractCallFlags; ContractCallRequest: ContractCallRequest; @@ -260,6 +272,7 @@ declare module '@polkadot/types/types/registry' { ContractContractSpecV2: ContractContractSpecV2; ContractContractSpecV3: ContractContractSpecV3; ContractContractSpecV4: ContractContractSpecV4; + ContractContractSpecV5: ContractContractSpecV5; ContractCryptoHasher: ContractCryptoHasher; ContractDiscriminant: ContractDiscriminant; ContractDisplayName: ContractDisplayName; @@ -271,6 +284,7 @@ declare module '@polkadot/types/types/registry' { ContractEventSpecV0: ContractEventSpecV0; ContractEventSpecV1: ContractEventSpecV1; ContractEventSpecV2: ContractEventSpecV2; + ContractEventSpecV3: ContractEventSpecV3; ContractExecResult: ContractExecResult; ContractExecResultOk: ContractExecResultOk; ContractExecResultResult: ContractExecResultResult; @@ -308,6 +322,7 @@ declare module '@polkadot/types/types/registry' { ContractMetadataV2: ContractMetadataV2; ContractMetadataV3: ContractMetadataV3; ContractMetadataV4: ContractMetadataV4; + ContractMetadataV5: ContractMetadataV5; ContractProject: ContractProject; ContractProjectContract: ContractProjectContract; ContractProjectInfo: ContractProjectInfo; @@ -326,12 +341,9 @@ declare module '@polkadot/types/types/registry' { CrateVersion: CrateVersion; CreatedBlock: CreatedBlock; CumulusPalletDmpQueueCall: CumulusPalletDmpQueueCall; - CumulusPalletDmpQueueConfigData: CumulusPalletDmpQueueConfigData; - CumulusPalletDmpQueueError: CumulusPalletDmpQueueError; CumulusPalletDmpQueueEvent: CumulusPalletDmpQueueEvent; - CumulusPalletDmpQueuePageIndexData: CumulusPalletDmpQueuePageIndexData; + CumulusPalletDmpQueueMigrationState: CumulusPalletDmpQueueMigrationState; CumulusPalletParachainSystemCall: CumulusPalletParachainSystemCall; - CumulusPalletParachainSystemCodeUpgradeAuthorization: CumulusPalletParachainSystemCodeUpgradeAuthorization; CumulusPalletParachainSystemError: CumulusPalletParachainSystemError; CumulusPalletParachainSystemEvent: CumulusPalletParachainSystemEvent; CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot; @@ -341,17 +353,15 @@ declare module '@polkadot/types/types/registry' { CumulusPalletParachainSystemUnincludedSegmentSegmentTracker: CumulusPalletParachainSystemUnincludedSegmentSegmentTracker; CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; CumulusPalletXcmCall: CumulusPalletXcmCall; - CumulusPalletXcmError: CumulusPalletXcmError; CumulusPalletXcmEvent: CumulusPalletXcmEvent; CumulusPalletXcmOrigin: CumulusPalletXcmOrigin; CumulusPalletXcmpQueueCall: CumulusPalletXcmpQueueCall; CumulusPalletXcmpQueueError: CumulusPalletXcmpQueueError; CumulusPalletXcmpQueueEvent: CumulusPalletXcmpQueueEvent; - CumulusPalletXcmpQueueInboundChannelDetails: CumulusPalletXcmpQueueInboundChannelDetails; - CumulusPalletXcmpQueueInboundState: CumulusPalletXcmpQueueInboundState; CumulusPalletXcmpQueueOutboundChannelDetails: CumulusPalletXcmpQueueOutboundChannelDetails; CumulusPalletXcmpQueueOutboundState: CumulusPalletXcmpQueueOutboundState; CumulusPalletXcmpQueueQueueConfigData: CumulusPalletXcmpQueueQueueConfigData; + CumulusPrimitivesCoreAggregateMessageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin; CumulusPrimitivesParachainInherentParachainInherentData: CumulusPrimitivesParachainInherentParachainInherentData; CustomMetadata15: CustomMetadata15; CustomValueMetadata15: CustomValueMetadata15; @@ -416,6 +426,7 @@ declare module '@polkadot/types/types/registry' { EraPoints: EraPoints; EraRewardPoints: EraRewardPoints; EraRewards: EraRewards; + Error: Error; ErrorMetadataLatest: ErrorMetadataLatest; ErrorMetadataV10: ErrorMetadataV10; ErrorMetadataV11: ErrorMetadataV11; @@ -513,6 +524,7 @@ declare module '@polkadot/types/types/registry' { ExtendedBalance: ExtendedBalance; Extrinsic: Extrinsic; ExtrinsicEra: ExtrinsicEra; + ExtrinsicInclusionMode: ExtrinsicInclusionMode; ExtrinsicMetadataLatest: ExtrinsicMetadataLatest; ExtrinsicMetadataV11: ExtrinsicMetadataV11; ExtrinsicMetadataV12: ExtrinsicMetadataV12; @@ -544,6 +556,8 @@ declare module '@polkadot/types/types/registry' { ForkTreePendingChange: ForkTreePendingChange; ForkTreePendingChangeNode: ForkTreePendingChangeNode; FpRpcTransactionStatus: FpRpcTransactionStatus; + FrameMetadataHashExtensionCheckMetadataHash: FrameMetadataHashExtensionCheckMetadataHash; + FrameMetadataHashExtensionMode: FrameMetadataHashExtensionMode; FrameSupportDispatchDispatchClass: FrameSupportDispatchDispatchClass; FrameSupportDispatchDispatchInfo: FrameSupportDispatchDispatchInfo; FrameSupportDispatchPays: FrameSupportDispatchPays; @@ -551,17 +565,19 @@ declare module '@polkadot/types/types/registry' { FrameSupportDispatchPerDispatchClassWeight: FrameSupportDispatchPerDispatchClassWeight; FrameSupportDispatchPerDispatchClassWeightsPerClass: FrameSupportDispatchPerDispatchClassWeightsPerClass; FrameSupportDispatchRawOrigin: FrameSupportDispatchRawOrigin; + FrameSupportMessagesProcessMessageError: FrameSupportMessagesProcessMessageError; FrameSupportPalletId: FrameSupportPalletId; FrameSupportPreimagesBounded: FrameSupportPreimagesBounded; FrameSupportScheduleDispatchTime: FrameSupportScheduleDispatchTime; FrameSupportTokensMiscBalanceStatus: FrameSupportTokensMiscBalanceStatus; + FrameSupportTokensMiscIdAmount: FrameSupportTokensMiscIdAmount; FrameSystemAccountInfo: FrameSystemAccountInfo; FrameSystemCall: FrameSystemCall; + FrameSystemCodeUpgradeAuthorization: FrameSystemCodeUpgradeAuthorization; FrameSystemError: FrameSystemError; FrameSystemEvent: FrameSystemEvent; FrameSystemEventRecord: FrameSystemEventRecord; FrameSystemExtensionsCheckGenesis: FrameSystemExtensionsCheckGenesis; - FrameSystemExtensionsCheckNonce: FrameSystemExtensionsCheckNonce; FrameSystemExtensionsCheckSpecVersion: FrameSystemExtensionsCheckSpecVersion; FrameSystemExtensionsCheckTxVersion: FrameSystemExtensionsCheckTxVersion; FrameSystemExtensionsCheckWeight: FrameSystemExtensionsCheckWeight; @@ -593,6 +609,7 @@ declare module '@polkadot/types/types/registry' { FungibilityV2: FungibilityV2; FungiblesAccessError: FungiblesAccessError; Gas: Gas; + GenesisBuildErr: GenesisBuildErr; GiltBid: GiltBid; GlobalValidationData: GlobalValidationData; GlobalValidationSchedule: GlobalValidationSchedule; @@ -649,6 +666,7 @@ declare module '@polkadot/types/types/registry' { ImmortalEra: ImmortalEra; ImportedAux: ImportedAux; InboundDownwardMessage: InboundDownwardMessage; + InboundHrmpLimitations: InboundHrmpLimitations; InboundHrmpMessage: InboundHrmpMessage; InboundHrmpMessages: InboundHrmpMessages; InboundLaneData: InboundLaneData; @@ -737,6 +755,8 @@ declare module '@polkadot/types/types/registry' { MetadataV15: MetadataV15; MetadataV9: MetadataV9; MigrationStatusResult: MigrationStatusResult; + Mixnode: Mixnode; + MixnodesErr: MixnodesErr; MmrBatchProof: MmrBatchProof; MmrEncodableOpaqueLeaf: MmrEncodableOpaqueLeaf; MmrError: MmrError; @@ -792,6 +812,7 @@ declare module '@polkadot/types/types/registry' { NextConfigDescriptorV1: NextConfigDescriptorV1; NftCollectionId: NftCollectionId; NftItemId: NftItemId; + NodeFeatures: NodeFeatures; NodeRole: NodeRole; Nominations: Nominations; NominatorIndex: NominatorIndex; @@ -831,12 +852,6 @@ declare module '@polkadot/types/types/registry' { OriginKindV0: OriginKindV0; OriginKindV1: OriginKindV1; OriginKindV2: OriginKindV2; - OrmlTokensAccountData: OrmlTokensAccountData; - OrmlTokensBalanceLock: OrmlTokensBalanceLock; - OrmlTokensModuleCall: OrmlTokensModuleCall; - OrmlTokensModuleError: OrmlTokensModuleError; - OrmlTokensModuleEvent: OrmlTokensModuleEvent; - OrmlTokensReserveData: OrmlTokensReserveData; OrmlVestingModuleCall: OrmlVestingModuleCall; OrmlVestingModuleError: OrmlVestingModuleError; OrmlVestingModuleEvent: OrmlVestingModuleEvent; @@ -844,6 +859,7 @@ declare module '@polkadot/types/types/registry' { OrmlXtokensModuleCall: OrmlXtokensModuleCall; OrmlXtokensModuleError: OrmlXtokensModuleError; OrmlXtokensModuleEvent: OrmlXtokensModuleEvent; + OutboundHrmpChannelLimitations: OutboundHrmpChannelLimitations; OutboundHrmpMessage: OutboundHrmpMessage; OutboundLaneData: OutboundLaneData; OutboundMessageFee: OutboundMessageFee; @@ -859,11 +875,11 @@ declare module '@polkadot/types/types/registry' { PalletAppPromotionError: PalletAppPromotionError; PalletAppPromotionEvent: PalletAppPromotionEvent; PalletBalancesAccountData: PalletBalancesAccountData; + PalletBalancesAdjustmentDirection: PalletBalancesAdjustmentDirection; PalletBalancesBalanceLock: PalletBalancesBalanceLock; PalletBalancesCall: PalletBalancesCall; PalletBalancesError: PalletBalancesError; PalletBalancesEvent: PalletBalancesEvent; - PalletBalancesIdAmount: PalletBalancesIdAmount; PalletBalancesReasons: PalletBalancesReasons; PalletBalancesReserveData: PalletBalancesReserveData; PalletCallMetadataLatest: PalletCallMetadataLatest; @@ -920,12 +936,12 @@ declare module '@polkadot/types/types/registry' { PalletEvmMigrationCall: PalletEvmMigrationCall; PalletEvmMigrationError: PalletEvmMigrationError; PalletEvmMigrationEvent: PalletEvmMigrationEvent; - PalletForeignAssetsAssetId: PalletForeignAssetsAssetId; - PalletForeignAssetsModuleAssetMetadata: PalletForeignAssetsModuleAssetMetadata; + PalletForeignAssetsForeignCollectionMode: PalletForeignAssetsForeignCollectionMode; + PalletForeignAssetsMigrationStatus: PalletForeignAssetsMigrationStatus; + PalletForeignAssetsMigrationStatusV3ToV4: PalletForeignAssetsMigrationStatusV3ToV4; PalletForeignAssetsModuleCall: PalletForeignAssetsModuleCall; PalletForeignAssetsModuleError: PalletForeignAssetsModuleError; PalletForeignAssetsModuleEvent: PalletForeignAssetsModuleEvent; - PalletForeignAssetsNativeCurrency: PalletForeignAssetsNativeCurrency; PalletFungibleError: PalletFungibleError; PalletGovOriginsOrigin: PalletGovOriginsOrigin; PalletId: PalletId; @@ -945,6 +961,12 @@ declare module '@polkadot/types/types/registry' { PalletMembershipCall: PalletMembershipCall; PalletMembershipError: PalletMembershipError; PalletMembershipEvent: PalletMembershipEvent; + PalletMessageQueueBookState: PalletMessageQueueBookState; + PalletMessageQueueCall: PalletMessageQueueCall; + PalletMessageQueueError: PalletMessageQueueError; + PalletMessageQueueEvent: PalletMessageQueueEvent; + PalletMessageQueueNeighbours: PalletMessageQueueNeighbours; + PalletMessageQueuePage: PalletMessageQueuePage; PalletMetadataLatest: PalletMetadataLatest; PalletMetadataV14: PalletMetadataV14; PalletMetadataV15: PalletMetadataV15; @@ -953,6 +975,8 @@ declare module '@polkadot/types/types/registry' { PalletPreimageCall: PalletPreimageCall; PalletPreimageError: PalletPreimageError; PalletPreimageEvent: PalletPreimageEvent; + PalletPreimageHoldReason: PalletPreimageHoldReason; + PalletPreimageOldRequestStatus: PalletPreimageOldRequestStatus; PalletPreimageRequestStatus: PalletPreimageRequestStatus; PalletRankedCollectiveCall: PalletRankedCollectiveCall; PalletRankedCollectiveError: PalletRankedCollectiveError; @@ -973,6 +997,7 @@ declare module '@polkadot/types/types/registry' { PalletSchedulerCall: PalletSchedulerCall; PalletSchedulerError: PalletSchedulerError; PalletSchedulerEvent: PalletSchedulerEvent; + PalletSchedulerRetryConfig: PalletSchedulerRetryConfig; PalletSchedulerScheduled: PalletSchedulerScheduled; PalletSessionCall: PalletSessionCall; PalletSessionError: PalletSessionError; @@ -981,6 +1006,7 @@ declare module '@polkadot/types/types/registry' { PalletStateTrieMigrationCall: PalletStateTrieMigrationCall; PalletStateTrieMigrationError: PalletStateTrieMigrationError; PalletStateTrieMigrationEvent: PalletStateTrieMigrationEvent; + PalletStateTrieMigrationHoldReason: PalletStateTrieMigrationHoldReason; PalletStateTrieMigrationMigrationCompute: PalletStateTrieMigrationMigrationCompute; PalletStateTrieMigrationMigrationLimits: PalletStateTrieMigrationMigrationLimits; PalletStateTrieMigrationMigrationTask: PalletStateTrieMigrationMigrationTask; @@ -994,6 +1020,7 @@ declare module '@polkadot/types/types/registry' { PalletSudoError: PalletSudoError; PalletSudoEvent: PalletSudoEvent; PalletTemplateTransactionPaymentChargeTransactionPayment: PalletTemplateTransactionPaymentChargeTransactionPayment; + PalletTemplateTransactionPaymentCheckNonce: PalletTemplateTransactionPaymentCheckNonce; PalletTestUtilsCall: PalletTestUtilsCall; PalletTestUtilsError: PalletTestUtilsError; PalletTestUtilsEvent: PalletTestUtilsEvent; @@ -1003,7 +1030,9 @@ declare module '@polkadot/types/types/registry' { PalletTreasuryCall: PalletTreasuryCall; PalletTreasuryError: PalletTreasuryError; PalletTreasuryEvent: PalletTreasuryEvent; + PalletTreasuryPaymentState: PalletTreasuryPaymentState; PalletTreasuryProposal: PalletTreasuryProposal; + PalletTreasurySpendStatus: PalletTreasurySpendStatus; PalletUniqueCall: PalletUniqueCall; PalletUniqueError: PalletUniqueError; PalletUtilityCall: PalletUtilityCall; @@ -1018,7 +1047,6 @@ declare module '@polkadot/types/types/registry' { PalletXcmRemoteLockedFungibleRecord: PalletXcmRemoteLockedFungibleRecord; PalletXcmVersionMigrationStage: PalletXcmVersionMigrationStage; ParachainDispatchOrigin: ParachainDispatchOrigin; - ParachainInfoCall: ParachainInfoCall; ParachainInherentData: ParachainInherentData; ParachainProposal: ParachainProposal; ParachainsInherentData: ParachainsInherentData; @@ -1065,13 +1093,12 @@ declare module '@polkadot/types/types/registry' { PolkadotCorePrimitivesInboundDownwardMessage: PolkadotCorePrimitivesInboundDownwardMessage; PolkadotCorePrimitivesInboundHrmpMessage: PolkadotCorePrimitivesInboundHrmpMessage; PolkadotCorePrimitivesOutboundHrmpMessage: PolkadotCorePrimitivesOutboundHrmpMessage; - PolkadotParachainPrimitivesPrimitivesXcmpMessageFormat: PolkadotParachainPrimitivesPrimitivesXcmpMessageFormat; - PolkadotPrimitivesV5AbridgedHostConfiguration: PolkadotPrimitivesV5AbridgedHostConfiguration; - PolkadotPrimitivesV5AbridgedHrmpChannel: PolkadotPrimitivesV5AbridgedHrmpChannel; - PolkadotPrimitivesV5PersistedValidationData: PolkadotPrimitivesV5PersistedValidationData; - PolkadotPrimitivesV5UpgradeGoAhead: PolkadotPrimitivesV5UpgradeGoAhead; - PolkadotPrimitivesV5UpgradeRestriction: PolkadotPrimitivesV5UpgradeRestriction; - PolkadotPrimitivesVstagingAsyncBackingParams: PolkadotPrimitivesVstagingAsyncBackingParams; + PolkadotPrimitivesV7AbridgedHostConfiguration: PolkadotPrimitivesV7AbridgedHostConfiguration; + PolkadotPrimitivesV7AbridgedHrmpChannel: PolkadotPrimitivesV7AbridgedHrmpChannel; + PolkadotPrimitivesV7AsyncBackingAsyncBackingParams: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams; + PolkadotPrimitivesV7PersistedValidationData: PolkadotPrimitivesV7PersistedValidationData; + PolkadotPrimitivesV7UpgradeGoAhead: PolkadotPrimitivesV7UpgradeGoAhead; + PolkadotPrimitivesV7UpgradeRestriction: PolkadotPrimitivesV7UpgradeRestriction; PortableType: PortableType; PortableTypeV14: PortableTypeV14; Precommits: Precommits; @@ -1207,6 +1234,8 @@ declare module '@polkadot/types/types/registry' { SessionKeys8B: SessionKeys8B; SessionKeys9: SessionKeys9; SessionKeys9B: SessionKeys9B; + SessionPhase: SessionPhase; + SessionStatus: SessionStatus; SetId: SetId; SetIndex: SetIndex; Si0Field: Si0Field; @@ -1287,12 +1316,9 @@ declare module '@polkadot/types/types/registry' { SpArithmeticArithmeticError: SpArithmeticArithmeticError; SpConsensusAuraSr25519AppSr25519Public: SpConsensusAuraSr25519AppSr25519Public; SpCoreCryptoKeyTypeId: SpCoreCryptoKeyTypeId; - SpCoreEcdsaSignature: SpCoreEcdsaSignature; - SpCoreEd25519Signature: SpCoreEd25519Signature; - SpCoreSr25519Public: SpCoreSr25519Public; - SpCoreSr25519Signature: SpCoreSr25519Signature; SpCoreVoid: SpCoreVoid; SpecVersion: SpecVersion; + SpRuntimeBlakeTwo256: SpRuntimeBlakeTwo256; SpRuntimeDigest: SpRuntimeDigest; SpRuntimeDigestDigestItem: SpRuntimeDigestDigestItem; SpRuntimeDispatchError: SpRuntimeDispatchError; @@ -1308,61 +1334,35 @@ declare module '@polkadot/types/types/registry' { SpWeightsRuntimeDbWeight: SpWeightsRuntimeDbWeight; SpWeightsWeightV2Weight: SpWeightsWeightV2Weight; Sr25519Signature: Sr25519Signature; - StagingXcmDoubleEncoded: StagingXcmDoubleEncoded; - StagingXcmV2BodyId: StagingXcmV2BodyId; - StagingXcmV2BodyPart: StagingXcmV2BodyPart; - StagingXcmV2Instruction: StagingXcmV2Instruction; - StagingXcmV2Junction: StagingXcmV2Junction; - StagingXcmV2MultiAsset: StagingXcmV2MultiAsset; - StagingXcmV2MultiassetAssetId: StagingXcmV2MultiassetAssetId; - StagingXcmV2MultiassetAssetInstance: StagingXcmV2MultiassetAssetInstance; - StagingXcmV2MultiassetFungibility: StagingXcmV2MultiassetFungibility; - StagingXcmV2MultiassetMultiAssetFilter: StagingXcmV2MultiassetMultiAssetFilter; - StagingXcmV2MultiassetMultiAssets: StagingXcmV2MultiassetMultiAssets; - StagingXcmV2MultiassetWildFungibility: StagingXcmV2MultiassetWildFungibility; - StagingXcmV2MultiassetWildMultiAsset: StagingXcmV2MultiassetWildMultiAsset; - StagingXcmV2MultiLocation: StagingXcmV2MultiLocation; - StagingXcmV2MultilocationJunctions: StagingXcmV2MultilocationJunctions; - StagingXcmV2NetworkId: StagingXcmV2NetworkId; - StagingXcmV2OriginKind: StagingXcmV2OriginKind; - StagingXcmV2Response: StagingXcmV2Response; - StagingXcmV2TraitsError: StagingXcmV2TraitsError; - StagingXcmV2WeightLimit: StagingXcmV2WeightLimit; - StagingXcmV2Xcm: StagingXcmV2Xcm; - StagingXcmV3Instruction: StagingXcmV3Instruction; - StagingXcmV3Junction: StagingXcmV3Junction; - StagingXcmV3JunctionBodyId: StagingXcmV3JunctionBodyId; - StagingXcmV3JunctionBodyPart: StagingXcmV3JunctionBodyPart; - StagingXcmV3JunctionNetworkId: StagingXcmV3JunctionNetworkId; - StagingXcmV3Junctions: StagingXcmV3Junctions; - StagingXcmV3MaybeErrorCode: StagingXcmV3MaybeErrorCode; - StagingXcmV3MultiAsset: StagingXcmV3MultiAsset; - StagingXcmV3MultiassetAssetId: StagingXcmV3MultiassetAssetId; - StagingXcmV3MultiassetAssetInstance: StagingXcmV3MultiassetAssetInstance; - StagingXcmV3MultiassetFungibility: StagingXcmV3MultiassetFungibility; - StagingXcmV3MultiassetMultiAssetFilter: StagingXcmV3MultiassetMultiAssetFilter; - StagingXcmV3MultiassetMultiAssets: StagingXcmV3MultiassetMultiAssets; - StagingXcmV3MultiassetWildFungibility: StagingXcmV3MultiassetWildFungibility; - StagingXcmV3MultiassetWildMultiAsset: StagingXcmV3MultiassetWildMultiAsset; + StagingParachainInfoCall: StagingParachainInfoCall; + StagingXcmExecutorAssetTransferTransferType: StagingXcmExecutorAssetTransferTransferType; StagingXcmV3MultiLocation: StagingXcmV3MultiLocation; - StagingXcmV3PalletInfo: StagingXcmV3PalletInfo; - StagingXcmV3QueryResponseInfo: StagingXcmV3QueryResponseInfo; - StagingXcmV3Response: StagingXcmV3Response; - StagingXcmV3TraitsError: StagingXcmV3TraitsError; - StagingXcmV3TraitsOutcome: StagingXcmV3TraitsOutcome; - StagingXcmV3WeightLimit: StagingXcmV3WeightLimit; - StagingXcmV3Xcm: StagingXcmV3Xcm; - StagingXcmVersionedAssetId: StagingXcmVersionedAssetId; - StagingXcmVersionedMultiAsset: StagingXcmVersionedMultiAsset; - StagingXcmVersionedMultiAssets: StagingXcmVersionedMultiAssets; - StagingXcmVersionedMultiLocation: StagingXcmVersionedMultiLocation; - StagingXcmVersionedResponse: StagingXcmVersionedResponse; - StagingXcmVersionedXcm: StagingXcmVersionedXcm; + StagingXcmV4Asset: StagingXcmV4Asset; + StagingXcmV4AssetAssetFilter: StagingXcmV4AssetAssetFilter; + StagingXcmV4AssetAssetId: StagingXcmV4AssetAssetId; + StagingXcmV4AssetAssetInstance: StagingXcmV4AssetAssetInstance; + StagingXcmV4AssetAssets: StagingXcmV4AssetAssets; + StagingXcmV4AssetFungibility: StagingXcmV4AssetFungibility; + StagingXcmV4AssetWildAsset: StagingXcmV4AssetWildAsset; + StagingXcmV4AssetWildFungibility: StagingXcmV4AssetWildFungibility; + StagingXcmV4Instruction: StagingXcmV4Instruction; + StagingXcmV4Junction: StagingXcmV4Junction; + StagingXcmV4JunctionNetworkId: StagingXcmV4JunctionNetworkId; + StagingXcmV4Junctions: StagingXcmV4Junctions; + StagingXcmV4Location: StagingXcmV4Location; + StagingXcmV4PalletInfo: StagingXcmV4PalletInfo; + StagingXcmV4QueryResponseInfo: StagingXcmV4QueryResponseInfo; + StagingXcmV4Response: StagingXcmV4Response; + StagingXcmV4TraitsOutcome: StagingXcmV4TraitsOutcome; + StagingXcmV4Xcm: StagingXcmV4Xcm; StakingLedger: StakingLedger; StakingLedgerTo223: StakingLedgerTo223; StakingLedgerTo240: StakingLedgerTo240; Statement: Statement; StatementKind: StatementKind; + StatementStoreInvalidStatement: StatementStoreInvalidStatement; + StatementStoreStatementSource: StatementStoreStatementSource; + StatementStoreValidStatement: StatementStoreValidStatement; StorageChangeSet: StorageChangeSet; StorageData: StorageData; StorageDeposit: StorageDeposit; @@ -1415,6 +1415,7 @@ declare module '@polkadot/types/types/registry' { Tally: Tally; TaskAddress: TaskAddress; TAssetBalance: TAssetBalance; + TAssetConversion: TAssetConversion; TAssetDepositBalance: TAssetDepositBalance; Text: Text; Timepoint: Timepoint; @@ -1568,6 +1569,7 @@ declare module '@polkadot/types/types/registry' { WithdrawReasons: WithdrawReasons; Xcm: Xcm; XcmAssetId: XcmAssetId; + XcmDoubleEncoded: XcmDoubleEncoded; XcmError: XcmError; XcmErrorV0: XcmErrorV0; XcmErrorV1: XcmErrorV1; @@ -1578,10 +1580,59 @@ declare module '@polkadot/types/types/registry' { XcmOrderV2: XcmOrderV2; XcmOrigin: XcmOrigin; XcmOriginKind: XcmOriginKind; + XcmPaymentApiError: XcmPaymentApiError; XcmpMessageFormat: XcmpMessageFormat; XcmV0: XcmV0; XcmV1: XcmV1; XcmV2: XcmV2; + XcmV2BodyId: XcmV2BodyId; + XcmV2BodyPart: XcmV2BodyPart; + XcmV2Instruction: XcmV2Instruction; + XcmV2Junction: XcmV2Junction; + XcmV2MultiAsset: XcmV2MultiAsset; + XcmV2MultiassetAssetId: XcmV2MultiassetAssetId; + XcmV2MultiassetAssetInstance: XcmV2MultiassetAssetInstance; + XcmV2MultiassetFungibility: XcmV2MultiassetFungibility; + XcmV2MultiassetMultiAssetFilter: XcmV2MultiassetMultiAssetFilter; + XcmV2MultiassetMultiAssets: XcmV2MultiassetMultiAssets; + XcmV2MultiassetWildFungibility: XcmV2MultiassetWildFungibility; + XcmV2MultiassetWildMultiAsset: XcmV2MultiassetWildMultiAsset; + XcmV2MultiLocation: XcmV2MultiLocation; + XcmV2MultilocationJunctions: XcmV2MultilocationJunctions; + XcmV2NetworkId: XcmV2NetworkId; + XcmV2OriginKind: XcmV2OriginKind; + XcmV2Response: XcmV2Response; + XcmV2TraitsError: XcmV2TraitsError; + XcmV2WeightLimit: XcmV2WeightLimit; + XcmV2Xcm: XcmV2Xcm; + XcmV3Instruction: XcmV3Instruction; + XcmV3Junction: XcmV3Junction; + XcmV3JunctionBodyId: XcmV3JunctionBodyId; + XcmV3JunctionBodyPart: XcmV3JunctionBodyPart; + XcmV3JunctionNetworkId: XcmV3JunctionNetworkId; + XcmV3Junctions: XcmV3Junctions; + XcmV3MaybeErrorCode: XcmV3MaybeErrorCode; + XcmV3MultiAsset: XcmV3MultiAsset; + XcmV3MultiassetAssetId: XcmV3MultiassetAssetId; + XcmV3MultiassetAssetInstance: XcmV3MultiassetAssetInstance; + XcmV3MultiassetFungibility: XcmV3MultiassetFungibility; + XcmV3MultiassetMultiAssetFilter: XcmV3MultiassetMultiAssetFilter; + XcmV3MultiassetMultiAssets: XcmV3MultiassetMultiAssets; + XcmV3MultiassetWildFungibility: XcmV3MultiassetWildFungibility; + XcmV3MultiassetWildMultiAsset: XcmV3MultiassetWildMultiAsset; + XcmV3OriginKind: XcmV3OriginKind; + XcmV3PalletInfo: XcmV3PalletInfo; + XcmV3QueryResponseInfo: XcmV3QueryResponseInfo; + XcmV3Response: XcmV3Response; + XcmV3TraitsError: XcmV3TraitsError; + XcmV3WeightLimit: XcmV3WeightLimit; + XcmV3Xcm: XcmV3Xcm; XcmVersion: XcmVersion; + XcmVersionedAsset: XcmVersionedAsset; + XcmVersionedAssetId: XcmVersionedAssetId; + XcmVersionedAssets: XcmVersionedAssets; + XcmVersionedLocation: XcmVersionedLocation; + XcmVersionedResponse: XcmVersionedResponse; + XcmVersionedXcm: XcmVersionedXcm; } // InterfaceTypes } // declare module diff --git a/js-packages/types/default/types.ts b/js-packages/types/default/types.ts index 43c35ad6da..fd6c6df765 100644 --- a/js-packages/types/default/types.ts +++ b/js-packages/types/default/types.ts @@ -9,74 +9,61 @@ import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polk import type { Event } from '@polkadot/types/interfaces/system'; /** @name CumulusPalletDmpQueueCall */ -export interface CumulusPalletDmpQueueCall extends Enum { - readonly isServiceOverweight: boolean; - readonly asServiceOverweight: { - readonly index: u64; - readonly weightLimit: SpWeightsWeightV2Weight; - } & Struct; - readonly type: 'ServiceOverweight'; -} - -/** @name CumulusPalletDmpQueueConfigData */ -export interface CumulusPalletDmpQueueConfigData extends Struct { - readonly maxIndividual: SpWeightsWeightV2Weight; -} - -/** @name CumulusPalletDmpQueueError */ -export interface CumulusPalletDmpQueueError extends Enum { - readonly isUnknown: boolean; - readonly isOverLimit: boolean; - readonly type: 'Unknown' | 'OverLimit'; -} +export interface CumulusPalletDmpQueueCall extends Null {} /** @name CumulusPalletDmpQueueEvent */ export interface CumulusPalletDmpQueueEvent extends Enum { - readonly isInvalidFormat: boolean; - readonly asInvalidFormat: { - readonly messageHash: U8aFixed; + readonly isStartedExport: boolean; + readonly isExported: boolean; + readonly asExported: { + readonly page: u32; + } & Struct; + readonly isExportFailed: boolean; + readonly asExportFailed: { + readonly page: u32; + } & Struct; + readonly isCompletedExport: boolean; + readonly isStartedOverweightExport: boolean; + readonly isExportedOverweight: boolean; + readonly asExportedOverweight: { + readonly index: u64; } & Struct; - readonly isUnsupportedVersion: boolean; - readonly asUnsupportedVersion: { - readonly messageHash: U8aFixed; + readonly isExportOverweightFailed: boolean; + readonly asExportOverweightFailed: { + readonly index: u64; } & Struct; - readonly isExecutedDownward: boolean; - readonly asExecutedDownward: { - readonly messageHash: U8aFixed; - readonly messageId: U8aFixed; - readonly outcome: StagingXcmV3TraitsOutcome; + readonly isCompletedOverweightExport: boolean; + readonly isStartedCleanup: boolean; + readonly isCleanedSome: boolean; + readonly asCleanedSome: { + readonly keysRemoved: u32; } & Struct; - readonly isWeightExhausted: boolean; - readonly asWeightExhausted: { - readonly messageHash: U8aFixed; - readonly messageId: U8aFixed; - readonly remainingWeight: SpWeightsWeightV2Weight; - readonly requiredWeight: SpWeightsWeightV2Weight; + readonly isCompleted: boolean; + readonly asCompleted: { + readonly error: bool; } & Struct; - readonly isOverweightEnqueued: boolean; - readonly asOverweightEnqueued: { - readonly messageHash: U8aFixed; - readonly messageId: U8aFixed; - readonly overweightIndex: u64; - readonly requiredWeight: SpWeightsWeightV2Weight; + readonly type: 'StartedExport' | 'Exported' | 'ExportFailed' | 'CompletedExport' | 'StartedOverweightExport' | 'ExportedOverweight' | 'ExportOverweightFailed' | 'CompletedOverweightExport' | 'StartedCleanup' | 'CleanedSome' | 'Completed'; +} + +/** @name CumulusPalletDmpQueueMigrationState */ +export interface CumulusPalletDmpQueueMigrationState extends Enum { + readonly isNotStarted: boolean; + readonly isStartedExport: boolean; + readonly asStartedExport: { + readonly nextBeginUsed: u32; } & Struct; - readonly isOverweightServiced: boolean; - readonly asOverweightServiced: { - readonly overweightIndex: u64; - readonly weightUsed: SpWeightsWeightV2Weight; + readonly isCompletedExport: boolean; + readonly isStartedOverweightExport: boolean; + readonly asStartedOverweightExport: { + readonly nextOverweightIndex: u64; } & Struct; - readonly isMaxMessagesExhausted: boolean; - readonly asMaxMessagesExhausted: { - readonly messageHash: U8aFixed; + readonly isCompletedOverweightExport: boolean; + readonly isStartedCleanup: boolean; + readonly asStartedCleanup: { + readonly cursor: Option; } & Struct; - readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced' | 'MaxMessagesExhausted'; -} - -/** @name CumulusPalletDmpQueuePageIndexData */ -export interface CumulusPalletDmpQueuePageIndexData extends Struct { - readonly beginUsed: u32; - readonly endUsed: u32; - readonly overweightCount: u64; + readonly isCompleted: boolean; + readonly type: 'NotStarted' | 'StartedExport' | 'CompletedExport' | 'StartedOverweightExport' | 'CompletedOverweightExport' | 'StartedCleanup' | 'Completed'; } /** @name CumulusPalletParachainSystemCall */ @@ -101,12 +88,6 @@ export interface CumulusPalletParachainSystemCall extends Enum { readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade'; } -/** @name CumulusPalletParachainSystemCodeUpgradeAuthorization */ -export interface CumulusPalletParachainSystemCodeUpgradeAuthorization extends Struct { - readonly codeHash: H256; - readonly checkVersion: bool; -} - /** @name CumulusPalletParachainSystemError */ export interface CumulusPalletParachainSystemError extends Enum { readonly isOverlappingUpgrades: boolean; @@ -128,10 +109,6 @@ export interface CumulusPalletParachainSystemEvent extends Enum { readonly relayChainBlockNum: u32; } & Struct; readonly isValidationFunctionDiscarded: boolean; - readonly isUpgradeAuthorized: boolean; - readonly asUpgradeAuthorized: { - readonly codeHash: H256; - } & Struct; readonly isDownwardMessagesReceived: boolean; readonly asDownwardMessagesReceived: { readonly count: u32; @@ -145,15 +122,15 @@ export interface CumulusPalletParachainSystemEvent extends Enum { readonly asUpwardMessageSent: { readonly messageHash: Option; } & Struct; - readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed' | 'UpwardMessageSent'; + readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed' | 'UpwardMessageSent'; } /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */ export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct { readonly dmqMqcHead: H256; readonly relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity; - readonly ingressChannels: Vec>; - readonly egressChannels: Vec>; + readonly ingressChannels: Vec>; + readonly egressChannels: Vec>; } /** @name CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity */ @@ -166,7 +143,7 @@ export interface CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueu export interface CumulusPalletParachainSystemUnincludedSegmentAncestor extends Struct { readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; readonly paraHeadHash: Option; - readonly consumedGoAheadSignal: Option; + readonly consumedGoAheadSignal: Option; } /** @name CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate */ @@ -179,7 +156,7 @@ export interface CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate export interface CumulusPalletParachainSystemUnincludedSegmentSegmentTracker extends Struct { readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; readonly hrmpWatermark: Option; - readonly consumedGoAheadSignal: Option; + readonly consumedGoAheadSignal: Option; } /** @name CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth */ @@ -192,9 +169,6 @@ export interface CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth exte /** @name CumulusPalletXcmCall */ export interface CumulusPalletXcmCall extends Null {} -/** @name CumulusPalletXcmError */ -export interface CumulusPalletXcmError extends Null {} - /** @name CumulusPalletXcmEvent */ export interface CumulusPalletXcmEvent extends Enum { readonly isInvalidFormat: boolean; @@ -202,7 +176,7 @@ export interface CumulusPalletXcmEvent extends Enum { readonly isUnsupportedVersion: boolean; readonly asUnsupportedVersion: U8aFixed; readonly isExecutedDownward: boolean; - readonly asExecutedDownward: ITuple<[U8aFixed, StagingXcmV3TraitsOutcome]>; + readonly asExecutedDownward: ITuple<[U8aFixed, StagingXcmV4TraitsOutcome]>; readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward'; } @@ -216,11 +190,6 @@ export interface CumulusPalletXcmOrigin extends Enum { /** @name CumulusPalletXcmpQueueCall */ export interface CumulusPalletXcmpQueueCall extends Enum { - readonly isServiceOverweight: boolean; - readonly asServiceOverweight: { - readonly index: u64; - readonly weightLimit: SpWeightsWeightV2Weight; - } & Struct; readonly isSuspendXcmExecution: boolean; readonly isResumeXcmExecution: boolean; readonly isUpdateSuspendThreshold: boolean; @@ -235,85 +204,26 @@ export interface CumulusPalletXcmpQueueCall extends Enum { readonly asUpdateResumeThreshold: { readonly new_: u32; } & Struct; - readonly isUpdateThresholdWeight: boolean; - readonly asUpdateThresholdWeight: { - readonly new_: SpWeightsWeightV2Weight; - } & Struct; - readonly isUpdateWeightRestrictDecay: boolean; - readonly asUpdateWeightRestrictDecay: { - readonly new_: SpWeightsWeightV2Weight; - } & Struct; - readonly isUpdateXcmpMaxIndividualWeight: boolean; - readonly asUpdateXcmpMaxIndividualWeight: { - readonly new_: SpWeightsWeightV2Weight; - } & Struct; - readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight'; + readonly type: 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold'; } /** @name CumulusPalletXcmpQueueError */ export interface CumulusPalletXcmpQueueError extends Enum { - readonly isFailedToSend: boolean; - readonly isBadXcmOrigin: boolean; - readonly isBadXcm: boolean; - readonly isBadOverweightIndex: boolean; - readonly isWeightOverLimit: boolean; - readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit'; + readonly isBadQueueConfig: boolean; + readonly isAlreadySuspended: boolean; + readonly isAlreadyResumed: boolean; + readonly isTooManyActiveOutboundChannels: boolean; + readonly isTooBig: boolean; + readonly type: 'BadQueueConfig' | 'AlreadySuspended' | 'AlreadyResumed' | 'TooManyActiveOutboundChannels' | 'TooBig'; } /** @name CumulusPalletXcmpQueueEvent */ export interface CumulusPalletXcmpQueueEvent extends Enum { - readonly isSuccess: boolean; - readonly asSuccess: { - readonly messageHash: U8aFixed; - readonly messageId: U8aFixed; - readonly weight: SpWeightsWeightV2Weight; - } & Struct; - readonly isFail: boolean; - readonly asFail: { - readonly messageHash: U8aFixed; - readonly messageId: U8aFixed; - readonly error: StagingXcmV3TraitsError; - readonly weight: SpWeightsWeightV2Weight; - } & Struct; - readonly isBadVersion: boolean; - readonly asBadVersion: { - readonly messageHash: U8aFixed; - } & Struct; - readonly isBadFormat: boolean; - readonly asBadFormat: { - readonly messageHash: U8aFixed; - } & Struct; readonly isXcmpMessageSent: boolean; readonly asXcmpMessageSent: { readonly messageHash: U8aFixed; } & Struct; - readonly isOverweightEnqueued: boolean; - readonly asOverweightEnqueued: { - readonly sender: u32; - readonly sentAt: u32; - readonly index: u64; - readonly required: SpWeightsWeightV2Weight; - } & Struct; - readonly isOverweightServiced: boolean; - readonly asOverweightServiced: { - readonly index: u64; - readonly used: SpWeightsWeightV2Weight; - } & Struct; - readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced'; -} - -/** @name CumulusPalletXcmpQueueInboundChannelDetails */ -export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct { - readonly sender: u32; - readonly state: CumulusPalletXcmpQueueInboundState; - readonly messageMetadata: Vec>; -} - -/** @name CumulusPalletXcmpQueueInboundState */ -export interface CumulusPalletXcmpQueueInboundState extends Enum { - readonly isOk: boolean; - readonly isSuspended: boolean; - readonly type: 'Ok' | 'Suspended'; + readonly type: 'XcmpMessageSent'; } /** @name CumulusPalletXcmpQueueOutboundChannelDetails */ @@ -337,14 +247,20 @@ export interface CumulusPalletXcmpQueueQueueConfigData extends Struct { readonly suspendThreshold: u32; readonly dropThreshold: u32; readonly resumeThreshold: u32; - readonly thresholdWeight: SpWeightsWeightV2Weight; - readonly weightRestrictDecay: SpWeightsWeightV2Weight; - readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight; +} + +/** @name CumulusPrimitivesCoreAggregateMessageOrigin */ +export interface CumulusPrimitivesCoreAggregateMessageOrigin extends Enum { + readonly isHere: boolean; + readonly isParent: boolean; + readonly isSibling: boolean; + readonly asSibling: u32; + readonly type: 'Here' | 'Parent' | 'Sibling'; } /** @name CumulusPrimitivesParachainInherentParachainInherentData */ export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct { - readonly validationData: PolkadotPrimitivesV5PersistedValidationData; + readonly validationData: PolkadotPrimitivesV7PersistedValidationData; readonly relayChainState: SpTrieStorageProof; readonly downwardMessages: Vec; readonly horizontalMessages: BTreeMap>; @@ -554,6 +470,18 @@ export interface FpRpcTransactionStatus extends Struct { readonly logsBloom: EthbloomBloom; } +/** @name FrameMetadataHashExtensionCheckMetadataHash */ +export interface FrameMetadataHashExtensionCheckMetadataHash extends Struct { + readonly mode: FrameMetadataHashExtensionMode; +} + +/** @name FrameMetadataHashExtensionMode */ +export interface FrameMetadataHashExtensionMode extends Enum { + readonly isDisabled: boolean; + readonly isEnabled: boolean; + readonly type: 'Disabled' | 'Enabled'; +} + /** @name FrameSupportDispatchDispatchClass */ export interface FrameSupportDispatchDispatchClass extends Enum { readonly isNormal: boolean; @@ -606,6 +534,18 @@ export interface FrameSupportDispatchRawOrigin extends Enum { readonly type: 'Root' | 'Signed' | 'None'; } +/** @name FrameSupportMessagesProcessMessageError */ +export interface FrameSupportMessagesProcessMessageError extends Enum { + readonly isBadFormat: boolean; + readonly isCorrupt: boolean; + readonly isUnsupported: boolean; + readonly isOverweight: boolean; + readonly asOverweight: SpWeightsWeightV2Weight; + readonly isYield: boolean; + readonly isStackLimitReached: boolean; + readonly type: 'BadFormat' | 'Corrupt' | 'Unsupported' | 'Overweight' | 'Yield' | 'StackLimitReached'; +} + /** @name FrameSupportPalletId */ export interface FrameSupportPalletId extends U8aFixed {} @@ -641,6 +581,12 @@ export interface FrameSupportTokensMiscBalanceStatus extends Enum { readonly type: 'Free' | 'Reserved'; } +/** @name FrameSupportTokensMiscIdAmount */ +export interface FrameSupportTokensMiscIdAmount extends Struct { + readonly id: U8aFixed; + readonly amount: u128; +} + /** @name FrameSystemAccountInfo */ export interface FrameSystemAccountInfo extends Struct { readonly nonce: u32; @@ -685,7 +631,25 @@ export interface FrameSystemCall extends Enum { readonly asRemarkWithEvent: { readonly remark: Bytes; } & Struct; - readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent'; + readonly isAuthorizeUpgrade: boolean; + readonly asAuthorizeUpgrade: { + readonly codeHash: H256; + } & Struct; + readonly isAuthorizeUpgradeWithoutChecks: boolean; + readonly asAuthorizeUpgradeWithoutChecks: { + readonly codeHash: H256; + } & Struct; + readonly isApplyAuthorizedUpgrade: boolean; + readonly asApplyAuthorizedUpgrade: { + readonly code: Bytes; + } & Struct; + readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent' | 'AuthorizeUpgrade' | 'AuthorizeUpgradeWithoutChecks' | 'ApplyAuthorizedUpgrade'; +} + +/** @name FrameSystemCodeUpgradeAuthorization */ +export interface FrameSystemCodeUpgradeAuthorization extends Struct { + readonly codeHash: H256; + readonly checkVersion: bool; } /** @name FrameSystemError */ @@ -696,7 +660,10 @@ export interface FrameSystemError extends Enum { readonly isNonDefaultComposite: boolean; readonly isNonZeroRefCount: boolean; readonly isCallFiltered: boolean; - readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered'; + readonly isMultiBlockMigrationsOngoing: boolean; + readonly isNothingAuthorized: boolean; + readonly isUnauthorized: boolean; + readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered' | 'MultiBlockMigrationsOngoing' | 'NothingAuthorized' | 'Unauthorized'; } /** @name FrameSystemEvent */ @@ -724,7 +691,12 @@ export interface FrameSystemEvent extends Enum { readonly sender: AccountId32; readonly hash_: H256; } & Struct; - readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked'; + readonly isUpgradeAuthorized: boolean; + readonly asUpgradeAuthorized: { + readonly codeHash: H256; + readonly checkVersion: bool; + } & Struct; + readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked' | 'UpgradeAuthorized'; } /** @name FrameSystemEventRecord */ @@ -737,9 +709,6 @@ export interface FrameSystemEventRecord extends Struct { /** @name FrameSystemExtensionsCheckGenesis */ export interface FrameSystemExtensionsCheckGenesis extends Null {} -/** @name FrameSystemExtensionsCheckNonce */ -export interface FrameSystemExtensionsCheckNonce extends Compact {} - /** @name FrameSystemExtensionsCheckSpecVersion */ export interface FrameSystemExtensionsCheckSpecVersion extends Null {} @@ -798,11 +767,13 @@ export interface OpalRuntimeOriginCaller extends Enum { readonly asPolkadotXcm: PalletXcmOrigin; readonly isCumulusXcm: boolean; readonly asCumulusXcm: CumulusPalletXcmOrigin; + readonly isFinancialCouncil: boolean; + readonly asFinancialCouncil: PalletCollectiveRawOrigin; readonly isOrigins: boolean; readonly asOrigins: PalletGovOriginsOrigin; readonly isEthereum: boolean; readonly asEthereum: PalletEthereumRawOrigin; - readonly type: 'System' | 'Void' | 'Council' | 'TechnicalCommittee' | 'PolkadotXcm' | 'CumulusXcm' | 'Origins' | 'Ethereum'; + readonly type: 'System' | 'Void' | 'Council' | 'TechnicalCommittee' | 'PolkadotXcm' | 'CumulusXcm' | 'FinancialCouncil' | 'Origins' | 'Ethereum'; } /** @name OpalRuntimeRuntime */ @@ -821,188 +792,13 @@ export interface OpalRuntimeRuntimeCommonSessionKeys extends Struct { /** @name OpalRuntimeRuntimeHoldReason */ export interface OpalRuntimeRuntimeHoldReason extends Enum { + readonly isStateTrieMigration: boolean; + readonly asStateTrieMigration: PalletStateTrieMigrationHoldReason; readonly isCollatorSelection: boolean; readonly asCollatorSelection: PalletCollatorSelectionHoldReason; - readonly type: 'CollatorSelection'; -} - -/** @name OrmlTokensAccountData */ -export interface OrmlTokensAccountData extends Struct { - readonly free: u128; - readonly reserved: u128; - readonly frozen: u128; -} - -/** @name OrmlTokensBalanceLock */ -export interface OrmlTokensBalanceLock extends Struct { - readonly id: U8aFixed; - readonly amount: u128; -} - -/** @name OrmlTokensModuleCall */ -export interface OrmlTokensModuleCall extends Enum { - readonly isTransfer: boolean; - readonly asTransfer: { - readonly dest: MultiAddress; - readonly currencyId: PalletForeignAssetsAssetId; - readonly amount: Compact; - } & Struct; - readonly isTransferAll: boolean; - readonly asTransferAll: { - readonly dest: MultiAddress; - readonly currencyId: PalletForeignAssetsAssetId; - readonly keepAlive: bool; - } & Struct; - readonly isTransferKeepAlive: boolean; - readonly asTransferKeepAlive: { - readonly dest: MultiAddress; - readonly currencyId: PalletForeignAssetsAssetId; - readonly amount: Compact; - } & Struct; - readonly isForceTransfer: boolean; - readonly asForceTransfer: { - readonly source: MultiAddress; - readonly dest: MultiAddress; - readonly currencyId: PalletForeignAssetsAssetId; - readonly amount: Compact; - } & Struct; - readonly isSetBalance: boolean; - readonly asSetBalance: { - readonly who: MultiAddress; - readonly currencyId: PalletForeignAssetsAssetId; - readonly newFree: Compact; - readonly newReserved: Compact; - } & Struct; - readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance'; -} - -/** @name OrmlTokensModuleError */ -export interface OrmlTokensModuleError extends Enum { - readonly isBalanceTooLow: boolean; - readonly isAmountIntoBalanceFailed: boolean; - readonly isLiquidityRestrictions: boolean; - readonly isMaxLocksExceeded: boolean; - readonly isKeepAlive: boolean; - readonly isExistentialDeposit: boolean; - readonly isDeadAccount: boolean; - readonly isTooManyReserves: boolean; - readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves'; -} - -/** @name OrmlTokensModuleEvent */ -export interface OrmlTokensModuleEvent extends Enum { - readonly isEndowed: boolean; - readonly asEndowed: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly who: AccountId32; - readonly amount: u128; - } & Struct; - readonly isDustLost: boolean; - readonly asDustLost: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly who: AccountId32; - readonly amount: u128; - } & Struct; - readonly isTransfer: boolean; - readonly asTransfer: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly from: AccountId32; - readonly to: AccountId32; - readonly amount: u128; - } & Struct; - readonly isReserved: boolean; - readonly asReserved: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly who: AccountId32; - readonly amount: u128; - } & Struct; - readonly isUnreserved: boolean; - readonly asUnreserved: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly who: AccountId32; - readonly amount: u128; - } & Struct; - readonly isReserveRepatriated: boolean; - readonly asReserveRepatriated: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly from: AccountId32; - readonly to: AccountId32; - readonly amount: u128; - readonly status: FrameSupportTokensMiscBalanceStatus; - } & Struct; - readonly isBalanceSet: boolean; - readonly asBalanceSet: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly who: AccountId32; - readonly free: u128; - readonly reserved: u128; - } & Struct; - readonly isTotalIssuanceSet: boolean; - readonly asTotalIssuanceSet: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly amount: u128; - } & Struct; - readonly isWithdrawn: boolean; - readonly asWithdrawn: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly who: AccountId32; - readonly amount: u128; - } & Struct; - readonly isSlashed: boolean; - readonly asSlashed: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly who: AccountId32; - readonly freeAmount: u128; - readonly reservedAmount: u128; - } & Struct; - readonly isDeposited: boolean; - readonly asDeposited: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly who: AccountId32; - readonly amount: u128; - } & Struct; - readonly isLockSet: boolean; - readonly asLockSet: { - readonly lockId: U8aFixed; - readonly currencyId: PalletForeignAssetsAssetId; - readonly who: AccountId32; - readonly amount: u128; - } & Struct; - readonly isLockRemoved: boolean; - readonly asLockRemoved: { - readonly lockId: U8aFixed; - readonly currencyId: PalletForeignAssetsAssetId; - readonly who: AccountId32; - } & Struct; - readonly isLocked: boolean; - readonly asLocked: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly who: AccountId32; - readonly amount: u128; - } & Struct; - readonly isUnlocked: boolean; - readonly asUnlocked: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly who: AccountId32; - readonly amount: u128; - } & Struct; - readonly isIssued: boolean; - readonly asIssued: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly amount: u128; - } & Struct; - readonly isRescinded: boolean; - readonly asRescinded: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly amount: u128; - } & Struct; - readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved' | 'Locked' | 'Unlocked' | 'Issued' | 'Rescinded'; -} - -/** @name OrmlTokensReserveData */ -export interface OrmlTokensReserveData extends Struct { - readonly id: Null; - readonly amount: u128; + readonly isPreimage: boolean; + readonly asPreimage: PalletPreimageHoldReason; + readonly type: 'StateTrieMigration' | 'CollatorSelection' | 'Preimage'; } /** @name OrmlVestingModuleCall */ @@ -1068,45 +864,45 @@ export interface OrmlVestingVestingSchedule extends Struct { export interface OrmlXtokensModuleCall extends Enum { readonly isTransfer: boolean; readonly asTransfer: { - readonly currencyId: PalletForeignAssetsAssetId; + readonly currencyId: u32; readonly amount: u128; - readonly dest: StagingXcmVersionedMultiLocation; - readonly destWeightLimit: StagingXcmV3WeightLimit; + readonly dest: XcmVersionedLocation; + readonly destWeightLimit: XcmV3WeightLimit; } & Struct; readonly isTransferMultiasset: boolean; readonly asTransferMultiasset: { - readonly asset: StagingXcmVersionedMultiAsset; - readonly dest: StagingXcmVersionedMultiLocation; - readonly destWeightLimit: StagingXcmV3WeightLimit; + readonly asset: XcmVersionedAsset; + readonly dest: XcmVersionedLocation; + readonly destWeightLimit: XcmV3WeightLimit; } & Struct; readonly isTransferWithFee: boolean; readonly asTransferWithFee: { - readonly currencyId: PalletForeignAssetsAssetId; + readonly currencyId: u32; readonly amount: u128; readonly fee: u128; - readonly dest: StagingXcmVersionedMultiLocation; - readonly destWeightLimit: StagingXcmV3WeightLimit; + readonly dest: XcmVersionedLocation; + readonly destWeightLimit: XcmV3WeightLimit; } & Struct; readonly isTransferMultiassetWithFee: boolean; readonly asTransferMultiassetWithFee: { - readonly asset: StagingXcmVersionedMultiAsset; - readonly fee: StagingXcmVersionedMultiAsset; - readonly dest: StagingXcmVersionedMultiLocation; - readonly destWeightLimit: StagingXcmV3WeightLimit; + readonly asset: XcmVersionedAsset; + readonly fee: XcmVersionedAsset; + readonly dest: XcmVersionedLocation; + readonly destWeightLimit: XcmV3WeightLimit; } & Struct; readonly isTransferMulticurrencies: boolean; readonly asTransferMulticurrencies: { - readonly currencies: Vec>; + readonly currencies: Vec>; readonly feeItem: u32; - readonly dest: StagingXcmVersionedMultiLocation; - readonly destWeightLimit: StagingXcmV3WeightLimit; + readonly dest: XcmVersionedLocation; + readonly destWeightLimit: XcmV3WeightLimit; } & Struct; readonly isTransferMultiassets: boolean; readonly asTransferMultiassets: { - readonly assets: StagingXcmVersionedMultiAssets; + readonly assets: XcmVersionedAssets; readonly feeItem: u32; - readonly dest: StagingXcmVersionedMultiLocation; - readonly destWeightLimit: StagingXcmV3WeightLimit; + readonly dest: XcmVersionedLocation; + readonly destWeightLimit: XcmV3WeightLimit; } & Struct; readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets'; } @@ -1130,21 +926,22 @@ export interface OrmlXtokensModuleError extends Enum { readonly isTooManyAssetsBeingSent: boolean; readonly isAssetIndexNonExistent: boolean; readonly isFeeNotEnough: boolean; - readonly isNotSupportedMultiLocation: boolean; + readonly isNotSupportedLocation: boolean; readonly isMinXcmFeeNotDefined: boolean; - readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined'; + readonly isRateLimited: boolean; + readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedLocation' | 'MinXcmFeeNotDefined' | 'RateLimited'; } /** @name OrmlXtokensModuleEvent */ export interface OrmlXtokensModuleEvent extends Enum { - readonly isTransferredMultiAssets: boolean; - readonly asTransferredMultiAssets: { + readonly isTransferredAssets: boolean; + readonly asTransferredAssets: { readonly sender: AccountId32; - readonly assets: StagingXcmV3MultiassetMultiAssets; - readonly fee: StagingXcmV3MultiAsset; - readonly dest: StagingXcmV3MultiLocation; + readonly assets: StagingXcmV4AssetAssets; + readonly fee: StagingXcmV4Asset; + readonly dest: StagingXcmV4Location; } & Struct; - readonly type: 'TransferredMultiAssets'; + readonly type: 'TransferredAssets'; } /** @name PalletAppPromotionCall */ @@ -1182,11 +979,11 @@ export interface PalletAppPromotionCall extends Enum { readonly asUnstakePartial: { readonly amount: u128; } & Struct; - readonly isForceUnstake: boolean; - readonly asForceUnstake: { + readonly isResolveSkippedBlocks: boolean; + readonly asResolveSkippedBlocks: { readonly pendingBlocks: Vec; } & Struct; - readonly type: 'SetAdminAddress' | 'Stake' | 'UnstakeAll' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers' | 'UnstakePartial' | 'ForceUnstake'; + readonly type: 'SetAdminAddress' | 'Stake' | 'UnstakeAll' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers' | 'UnstakePartial' | 'ResolveSkippedBlocks'; } /** @name PalletAppPromotionError */ @@ -1222,6 +1019,13 @@ export interface PalletBalancesAccountData extends Struct { readonly flags: u128; } +/** @name PalletBalancesAdjustmentDirection */ +export interface PalletBalancesAdjustmentDirection extends Enum { + readonly isIncrease: boolean; + readonly isDecrease: boolean; + readonly type: 'Increase' | 'Decrease'; +} + /** @name PalletBalancesBalanceLock */ export interface PalletBalancesBalanceLock extends Struct { readonly id: U8aFixed; @@ -1236,12 +1040,6 @@ export interface PalletBalancesCall extends Enum { readonly dest: MultiAddress; readonly value: Compact; } & Struct; - readonly isSetBalanceDeprecated: boolean; - readonly asSetBalanceDeprecated: { - readonly who: MultiAddress; - readonly newFree: Compact; - readonly oldReserved: Compact; - } & Struct; readonly isForceTransfer: boolean; readonly asForceTransfer: { readonly source: MultiAddress; @@ -1267,17 +1065,22 @@ export interface PalletBalancesCall extends Enum { readonly asUpgradeAccounts: { readonly who: Vec; } & Struct; - readonly isTransfer: boolean; - readonly asTransfer: { - readonly dest: MultiAddress; - readonly value: Compact; - } & Struct; readonly isForceSetBalance: boolean; readonly asForceSetBalance: { readonly who: MultiAddress; readonly newFree: Compact; } & Struct; - readonly type: 'TransferAllowDeath' | 'SetBalanceDeprecated' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve' | 'UpgradeAccounts' | 'Transfer' | 'ForceSetBalance'; + readonly isForceAdjustTotalIssuance: boolean; + readonly asForceAdjustTotalIssuance: { + readonly direction: PalletBalancesAdjustmentDirection; + readonly delta: Compact; + } & Struct; + readonly isBurn: boolean; + readonly asBurn: { + readonly value: Compact; + readonly keepAlive: bool; + } & Struct; + readonly type: 'TransferAllowDeath' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve' | 'UpgradeAccounts' | 'ForceSetBalance' | 'ForceAdjustTotalIssuance' | 'Burn'; } /** @name PalletBalancesError */ @@ -1292,7 +1095,9 @@ export interface PalletBalancesError extends Enum { readonly isTooManyReserves: boolean; readonly isTooManyHolds: boolean; readonly isTooManyFreezes: boolean; - readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'Expendability' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves' | 'TooManyHolds' | 'TooManyFreezes'; + readonly isIssuanceDeactivated: boolean; + readonly isDeltaZero: boolean; + readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'Expendability' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves' | 'TooManyHolds' | 'TooManyFreezes' | 'IssuanceDeactivated' | 'DeltaZero'; } /** @name PalletBalancesEvent */ @@ -1402,13 +1207,12 @@ export interface PalletBalancesEvent extends Enum { readonly who: AccountId32; readonly amount: u128; } & Struct; - readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed' | 'Minted' | 'Burned' | 'Suspended' | 'Restored' | 'Upgraded' | 'Issued' | 'Rescinded' | 'Locked' | 'Unlocked' | 'Frozen' | 'Thawed'; -} - -/** @name PalletBalancesIdAmount */ -export interface PalletBalancesIdAmount extends Struct { - readonly id: U8aFixed; - readonly amount: u128; + readonly isTotalIssuanceForced: boolean; + readonly asTotalIssuanceForced: { + readonly old: u128; + readonly new_: u128; + } & Struct; + readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed' | 'Minted' | 'Burned' | 'Suspended' | 'Restored' | 'Upgraded' | 'Issued' | 'Rescinded' | 'Locked' | 'Unlocked' | 'Frozen' | 'Thawed' | 'TotalIssuanceForced'; } /** @name PalletBalancesReasons */ @@ -1659,7 +1463,8 @@ export interface PalletCommonError extends Enum { readonly isConfirmSponsorshipFail: boolean; readonly isUserIsNotCollectionAdmin: boolean; readonly isFungibleItemsHaveNoId: boolean; - readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsNotEthMirror' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin' | 'FungibleItemsHaveNoId'; + readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean; + readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsNotEthMirror' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin' | 'FungibleItemsHaveNoId' | 'NotFungibleDataUsedToMintFungibleCollectionToken'; } /** @name PalletCommonEvent */ @@ -2220,10 +2025,12 @@ export interface PalletEvmError extends Enum { readonly isInvalidNonce: boolean; readonly isGasLimitTooLow: boolean; readonly isGasLimitTooHigh: boolean; - readonly isUndefined: boolean; + readonly isInvalidChainId: boolean; + readonly isInvalidSignature: boolean; readonly isReentrancy: boolean; readonly isTransactionMustComeFromEOA: boolean; - readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA'; + readonly isUndefined: boolean; + readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'InvalidChainId' | 'InvalidSignature' | 'Reentrancy' | 'TransactionMustComeFromEOA' | 'Undefined'; } /** @name PalletEvmEvent */ @@ -2293,92 +2100,80 @@ export interface PalletEvmMigrationEvent extends Enum { readonly type: 'TestEvent'; } -/** @name PalletForeignAssetsAssetId */ -export interface PalletForeignAssetsAssetId extends Enum { - readonly isForeignAssetId: boolean; - readonly asForeignAssetId: u32; - readonly isNativeAssetId: boolean; - readonly asNativeAssetId: PalletForeignAssetsNativeCurrency; - readonly type: 'ForeignAssetId' | 'NativeAssetId'; -} - -/** @name PalletForeignAssetsModuleAssetMetadata */ -export interface PalletForeignAssetsModuleAssetMetadata extends Struct { - readonly name: Bytes; - readonly symbol: Bytes; - readonly decimals: u8; - readonly minimalBalance: u128; +/** @name PalletForeignAssetsForeignCollectionMode */ +export interface PalletForeignAssetsForeignCollectionMode extends Enum { + readonly isNft: boolean; + readonly isFungible: boolean; + readonly asFungible: u8; + readonly type: 'Nft' | 'Fungible'; +} + +/** @name PalletForeignAssetsMigrationStatus */ +export interface PalletForeignAssetsMigrationStatus extends Enum { + readonly isV3ToV4: boolean; + readonly asV3ToV4: PalletForeignAssetsMigrationStatusV3ToV4; + readonly type: 'V3ToV4'; +} + +/** @name PalletForeignAssetsMigrationStatusV3ToV4 */ +export interface PalletForeignAssetsMigrationStatusV3ToV4 extends Enum { + readonly isDone: boolean; + readonly isSkippedInconsistentAssetData: boolean; + readonly asSkippedInconsistentAssetData: XcmV3MultiassetAssetId; + readonly isSkippedInconsistentAssetInstanceData: boolean; + readonly asSkippedInconsistentAssetInstanceData: { + readonly assetId: XcmV3MultiassetAssetId; + readonly assetInstance: XcmV3MultiassetAssetInstance; + } & Struct; + readonly isSkippedNotConvertibleAssetId: boolean; + readonly asSkippedNotConvertibleAssetId: XcmV3MultiassetAssetId; + readonly isSkippedNotConvertibleAssetInstance: boolean; + readonly asSkippedNotConvertibleAssetInstance: { + readonly assetId: XcmV3MultiassetAssetId; + readonly assetInstance: XcmV3MultiassetAssetInstance; + } & Struct; + readonly type: 'Done' | 'SkippedInconsistentAssetData' | 'SkippedInconsistentAssetInstanceData' | 'SkippedNotConvertibleAssetId' | 'SkippedNotConvertibleAssetInstance'; } /** @name PalletForeignAssetsModuleCall */ export interface PalletForeignAssetsModuleCall extends Enum { - readonly isRegisterForeignAsset: boolean; - readonly asRegisterForeignAsset: { - readonly owner: AccountId32; - readonly location: StagingXcmVersionedMultiLocation; - readonly metadata: PalletForeignAssetsModuleAssetMetadata; - } & Struct; - readonly isUpdateForeignAsset: boolean; - readonly asUpdateForeignAsset: { - readonly foreignAssetId: u32; - readonly location: StagingXcmVersionedMultiLocation; - readonly metadata: PalletForeignAssetsModuleAssetMetadata; + readonly isForceRegisterForeignAsset: boolean; + readonly asForceRegisterForeignAsset: { + readonly versionedAssetId: XcmVersionedAssetId; + readonly name: Vec; + readonly tokenPrefix: Bytes; + readonly mode: PalletForeignAssetsForeignCollectionMode; } & Struct; - readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset'; + readonly type: 'ForceRegisterForeignAsset'; } /** @name PalletForeignAssetsModuleError */ export interface PalletForeignAssetsModuleError extends Enum { - readonly isBadLocation: boolean; - readonly isMultiLocationExisted: boolean; - readonly isAssetIdNotExists: boolean; - readonly isAssetIdExisted: boolean; - readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted'; + readonly isForeignAssetAlreadyRegistered: boolean; + readonly isBadForeignAssetId: boolean; + readonly type: 'ForeignAssetAlreadyRegistered' | 'BadForeignAssetId'; } /** @name PalletForeignAssetsModuleEvent */ export interface PalletForeignAssetsModuleEvent extends Enum { readonly isForeignAssetRegistered: boolean; readonly asForeignAssetRegistered: { - readonly assetId: u32; - readonly assetAddress: StagingXcmV3MultiLocation; - readonly metadata: PalletForeignAssetsModuleAssetMetadata; - } & Struct; - readonly isForeignAssetUpdated: boolean; - readonly asForeignAssetUpdated: { - readonly assetId: u32; - readonly assetAddress: StagingXcmV3MultiLocation; - readonly metadata: PalletForeignAssetsModuleAssetMetadata; - } & Struct; - readonly isAssetRegistered: boolean; - readonly asAssetRegistered: { - readonly assetId: PalletForeignAssetsAssetId; - readonly metadata: PalletForeignAssetsModuleAssetMetadata; - } & Struct; - readonly isAssetUpdated: boolean; - readonly asAssetUpdated: { - readonly assetId: PalletForeignAssetsAssetId; - readonly metadata: PalletForeignAssetsModuleAssetMetadata; + readonly collectionId: u32; + readonly assetId: XcmVersionedAssetId; } & Struct; - readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated'; -} - -/** @name PalletForeignAssetsNativeCurrency */ -export interface PalletForeignAssetsNativeCurrency extends Enum { - readonly isHere: boolean; - readonly isParent: boolean; - readonly type: 'Here' | 'Parent'; + readonly isMigrationStatus: boolean; + readonly asMigrationStatus: PalletForeignAssetsMigrationStatus; + readonly type: 'ForeignAssetRegistered' | 'MigrationStatus'; } /** @name PalletFungibleError */ export interface PalletFungibleError extends Enum { - readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean; readonly isFungibleItemsDontHaveData: boolean; readonly isFungibleDisallowsNesting: boolean; readonly isSettingPropertiesNotAllowed: boolean; readonly isSettingAllowanceForAllNotAllowed: boolean; readonly isFungibleTokensAreAlwaysValid: boolean; - readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid'; + readonly type: 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid'; } /** @name PalletGovOriginsOrigin */ @@ -2700,6 +2495,93 @@ export interface PalletMembershipEvent extends Enum { readonly type: 'MemberAdded' | 'MemberRemoved' | 'MembersSwapped' | 'MembersReset' | 'KeyChanged' | 'Dummy'; } +/** @name PalletMessageQueueBookState */ +export interface PalletMessageQueueBookState extends Struct { + readonly begin: u32; + readonly end: u32; + readonly count: u32; + readonly readyNeighbours: Option; + readonly messageCount: u64; + readonly size_: u64; +} + +/** @name PalletMessageQueueCall */ +export interface PalletMessageQueueCall extends Enum { + readonly isReapPage: boolean; + readonly asReapPage: { + readonly messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin; + readonly pageIndex: u32; + } & Struct; + readonly isExecuteOverweight: boolean; + readonly asExecuteOverweight: { + readonly messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin; + readonly page: u32; + readonly index: u32; + readonly weightLimit: SpWeightsWeightV2Weight; + } & Struct; + readonly type: 'ReapPage' | 'ExecuteOverweight'; +} + +/** @name PalletMessageQueueError */ +export interface PalletMessageQueueError extends Enum { + readonly isNotReapable: boolean; + readonly isNoPage: boolean; + readonly isNoMessage: boolean; + readonly isAlreadyProcessed: boolean; + readonly isQueued: boolean; + readonly isInsufficientWeight: boolean; + readonly isTemporarilyUnprocessable: boolean; + readonly isQueuePaused: boolean; + readonly isRecursiveDisallowed: boolean; + readonly type: 'NotReapable' | 'NoPage' | 'NoMessage' | 'AlreadyProcessed' | 'Queued' | 'InsufficientWeight' | 'TemporarilyUnprocessable' | 'QueuePaused' | 'RecursiveDisallowed'; +} + +/** @name PalletMessageQueueEvent */ +export interface PalletMessageQueueEvent extends Enum { + readonly isProcessingFailed: boolean; + readonly asProcessingFailed: { + readonly id: H256; + readonly origin: CumulusPrimitivesCoreAggregateMessageOrigin; + readonly error: FrameSupportMessagesProcessMessageError; + } & Struct; + readonly isProcessed: boolean; + readonly asProcessed: { + readonly id: H256; + readonly origin: CumulusPrimitivesCoreAggregateMessageOrigin; + readonly weightUsed: SpWeightsWeightV2Weight; + readonly success: bool; + } & Struct; + readonly isOverweightEnqueued: boolean; + readonly asOverweightEnqueued: { + readonly id: U8aFixed; + readonly origin: CumulusPrimitivesCoreAggregateMessageOrigin; + readonly pageIndex: u32; + readonly messageIndex: u32; + } & Struct; + readonly isPageReaped: boolean; + readonly asPageReaped: { + readonly origin: CumulusPrimitivesCoreAggregateMessageOrigin; + readonly index: u32; + } & Struct; + readonly type: 'ProcessingFailed' | 'Processed' | 'OverweightEnqueued' | 'PageReaped'; +} + +/** @name PalletMessageQueueNeighbours */ +export interface PalletMessageQueueNeighbours extends Struct { + readonly prev: CumulusPrimitivesCoreAggregateMessageOrigin; + readonly next: CumulusPrimitivesCoreAggregateMessageOrigin; +} + +/** @name PalletMessageQueuePage */ +export interface PalletMessageQueuePage extends Struct { + readonly remaining: u32; + readonly remainingSize: u32; + readonly firstIndex: u32; + readonly first: u32; + readonly last: u32; + readonly heap: Bytes; +} + /** @name PalletNonfungibleError */ export interface PalletNonfungibleError extends Enum { readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean; @@ -2731,7 +2613,11 @@ export interface PalletPreimageCall extends Enum { readonly asUnrequestPreimage: { readonly hash_: H256; } & Struct; - readonly type: 'NotePreimage' | 'UnnotePreimage' | 'RequestPreimage' | 'UnrequestPreimage'; + readonly isEnsureUpdated: boolean; + readonly asEnsureUpdated: { + readonly hashes: Vec; + } & Struct; + readonly type: 'NotePreimage' | 'UnnotePreimage' | 'RequestPreimage' | 'UnrequestPreimage' | 'EnsureUpdated'; } /** @name PalletPreimageError */ @@ -2742,7 +2628,10 @@ export interface PalletPreimageError extends Enum { readonly isNotNoted: boolean; readonly isRequested: boolean; readonly isNotRequested: boolean; - readonly type: 'TooBig' | 'AlreadyNoted' | 'NotAuthorized' | 'NotNoted' | 'Requested' | 'NotRequested'; + readonly isTooMany: boolean; + readonly isTooFew: boolean; + readonly isNoCost: boolean; + readonly type: 'TooBig' | 'AlreadyNoted' | 'NotAuthorized' | 'NotNoted' | 'Requested' | 'NotRequested' | 'TooMany' | 'TooFew' | 'NoCost'; } /** @name PalletPreimageEvent */ @@ -2762,8 +2651,14 @@ export interface PalletPreimageEvent extends Enum { readonly type: 'Noted' | 'Requested' | 'Cleared'; } -/** @name PalletPreimageRequestStatus */ -export interface PalletPreimageRequestStatus extends Enum { +/** @name PalletPreimageHoldReason */ +export interface PalletPreimageHoldReason extends Enum { + readonly isPreimage: boolean; + readonly type: 'Preimage'; +} + +/** @name PalletPreimageOldRequestStatus */ +export interface PalletPreimageOldRequestStatus extends Enum { readonly isUnrequested: boolean; readonly asUnrequested: { readonly deposit: ITuple<[AccountId32, u128]>; @@ -2778,6 +2673,22 @@ export interface PalletPreimageRequestStatus extends Enum { readonly type: 'Unrequested' | 'Requested'; } +/** @name PalletPreimageRequestStatus */ +export interface PalletPreimageRequestStatus extends Enum { + readonly isUnrequested: boolean; + readonly asUnrequested: { + readonly ticket: ITuple<[AccountId32, u128]>; + readonly len: u32; + } & Struct; + readonly isRequested: boolean; + readonly asRequested: { + readonly maybeTicket: Option>; + readonly count: u32; + readonly maybeLen: Option; + } & Struct; + readonly type: 'Unrequested' | 'Requested'; +} + /** @name PalletRankedCollectiveCall */ export interface PalletRankedCollectiveCall extends Enum { readonly isAddMember: boolean; @@ -2807,7 +2718,12 @@ export interface PalletRankedCollectiveCall extends Enum { readonly pollIndex: u32; readonly max: u32; } & Struct; - readonly type: 'AddMember' | 'PromoteMember' | 'DemoteMember' | 'RemoveMember' | 'Vote' | 'CleanupPoll'; + readonly isExchangeMember: boolean; + readonly asExchangeMember: { + readonly who: MultiAddress; + readonly newWho: MultiAddress; + } & Struct; + readonly type: 'AddMember' | 'PromoteMember' | 'DemoteMember' | 'RemoveMember' | 'Vote' | 'CleanupPoll' | 'ExchangeMember'; } /** @name PalletRankedCollectiveError */ @@ -2821,7 +2737,9 @@ export interface PalletRankedCollectiveError extends Enum { readonly isRankTooLow: boolean; readonly isInvalidWitness: boolean; readonly isNoPermission: boolean; - readonly type: 'AlreadyMember' | 'NotMember' | 'NotPolling' | 'Ongoing' | 'NoneRemaining' | 'Corruption' | 'RankTooLow' | 'InvalidWitness' | 'NoPermission'; + readonly isSameMember: boolean; + readonly isTooManyMembers: boolean; + readonly type: 'AlreadyMember' | 'NotMember' | 'NotPolling' | 'Ongoing' | 'NoneRemaining' | 'Corruption' | 'RankTooLow' | 'InvalidWitness' | 'NoPermission' | 'SameMember' | 'TooManyMembers'; } /** @name PalletRankedCollectiveEvent */ @@ -2847,7 +2765,12 @@ export interface PalletRankedCollectiveEvent extends Enum { readonly vote: PalletRankedCollectiveVoteRecord; readonly tally: PalletRankedCollectiveTally; } & Struct; - readonly type: 'MemberAdded' | 'RankChanged' | 'MemberRemoved' | 'Voted'; + readonly isMemberExchanged: boolean; + readonly asMemberExchanged: { + readonly who: AccountId32; + readonly newWho: AccountId32; + } & Struct; + readonly type: 'MemberAdded' | 'RankChanged' | 'MemberRemoved' | 'Voted' | 'MemberExchanged'; } /** @name PalletRankedCollectiveMemberRecord */ @@ -2966,7 +2889,8 @@ export interface PalletReferendaError extends Enum { readonly isNoDeposit: boolean; readonly isBadStatus: boolean; readonly isPreimageNotExist: boolean; - readonly type: 'NotOngoing' | 'HasDeposit' | 'BadTrack' | 'Full' | 'QueueEmpty' | 'BadReferendum' | 'NothingToDo' | 'NoTrack' | 'Unfinished' | 'NoPermission' | 'NoDeposit' | 'BadStatus' | 'PreimageNotExist'; + readonly isPreimageStoredWithDifferentLength: boolean; + readonly type: 'NotOngoing' | 'HasDeposit' | 'BadTrack' | 'Full' | 'QueueEmpty' | 'BadReferendum' | 'NothingToDo' | 'NoTrack' | 'Unfinished' | 'NoPermission' | 'NoDeposit' | 'BadStatus' | 'PreimageNotExist' | 'PreimageStoredWithDifferentLength'; } /** @name PalletReferendaEvent */ @@ -3153,7 +3077,27 @@ export interface PalletSchedulerCall extends Enum { readonly priority: u8; readonly call: Call; } & Struct; - readonly type: 'Schedule' | 'Cancel' | 'ScheduleNamed' | 'CancelNamed' | 'ScheduleAfter' | 'ScheduleNamedAfter'; + readonly isSetRetry: boolean; + readonly asSetRetry: { + readonly task: ITuple<[u32, u32]>; + readonly retries: u8; + readonly period: u32; + } & Struct; + readonly isSetRetryNamed: boolean; + readonly asSetRetryNamed: { + readonly id: U8aFixed; + readonly retries: u8; + readonly period: u32; + } & Struct; + readonly isCancelRetry: boolean; + readonly asCancelRetry: { + readonly task: ITuple<[u32, u32]>; + } & Struct; + readonly isCancelRetryNamed: boolean; + readonly asCancelRetryNamed: { + readonly id: U8aFixed; + } & Struct; + readonly type: 'Schedule' | 'Cancel' | 'ScheduleNamed' | 'CancelNamed' | 'ScheduleAfter' | 'ScheduleNamedAfter' | 'SetRetry' | 'SetRetryNamed' | 'CancelRetry' | 'CancelRetryNamed'; } /** @name PalletSchedulerError */ @@ -3184,6 +3128,18 @@ export interface PalletSchedulerEvent extends Enum { readonly id: Option; readonly result: Result; } & Struct; + readonly isRetrySet: boolean; + readonly asRetrySet: { + readonly task: ITuple<[u32, u32]>; + readonly id: Option; + readonly period: u32; + readonly retries: u8; + } & Struct; + readonly isRetryCancelled: boolean; + readonly asRetryCancelled: { + readonly task: ITuple<[u32, u32]>; + readonly id: Option; + } & Struct; readonly isCallUnavailable: boolean; readonly asCallUnavailable: { readonly task: ITuple<[u32, u32]>; @@ -3194,12 +3150,24 @@ export interface PalletSchedulerEvent extends Enum { readonly task: ITuple<[u32, u32]>; readonly id: Option; } & Struct; + readonly isRetryFailed: boolean; + readonly asRetryFailed: { + readonly task: ITuple<[u32, u32]>; + readonly id: Option; + } & Struct; readonly isPermanentlyOverweight: boolean; readonly asPermanentlyOverweight: { readonly task: ITuple<[u32, u32]>; readonly id: Option; } & Struct; - readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallUnavailable' | 'PeriodicFailed' | 'PermanentlyOverweight'; + readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'RetrySet' | 'RetryCancelled' | 'CallUnavailable' | 'PeriodicFailed' | 'RetryFailed' | 'PermanentlyOverweight'; +} + +/** @name PalletSchedulerRetryConfig */ +export interface PalletSchedulerRetryConfig extends Struct { + readonly totalRetries: u8; + readonly remaining: u8; + readonly period: u32; } /** @name PalletSchedulerScheduled */ @@ -3308,6 +3276,12 @@ export interface PalletStateTrieMigrationEvent extends Enum { readonly type: 'Migrated' | 'Slashed' | 'AutoMigrationFinished' | 'Halted'; } +/** @name PalletStateTrieMigrationHoldReason */ +export interface PalletStateTrieMigrationHoldReason extends Enum { + readonly isSlashForMigrate: boolean; + readonly type: 'SlashForMigrate'; +} + /** @name PalletStateTrieMigrationMigrationCompute */ export interface PalletStateTrieMigrationMigrationCompute extends Enum { readonly isSigned: boolean; @@ -3379,7 +3353,8 @@ export interface PalletSudoCall extends Enum { readonly who: MultiAddress; readonly call: Call; } & Struct; - readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs'; + readonly isRemoveKey: boolean; + readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs' | 'RemoveKey'; } /** @name PalletSudoError */ @@ -3396,18 +3371,23 @@ export interface PalletSudoEvent extends Enum { } & Struct; readonly isKeyChanged: boolean; readonly asKeyChanged: { - readonly oldSudoer: Option; + readonly old: Option; + readonly new_: AccountId32; } & Struct; + readonly isKeyRemoved: boolean; readonly isSudoAsDone: boolean; readonly asSudoAsDone: { readonly sudoResult: Result; } & Struct; - readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone'; + readonly type: 'Sudid' | 'KeyChanged' | 'KeyRemoved' | 'SudoAsDone'; } /** @name PalletTemplateTransactionPaymentChargeTransactionPayment */ export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact {} +/** @name PalletTemplateTransactionPaymentCheckNonce */ +export interface PalletTemplateTransactionPaymentCheckNonce extends Compact {} + /** @name PalletTestUtilsCall */ export interface PalletTestUtilsCall extends Enum { readonly isEnable: boolean; @@ -3472,47 +3452,55 @@ export interface PalletTransactionPaymentReleases extends Enum { /** @name PalletTreasuryCall */ export interface PalletTreasuryCall extends Enum { - readonly isProposeSpend: boolean; - readonly asProposeSpend: { - readonly value: Compact; + readonly isSpendLocal: boolean; + readonly asSpendLocal: { + readonly amount: Compact; readonly beneficiary: MultiAddress; } & Struct; - readonly isRejectProposal: boolean; - readonly asRejectProposal: { - readonly proposalId: Compact; - } & Struct; - readonly isApproveProposal: boolean; - readonly asApproveProposal: { + readonly isRemoveApproval: boolean; + readonly asRemoveApproval: { readonly proposalId: Compact; } & Struct; readonly isSpend: boolean; readonly asSpend: { + readonly assetKind: Null; readonly amount: Compact; - readonly beneficiary: MultiAddress; + readonly beneficiary: AccountId32; + readonly validFrom: Option; } & Struct; - readonly isRemoveApproval: boolean; - readonly asRemoveApproval: { - readonly proposalId: Compact; + readonly isPayout: boolean; + readonly asPayout: { + readonly index: u32; + } & Struct; + readonly isCheckStatus: boolean; + readonly asCheckStatus: { + readonly index: u32; + } & Struct; + readonly isVoidSpend: boolean; + readonly asVoidSpend: { + readonly index: u32; } & Struct; - readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval'; + readonly type: 'SpendLocal' | 'RemoveApproval' | 'Spend' | 'Payout' | 'CheckStatus' | 'VoidSpend'; } /** @name PalletTreasuryError */ export interface PalletTreasuryError extends Enum { - readonly isInsufficientProposersBalance: boolean; readonly isInvalidIndex: boolean; readonly isTooManyApprovals: boolean; readonly isInsufficientPermission: boolean; readonly isProposalNotApproved: boolean; - readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved'; + readonly isFailedToConvertBalance: boolean; + readonly isSpendExpired: boolean; + readonly isEarlyPayout: boolean; + readonly isAlreadyAttempted: boolean; + readonly isPayoutError: boolean; + readonly isNotAttempted: boolean; + readonly isInconclusive: boolean; + readonly type: 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved' | 'FailedToConvertBalance' | 'SpendExpired' | 'EarlyPayout' | 'AlreadyAttempted' | 'PayoutError' | 'NotAttempted' | 'Inconclusive'; } /** @name PalletTreasuryEvent */ export interface PalletTreasuryEvent extends Enum { - readonly isProposed: boolean; - readonly asProposed: { - readonly proposalIndex: u32; - } & Struct; readonly isSpending: boolean; readonly asSpending: { readonly budgetRemaining: u128; @@ -3523,11 +3511,6 @@ export interface PalletTreasuryEvent extends Enum { readonly award: u128; readonly account: AccountId32; } & Struct; - readonly isRejected: boolean; - readonly asRejected: { - readonly proposalIndex: u32; - readonly slashed: u128; - } & Struct; readonly isBurnt: boolean; readonly asBurnt: { readonly burntFunds: u128; @@ -3551,7 +3534,45 @@ export interface PalletTreasuryEvent extends Enum { readonly reactivated: u128; readonly deactivated: u128; } & Struct; - readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved' | 'UpdatedInactive'; + readonly isAssetSpendApproved: boolean; + readonly asAssetSpendApproved: { + readonly index: u32; + readonly assetKind: Null; + readonly amount: u128; + readonly beneficiary: AccountId32; + readonly validFrom: u32; + readonly expireAt: u32; + } & Struct; + readonly isAssetSpendVoided: boolean; + readonly asAssetSpendVoided: { + readonly index: u32; + } & Struct; + readonly isPaid: boolean; + readonly asPaid: { + readonly index: u32; + readonly paymentId: Null; + } & Struct; + readonly isPaymentFailed: boolean; + readonly asPaymentFailed: { + readonly index: u32; + readonly paymentId: Null; + } & Struct; + readonly isSpendProcessed: boolean; + readonly asSpendProcessed: { + readonly index: u32; + } & Struct; + readonly type: 'Spending' | 'Awarded' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved' | 'UpdatedInactive' | 'AssetSpendApproved' | 'AssetSpendVoided' | 'Paid' | 'PaymentFailed' | 'SpendProcessed'; +} + +/** @name PalletTreasuryPaymentState */ +export interface PalletTreasuryPaymentState extends Enum { + readonly isPending: boolean; + readonly isAttempted: boolean; + readonly asAttempted: { + readonly id: Null; + } & Struct; + readonly isFailed: boolean; + readonly type: 'Pending' | 'Attempted' | 'Failed'; } /** @name PalletTreasuryProposal */ @@ -3562,6 +3583,16 @@ export interface PalletTreasuryProposal extends Struct { readonly bond: u128; } +/** @name PalletTreasurySpendStatus */ +export interface PalletTreasurySpendStatus extends Struct { + readonly assetKind: Null; + readonly amount: u128; + readonly beneficiary: AccountId32; + readonly validFrom: u32; + readonly expireAt: u32; + readonly status: PalletTreasuryPaymentState; +} + /** @name PalletUniqueCall */ export interface PalletUniqueCall extends Enum { readonly isCreateCollection: boolean; @@ -3814,31 +3845,31 @@ export interface PalletUtilityEvent extends Enum { export interface PalletXcmCall extends Enum { readonly isSend: boolean; readonly asSend: { - readonly dest: StagingXcmVersionedMultiLocation; - readonly message: StagingXcmVersionedXcm; + readonly dest: XcmVersionedLocation; + readonly message: XcmVersionedXcm; } & Struct; readonly isTeleportAssets: boolean; readonly asTeleportAssets: { - readonly dest: StagingXcmVersionedMultiLocation; - readonly beneficiary: StagingXcmVersionedMultiLocation; - readonly assets: StagingXcmVersionedMultiAssets; + readonly dest: XcmVersionedLocation; + readonly beneficiary: XcmVersionedLocation; + readonly assets: XcmVersionedAssets; readonly feeAssetItem: u32; } & Struct; readonly isReserveTransferAssets: boolean; readonly asReserveTransferAssets: { - readonly dest: StagingXcmVersionedMultiLocation; - readonly beneficiary: StagingXcmVersionedMultiLocation; - readonly assets: StagingXcmVersionedMultiAssets; + readonly dest: XcmVersionedLocation; + readonly beneficiary: XcmVersionedLocation; + readonly assets: XcmVersionedAssets; readonly feeAssetItem: u32; } & Struct; readonly isExecute: boolean; readonly asExecute: { - readonly message: StagingXcmVersionedXcm; + readonly message: XcmVersionedXcm; readonly maxWeight: SpWeightsWeightV2Weight; } & Struct; readonly isForceXcmVersion: boolean; readonly asForceXcmVersion: { - readonly location: StagingXcmV3MultiLocation; + readonly location: StagingXcmV4Location; readonly version: u32; } & Struct; readonly isForceDefaultXcmVersion: boolean; @@ -3847,33 +3878,56 @@ export interface PalletXcmCall extends Enum { } & Struct; readonly isForceSubscribeVersionNotify: boolean; readonly asForceSubscribeVersionNotify: { - readonly location: StagingXcmVersionedMultiLocation; + readonly location: XcmVersionedLocation; } & Struct; readonly isForceUnsubscribeVersionNotify: boolean; readonly asForceUnsubscribeVersionNotify: { - readonly location: StagingXcmVersionedMultiLocation; + readonly location: XcmVersionedLocation; } & Struct; readonly isLimitedReserveTransferAssets: boolean; readonly asLimitedReserveTransferAssets: { - readonly dest: StagingXcmVersionedMultiLocation; - readonly beneficiary: StagingXcmVersionedMultiLocation; - readonly assets: StagingXcmVersionedMultiAssets; + readonly dest: XcmVersionedLocation; + readonly beneficiary: XcmVersionedLocation; + readonly assets: XcmVersionedAssets; readonly feeAssetItem: u32; - readonly weightLimit: StagingXcmV3WeightLimit; + readonly weightLimit: XcmV3WeightLimit; } & Struct; readonly isLimitedTeleportAssets: boolean; readonly asLimitedTeleportAssets: { - readonly dest: StagingXcmVersionedMultiLocation; - readonly beneficiary: StagingXcmVersionedMultiLocation; - readonly assets: StagingXcmVersionedMultiAssets; + readonly dest: XcmVersionedLocation; + readonly beneficiary: XcmVersionedLocation; + readonly assets: XcmVersionedAssets; readonly feeAssetItem: u32; - readonly weightLimit: StagingXcmV3WeightLimit; + readonly weightLimit: XcmV3WeightLimit; } & Struct; readonly isForceSuspension: boolean; readonly asForceSuspension: { readonly suspended: bool; } & Struct; - readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets' | 'ForceSuspension'; + readonly isTransferAssets: boolean; + readonly asTransferAssets: { + readonly dest: XcmVersionedLocation; + readonly beneficiary: XcmVersionedLocation; + readonly assets: XcmVersionedAssets; + readonly feeAssetItem: u32; + readonly weightLimit: XcmV3WeightLimit; + } & Struct; + readonly isClaimAssets: boolean; + readonly asClaimAssets: { + readonly assets: XcmVersionedAssets; + readonly beneficiary: XcmVersionedLocation; + } & Struct; + readonly isTransferAssetsUsingTypeAndThen: boolean; + readonly asTransferAssetsUsingTypeAndThen: { + readonly dest: XcmVersionedLocation; + readonly assets: XcmVersionedAssets; + readonly assetsTransferType: StagingXcmExecutorAssetTransferTransferType; + readonly remoteFeesId: XcmVersionedAssetId; + readonly feesTransferType: StagingXcmExecutorAssetTransferTransferType; + readonly customXcmOnDest: XcmVersionedXcm; + readonly weightLimit: XcmV3WeightLimit; + } & Struct; + readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets' | 'ForceSuspension' | 'TransferAssets' | 'ClaimAssets' | 'TransferAssetsUsingTypeAndThen'; } /** @name PalletXcmError */ @@ -3891,38 +3945,42 @@ export interface PalletXcmError extends Enum { readonly isBadLocation: boolean; readonly isNoSubscription: boolean; readonly isAlreadySubscribed: boolean; - readonly isInvalidAsset: boolean; + readonly isCannotCheckOutTeleport: boolean; readonly isLowBalance: boolean; readonly isTooManyLocks: boolean; readonly isAccountNotSovereign: boolean; readonly isFeesNotMet: boolean; readonly isLockNotFound: boolean; readonly isInUse: boolean; - readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed' | 'InvalidAsset' | 'LowBalance' | 'TooManyLocks' | 'AccountNotSovereign' | 'FeesNotMet' | 'LockNotFound' | 'InUse'; + readonly isInvalidAssetUnknownReserve: boolean; + readonly isInvalidAssetUnsupportedReserve: boolean; + readonly isTooManyReserves: boolean; + readonly isLocalExecutionIncomplete: boolean; + readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed' | 'CannotCheckOutTeleport' | 'LowBalance' | 'TooManyLocks' | 'AccountNotSovereign' | 'FeesNotMet' | 'LockNotFound' | 'InUse' | 'InvalidAssetUnknownReserve' | 'InvalidAssetUnsupportedReserve' | 'TooManyReserves' | 'LocalExecutionIncomplete'; } /** @name PalletXcmEvent */ export interface PalletXcmEvent extends Enum { readonly isAttempted: boolean; readonly asAttempted: { - readonly outcome: StagingXcmV3TraitsOutcome; + readonly outcome: StagingXcmV4TraitsOutcome; } & Struct; readonly isSent: boolean; readonly asSent: { - readonly origin: StagingXcmV3MultiLocation; - readonly destination: StagingXcmV3MultiLocation; - readonly message: StagingXcmV3Xcm; + readonly origin: StagingXcmV4Location; + readonly destination: StagingXcmV4Location; + readonly message: StagingXcmV4Xcm; readonly messageId: U8aFixed; } & Struct; readonly isUnexpectedResponse: boolean; readonly asUnexpectedResponse: { - readonly origin: StagingXcmV3MultiLocation; + readonly origin: StagingXcmV4Location; readonly queryId: u64; } & Struct; readonly isResponseReady: boolean; readonly asResponseReady: { readonly queryId: u64; - readonly response: StagingXcmV3Response; + readonly response: StagingXcmV4Response; } & Struct; readonly isNotified: boolean; readonly asNotified: { @@ -3952,13 +4010,13 @@ export interface PalletXcmEvent extends Enum { } & Struct; readonly isInvalidResponder: boolean; readonly asInvalidResponder: { - readonly origin: StagingXcmV3MultiLocation; + readonly origin: StagingXcmV4Location; readonly queryId: u64; - readonly expectedLocation: Option; + readonly expectedLocation: Option; } & Struct; readonly isInvalidResponderVersion: boolean; readonly asInvalidResponderVersion: { - readonly origin: StagingXcmV3MultiLocation; + readonly origin: StagingXcmV4Location; readonly queryId: u64; } & Struct; readonly isResponseTaken: boolean; @@ -3968,82 +4026,86 @@ export interface PalletXcmEvent extends Enum { readonly isAssetsTrapped: boolean; readonly asAssetsTrapped: { readonly hash_: H256; - readonly origin: StagingXcmV3MultiLocation; - readonly assets: StagingXcmVersionedMultiAssets; + readonly origin: StagingXcmV4Location; + readonly assets: XcmVersionedAssets; } & Struct; readonly isVersionChangeNotified: boolean; readonly asVersionChangeNotified: { - readonly destination: StagingXcmV3MultiLocation; + readonly destination: StagingXcmV4Location; readonly result: u32; - readonly cost: StagingXcmV3MultiassetMultiAssets; + readonly cost: StagingXcmV4AssetAssets; readonly messageId: U8aFixed; } & Struct; readonly isSupportedVersionChanged: boolean; readonly asSupportedVersionChanged: { - readonly location: StagingXcmV3MultiLocation; + readonly location: StagingXcmV4Location; readonly version: u32; } & Struct; readonly isNotifyTargetSendFail: boolean; readonly asNotifyTargetSendFail: { - readonly location: StagingXcmV3MultiLocation; + readonly location: StagingXcmV4Location; readonly queryId: u64; - readonly error: StagingXcmV3TraitsError; + readonly error: XcmV3TraitsError; } & Struct; readonly isNotifyTargetMigrationFail: boolean; readonly asNotifyTargetMigrationFail: { - readonly location: StagingXcmVersionedMultiLocation; + readonly location: XcmVersionedLocation; readonly queryId: u64; } & Struct; readonly isInvalidQuerierVersion: boolean; readonly asInvalidQuerierVersion: { - readonly origin: StagingXcmV3MultiLocation; + readonly origin: StagingXcmV4Location; readonly queryId: u64; } & Struct; readonly isInvalidQuerier: boolean; readonly asInvalidQuerier: { - readonly origin: StagingXcmV3MultiLocation; + readonly origin: StagingXcmV4Location; readonly queryId: u64; - readonly expectedQuerier: StagingXcmV3MultiLocation; - readonly maybeActualQuerier: Option; + readonly expectedQuerier: StagingXcmV4Location; + readonly maybeActualQuerier: Option; } & Struct; readonly isVersionNotifyStarted: boolean; readonly asVersionNotifyStarted: { - readonly destination: StagingXcmV3MultiLocation; - readonly cost: StagingXcmV3MultiassetMultiAssets; + readonly destination: StagingXcmV4Location; + readonly cost: StagingXcmV4AssetAssets; readonly messageId: U8aFixed; } & Struct; readonly isVersionNotifyRequested: boolean; readonly asVersionNotifyRequested: { - readonly destination: StagingXcmV3MultiLocation; - readonly cost: StagingXcmV3MultiassetMultiAssets; + readonly destination: StagingXcmV4Location; + readonly cost: StagingXcmV4AssetAssets; readonly messageId: U8aFixed; } & Struct; readonly isVersionNotifyUnrequested: boolean; readonly asVersionNotifyUnrequested: { - readonly destination: StagingXcmV3MultiLocation; - readonly cost: StagingXcmV3MultiassetMultiAssets; + readonly destination: StagingXcmV4Location; + readonly cost: StagingXcmV4AssetAssets; readonly messageId: U8aFixed; } & Struct; readonly isFeesPaid: boolean; readonly asFeesPaid: { - readonly paying: StagingXcmV3MultiLocation; - readonly fees: StagingXcmV3MultiassetMultiAssets; + readonly paying: StagingXcmV4Location; + readonly fees: StagingXcmV4AssetAssets; } & Struct; readonly isAssetsClaimed: boolean; readonly asAssetsClaimed: { readonly hash_: H256; - readonly origin: StagingXcmV3MultiLocation; - readonly assets: StagingXcmVersionedMultiAssets; + readonly origin: StagingXcmV4Location; + readonly assets: XcmVersionedAssets; + } & Struct; + readonly isVersionMigrationFinished: boolean; + readonly asVersionMigrationFinished: { + readonly version: u32; } & Struct; - readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'InvalidQuerierVersion' | 'InvalidQuerier' | 'VersionNotifyStarted' | 'VersionNotifyRequested' | 'VersionNotifyUnrequested' | 'FeesPaid' | 'AssetsClaimed'; + readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'InvalidQuerierVersion' | 'InvalidQuerier' | 'VersionNotifyStarted' | 'VersionNotifyRequested' | 'VersionNotifyUnrequested' | 'FeesPaid' | 'AssetsClaimed' | 'VersionMigrationFinished'; } /** @name PalletXcmOrigin */ export interface PalletXcmOrigin extends Enum { readonly isXcm: boolean; - readonly asXcm: StagingXcmV3MultiLocation; + readonly asXcm: StagingXcmV4Location; readonly isResponse: boolean; - readonly asResponse: StagingXcmV3MultiLocation; + readonly asResponse: StagingXcmV4Location; readonly type: 'Xcm' | 'Response'; } @@ -4051,19 +4113,19 @@ export interface PalletXcmOrigin extends Enum { export interface PalletXcmQueryStatus extends Enum { readonly isPending: boolean; readonly asPending: { - readonly responder: StagingXcmVersionedMultiLocation; - readonly maybeMatchQuerier: Option; + readonly responder: XcmVersionedLocation; + readonly maybeMatchQuerier: Option; readonly maybeNotify: Option>; readonly timeout: u32; } & Struct; readonly isVersionNotifier: boolean; readonly asVersionNotifier: { - readonly origin: StagingXcmVersionedMultiLocation; + readonly origin: XcmVersionedLocation; readonly isActive: bool; } & Struct; readonly isReady: boolean; readonly asReady: { - readonly response: StagingXcmVersionedResponse; + readonly response: XcmVersionedResponse; readonly at: u32; } & Struct; readonly type: 'Pending' | 'VersionNotifier' | 'Ready'; @@ -4072,8 +4134,8 @@ export interface PalletXcmQueryStatus extends Enum { /** @name PalletXcmRemoteLockedFungibleRecord */ export interface PalletXcmRemoteLockedFungibleRecord extends Struct { readonly amount: u128; - readonly owner: StagingXcmVersionedMultiLocation; - readonly locker: StagingXcmVersionedMultiLocation; + readonly owner: XcmVersionedLocation; + readonly locker: XcmVersionedLocation; readonly consumers: Vec>; } @@ -4087,9 +4149,6 @@ export interface PalletXcmVersionMigrationStage extends Enum { readonly type: 'MigrateSupportedVersion' | 'MigrateVersionNotifiers' | 'NotifyCurrentTargets' | 'MigrateAndNotifyOldTargets'; } -/** @name ParachainInfoCall */ -export interface ParachainInfoCall extends Null {} - /** @name PhantomTypeUpDataStructs */ export interface PhantomTypeUpDataStructs extends Vec> {} @@ -4111,16 +4170,8 @@ export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct { readonly data: Bytes; } -/** @name PolkadotParachainPrimitivesPrimitivesXcmpMessageFormat */ -export interface PolkadotParachainPrimitivesPrimitivesXcmpMessageFormat extends Enum { - readonly isConcatenatedVersionedXcm: boolean; - readonly isConcatenatedEncodedBlob: boolean; - readonly isSignals: boolean; - readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals'; -} - -/** @name PolkadotPrimitivesV5AbridgedHostConfiguration */ -export interface PolkadotPrimitivesV5AbridgedHostConfiguration extends Struct { +/** @name PolkadotPrimitivesV7AbridgedHostConfiguration */ +export interface PolkadotPrimitivesV7AbridgedHostConfiguration extends Struct { readonly maxCodeSize: u32; readonly maxHeadDataSize: u32; readonly maxUpwardQueueCount: u32; @@ -4130,11 +4181,11 @@ export interface PolkadotPrimitivesV5AbridgedHostConfiguration extends Struct { readonly hrmpMaxMessageNumPerCandidate: u32; readonly validationUpgradeCooldown: u32; readonly validationUpgradeDelay: u32; - readonly asyncBackingParams: PolkadotPrimitivesVstagingAsyncBackingParams; + readonly asyncBackingParams: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams; } -/** @name PolkadotPrimitivesV5AbridgedHrmpChannel */ -export interface PolkadotPrimitivesV5AbridgedHrmpChannel extends Struct { +/** @name PolkadotPrimitivesV7AbridgedHrmpChannel */ +export interface PolkadotPrimitivesV7AbridgedHrmpChannel extends Struct { readonly maxCapacity: u32; readonly maxTotalSize: u32; readonly maxMessageSize: u32; @@ -4143,33 +4194,33 @@ export interface PolkadotPrimitivesV5AbridgedHrmpChannel extends Struct { readonly mqcHead: Option; } -/** @name PolkadotPrimitivesV5PersistedValidationData */ -export interface PolkadotPrimitivesV5PersistedValidationData extends Struct { +/** @name PolkadotPrimitivesV7AsyncBackingAsyncBackingParams */ +export interface PolkadotPrimitivesV7AsyncBackingAsyncBackingParams extends Struct { + readonly maxCandidateDepth: u32; + readonly allowedAncestryLen: u32; +} + +/** @name PolkadotPrimitivesV7PersistedValidationData */ +export interface PolkadotPrimitivesV7PersistedValidationData extends Struct { readonly parentHead: Bytes; readonly relayParentNumber: u32; readonly relayParentStorageRoot: H256; readonly maxPovSize: u32; } -/** @name PolkadotPrimitivesV5UpgradeGoAhead */ -export interface PolkadotPrimitivesV5UpgradeGoAhead extends Enum { +/** @name PolkadotPrimitivesV7UpgradeGoAhead */ +export interface PolkadotPrimitivesV7UpgradeGoAhead extends Enum { readonly isAbort: boolean; readonly isGoAhead: boolean; readonly type: 'Abort' | 'GoAhead'; } -/** @name PolkadotPrimitivesV5UpgradeRestriction */ -export interface PolkadotPrimitivesV5UpgradeRestriction extends Enum { +/** @name PolkadotPrimitivesV7UpgradeRestriction */ +export interface PolkadotPrimitivesV7UpgradeRestriction extends Enum { readonly isPresent: boolean; readonly type: 'Present'; } -/** @name PolkadotPrimitivesVstagingAsyncBackingParams */ -export interface PolkadotPrimitivesVstagingAsyncBackingParams extends Struct { - readonly maxCandidateDepth: u32; - readonly allowedAncestryLen: u32; -} - /** @name SpArithmeticArithmeticError */ export interface SpArithmeticArithmeticError extends Enum { readonly isUnderflow: boolean; @@ -4179,26 +4230,17 @@ export interface SpArithmeticArithmeticError extends Enum { } /** @name SpConsensusAuraSr25519AppSr25519Public */ -export interface SpConsensusAuraSr25519AppSr25519Public extends SpCoreSr25519Public {} +export interface SpConsensusAuraSr25519AppSr25519Public extends U8aFixed {} /** @name SpCoreCryptoKeyTypeId */ export interface SpCoreCryptoKeyTypeId extends U8aFixed {} -/** @name SpCoreEcdsaSignature */ -export interface SpCoreEcdsaSignature extends U8aFixed {} - -/** @name SpCoreEd25519Signature */ -export interface SpCoreEd25519Signature extends U8aFixed {} - -/** @name SpCoreSr25519Public */ -export interface SpCoreSr25519Public extends U8aFixed {} - -/** @name SpCoreSr25519Signature */ -export interface SpCoreSr25519Signature extends U8aFixed {} - /** @name SpCoreVoid */ export interface SpCoreVoid extends Null {} +/** @name SpRuntimeBlakeTwo256 */ +export interface SpRuntimeBlakeTwo256 extends Null {} + /** @name SpRuntimeDigest */ export interface SpRuntimeDigest extends Struct { readonly logs: Vec; @@ -4250,11 +4292,11 @@ export interface SpRuntimeModuleError extends Struct { /** @name SpRuntimeMultiSignature */ export interface SpRuntimeMultiSignature extends Enum { readonly isEd25519: boolean; - readonly asEd25519: SpCoreEd25519Signature; + readonly asEd25519: U8aFixed; readonly isSr25519: boolean; - readonly asSr25519: SpCoreSr25519Signature; + readonly asSr25519: U8aFixed; readonly isEcdsa: boolean; - readonly asEcdsa: SpCoreEcdsaSignature; + readonly asEcdsa: U8aFixed; readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa'; } @@ -4344,83 +4386,128 @@ export interface SpWeightsWeightV2Weight extends Struct { readonly proofSize: Compact; } -/** @name StagingXcmDoubleEncoded */ -export interface StagingXcmDoubleEncoded extends Struct { - readonly encoded: Bytes; +/** @name StagingParachainInfoCall */ +export interface StagingParachainInfoCall extends Null {} + +/** @name StagingXcmExecutorAssetTransferTransferType */ +export interface StagingXcmExecutorAssetTransferTransferType extends Enum { + readonly isTeleport: boolean; + readonly isLocalReserve: boolean; + readonly isDestinationReserve: boolean; + readonly isRemoteReserve: boolean; + readonly asRemoteReserve: XcmVersionedLocation; + readonly type: 'Teleport' | 'LocalReserve' | 'DestinationReserve' | 'RemoteReserve'; } -/** @name StagingXcmV2BodyId */ -export interface StagingXcmV2BodyId extends Enum { - readonly isUnit: boolean; - readonly isNamed: boolean; - readonly asNamed: Bytes; +/** @name StagingXcmV3MultiLocation */ +export interface StagingXcmV3MultiLocation extends Struct { + readonly parents: u8; + readonly interior: XcmV3Junctions; +} + +/** @name StagingXcmV4Asset */ +export interface StagingXcmV4Asset extends Struct { + readonly id: StagingXcmV4AssetAssetId; + readonly fun: StagingXcmV4AssetFungibility; +} + +/** @name StagingXcmV4AssetAssetFilter */ +export interface StagingXcmV4AssetAssetFilter extends Enum { + readonly isDefinite: boolean; + readonly asDefinite: StagingXcmV4AssetAssets; + readonly isWild: boolean; + readonly asWild: StagingXcmV4AssetWildAsset; + readonly type: 'Definite' | 'Wild'; +} + +/** @name StagingXcmV4AssetAssetId */ +export interface StagingXcmV4AssetAssetId extends StagingXcmV4Location {} + +/** @name StagingXcmV4AssetAssetInstance */ +export interface StagingXcmV4AssetAssetInstance extends Enum { + readonly isUndefined: boolean; readonly isIndex: boolean; - readonly asIndex: Compact; - readonly isExecutive: boolean; - readonly isTechnical: boolean; - readonly isLegislative: boolean; - readonly isJudicial: boolean; - readonly isDefense: boolean; - readonly isAdministration: boolean; - readonly isTreasury: boolean; - readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial' | 'Defense' | 'Administration' | 'Treasury'; + readonly asIndex: Compact; + readonly isArray4: boolean; + readonly asArray4: U8aFixed; + readonly isArray8: boolean; + readonly asArray8: U8aFixed; + readonly isArray16: boolean; + readonly asArray16: U8aFixed; + readonly isArray32: boolean; + readonly asArray32: U8aFixed; + readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32'; } -/** @name StagingXcmV2BodyPart */ -export interface StagingXcmV2BodyPart extends Enum { - readonly isVoice: boolean; - readonly isMembers: boolean; - readonly asMembers: { - readonly count: Compact; - } & Struct; - readonly isFraction: boolean; - readonly asFraction: { - readonly nom: Compact; - readonly denom: Compact; - } & Struct; - readonly isAtLeastProportion: boolean; - readonly asAtLeastProportion: { - readonly nom: Compact; - readonly denom: Compact; +/** @name StagingXcmV4AssetAssets */ +export interface StagingXcmV4AssetAssets extends Vec {} + +/** @name StagingXcmV4AssetFungibility */ +export interface StagingXcmV4AssetFungibility extends Enum { + readonly isFungible: boolean; + readonly asFungible: Compact; + readonly isNonFungible: boolean; + readonly asNonFungible: StagingXcmV4AssetAssetInstance; + readonly type: 'Fungible' | 'NonFungible'; +} + +/** @name StagingXcmV4AssetWildAsset */ +export interface StagingXcmV4AssetWildAsset extends Enum { + readonly isAll: boolean; + readonly isAllOf: boolean; + readonly asAllOf: { + readonly id: StagingXcmV4AssetAssetId; + readonly fun: StagingXcmV4AssetWildFungibility; } & Struct; - readonly isMoreThanProportion: boolean; - readonly asMoreThanProportion: { - readonly nom: Compact; - readonly denom: Compact; + readonly isAllCounted: boolean; + readonly asAllCounted: Compact; + readonly isAllOfCounted: boolean; + readonly asAllOfCounted: { + readonly id: StagingXcmV4AssetAssetId; + readonly fun: StagingXcmV4AssetWildFungibility; + readonly count: Compact; } & Struct; - readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion'; + readonly type: 'All' | 'AllOf' | 'AllCounted' | 'AllOfCounted'; +} + +/** @name StagingXcmV4AssetWildFungibility */ +export interface StagingXcmV4AssetWildFungibility extends Enum { + readonly isFungible: boolean; + readonly isNonFungible: boolean; + readonly type: 'Fungible' | 'NonFungible'; } -/** @name StagingXcmV2Instruction */ -export interface StagingXcmV2Instruction extends Enum { +/** @name StagingXcmV4Instruction */ +export interface StagingXcmV4Instruction extends Enum { readonly isWithdrawAsset: boolean; - readonly asWithdrawAsset: StagingXcmV2MultiassetMultiAssets; + readonly asWithdrawAsset: StagingXcmV4AssetAssets; readonly isReserveAssetDeposited: boolean; - readonly asReserveAssetDeposited: StagingXcmV2MultiassetMultiAssets; + readonly asReserveAssetDeposited: StagingXcmV4AssetAssets; readonly isReceiveTeleportedAsset: boolean; - readonly asReceiveTeleportedAsset: StagingXcmV2MultiassetMultiAssets; + readonly asReceiveTeleportedAsset: StagingXcmV4AssetAssets; readonly isQueryResponse: boolean; readonly asQueryResponse: { readonly queryId: Compact; - readonly response: StagingXcmV2Response; - readonly maxWeight: Compact; + readonly response: StagingXcmV4Response; + readonly maxWeight: SpWeightsWeightV2Weight; + readonly querier: Option; } & Struct; readonly isTransferAsset: boolean; readonly asTransferAsset: { - readonly assets: StagingXcmV2MultiassetMultiAssets; - readonly beneficiary: StagingXcmV2MultiLocation; + readonly assets: StagingXcmV4AssetAssets; + readonly beneficiary: StagingXcmV4Location; } & Struct; readonly isTransferReserveAsset: boolean; readonly asTransferReserveAsset: { - readonly assets: StagingXcmV2MultiassetMultiAssets; - readonly dest: StagingXcmV2MultiLocation; - readonly xcm: StagingXcmV2Xcm; + readonly assets: StagingXcmV4AssetAssets; + readonly dest: StagingXcmV4Location; + readonly xcm: StagingXcmV4Xcm; } & Struct; readonly isTransact: boolean; readonly asTransact: { - readonly originType: StagingXcmV2OriginKind; - readonly requireWeightAtMost: Compact; - readonly call: StagingXcmDoubleEncoded; + readonly originKind: XcmV3OriginKind; + readonly requireWeightAtMost: SpWeightsWeightV2Weight; + readonly call: XcmDoubleEncoded; } & Struct; readonly isHrmpNewChannelOpenRequest: boolean; readonly asHrmpNewChannelOpenRequest: { @@ -4440,388 +4527,58 @@ export interface StagingXcmV2Instruction extends Enum { } & Struct; readonly isClearOrigin: boolean; readonly isDescendOrigin: boolean; - readonly asDescendOrigin: StagingXcmV2MultilocationJunctions; + readonly asDescendOrigin: StagingXcmV4Junctions; readonly isReportError: boolean; - readonly asReportError: { - readonly queryId: Compact; - readonly dest: StagingXcmV2MultiLocation; - readonly maxResponseWeight: Compact; - } & Struct; + readonly asReportError: StagingXcmV4QueryResponseInfo; readonly isDepositAsset: boolean; readonly asDepositAsset: { - readonly assets: StagingXcmV2MultiassetMultiAssetFilter; - readonly maxAssets: Compact; - readonly beneficiary: StagingXcmV2MultiLocation; + readonly assets: StagingXcmV4AssetAssetFilter; + readonly beneficiary: StagingXcmV4Location; } & Struct; readonly isDepositReserveAsset: boolean; readonly asDepositReserveAsset: { - readonly assets: StagingXcmV2MultiassetMultiAssetFilter; - readonly maxAssets: Compact; - readonly dest: StagingXcmV2MultiLocation; - readonly xcm: StagingXcmV2Xcm; + readonly assets: StagingXcmV4AssetAssetFilter; + readonly dest: StagingXcmV4Location; + readonly xcm: StagingXcmV4Xcm; } & Struct; readonly isExchangeAsset: boolean; readonly asExchangeAsset: { - readonly give: StagingXcmV2MultiassetMultiAssetFilter; - readonly receive: StagingXcmV2MultiassetMultiAssets; + readonly give: StagingXcmV4AssetAssetFilter; + readonly want: StagingXcmV4AssetAssets; + readonly maximal: bool; } & Struct; readonly isInitiateReserveWithdraw: boolean; readonly asInitiateReserveWithdraw: { - readonly assets: StagingXcmV2MultiassetMultiAssetFilter; - readonly reserve: StagingXcmV2MultiLocation; - readonly xcm: StagingXcmV2Xcm; + readonly assets: StagingXcmV4AssetAssetFilter; + readonly reserve: StagingXcmV4Location; + readonly xcm: StagingXcmV4Xcm; } & Struct; readonly isInitiateTeleport: boolean; readonly asInitiateTeleport: { - readonly assets: StagingXcmV2MultiassetMultiAssetFilter; - readonly dest: StagingXcmV2MultiLocation; - readonly xcm: StagingXcmV2Xcm; - } & Struct; - readonly isQueryHolding: boolean; - readonly asQueryHolding: { - readonly queryId: Compact; - readonly dest: StagingXcmV2MultiLocation; - readonly assets: StagingXcmV2MultiassetMultiAssetFilter; - readonly maxResponseWeight: Compact; - } & Struct; - readonly isBuyExecution: boolean; - readonly asBuyExecution: { - readonly fees: StagingXcmV2MultiAsset; - readonly weightLimit: StagingXcmV2WeightLimit; - } & Struct; - readonly isRefundSurplus: boolean; - readonly isSetErrorHandler: boolean; - readonly asSetErrorHandler: StagingXcmV2Xcm; - readonly isSetAppendix: boolean; - readonly asSetAppendix: StagingXcmV2Xcm; - readonly isClearError: boolean; - readonly isClaimAsset: boolean; - readonly asClaimAsset: { - readonly assets: StagingXcmV2MultiassetMultiAssets; - readonly ticket: StagingXcmV2MultiLocation; - } & Struct; - readonly isTrap: boolean; - readonly asTrap: Compact; - readonly isSubscribeVersion: boolean; - readonly asSubscribeVersion: { - readonly queryId: Compact; - readonly maxResponseWeight: Compact; - } & Struct; - readonly isUnsubscribeVersion: boolean; - readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion'; -} - -/** @name StagingXcmV2Junction */ -export interface StagingXcmV2Junction extends Enum { - readonly isParachain: boolean; - readonly asParachain: Compact; - readonly isAccountId32: boolean; - readonly asAccountId32: { - readonly network: StagingXcmV2NetworkId; - readonly id: U8aFixed; - } & Struct; - readonly isAccountIndex64: boolean; - readonly asAccountIndex64: { - readonly network: StagingXcmV2NetworkId; - readonly index: Compact; - } & Struct; - readonly isAccountKey20: boolean; - readonly asAccountKey20: { - readonly network: StagingXcmV2NetworkId; - readonly key: U8aFixed; - } & Struct; - readonly isPalletInstance: boolean; - readonly asPalletInstance: u8; - readonly isGeneralIndex: boolean; - readonly asGeneralIndex: Compact; - readonly isGeneralKey: boolean; - readonly asGeneralKey: Bytes; - readonly isOnlyChild: boolean; - readonly isPlurality: boolean; - readonly asPlurality: { - readonly id: StagingXcmV2BodyId; - readonly part: StagingXcmV2BodyPart; - } & Struct; - readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality'; -} - -/** @name StagingXcmV2MultiAsset */ -export interface StagingXcmV2MultiAsset extends Struct { - readonly id: StagingXcmV2MultiassetAssetId; - readonly fun: StagingXcmV2MultiassetFungibility; -} - -/** @name StagingXcmV2MultiassetAssetId */ -export interface StagingXcmV2MultiassetAssetId extends Enum { - readonly isConcrete: boolean; - readonly asConcrete: StagingXcmV2MultiLocation; - readonly isAbstract: boolean; - readonly asAbstract: Bytes; - readonly type: 'Concrete' | 'Abstract'; -} - -/** @name StagingXcmV2MultiassetAssetInstance */ -export interface StagingXcmV2MultiassetAssetInstance extends Enum { - readonly isUndefined: boolean; - readonly isIndex: boolean; - readonly asIndex: Compact; - readonly isArray4: boolean; - readonly asArray4: U8aFixed; - readonly isArray8: boolean; - readonly asArray8: U8aFixed; - readonly isArray16: boolean; - readonly asArray16: U8aFixed; - readonly isArray32: boolean; - readonly asArray32: U8aFixed; - readonly isBlob: boolean; - readonly asBlob: Bytes; - readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob'; -} - -/** @name StagingXcmV2MultiassetFungibility */ -export interface StagingXcmV2MultiassetFungibility extends Enum { - readonly isFungible: boolean; - readonly asFungible: Compact; - readonly isNonFungible: boolean; - readonly asNonFungible: StagingXcmV2MultiassetAssetInstance; - readonly type: 'Fungible' | 'NonFungible'; -} - -/** @name StagingXcmV2MultiassetMultiAssetFilter */ -export interface StagingXcmV2MultiassetMultiAssetFilter extends Enum { - readonly isDefinite: boolean; - readonly asDefinite: StagingXcmV2MultiassetMultiAssets; - readonly isWild: boolean; - readonly asWild: StagingXcmV2MultiassetWildMultiAsset; - readonly type: 'Definite' | 'Wild'; -} - -/** @name StagingXcmV2MultiassetMultiAssets */ -export interface StagingXcmV2MultiassetMultiAssets extends Vec {} - -/** @name StagingXcmV2MultiassetWildFungibility */ -export interface StagingXcmV2MultiassetWildFungibility extends Enum { - readonly isFungible: boolean; - readonly isNonFungible: boolean; - readonly type: 'Fungible' | 'NonFungible'; -} - -/** @name StagingXcmV2MultiassetWildMultiAsset */ -export interface StagingXcmV2MultiassetWildMultiAsset extends Enum { - readonly isAll: boolean; - readonly isAllOf: boolean; - readonly asAllOf: { - readonly id: StagingXcmV2MultiassetAssetId; - readonly fun: StagingXcmV2MultiassetWildFungibility; - } & Struct; - readonly type: 'All' | 'AllOf'; -} - -/** @name StagingXcmV2MultiLocation */ -export interface StagingXcmV2MultiLocation extends Struct { - readonly parents: u8; - readonly interior: StagingXcmV2MultilocationJunctions; -} - -/** @name StagingXcmV2MultilocationJunctions */ -export interface StagingXcmV2MultilocationJunctions extends Enum { - readonly isHere: boolean; - readonly isX1: boolean; - readonly asX1: StagingXcmV2Junction; - readonly isX2: boolean; - readonly asX2: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction]>; - readonly isX3: boolean; - readonly asX3: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>; - readonly isX4: boolean; - readonly asX4: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>; - readonly isX5: boolean; - readonly asX5: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>; - readonly isX6: boolean; - readonly asX6: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>; - readonly isX7: boolean; - readonly asX7: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>; - readonly isX8: boolean; - readonly asX8: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>; - readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8'; -} - -/** @name StagingXcmV2NetworkId */ -export interface StagingXcmV2NetworkId extends Enum { - readonly isAny: boolean; - readonly isNamed: boolean; - readonly asNamed: Bytes; - readonly isPolkadot: boolean; - readonly isKusama: boolean; - readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama'; -} - -/** @name StagingXcmV2OriginKind */ -export interface StagingXcmV2OriginKind extends Enum { - readonly isNative: boolean; - readonly isSovereignAccount: boolean; - readonly isSuperuser: boolean; - readonly isXcm: boolean; - readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm'; -} - -/** @name StagingXcmV2Response */ -export interface StagingXcmV2Response extends Enum { - readonly isNull: boolean; - readonly isAssets: boolean; - readonly asAssets: StagingXcmV2MultiassetMultiAssets; - readonly isExecutionResult: boolean; - readonly asExecutionResult: Option>; - readonly isVersion: boolean; - readonly asVersion: u32; - readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version'; -} - -/** @name StagingXcmV2TraitsError */ -export interface StagingXcmV2TraitsError extends Enum { - readonly isOverflow: boolean; - readonly isUnimplemented: boolean; - readonly isUntrustedReserveLocation: boolean; - readonly isUntrustedTeleportLocation: boolean; - readonly isMultiLocationFull: boolean; - readonly isMultiLocationNotInvertible: boolean; - readonly isBadOrigin: boolean; - readonly isInvalidLocation: boolean; - readonly isAssetNotFound: boolean; - readonly isFailedToTransactAsset: boolean; - readonly isNotWithdrawable: boolean; - readonly isLocationCannotHold: boolean; - readonly isExceedsMaxMessageSize: boolean; - readonly isDestinationUnsupported: boolean; - readonly isTransport: boolean; - readonly isUnroutable: boolean; - readonly isUnknownClaim: boolean; - readonly isFailedToDecode: boolean; - readonly isMaxWeightInvalid: boolean; - readonly isNotHoldingFees: boolean; - readonly isTooExpensive: boolean; - readonly isTrap: boolean; - readonly asTrap: u64; - readonly isUnhandledXcmVersion: boolean; - readonly isWeightLimitReached: boolean; - readonly asWeightLimitReached: u64; - readonly isBarrier: boolean; - readonly isWeightNotComputable: boolean; - readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable'; -} - -/** @name StagingXcmV2WeightLimit */ -export interface StagingXcmV2WeightLimit extends Enum { - readonly isUnlimited: boolean; - readonly isLimited: boolean; - readonly asLimited: Compact; - readonly type: 'Unlimited' | 'Limited'; -} - -/** @name StagingXcmV2Xcm */ -export interface StagingXcmV2Xcm extends Vec {} - -/** @name StagingXcmV3Instruction */ -export interface StagingXcmV3Instruction extends Enum { - readonly isWithdrawAsset: boolean; - readonly asWithdrawAsset: StagingXcmV3MultiassetMultiAssets; - readonly isReserveAssetDeposited: boolean; - readonly asReserveAssetDeposited: StagingXcmV3MultiassetMultiAssets; - readonly isReceiveTeleportedAsset: boolean; - readonly asReceiveTeleportedAsset: StagingXcmV3MultiassetMultiAssets; - readonly isQueryResponse: boolean; - readonly asQueryResponse: { - readonly queryId: Compact; - readonly response: StagingXcmV3Response; - readonly maxWeight: SpWeightsWeightV2Weight; - readonly querier: Option; - } & Struct; - readonly isTransferAsset: boolean; - readonly asTransferAsset: { - readonly assets: StagingXcmV3MultiassetMultiAssets; - readonly beneficiary: StagingXcmV3MultiLocation; - } & Struct; - readonly isTransferReserveAsset: boolean; - readonly asTransferReserveAsset: { - readonly assets: StagingXcmV3MultiassetMultiAssets; - readonly dest: StagingXcmV3MultiLocation; - readonly xcm: StagingXcmV3Xcm; - } & Struct; - readonly isTransact: boolean; - readonly asTransact: { - readonly originKind: StagingXcmV2OriginKind; - readonly requireWeightAtMost: SpWeightsWeightV2Weight; - readonly call: StagingXcmDoubleEncoded; - } & Struct; - readonly isHrmpNewChannelOpenRequest: boolean; - readonly asHrmpNewChannelOpenRequest: { - readonly sender: Compact; - readonly maxMessageSize: Compact; - readonly maxCapacity: Compact; - } & Struct; - readonly isHrmpChannelAccepted: boolean; - readonly asHrmpChannelAccepted: { - readonly recipient: Compact; - } & Struct; - readonly isHrmpChannelClosing: boolean; - readonly asHrmpChannelClosing: { - readonly initiator: Compact; - readonly sender: Compact; - readonly recipient: Compact; - } & Struct; - readonly isClearOrigin: boolean; - readonly isDescendOrigin: boolean; - readonly asDescendOrigin: StagingXcmV3Junctions; - readonly isReportError: boolean; - readonly asReportError: StagingXcmV3QueryResponseInfo; - readonly isDepositAsset: boolean; - readonly asDepositAsset: { - readonly assets: StagingXcmV3MultiassetMultiAssetFilter; - readonly beneficiary: StagingXcmV3MultiLocation; - } & Struct; - readonly isDepositReserveAsset: boolean; - readonly asDepositReserveAsset: { - readonly assets: StagingXcmV3MultiassetMultiAssetFilter; - readonly dest: StagingXcmV3MultiLocation; - readonly xcm: StagingXcmV3Xcm; - } & Struct; - readonly isExchangeAsset: boolean; - readonly asExchangeAsset: { - readonly give: StagingXcmV3MultiassetMultiAssetFilter; - readonly want: StagingXcmV3MultiassetMultiAssets; - readonly maximal: bool; - } & Struct; - readonly isInitiateReserveWithdraw: boolean; - readonly asInitiateReserveWithdraw: { - readonly assets: StagingXcmV3MultiassetMultiAssetFilter; - readonly reserve: StagingXcmV3MultiLocation; - readonly xcm: StagingXcmV3Xcm; - } & Struct; - readonly isInitiateTeleport: boolean; - readonly asInitiateTeleport: { - readonly assets: StagingXcmV3MultiassetMultiAssetFilter; - readonly dest: StagingXcmV3MultiLocation; - readonly xcm: StagingXcmV3Xcm; + readonly assets: StagingXcmV4AssetAssetFilter; + readonly dest: StagingXcmV4Location; + readonly xcm: StagingXcmV4Xcm; } & Struct; readonly isReportHolding: boolean; readonly asReportHolding: { - readonly responseInfo: StagingXcmV3QueryResponseInfo; - readonly assets: StagingXcmV3MultiassetMultiAssetFilter; + readonly responseInfo: StagingXcmV4QueryResponseInfo; + readonly assets: StagingXcmV4AssetAssetFilter; } & Struct; readonly isBuyExecution: boolean; readonly asBuyExecution: { - readonly fees: StagingXcmV3MultiAsset; - readonly weightLimit: StagingXcmV3WeightLimit; + readonly fees: StagingXcmV4Asset; + readonly weightLimit: XcmV3WeightLimit; } & Struct; readonly isRefundSurplus: boolean; readonly isSetErrorHandler: boolean; - readonly asSetErrorHandler: StagingXcmV3Xcm; + readonly asSetErrorHandler: StagingXcmV4Xcm; readonly isSetAppendix: boolean; - readonly asSetAppendix: StagingXcmV3Xcm; + readonly asSetAppendix: StagingXcmV4Xcm; readonly isClearError: boolean; readonly isClaimAsset: boolean; readonly asClaimAsset: { - readonly assets: StagingXcmV3MultiassetMultiAssets; - readonly ticket: StagingXcmV3MultiLocation; + readonly assets: StagingXcmV4AssetAssets; + readonly ticket: StagingXcmV4Location; } & Struct; readonly isTrap: boolean; readonly asTrap: Compact; @@ -4832,19 +4589,19 @@ export interface StagingXcmV3Instruction extends Enum { } & Struct; readonly isUnsubscribeVersion: boolean; readonly isBurnAsset: boolean; - readonly asBurnAsset: StagingXcmV3MultiassetMultiAssets; + readonly asBurnAsset: StagingXcmV4AssetAssets; readonly isExpectAsset: boolean; - readonly asExpectAsset: StagingXcmV3MultiassetMultiAssets; + readonly asExpectAsset: StagingXcmV4AssetAssets; readonly isExpectOrigin: boolean; - readonly asExpectOrigin: Option; + readonly asExpectOrigin: Option; readonly isExpectError: boolean; - readonly asExpectError: Option>; + readonly asExpectError: Option>; readonly isExpectTransactStatus: boolean; - readonly asExpectTransactStatus: StagingXcmV3MaybeErrorCode; + readonly asExpectTransactStatus: XcmV3MaybeErrorCode; readonly isQueryPallet: boolean; readonly asQueryPallet: { readonly moduleName: Bytes; - readonly responseInfo: StagingXcmV3QueryResponseInfo; + readonly responseInfo: StagingXcmV4QueryResponseInfo; } & Struct; readonly isExpectPallet: boolean; readonly asExpectPallet: { @@ -4855,35 +4612,35 @@ export interface StagingXcmV3Instruction extends Enum { readonly minCrateMinor: Compact; } & Struct; readonly isReportTransactStatus: boolean; - readonly asReportTransactStatus: StagingXcmV3QueryResponseInfo; + readonly asReportTransactStatus: StagingXcmV4QueryResponseInfo; readonly isClearTransactStatus: boolean; readonly isUniversalOrigin: boolean; - readonly asUniversalOrigin: StagingXcmV3Junction; + readonly asUniversalOrigin: StagingXcmV4Junction; readonly isExportMessage: boolean; readonly asExportMessage: { - readonly network: StagingXcmV3JunctionNetworkId; - readonly destination: StagingXcmV3Junctions; - readonly xcm: StagingXcmV3Xcm; + readonly network: StagingXcmV4JunctionNetworkId; + readonly destination: StagingXcmV4Junctions; + readonly xcm: StagingXcmV4Xcm; } & Struct; readonly isLockAsset: boolean; readonly asLockAsset: { - readonly asset: StagingXcmV3MultiAsset; - readonly unlocker: StagingXcmV3MultiLocation; + readonly asset: StagingXcmV4Asset; + readonly unlocker: StagingXcmV4Location; } & Struct; readonly isUnlockAsset: boolean; readonly asUnlockAsset: { - readonly asset: StagingXcmV3MultiAsset; - readonly target: StagingXcmV3MultiLocation; + readonly asset: StagingXcmV4Asset; + readonly target: StagingXcmV4Location; } & Struct; readonly isNoteUnlockable: boolean; readonly asNoteUnlockable: { - readonly asset: StagingXcmV3MultiAsset; - readonly owner: StagingXcmV3MultiLocation; + readonly asset: StagingXcmV4Asset; + readonly owner: StagingXcmV4Location; } & Struct; readonly isRequestUnlock: boolean; readonly asRequestUnlock: { - readonly asset: StagingXcmV3MultiAsset; - readonly locker: StagingXcmV3MultiLocation; + readonly asset: StagingXcmV4Asset; + readonly locker: StagingXcmV4Location; } & Struct; readonly isSetFeesMode: boolean; readonly asSetFeesMode: { @@ -4893,32 +4650,32 @@ export interface StagingXcmV3Instruction extends Enum { readonly asSetTopic: U8aFixed; readonly isClearTopic: boolean; readonly isAliasOrigin: boolean; - readonly asAliasOrigin: StagingXcmV3MultiLocation; + readonly asAliasOrigin: StagingXcmV4Location; readonly isUnpaidExecution: boolean; readonly asUnpaidExecution: { - readonly weightLimit: StagingXcmV3WeightLimit; - readonly checkOrigin: Option; + readonly weightLimit: XcmV3WeightLimit; + readonly checkOrigin: Option; } & Struct; readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'ReportHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion' | 'BurnAsset' | 'ExpectAsset' | 'ExpectOrigin' | 'ExpectError' | 'ExpectTransactStatus' | 'QueryPallet' | 'ExpectPallet' | 'ReportTransactStatus' | 'ClearTransactStatus' | 'UniversalOrigin' | 'ExportMessage' | 'LockAsset' | 'UnlockAsset' | 'NoteUnlockable' | 'RequestUnlock' | 'SetFeesMode' | 'SetTopic' | 'ClearTopic' | 'AliasOrigin' | 'UnpaidExecution'; } -/** @name StagingXcmV3Junction */ -export interface StagingXcmV3Junction extends Enum { +/** @name StagingXcmV4Junction */ +export interface StagingXcmV4Junction extends Enum { readonly isParachain: boolean; readonly asParachain: Compact; readonly isAccountId32: boolean; readonly asAccountId32: { - readonly network: Option; + readonly network: Option; readonly id: U8aFixed; } & Struct; readonly isAccountIndex64: boolean; readonly asAccountIndex64: { - readonly network: Option; + readonly network: Option; readonly index: Compact; } & Struct; readonly isAccountKey20: boolean; readonly asAccountKey20: { - readonly network: Option; + readonly network: Option; readonly key: U8aFixed; } & Struct; readonly isPalletInstance: boolean; @@ -4933,58 +4690,16 @@ export interface StagingXcmV3Junction extends Enum { readonly isOnlyChild: boolean; readonly isPlurality: boolean; readonly asPlurality: { - readonly id: StagingXcmV3JunctionBodyId; - readonly part: StagingXcmV3JunctionBodyPart; + readonly id: XcmV3JunctionBodyId; + readonly part: XcmV3JunctionBodyPart; } & Struct; readonly isGlobalConsensus: boolean; - readonly asGlobalConsensus: StagingXcmV3JunctionNetworkId; + readonly asGlobalConsensus: StagingXcmV4JunctionNetworkId; readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality' | 'GlobalConsensus'; } -/** @name StagingXcmV3JunctionBodyId */ -export interface StagingXcmV3JunctionBodyId extends Enum { - readonly isUnit: boolean; - readonly isMoniker: boolean; - readonly asMoniker: U8aFixed; - readonly isIndex: boolean; - readonly asIndex: Compact; - readonly isExecutive: boolean; - readonly isTechnical: boolean; - readonly isLegislative: boolean; - readonly isJudicial: boolean; - readonly isDefense: boolean; - readonly isAdministration: boolean; - readonly isTreasury: boolean; - readonly type: 'Unit' | 'Moniker' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial' | 'Defense' | 'Administration' | 'Treasury'; -} - -/** @name StagingXcmV3JunctionBodyPart */ -export interface StagingXcmV3JunctionBodyPart extends Enum { - readonly isVoice: boolean; - readonly isMembers: boolean; - readonly asMembers: { - readonly count: Compact; - } & Struct; - readonly isFraction: boolean; - readonly asFraction: { - readonly nom: Compact; - readonly denom: Compact; - } & Struct; - readonly isAtLeastProportion: boolean; - readonly asAtLeastProportion: { - readonly nom: Compact; - readonly denom: Compact; - } & Struct; - readonly isMoreThanProportion: boolean; - readonly asMoreThanProportion: { - readonly nom: Compact; - readonly denom: Compact; - } & Struct; - readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion'; -} - -/** @name StagingXcmV3JunctionNetworkId */ -export interface StagingXcmV3JunctionNetworkId extends Enum { +/** @name StagingXcmV4JunctionNetworkId */ +export interface StagingXcmV4JunctionNetworkId extends Enum { readonly isByGenesis: boolean; readonly asByGenesis: U8aFixed; readonly isByFork: boolean; @@ -5003,127 +4718,40 @@ export interface StagingXcmV3JunctionNetworkId extends Enum { } & Struct; readonly isBitcoinCore: boolean; readonly isBitcoinCash: boolean; - readonly type: 'ByGenesis' | 'ByFork' | 'Polkadot' | 'Kusama' | 'Westend' | 'Rococo' | 'Wococo' | 'Ethereum' | 'BitcoinCore' | 'BitcoinCash'; + readonly isPolkadotBulletin: boolean; + readonly type: 'ByGenesis' | 'ByFork' | 'Polkadot' | 'Kusama' | 'Westend' | 'Rococo' | 'Wococo' | 'Ethereum' | 'BitcoinCore' | 'BitcoinCash' | 'PolkadotBulletin'; } -/** @name StagingXcmV3Junctions */ -export interface StagingXcmV3Junctions extends Enum { +/** @name StagingXcmV4Junctions */ +export interface StagingXcmV4Junctions extends Enum { readonly isHere: boolean; readonly isX1: boolean; - readonly asX1: StagingXcmV3Junction; + readonly asX1: Vec; readonly isX2: boolean; - readonly asX2: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction]>; + readonly asX2: Vec; readonly isX3: boolean; - readonly asX3: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; + readonly asX3: Vec; readonly isX4: boolean; - readonly asX4: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; + readonly asX4: Vec; readonly isX5: boolean; - readonly asX5: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; + readonly asX5: Vec; readonly isX6: boolean; - readonly asX6: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; + readonly asX6: Vec; readonly isX7: boolean; - readonly asX7: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; + readonly asX7: Vec; readonly isX8: boolean; - readonly asX8: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; + readonly asX8: Vec; readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8'; } -/** @name StagingXcmV3MaybeErrorCode */ -export interface StagingXcmV3MaybeErrorCode extends Enum { - readonly isSuccess: boolean; - readonly isError: boolean; - readonly asError: Bytes; - readonly isTruncatedError: boolean; - readonly asTruncatedError: Bytes; - readonly type: 'Success' | 'Error' | 'TruncatedError'; -} - -/** @name StagingXcmV3MultiAsset */ -export interface StagingXcmV3MultiAsset extends Struct { - readonly id: StagingXcmV3MultiassetAssetId; - readonly fun: StagingXcmV3MultiassetFungibility; -} - -/** @name StagingXcmV3MultiassetAssetId */ -export interface StagingXcmV3MultiassetAssetId extends Enum { - readonly isConcrete: boolean; - readonly asConcrete: StagingXcmV3MultiLocation; - readonly isAbstract: boolean; - readonly asAbstract: U8aFixed; - readonly type: 'Concrete' | 'Abstract'; -} - -/** @name StagingXcmV3MultiassetAssetInstance */ -export interface StagingXcmV3MultiassetAssetInstance extends Enum { - readonly isUndefined: boolean; - readonly isIndex: boolean; - readonly asIndex: Compact; - readonly isArray4: boolean; - readonly asArray4: U8aFixed; - readonly isArray8: boolean; - readonly asArray8: U8aFixed; - readonly isArray16: boolean; - readonly asArray16: U8aFixed; - readonly isArray32: boolean; - readonly asArray32: U8aFixed; - readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32'; -} - -/** @name StagingXcmV3MultiassetFungibility */ -export interface StagingXcmV3MultiassetFungibility extends Enum { - readonly isFungible: boolean; - readonly asFungible: Compact; - readonly isNonFungible: boolean; - readonly asNonFungible: StagingXcmV3MultiassetAssetInstance; - readonly type: 'Fungible' | 'NonFungible'; -} - -/** @name StagingXcmV3MultiassetMultiAssetFilter */ -export interface StagingXcmV3MultiassetMultiAssetFilter extends Enum { - readonly isDefinite: boolean; - readonly asDefinite: StagingXcmV3MultiassetMultiAssets; - readonly isWild: boolean; - readonly asWild: StagingXcmV3MultiassetWildMultiAsset; - readonly type: 'Definite' | 'Wild'; -} - -/** @name StagingXcmV3MultiassetMultiAssets */ -export interface StagingXcmV3MultiassetMultiAssets extends Vec {} - -/** @name StagingXcmV3MultiassetWildFungibility */ -export interface StagingXcmV3MultiassetWildFungibility extends Enum { - readonly isFungible: boolean; - readonly isNonFungible: boolean; - readonly type: 'Fungible' | 'NonFungible'; -} - -/** @name StagingXcmV3MultiassetWildMultiAsset */ -export interface StagingXcmV3MultiassetWildMultiAsset extends Enum { - readonly isAll: boolean; - readonly isAllOf: boolean; - readonly asAllOf: { - readonly id: StagingXcmV3MultiassetAssetId; - readonly fun: StagingXcmV3MultiassetWildFungibility; - } & Struct; - readonly isAllCounted: boolean; - readonly asAllCounted: Compact; - readonly isAllOfCounted: boolean; - readonly asAllOfCounted: { - readonly id: StagingXcmV3MultiassetAssetId; - readonly fun: StagingXcmV3MultiassetWildFungibility; - readonly count: Compact; - } & Struct; - readonly type: 'All' | 'AllOf' | 'AllCounted' | 'AllOfCounted'; -} - -/** @name StagingXcmV3MultiLocation */ -export interface StagingXcmV3MultiLocation extends Struct { +/** @name StagingXcmV4Location */ +export interface StagingXcmV4Location extends Struct { readonly parents: u8; - readonly interior: StagingXcmV3Junctions; + readonly interior: StagingXcmV4Junctions; } -/** @name StagingXcmV3PalletInfo */ -export interface StagingXcmV3PalletInfo extends Struct { +/** @name StagingXcmV4PalletInfo */ +export interface StagingXcmV4PalletInfo extends Struct { readonly index: Compact; readonly name: Bytes; readonly moduleName: Bytes; @@ -5132,149 +4760,49 @@ export interface StagingXcmV3PalletInfo extends Struct { readonly patch: Compact; } -/** @name StagingXcmV3QueryResponseInfo */ -export interface StagingXcmV3QueryResponseInfo extends Struct { - readonly destination: StagingXcmV3MultiLocation; +/** @name StagingXcmV4QueryResponseInfo */ +export interface StagingXcmV4QueryResponseInfo extends Struct { + readonly destination: StagingXcmV4Location; readonly queryId: Compact; readonly maxWeight: SpWeightsWeightV2Weight; } -/** @name StagingXcmV3Response */ -export interface StagingXcmV3Response extends Enum { +/** @name StagingXcmV4Response */ +export interface StagingXcmV4Response extends Enum { readonly isNull: boolean; readonly isAssets: boolean; - readonly asAssets: StagingXcmV3MultiassetMultiAssets; + readonly asAssets: StagingXcmV4AssetAssets; readonly isExecutionResult: boolean; - readonly asExecutionResult: Option>; + readonly asExecutionResult: Option>; readonly isVersion: boolean; readonly asVersion: u32; readonly isPalletsInfo: boolean; - readonly asPalletsInfo: Vec; + readonly asPalletsInfo: Vec; readonly isDispatchResult: boolean; - readonly asDispatchResult: StagingXcmV3MaybeErrorCode; + readonly asDispatchResult: XcmV3MaybeErrorCode; readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version' | 'PalletsInfo' | 'DispatchResult'; } -/** @name StagingXcmV3TraitsError */ -export interface StagingXcmV3TraitsError extends Enum { - readonly isOverflow: boolean; - readonly isUnimplemented: boolean; - readonly isUntrustedReserveLocation: boolean; - readonly isUntrustedTeleportLocation: boolean; - readonly isLocationFull: boolean; - readonly isLocationNotInvertible: boolean; - readonly isBadOrigin: boolean; - readonly isInvalidLocation: boolean; - readonly isAssetNotFound: boolean; - readonly isFailedToTransactAsset: boolean; - readonly isNotWithdrawable: boolean; - readonly isLocationCannotHold: boolean; - readonly isExceedsMaxMessageSize: boolean; - readonly isDestinationUnsupported: boolean; - readonly isTransport: boolean; - readonly isUnroutable: boolean; - readonly isUnknownClaim: boolean; - readonly isFailedToDecode: boolean; - readonly isMaxWeightInvalid: boolean; - readonly isNotHoldingFees: boolean; - readonly isTooExpensive: boolean; - readonly isTrap: boolean; - readonly asTrap: u64; - readonly isExpectationFalse: boolean; - readonly isPalletNotFound: boolean; - readonly isNameMismatch: boolean; - readonly isVersionIncompatible: boolean; - readonly isHoldingWouldOverflow: boolean; - readonly isExportError: boolean; - readonly isReanchorFailed: boolean; - readonly isNoDeal: boolean; - readonly isFeesNotMet: boolean; - readonly isLockError: boolean; - readonly isNoPermission: boolean; - readonly isUnanchored: boolean; - readonly isNotDepositable: boolean; - readonly isUnhandledXcmVersion: boolean; - readonly isWeightLimitReached: boolean; - readonly asWeightLimitReached: SpWeightsWeightV2Weight; - readonly isBarrier: boolean; - readonly isWeightNotComputable: boolean; - readonly isExceedsStackLimit: boolean; - readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'LocationFull' | 'LocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'ExpectationFalse' | 'PalletNotFound' | 'NameMismatch' | 'VersionIncompatible' | 'HoldingWouldOverflow' | 'ExportError' | 'ReanchorFailed' | 'NoDeal' | 'FeesNotMet' | 'LockError' | 'NoPermission' | 'Unanchored' | 'NotDepositable' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable' | 'ExceedsStackLimit'; -} - -/** @name StagingXcmV3TraitsOutcome */ -export interface StagingXcmV3TraitsOutcome extends Enum { +/** @name StagingXcmV4TraitsOutcome */ +export interface StagingXcmV4TraitsOutcome extends Enum { readonly isComplete: boolean; - readonly asComplete: SpWeightsWeightV2Weight; + readonly asComplete: { + readonly used: SpWeightsWeightV2Weight; + } & Struct; readonly isIncomplete: boolean; - readonly asIncomplete: ITuple<[SpWeightsWeightV2Weight, StagingXcmV3TraitsError]>; + readonly asIncomplete: { + readonly used: SpWeightsWeightV2Weight; + readonly error: XcmV3TraitsError; + } & Struct; readonly isError: boolean; - readonly asError: StagingXcmV3TraitsError; + readonly asError: { + readonly error: XcmV3TraitsError; + } & Struct; readonly type: 'Complete' | 'Incomplete' | 'Error'; } -/** @name StagingXcmV3WeightLimit */ -export interface StagingXcmV3WeightLimit extends Enum { - readonly isUnlimited: boolean; - readonly isLimited: boolean; - readonly asLimited: SpWeightsWeightV2Weight; - readonly type: 'Unlimited' | 'Limited'; -} - -/** @name StagingXcmV3Xcm */ -export interface StagingXcmV3Xcm extends Vec {} - -/** @name StagingXcmVersionedAssetId */ -export interface StagingXcmVersionedAssetId extends Enum { - readonly isV3: boolean; - readonly asV3: StagingXcmV3MultiassetAssetId; - readonly type: 'V3'; -} - -/** @name StagingXcmVersionedMultiAsset */ -export interface StagingXcmVersionedMultiAsset extends Enum { - readonly isV2: boolean; - readonly asV2: StagingXcmV2MultiAsset; - readonly isV3: boolean; - readonly asV3: StagingXcmV3MultiAsset; - readonly type: 'V2' | 'V3'; -} - -/** @name StagingXcmVersionedMultiAssets */ -export interface StagingXcmVersionedMultiAssets extends Enum { - readonly isV2: boolean; - readonly asV2: StagingXcmV2MultiassetMultiAssets; - readonly isV3: boolean; - readonly asV3: StagingXcmV3MultiassetMultiAssets; - readonly type: 'V2' | 'V3'; -} - -/** @name StagingXcmVersionedMultiLocation */ -export interface StagingXcmVersionedMultiLocation extends Enum { - readonly isV2: boolean; - readonly asV2: StagingXcmV2MultiLocation; - readonly isV3: boolean; - readonly asV3: StagingXcmV3MultiLocation; - readonly type: 'V2' | 'V3'; -} - -/** @name StagingXcmVersionedResponse */ -export interface StagingXcmVersionedResponse extends Enum { - readonly isV2: boolean; - readonly asV2: StagingXcmV2Response; - readonly isV3: boolean; - readonly asV3: StagingXcmV3Response; - readonly type: 'V2' | 'V3'; -} - -/** @name StagingXcmVersionedXcm */ -export interface StagingXcmVersionedXcm extends Enum { - readonly isV2: boolean; - readonly asV2: StagingXcmV2Xcm; - readonly isV3: boolean; - readonly asV3: StagingXcmV3Xcm; - readonly type: 'V2' | 'V3'; -} +/** @name StagingXcmV4Xcm */ +export interface StagingXcmV4Xcm extends Vec {} /** @name UpDataStructsAccessMode */ export interface UpDataStructsAccessMode extends Enum { @@ -5534,4 +5062,941 @@ export interface UpPovEstimateRpcTrieKeyValue extends Struct { readonly value: Bytes; } +/** @name XcmDoubleEncoded */ +export interface XcmDoubleEncoded extends Struct { + readonly encoded: Bytes; +} + +/** @name XcmV2BodyId */ +export interface XcmV2BodyId extends Enum { + readonly isUnit: boolean; + readonly isNamed: boolean; + readonly asNamed: Bytes; + readonly isIndex: boolean; + readonly asIndex: Compact; + readonly isExecutive: boolean; + readonly isTechnical: boolean; + readonly isLegislative: boolean; + readonly isJudicial: boolean; + readonly isDefense: boolean; + readonly isAdministration: boolean; + readonly isTreasury: boolean; + readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial' | 'Defense' | 'Administration' | 'Treasury'; +} + +/** @name XcmV2BodyPart */ +export interface XcmV2BodyPart extends Enum { + readonly isVoice: boolean; + readonly isMembers: boolean; + readonly asMembers: { + readonly count: Compact; + } & Struct; + readonly isFraction: boolean; + readonly asFraction: { + readonly nom: Compact; + readonly denom: Compact; + } & Struct; + readonly isAtLeastProportion: boolean; + readonly asAtLeastProportion: { + readonly nom: Compact; + readonly denom: Compact; + } & Struct; + readonly isMoreThanProportion: boolean; + readonly asMoreThanProportion: { + readonly nom: Compact; + readonly denom: Compact; + } & Struct; + readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion'; +} + +/** @name XcmV2Instruction */ +export interface XcmV2Instruction extends Enum { + readonly isWithdrawAsset: boolean; + readonly asWithdrawAsset: XcmV2MultiassetMultiAssets; + readonly isReserveAssetDeposited: boolean; + readonly asReserveAssetDeposited: XcmV2MultiassetMultiAssets; + readonly isReceiveTeleportedAsset: boolean; + readonly asReceiveTeleportedAsset: XcmV2MultiassetMultiAssets; + readonly isQueryResponse: boolean; + readonly asQueryResponse: { + readonly queryId: Compact; + readonly response: XcmV2Response; + readonly maxWeight: Compact; + } & Struct; + readonly isTransferAsset: boolean; + readonly asTransferAsset: { + readonly assets: XcmV2MultiassetMultiAssets; + readonly beneficiary: XcmV2MultiLocation; + } & Struct; + readonly isTransferReserveAsset: boolean; + readonly asTransferReserveAsset: { + readonly assets: XcmV2MultiassetMultiAssets; + readonly dest: XcmV2MultiLocation; + readonly xcm: XcmV2Xcm; + } & Struct; + readonly isTransact: boolean; + readonly asTransact: { + readonly originType: XcmV2OriginKind; + readonly requireWeightAtMost: Compact; + readonly call: XcmDoubleEncoded; + } & Struct; + readonly isHrmpNewChannelOpenRequest: boolean; + readonly asHrmpNewChannelOpenRequest: { + readonly sender: Compact; + readonly maxMessageSize: Compact; + readonly maxCapacity: Compact; + } & Struct; + readonly isHrmpChannelAccepted: boolean; + readonly asHrmpChannelAccepted: { + readonly recipient: Compact; + } & Struct; + readonly isHrmpChannelClosing: boolean; + readonly asHrmpChannelClosing: { + readonly initiator: Compact; + readonly sender: Compact; + readonly recipient: Compact; + } & Struct; + readonly isClearOrigin: boolean; + readonly isDescendOrigin: boolean; + readonly asDescendOrigin: XcmV2MultilocationJunctions; + readonly isReportError: boolean; + readonly asReportError: { + readonly queryId: Compact; + readonly dest: XcmV2MultiLocation; + readonly maxResponseWeight: Compact; + } & Struct; + readonly isDepositAsset: boolean; + readonly asDepositAsset: { + readonly assets: XcmV2MultiassetMultiAssetFilter; + readonly maxAssets: Compact; + readonly beneficiary: XcmV2MultiLocation; + } & Struct; + readonly isDepositReserveAsset: boolean; + readonly asDepositReserveAsset: { + readonly assets: XcmV2MultiassetMultiAssetFilter; + readonly maxAssets: Compact; + readonly dest: XcmV2MultiLocation; + readonly xcm: XcmV2Xcm; + } & Struct; + readonly isExchangeAsset: boolean; + readonly asExchangeAsset: { + readonly give: XcmV2MultiassetMultiAssetFilter; + readonly receive: XcmV2MultiassetMultiAssets; + } & Struct; + readonly isInitiateReserveWithdraw: boolean; + readonly asInitiateReserveWithdraw: { + readonly assets: XcmV2MultiassetMultiAssetFilter; + readonly reserve: XcmV2MultiLocation; + readonly xcm: XcmV2Xcm; + } & Struct; + readonly isInitiateTeleport: boolean; + readonly asInitiateTeleport: { + readonly assets: XcmV2MultiassetMultiAssetFilter; + readonly dest: XcmV2MultiLocation; + readonly xcm: XcmV2Xcm; + } & Struct; + readonly isQueryHolding: boolean; + readonly asQueryHolding: { + readonly queryId: Compact; + readonly dest: XcmV2MultiLocation; + readonly assets: XcmV2MultiassetMultiAssetFilter; + readonly maxResponseWeight: Compact; + } & Struct; + readonly isBuyExecution: boolean; + readonly asBuyExecution: { + readonly fees: XcmV2MultiAsset; + readonly weightLimit: XcmV2WeightLimit; + } & Struct; + readonly isRefundSurplus: boolean; + readonly isSetErrorHandler: boolean; + readonly asSetErrorHandler: XcmV2Xcm; + readonly isSetAppendix: boolean; + readonly asSetAppendix: XcmV2Xcm; + readonly isClearError: boolean; + readonly isClaimAsset: boolean; + readonly asClaimAsset: { + readonly assets: XcmV2MultiassetMultiAssets; + readonly ticket: XcmV2MultiLocation; + } & Struct; + readonly isTrap: boolean; + readonly asTrap: Compact; + readonly isSubscribeVersion: boolean; + readonly asSubscribeVersion: { + readonly queryId: Compact; + readonly maxResponseWeight: Compact; + } & Struct; + readonly isUnsubscribeVersion: boolean; + readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion'; +} + +/** @name XcmV2Junction */ +export interface XcmV2Junction extends Enum { + readonly isParachain: boolean; + readonly asParachain: Compact; + readonly isAccountId32: boolean; + readonly asAccountId32: { + readonly network: XcmV2NetworkId; + readonly id: U8aFixed; + } & Struct; + readonly isAccountIndex64: boolean; + readonly asAccountIndex64: { + readonly network: XcmV2NetworkId; + readonly index: Compact; + } & Struct; + readonly isAccountKey20: boolean; + readonly asAccountKey20: { + readonly network: XcmV2NetworkId; + readonly key: U8aFixed; + } & Struct; + readonly isPalletInstance: boolean; + readonly asPalletInstance: u8; + readonly isGeneralIndex: boolean; + readonly asGeneralIndex: Compact; + readonly isGeneralKey: boolean; + readonly asGeneralKey: Bytes; + readonly isOnlyChild: boolean; + readonly isPlurality: boolean; + readonly asPlurality: { + readonly id: XcmV2BodyId; + readonly part: XcmV2BodyPart; + } & Struct; + readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality'; +} + +/** @name XcmV2MultiAsset */ +export interface XcmV2MultiAsset extends Struct { + readonly id: XcmV2MultiassetAssetId; + readonly fun: XcmV2MultiassetFungibility; +} + +/** @name XcmV2MultiassetAssetId */ +export interface XcmV2MultiassetAssetId extends Enum { + readonly isConcrete: boolean; + readonly asConcrete: XcmV2MultiLocation; + readonly isAbstract: boolean; + readonly asAbstract: Bytes; + readonly type: 'Concrete' | 'Abstract'; +} + +/** @name XcmV2MultiassetAssetInstance */ +export interface XcmV2MultiassetAssetInstance extends Enum { + readonly isUndefined: boolean; + readonly isIndex: boolean; + readonly asIndex: Compact; + readonly isArray4: boolean; + readonly asArray4: U8aFixed; + readonly isArray8: boolean; + readonly asArray8: U8aFixed; + readonly isArray16: boolean; + readonly asArray16: U8aFixed; + readonly isArray32: boolean; + readonly asArray32: U8aFixed; + readonly isBlob: boolean; + readonly asBlob: Bytes; + readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob'; +} + +/** @name XcmV2MultiassetFungibility */ +export interface XcmV2MultiassetFungibility extends Enum { + readonly isFungible: boolean; + readonly asFungible: Compact; + readonly isNonFungible: boolean; + readonly asNonFungible: XcmV2MultiassetAssetInstance; + readonly type: 'Fungible' | 'NonFungible'; +} + +/** @name XcmV2MultiassetMultiAssetFilter */ +export interface XcmV2MultiassetMultiAssetFilter extends Enum { + readonly isDefinite: boolean; + readonly asDefinite: XcmV2MultiassetMultiAssets; + readonly isWild: boolean; + readonly asWild: XcmV2MultiassetWildMultiAsset; + readonly type: 'Definite' | 'Wild'; +} + +/** @name XcmV2MultiassetMultiAssets */ +export interface XcmV2MultiassetMultiAssets extends Vec {} + +/** @name XcmV2MultiassetWildFungibility */ +export interface XcmV2MultiassetWildFungibility extends Enum { + readonly isFungible: boolean; + readonly isNonFungible: boolean; + readonly type: 'Fungible' | 'NonFungible'; +} + +/** @name XcmV2MultiassetWildMultiAsset */ +export interface XcmV2MultiassetWildMultiAsset extends Enum { + readonly isAll: boolean; + readonly isAllOf: boolean; + readonly asAllOf: { + readonly id: XcmV2MultiassetAssetId; + readonly fun: XcmV2MultiassetWildFungibility; + } & Struct; + readonly type: 'All' | 'AllOf'; +} + +/** @name XcmV2MultiLocation */ +export interface XcmV2MultiLocation extends Struct { + readonly parents: u8; + readonly interior: XcmV2MultilocationJunctions; +} + +/** @name XcmV2MultilocationJunctions */ +export interface XcmV2MultilocationJunctions extends Enum { + readonly isHere: boolean; + readonly isX1: boolean; + readonly asX1: XcmV2Junction; + readonly isX2: boolean; + readonly asX2: ITuple<[XcmV2Junction, XcmV2Junction]>; + readonly isX3: boolean; + readonly asX3: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction]>; + readonly isX4: boolean; + readonly asX4: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>; + readonly isX5: boolean; + readonly asX5: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>; + readonly isX6: boolean; + readonly asX6: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>; + readonly isX7: boolean; + readonly asX7: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>; + readonly isX8: boolean; + readonly asX8: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>; + readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8'; +} + +/** @name XcmV2NetworkId */ +export interface XcmV2NetworkId extends Enum { + readonly isAny: boolean; + readonly isNamed: boolean; + readonly asNamed: Bytes; + readonly isPolkadot: boolean; + readonly isKusama: boolean; + readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama'; +} + +/** @name XcmV2OriginKind */ +export interface XcmV2OriginKind extends Enum { + readonly isNative: boolean; + readonly isSovereignAccount: boolean; + readonly isSuperuser: boolean; + readonly isXcm: boolean; + readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm'; +} + +/** @name XcmV2Response */ +export interface XcmV2Response extends Enum { + readonly isNull: boolean; + readonly isAssets: boolean; + readonly asAssets: XcmV2MultiassetMultiAssets; + readonly isExecutionResult: boolean; + readonly asExecutionResult: Option>; + readonly isVersion: boolean; + readonly asVersion: u32; + readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version'; +} + +/** @name XcmV2TraitsError */ +export interface XcmV2TraitsError extends Enum { + readonly isOverflow: boolean; + readonly isUnimplemented: boolean; + readonly isUntrustedReserveLocation: boolean; + readonly isUntrustedTeleportLocation: boolean; + readonly isMultiLocationFull: boolean; + readonly isMultiLocationNotInvertible: boolean; + readonly isBadOrigin: boolean; + readonly isInvalidLocation: boolean; + readonly isAssetNotFound: boolean; + readonly isFailedToTransactAsset: boolean; + readonly isNotWithdrawable: boolean; + readonly isLocationCannotHold: boolean; + readonly isExceedsMaxMessageSize: boolean; + readonly isDestinationUnsupported: boolean; + readonly isTransport: boolean; + readonly isUnroutable: boolean; + readonly isUnknownClaim: boolean; + readonly isFailedToDecode: boolean; + readonly isMaxWeightInvalid: boolean; + readonly isNotHoldingFees: boolean; + readonly isTooExpensive: boolean; + readonly isTrap: boolean; + readonly asTrap: u64; + readonly isUnhandledXcmVersion: boolean; + readonly isWeightLimitReached: boolean; + readonly asWeightLimitReached: u64; + readonly isBarrier: boolean; + readonly isWeightNotComputable: boolean; + readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable'; +} + +/** @name XcmV2WeightLimit */ +export interface XcmV2WeightLimit extends Enum { + readonly isUnlimited: boolean; + readonly isLimited: boolean; + readonly asLimited: Compact; + readonly type: 'Unlimited' | 'Limited'; +} + +/** @name XcmV2Xcm */ +export interface XcmV2Xcm extends Vec {} + +/** @name XcmV3Instruction */ +export interface XcmV3Instruction extends Enum { + readonly isWithdrawAsset: boolean; + readonly asWithdrawAsset: XcmV3MultiassetMultiAssets; + readonly isReserveAssetDeposited: boolean; + readonly asReserveAssetDeposited: XcmV3MultiassetMultiAssets; + readonly isReceiveTeleportedAsset: boolean; + readonly asReceiveTeleportedAsset: XcmV3MultiassetMultiAssets; + readonly isQueryResponse: boolean; + readonly asQueryResponse: { + readonly queryId: Compact; + readonly response: XcmV3Response; + readonly maxWeight: SpWeightsWeightV2Weight; + readonly querier: Option; + } & Struct; + readonly isTransferAsset: boolean; + readonly asTransferAsset: { + readonly assets: XcmV3MultiassetMultiAssets; + readonly beneficiary: StagingXcmV3MultiLocation; + } & Struct; + readonly isTransferReserveAsset: boolean; + readonly asTransferReserveAsset: { + readonly assets: XcmV3MultiassetMultiAssets; + readonly dest: StagingXcmV3MultiLocation; + readonly xcm: XcmV3Xcm; + } & Struct; + readonly isTransact: boolean; + readonly asTransact: { + readonly originKind: XcmV3OriginKind; + readonly requireWeightAtMost: SpWeightsWeightV2Weight; + readonly call: XcmDoubleEncoded; + } & Struct; + readonly isHrmpNewChannelOpenRequest: boolean; + readonly asHrmpNewChannelOpenRequest: { + readonly sender: Compact; + readonly maxMessageSize: Compact; + readonly maxCapacity: Compact; + } & Struct; + readonly isHrmpChannelAccepted: boolean; + readonly asHrmpChannelAccepted: { + readonly recipient: Compact; + } & Struct; + readonly isHrmpChannelClosing: boolean; + readonly asHrmpChannelClosing: { + readonly initiator: Compact; + readonly sender: Compact; + readonly recipient: Compact; + } & Struct; + readonly isClearOrigin: boolean; + readonly isDescendOrigin: boolean; + readonly asDescendOrigin: XcmV3Junctions; + readonly isReportError: boolean; + readonly asReportError: XcmV3QueryResponseInfo; + readonly isDepositAsset: boolean; + readonly asDepositAsset: { + readonly assets: XcmV3MultiassetMultiAssetFilter; + readonly beneficiary: StagingXcmV3MultiLocation; + } & Struct; + readonly isDepositReserveAsset: boolean; + readonly asDepositReserveAsset: { + readonly assets: XcmV3MultiassetMultiAssetFilter; + readonly dest: StagingXcmV3MultiLocation; + readonly xcm: XcmV3Xcm; + } & Struct; + readonly isExchangeAsset: boolean; + readonly asExchangeAsset: { + readonly give: XcmV3MultiassetMultiAssetFilter; + readonly want: XcmV3MultiassetMultiAssets; + readonly maximal: bool; + } & Struct; + readonly isInitiateReserveWithdraw: boolean; + readonly asInitiateReserveWithdraw: { + readonly assets: XcmV3MultiassetMultiAssetFilter; + readonly reserve: StagingXcmV3MultiLocation; + readonly xcm: XcmV3Xcm; + } & Struct; + readonly isInitiateTeleport: boolean; + readonly asInitiateTeleport: { + readonly assets: XcmV3MultiassetMultiAssetFilter; + readonly dest: StagingXcmV3MultiLocation; + readonly xcm: XcmV3Xcm; + } & Struct; + readonly isReportHolding: boolean; + readonly asReportHolding: { + readonly responseInfo: XcmV3QueryResponseInfo; + readonly assets: XcmV3MultiassetMultiAssetFilter; + } & Struct; + readonly isBuyExecution: boolean; + readonly asBuyExecution: { + readonly fees: XcmV3MultiAsset; + readonly weightLimit: XcmV3WeightLimit; + } & Struct; + readonly isRefundSurplus: boolean; + readonly isSetErrorHandler: boolean; + readonly asSetErrorHandler: XcmV3Xcm; + readonly isSetAppendix: boolean; + readonly asSetAppendix: XcmV3Xcm; + readonly isClearError: boolean; + readonly isClaimAsset: boolean; + readonly asClaimAsset: { + readonly assets: XcmV3MultiassetMultiAssets; + readonly ticket: StagingXcmV3MultiLocation; + } & Struct; + readonly isTrap: boolean; + readonly asTrap: Compact; + readonly isSubscribeVersion: boolean; + readonly asSubscribeVersion: { + readonly queryId: Compact; + readonly maxResponseWeight: SpWeightsWeightV2Weight; + } & Struct; + readonly isUnsubscribeVersion: boolean; + readonly isBurnAsset: boolean; + readonly asBurnAsset: XcmV3MultiassetMultiAssets; + readonly isExpectAsset: boolean; + readonly asExpectAsset: XcmV3MultiassetMultiAssets; + readonly isExpectOrigin: boolean; + readonly asExpectOrigin: Option; + readonly isExpectError: boolean; + readonly asExpectError: Option>; + readonly isExpectTransactStatus: boolean; + readonly asExpectTransactStatus: XcmV3MaybeErrorCode; + readonly isQueryPallet: boolean; + readonly asQueryPallet: { + readonly moduleName: Bytes; + readonly responseInfo: XcmV3QueryResponseInfo; + } & Struct; + readonly isExpectPallet: boolean; + readonly asExpectPallet: { + readonly index: Compact; + readonly name: Bytes; + readonly moduleName: Bytes; + readonly crateMajor: Compact; + readonly minCrateMinor: Compact; + } & Struct; + readonly isReportTransactStatus: boolean; + readonly asReportTransactStatus: XcmV3QueryResponseInfo; + readonly isClearTransactStatus: boolean; + readonly isUniversalOrigin: boolean; + readonly asUniversalOrigin: XcmV3Junction; + readonly isExportMessage: boolean; + readonly asExportMessage: { + readonly network: XcmV3JunctionNetworkId; + readonly destination: XcmV3Junctions; + readonly xcm: XcmV3Xcm; + } & Struct; + readonly isLockAsset: boolean; + readonly asLockAsset: { + readonly asset: XcmV3MultiAsset; + readonly unlocker: StagingXcmV3MultiLocation; + } & Struct; + readonly isUnlockAsset: boolean; + readonly asUnlockAsset: { + readonly asset: XcmV3MultiAsset; + readonly target: StagingXcmV3MultiLocation; + } & Struct; + readonly isNoteUnlockable: boolean; + readonly asNoteUnlockable: { + readonly asset: XcmV3MultiAsset; + readonly owner: StagingXcmV3MultiLocation; + } & Struct; + readonly isRequestUnlock: boolean; + readonly asRequestUnlock: { + readonly asset: XcmV3MultiAsset; + readonly locker: StagingXcmV3MultiLocation; + } & Struct; + readonly isSetFeesMode: boolean; + readonly asSetFeesMode: { + readonly jitWithdraw: bool; + } & Struct; + readonly isSetTopic: boolean; + readonly asSetTopic: U8aFixed; + readonly isClearTopic: boolean; + readonly isAliasOrigin: boolean; + readonly asAliasOrigin: StagingXcmV3MultiLocation; + readonly isUnpaidExecution: boolean; + readonly asUnpaidExecution: { + readonly weightLimit: XcmV3WeightLimit; + readonly checkOrigin: Option; + } & Struct; + readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'ReportHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion' | 'BurnAsset' | 'ExpectAsset' | 'ExpectOrigin' | 'ExpectError' | 'ExpectTransactStatus' | 'QueryPallet' | 'ExpectPallet' | 'ReportTransactStatus' | 'ClearTransactStatus' | 'UniversalOrigin' | 'ExportMessage' | 'LockAsset' | 'UnlockAsset' | 'NoteUnlockable' | 'RequestUnlock' | 'SetFeesMode' | 'SetTopic' | 'ClearTopic' | 'AliasOrigin' | 'UnpaidExecution'; +} + +/** @name XcmV3Junction */ +export interface XcmV3Junction extends Enum { + readonly isParachain: boolean; + readonly asParachain: Compact; + readonly isAccountId32: boolean; + readonly asAccountId32: { + readonly network: Option; + readonly id: U8aFixed; + } & Struct; + readonly isAccountIndex64: boolean; + readonly asAccountIndex64: { + readonly network: Option; + readonly index: Compact; + } & Struct; + readonly isAccountKey20: boolean; + readonly asAccountKey20: { + readonly network: Option; + readonly key: U8aFixed; + } & Struct; + readonly isPalletInstance: boolean; + readonly asPalletInstance: u8; + readonly isGeneralIndex: boolean; + readonly asGeneralIndex: Compact; + readonly isGeneralKey: boolean; + readonly asGeneralKey: { + readonly length: u8; + readonly data: U8aFixed; + } & Struct; + readonly isOnlyChild: boolean; + readonly isPlurality: boolean; + readonly asPlurality: { + readonly id: XcmV3JunctionBodyId; + readonly part: XcmV3JunctionBodyPart; + } & Struct; + readonly isGlobalConsensus: boolean; + readonly asGlobalConsensus: XcmV3JunctionNetworkId; + readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality' | 'GlobalConsensus'; +} + +/** @name XcmV3JunctionBodyId */ +export interface XcmV3JunctionBodyId extends Enum { + readonly isUnit: boolean; + readonly isMoniker: boolean; + readonly asMoniker: U8aFixed; + readonly isIndex: boolean; + readonly asIndex: Compact; + readonly isExecutive: boolean; + readonly isTechnical: boolean; + readonly isLegislative: boolean; + readonly isJudicial: boolean; + readonly isDefense: boolean; + readonly isAdministration: boolean; + readonly isTreasury: boolean; + readonly type: 'Unit' | 'Moniker' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial' | 'Defense' | 'Administration' | 'Treasury'; +} + +/** @name XcmV3JunctionBodyPart */ +export interface XcmV3JunctionBodyPart extends Enum { + readonly isVoice: boolean; + readonly isMembers: boolean; + readonly asMembers: { + readonly count: Compact; + } & Struct; + readonly isFraction: boolean; + readonly asFraction: { + readonly nom: Compact; + readonly denom: Compact; + } & Struct; + readonly isAtLeastProportion: boolean; + readonly asAtLeastProportion: { + readonly nom: Compact; + readonly denom: Compact; + } & Struct; + readonly isMoreThanProportion: boolean; + readonly asMoreThanProportion: { + readonly nom: Compact; + readonly denom: Compact; + } & Struct; + readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion'; +} + +/** @name XcmV3JunctionNetworkId */ +export interface XcmV3JunctionNetworkId extends Enum { + readonly isByGenesis: boolean; + readonly asByGenesis: U8aFixed; + readonly isByFork: boolean; + readonly asByFork: { + readonly blockNumber: u64; + readonly blockHash: U8aFixed; + } & Struct; + readonly isPolkadot: boolean; + readonly isKusama: boolean; + readonly isWestend: boolean; + readonly isRococo: boolean; + readonly isWococo: boolean; + readonly isEthereum: boolean; + readonly asEthereum: { + readonly chainId: Compact; + } & Struct; + readonly isBitcoinCore: boolean; + readonly isBitcoinCash: boolean; + readonly isPolkadotBulletin: boolean; + readonly type: 'ByGenesis' | 'ByFork' | 'Polkadot' | 'Kusama' | 'Westend' | 'Rococo' | 'Wococo' | 'Ethereum' | 'BitcoinCore' | 'BitcoinCash' | 'PolkadotBulletin'; +} + +/** @name XcmV3Junctions */ +export interface XcmV3Junctions extends Enum { + readonly isHere: boolean; + readonly isX1: boolean; + readonly asX1: XcmV3Junction; + readonly isX2: boolean; + readonly asX2: ITuple<[XcmV3Junction, XcmV3Junction]>; + readonly isX3: boolean; + readonly asX3: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction]>; + readonly isX4: boolean; + readonly asX4: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>; + readonly isX5: boolean; + readonly asX5: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>; + readonly isX6: boolean; + readonly asX6: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>; + readonly isX7: boolean; + readonly asX7: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>; + readonly isX8: boolean; + readonly asX8: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>; + readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8'; +} + +/** @name XcmV3MaybeErrorCode */ +export interface XcmV3MaybeErrorCode extends Enum { + readonly isSuccess: boolean; + readonly isError: boolean; + readonly asError: Bytes; + readonly isTruncatedError: boolean; + readonly asTruncatedError: Bytes; + readonly type: 'Success' | 'Error' | 'TruncatedError'; +} + +/** @name XcmV3MultiAsset */ +export interface XcmV3MultiAsset extends Struct { + readonly id: XcmV3MultiassetAssetId; + readonly fun: XcmV3MultiassetFungibility; +} + +/** @name XcmV3MultiassetAssetId */ +export interface XcmV3MultiassetAssetId extends Enum { + readonly isConcrete: boolean; + readonly asConcrete: StagingXcmV3MultiLocation; + readonly isAbstract: boolean; + readonly asAbstract: U8aFixed; + readonly type: 'Concrete' | 'Abstract'; +} + +/** @name XcmV3MultiassetAssetInstance */ +export interface XcmV3MultiassetAssetInstance extends Enum { + readonly isUndefined: boolean; + readonly isIndex: boolean; + readonly asIndex: Compact; + readonly isArray4: boolean; + readonly asArray4: U8aFixed; + readonly isArray8: boolean; + readonly asArray8: U8aFixed; + readonly isArray16: boolean; + readonly asArray16: U8aFixed; + readonly isArray32: boolean; + readonly asArray32: U8aFixed; + readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32'; +} + +/** @name XcmV3MultiassetFungibility */ +export interface XcmV3MultiassetFungibility extends Enum { + readonly isFungible: boolean; + readonly asFungible: Compact; + readonly isNonFungible: boolean; + readonly asNonFungible: XcmV3MultiassetAssetInstance; + readonly type: 'Fungible' | 'NonFungible'; +} + +/** @name XcmV3MultiassetMultiAssetFilter */ +export interface XcmV3MultiassetMultiAssetFilter extends Enum { + readonly isDefinite: boolean; + readonly asDefinite: XcmV3MultiassetMultiAssets; + readonly isWild: boolean; + readonly asWild: XcmV3MultiassetWildMultiAsset; + readonly type: 'Definite' | 'Wild'; +} + +/** @name XcmV3MultiassetMultiAssets */ +export interface XcmV3MultiassetMultiAssets extends Vec {} + +/** @name XcmV3MultiassetWildFungibility */ +export interface XcmV3MultiassetWildFungibility extends Enum { + readonly isFungible: boolean; + readonly isNonFungible: boolean; + readonly type: 'Fungible' | 'NonFungible'; +} + +/** @name XcmV3MultiassetWildMultiAsset */ +export interface XcmV3MultiassetWildMultiAsset extends Enum { + readonly isAll: boolean; + readonly isAllOf: boolean; + readonly asAllOf: { + readonly id: XcmV3MultiassetAssetId; + readonly fun: XcmV3MultiassetWildFungibility; + } & Struct; + readonly isAllCounted: boolean; + readonly asAllCounted: Compact; + readonly isAllOfCounted: boolean; + readonly asAllOfCounted: { + readonly id: XcmV3MultiassetAssetId; + readonly fun: XcmV3MultiassetWildFungibility; + readonly count: Compact; + } & Struct; + readonly type: 'All' | 'AllOf' | 'AllCounted' | 'AllOfCounted'; +} + +/** @name XcmV3OriginKind */ +export interface XcmV3OriginKind extends Enum { + readonly isNative: boolean; + readonly isSovereignAccount: boolean; + readonly isSuperuser: boolean; + readonly isXcm: boolean; + readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm'; +} + +/** @name XcmV3PalletInfo */ +export interface XcmV3PalletInfo extends Struct { + readonly index: Compact; + readonly name: Bytes; + readonly moduleName: Bytes; + readonly major: Compact; + readonly minor: Compact; + readonly patch: Compact; +} + +/** @name XcmV3QueryResponseInfo */ +export interface XcmV3QueryResponseInfo extends Struct { + readonly destination: StagingXcmV3MultiLocation; + readonly queryId: Compact; + readonly maxWeight: SpWeightsWeightV2Weight; +} + +/** @name XcmV3Response */ +export interface XcmV3Response extends Enum { + readonly isNull: boolean; + readonly isAssets: boolean; + readonly asAssets: XcmV3MultiassetMultiAssets; + readonly isExecutionResult: boolean; + readonly asExecutionResult: Option>; + readonly isVersion: boolean; + readonly asVersion: u32; + readonly isPalletsInfo: boolean; + readonly asPalletsInfo: Vec; + readonly isDispatchResult: boolean; + readonly asDispatchResult: XcmV3MaybeErrorCode; + readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version' | 'PalletsInfo' | 'DispatchResult'; +} + +/** @name XcmV3TraitsError */ +export interface XcmV3TraitsError extends Enum { + readonly isOverflow: boolean; + readonly isUnimplemented: boolean; + readonly isUntrustedReserveLocation: boolean; + readonly isUntrustedTeleportLocation: boolean; + readonly isLocationFull: boolean; + readonly isLocationNotInvertible: boolean; + readonly isBadOrigin: boolean; + readonly isInvalidLocation: boolean; + readonly isAssetNotFound: boolean; + readonly isFailedToTransactAsset: boolean; + readonly isNotWithdrawable: boolean; + readonly isLocationCannotHold: boolean; + readonly isExceedsMaxMessageSize: boolean; + readonly isDestinationUnsupported: boolean; + readonly isTransport: boolean; + readonly isUnroutable: boolean; + readonly isUnknownClaim: boolean; + readonly isFailedToDecode: boolean; + readonly isMaxWeightInvalid: boolean; + readonly isNotHoldingFees: boolean; + readonly isTooExpensive: boolean; + readonly isTrap: boolean; + readonly asTrap: u64; + readonly isExpectationFalse: boolean; + readonly isPalletNotFound: boolean; + readonly isNameMismatch: boolean; + readonly isVersionIncompatible: boolean; + readonly isHoldingWouldOverflow: boolean; + readonly isExportError: boolean; + readonly isReanchorFailed: boolean; + readonly isNoDeal: boolean; + readonly isFeesNotMet: boolean; + readonly isLockError: boolean; + readonly isNoPermission: boolean; + readonly isUnanchored: boolean; + readonly isNotDepositable: boolean; + readonly isUnhandledXcmVersion: boolean; + readonly isWeightLimitReached: boolean; + readonly asWeightLimitReached: SpWeightsWeightV2Weight; + readonly isBarrier: boolean; + readonly isWeightNotComputable: boolean; + readonly isExceedsStackLimit: boolean; + readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'LocationFull' | 'LocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'ExpectationFalse' | 'PalletNotFound' | 'NameMismatch' | 'VersionIncompatible' | 'HoldingWouldOverflow' | 'ExportError' | 'ReanchorFailed' | 'NoDeal' | 'FeesNotMet' | 'LockError' | 'NoPermission' | 'Unanchored' | 'NotDepositable' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable' | 'ExceedsStackLimit'; +} + +/** @name XcmV3WeightLimit */ +export interface XcmV3WeightLimit extends Enum { + readonly isUnlimited: boolean; + readonly isLimited: boolean; + readonly asLimited: SpWeightsWeightV2Weight; + readonly type: 'Unlimited' | 'Limited'; +} + +/** @name XcmV3Xcm */ +export interface XcmV3Xcm extends Vec {} + +/** @name XcmVersionedAsset */ +export interface XcmVersionedAsset extends Enum { + readonly isV2: boolean; + readonly asV2: XcmV2MultiAsset; + readonly isV3: boolean; + readonly asV3: XcmV3MultiAsset; + readonly isV4: boolean; + readonly asV4: StagingXcmV4Asset; + readonly type: 'V2' | 'V3' | 'V4'; +} + +/** @name XcmVersionedAssetId */ +export interface XcmVersionedAssetId extends Enum { + readonly isV3: boolean; + readonly asV3: XcmV3MultiassetAssetId; + readonly isV4: boolean; + readonly asV4: StagingXcmV4AssetAssetId; + readonly type: 'V3' | 'V4'; +} + +/** @name XcmVersionedAssets */ +export interface XcmVersionedAssets extends Enum { + readonly isV2: boolean; + readonly asV2: XcmV2MultiassetMultiAssets; + readonly isV3: boolean; + readonly asV3: XcmV3MultiassetMultiAssets; + readonly isV4: boolean; + readonly asV4: StagingXcmV4AssetAssets; + readonly type: 'V2' | 'V3' | 'V4'; +} + +/** @name XcmVersionedLocation */ +export interface XcmVersionedLocation extends Enum { + readonly isV2: boolean; + readonly asV2: XcmV2MultiLocation; + readonly isV3: boolean; + readonly asV3: StagingXcmV3MultiLocation; + readonly isV4: boolean; + readonly asV4: StagingXcmV4Location; + readonly type: 'V2' | 'V3' | 'V4'; +} + +/** @name XcmVersionedResponse */ +export interface XcmVersionedResponse extends Enum { + readonly isV2: boolean; + readonly asV2: XcmV2Response; + readonly isV3: boolean; + readonly asV3: XcmV3Response; + readonly isV4: boolean; + readonly asV4: StagingXcmV4Response; + readonly type: 'V2' | 'V3' | 'V4'; +} + +/** @name XcmVersionedXcm */ +export interface XcmVersionedXcm extends Enum { + readonly isV2: boolean; + readonly asV2: XcmV2Xcm; + readonly isV3: boolean; + readonly asV3: XcmV3Xcm; + readonly isV4: boolean; + readonly asV4: StagingXcmV4Xcm; + readonly type: 'V2' | 'V3' | 'V4'; +} + export type PHANTOM_DEFAULT = 'default'; diff --git a/js-packages/types/lookup.ts b/js-packages/types/lookup.ts index 3add932538..20284d9801 100644 --- a/js-packages/types/lookup.ts +++ b/js-packages/types/lookup.ts @@ -24,7 +24,7 @@ export default { flags: 'u128' }, /** - * Lookup8: frame_support::dispatch::PerDispatchClass + * Lookup9: frame_support::dispatch::PerDispatchClass **/ FrameSupportDispatchPerDispatchClassWeight: { normal: 'SpWeightsWeightV2Weight', @@ -32,20 +32,20 @@ export default { mandatory: 'SpWeightsWeightV2Weight' }, /** - * Lookup9: sp_weights::weight_v2::Weight + * Lookup10: sp_weights::weight_v2::Weight **/ SpWeightsWeightV2Weight: { refTime: 'Compact', proofSize: 'Compact' }, /** - * Lookup14: sp_runtime::generic::digest::Digest + * Lookup15: sp_runtime::generic::digest::Digest **/ SpRuntimeDigest: { logs: 'Vec' }, /** - * Lookup16: sp_runtime::generic::digest::DigestItem + * Lookup17: sp_runtime::generic::digest::DigestItem **/ SpRuntimeDigestDigestItem: { _enum: { @@ -61,7 +61,7 @@ export default { } }, /** - * Lookup19: frame_system::EventRecord + * Lookup20: frame_system::EventRecord **/ FrameSystemEventRecord: { phase: 'FrameSystemPhase', @@ -69,7 +69,7 @@ export default { topics: 'Vec' }, /** - * Lookup21: frame_system::pallet::Event + * Lookup22: frame_system::pallet::Event **/ FrameSystemEvent: { _enum: { @@ -92,12 +92,16 @@ export default { hash_: 'hash', }, sender: 'AccountId32', - hash_: 'H256' + hash_: 'H256', + }, + UpgradeAuthorized: { + codeHash: 'H256', + checkVersion: 'bool' } } }, /** - * Lookup22: frame_support::dispatch::DispatchInfo + * Lookup23: frame_support::dispatch::DispatchInfo **/ FrameSupportDispatchDispatchInfo: { weight: 'SpWeightsWeightV2Weight', @@ -105,19 +109,19 @@ export default { paysFee: 'FrameSupportDispatchPays' }, /** - * Lookup23: frame_support::dispatch::DispatchClass + * Lookup24: frame_support::dispatch::DispatchClass **/ FrameSupportDispatchDispatchClass: { _enum: ['Normal', 'Operational', 'Mandatory'] }, /** - * Lookup24: frame_support::dispatch::Pays + * Lookup25: frame_support::dispatch::Pays **/ FrameSupportDispatchPays: { _enum: ['Yes', 'No'] }, /** - * Lookup25: sp_runtime::DispatchError + * Lookup26: sp_runtime::DispatchError **/ SpRuntimeDispatchError: { _enum: { @@ -138,32 +142,32 @@ export default { } }, /** - * Lookup26: sp_runtime::ModuleError + * Lookup27: sp_runtime::ModuleError **/ SpRuntimeModuleError: { index: 'u8', error: '[u8;4]' }, /** - * Lookup27: sp_runtime::TokenError + * Lookup28: sp_runtime::TokenError **/ SpRuntimeTokenError: { _enum: ['FundsUnavailable', 'OnlyProvider', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported', 'CannotCreateHold', 'NotExpendable', 'Blocked'] }, /** - * Lookup28: sp_arithmetic::ArithmeticError + * Lookup29: sp_arithmetic::ArithmeticError **/ SpArithmeticArithmeticError: { _enum: ['Underflow', 'Overflow', 'DivisionByZero'] }, /** - * Lookup29: sp_runtime::TransactionalError + * Lookup30: sp_runtime::TransactionalError **/ SpRuntimeTransactionalError: { _enum: ['LimitReached', 'NoLayer'] }, /** - * Lookup30: pallet_state_trie_migration::pallet::Event + * Lookup31: pallet_state_trie_migration::pallet::Event **/ PalletStateTrieMigrationEvent: { _enum: { @@ -183,19 +187,19 @@ export default { } }, /** - * Lookup31: pallet_state_trie_migration::pallet::MigrationCompute + * Lookup32: pallet_state_trie_migration::pallet::MigrationCompute **/ PalletStateTrieMigrationMigrationCompute: { _enum: ['Signed', 'Auto'] }, /** - * Lookup32: pallet_state_trie_migration::pallet::Error + * Lookup33: pallet_state_trie_migration::pallet::Error **/ PalletStateTrieMigrationError: { _enum: ['MaxSignedLimits', 'KeyTooLong', 'NotEnoughFunds', 'BadWitness', 'SignedMigrationNotAllowed', 'BadChildRoot'] }, /** - * Lookup33: cumulus_pallet_parachain_system::pallet::Event + * Lookup34: cumulus_pallet_parachain_system::pallet::Event **/ CumulusPalletParachainSystemEvent: { _enum: { @@ -204,9 +208,6 @@ export default { relayChainBlockNum: 'u32', }, ValidationFunctionDiscarded: 'Null', - UpgradeAuthorized: { - codeHash: 'H256', - }, DownwardMessagesReceived: { count: 'u32', }, @@ -220,7 +221,7 @@ export default { } }, /** - * Lookup35: pallet_collator_selection::pallet::Event + * Lookup36: pallet_collator_selection::pallet::Event **/ PalletCollatorSelectionEvent: { _enum: { @@ -247,7 +248,7 @@ export default { } }, /** - * Lookup36: pallet_session::pallet::Event + * Lookup37: pallet_session::pallet::Event **/ PalletSessionEvent: { _enum: { @@ -257,7 +258,7 @@ export default { } }, /** - * Lookup37: pallet_balances::pallet::Event + * Lookup38: pallet_balances::pallet::Event **/ PalletBalancesEvent: { _enum: { @@ -343,18 +344,25 @@ export default { }, Thawed: { who: 'AccountId32', - amount: 'u128' + amount: 'u128', + }, + TotalIssuanceForced: { + _alias: { + new_: 'new', + }, + old: 'u128', + new_: 'u128' } } }, /** - * Lookup38: frame_support::traits::tokens::misc::BalanceStatus + * Lookup39: frame_support::traits::tokens::misc::BalanceStatus **/ FrameSupportTokensMiscBalanceStatus: { _enum: ['Free', 'Reserved'] }, /** - * Lookup39: pallet_transaction_payment::pallet::Event + * Lookup40: pallet_transaction_payment::pallet::Event **/ PalletTransactionPaymentEvent: { _enum: { @@ -366,13 +374,10 @@ export default { } }, /** - * Lookup40: pallet_treasury::pallet::Event + * Lookup41: pallet_treasury::pallet::Event **/ PalletTreasuryEvent: { _enum: { - Proposed: { - proposalIndex: 'u32', - }, Spending: { budgetRemaining: 'u128', }, @@ -381,10 +386,6 @@ export default { award: 'u128', account: 'AccountId32', }, - Rejected: { - proposalIndex: 'u32', - slashed: 'u128', - }, Burnt: { burntFunds: 'u128', }, @@ -401,12 +402,34 @@ export default { }, UpdatedInactive: { reactivated: 'u128', - deactivated: 'u128' + deactivated: 'u128', + }, + AssetSpendApproved: { + index: 'u32', + assetKind: 'Null', + amount: 'u128', + beneficiary: 'AccountId32', + validFrom: 'u32', + expireAt: 'u32', + }, + AssetSpendVoided: { + index: 'u32', + }, + Paid: { + index: 'u32', + paymentId: 'Null', + }, + PaymentFailed: { + index: 'u32', + paymentId: 'Null', + }, + SpendProcessed: { + index: 'u32' } } }, /** - * Lookup41: pallet_sudo::pallet::Event + * Lookup43: pallet_sudo::pallet::Event **/ PalletSudoEvent: { _enum: { @@ -414,15 +437,20 @@ export default { sudoResult: 'Result', }, KeyChanged: { - oldSudoer: 'Option', + _alias: { + new_: 'new', + }, + old: 'Option', + new_: 'AccountId32', }, + KeyRemoved: 'Null', SudoAsDone: { sudoResult: 'Result' } } }, /** - * Lookup45: orml_vesting::module::Event + * Lookup46: orml_vesting::module::Event **/ OrmlVestingModuleEvent: { _enum: { @@ -441,7 +469,7 @@ export default { } }, /** - * Lookup46: orml_vesting::VestingSchedule + * Lookup47: orml_vesting::VestingSchedule **/ OrmlVestingVestingSchedule: { start: 'u32', @@ -450,77 +478,72 @@ export default { perPeriod: 'Compact' }, /** - * Lookup48: orml_xtokens::module::Event + * Lookup49: orml_xtokens::module::Event **/ OrmlXtokensModuleEvent: { _enum: { - TransferredMultiAssets: { + TransferredAssets: { sender: 'AccountId32', - assets: 'StagingXcmV3MultiassetMultiAssets', - fee: 'StagingXcmV3MultiAsset', - dest: 'StagingXcmV3MultiLocation' + assets: 'StagingXcmV4AssetAssets', + fee: 'StagingXcmV4Asset', + dest: 'StagingXcmV4Location' } } }, /** - * Lookup49: staging_xcm::v3::multiasset::MultiAssets + * Lookup50: staging_xcm::v4::asset::Assets **/ - StagingXcmV3MultiassetMultiAssets: 'Vec', + StagingXcmV4AssetAssets: 'Vec', /** - * Lookup51: staging_xcm::v3::multiasset::MultiAsset + * Lookup52: staging_xcm::v4::asset::Asset **/ - StagingXcmV3MultiAsset: { - id: 'StagingXcmV3MultiassetAssetId', - fun: 'StagingXcmV3MultiassetFungibility' + StagingXcmV4Asset: { + id: 'StagingXcmV4AssetAssetId', + fun: 'StagingXcmV4AssetFungibility' }, /** - * Lookup52: staging_xcm::v3::multiasset::AssetId + * Lookup53: staging_xcm::v4::asset::AssetId **/ - StagingXcmV3MultiassetAssetId: { - _enum: { - Concrete: 'StagingXcmV3MultiLocation', - Abstract: '[u8;32]' - } - }, + StagingXcmV4AssetAssetId: 'StagingXcmV4Location', /** - * Lookup53: staging_xcm::v3::multilocation::MultiLocation + * Lookup54: staging_xcm::v4::location::Location **/ - StagingXcmV3MultiLocation: { + StagingXcmV4Location: { parents: 'u8', - interior: 'StagingXcmV3Junctions' + interior: 'StagingXcmV4Junctions' }, /** - * Lookup54: staging_xcm::v3::junctions::Junctions + * Lookup55: staging_xcm::v4::junctions::Junctions **/ - StagingXcmV3Junctions: { + StagingXcmV4Junctions: { _enum: { Here: 'Null', - X1: 'StagingXcmV3Junction', - X2: '(StagingXcmV3Junction,StagingXcmV3Junction)', - X3: '(StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction)', - X4: '(StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction)', - X5: '(StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction)', - X6: '(StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction)', - X7: '(StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction)', - X8: '(StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction)' + X1: '[Lookup57;1]', + X2: '[Lookup57;2]', + X3: '[Lookup57;3]', + X4: '[Lookup57;4]', + X5: '[Lookup57;5]', + X6: '[Lookup57;6]', + X7: '[Lookup57;7]', + X8: '[Lookup57;8]' } }, /** - * Lookup55: staging_xcm::v3::junction::Junction + * Lookup57: staging_xcm::v4::junction::Junction **/ - StagingXcmV3Junction: { + StagingXcmV4Junction: { _enum: { Parachain: 'Compact', AccountId32: { - network: 'Option', + network: 'Option', id: '[u8;32]', }, AccountIndex64: { - network: 'Option', + network: 'Option', index: 'Compact', }, AccountKey20: { - network: 'Option', + network: 'Option', key: '[u8;20]', }, PalletInstance: 'u8', @@ -531,16 +554,16 @@ export default { }, OnlyChild: 'Null', Plurality: { - id: 'StagingXcmV3JunctionBodyId', - part: 'StagingXcmV3JunctionBodyPart', + id: 'XcmV3JunctionBodyId', + part: 'XcmV3JunctionBodyPart', }, - GlobalConsensus: 'StagingXcmV3JunctionNetworkId' + GlobalConsensus: 'StagingXcmV4JunctionNetworkId' } }, /** - * Lookup58: staging_xcm::v3::junction::NetworkId + * Lookup60: staging_xcm::v4::junction::NetworkId **/ - StagingXcmV3JunctionNetworkId: { + StagingXcmV4JunctionNetworkId: { _enum: { ByGenesis: '[u8;32]', ByFork: { @@ -556,13 +579,14 @@ export default { chainId: 'Compact', }, BitcoinCore: 'Null', - BitcoinCash: 'Null' + BitcoinCash: 'Null', + PolkadotBulletin: 'Null' } }, /** - * Lookup60: staging_xcm::v3::junction::BodyId + * Lookup62: xcm::v3::junction::BodyId **/ - StagingXcmV3JunctionBodyId: { + XcmV3JunctionBodyId: { _enum: { Unit: 'Null', Moniker: '[u8;4]', @@ -577,9 +601,9 @@ export default { } }, /** - * Lookup61: staging_xcm::v3::junction::BodyPart + * Lookup63: xcm::v3::junction::BodyPart **/ - StagingXcmV3JunctionBodyPart: { + XcmV3JunctionBodyPart: { _enum: { Voice: 'Null', Members: { @@ -600,18 +624,18 @@ export default { } }, /** - * Lookup62: staging_xcm::v3::multiasset::Fungibility + * Lookup71: staging_xcm::v4::asset::Fungibility **/ - StagingXcmV3MultiassetFungibility: { + StagingXcmV4AssetFungibility: { _enum: { Fungible: 'Compact', - NonFungible: 'StagingXcmV3MultiassetAssetInstance' + NonFungible: 'StagingXcmV4AssetAssetInstance' } }, /** - * Lookup63: staging_xcm::v3::multiasset::AssetInstance + * Lookup72: staging_xcm::v4::asset::AssetInstance **/ - StagingXcmV3MultiassetAssetInstance: { + StagingXcmV4AssetAssetInstance: { _enum: { Undefined: 'Null', Index: 'Compact', @@ -622,117 +646,7 @@ export default { } }, /** - * Lookup66: orml_tokens::module::Event - **/ - OrmlTokensModuleEvent: { - _enum: { - Endowed: { - currencyId: 'PalletForeignAssetsAssetId', - who: 'AccountId32', - amount: 'u128', - }, - DustLost: { - currencyId: 'PalletForeignAssetsAssetId', - who: 'AccountId32', - amount: 'u128', - }, - Transfer: { - currencyId: 'PalletForeignAssetsAssetId', - from: 'AccountId32', - to: 'AccountId32', - amount: 'u128', - }, - Reserved: { - currencyId: 'PalletForeignAssetsAssetId', - who: 'AccountId32', - amount: 'u128', - }, - Unreserved: { - currencyId: 'PalletForeignAssetsAssetId', - who: 'AccountId32', - amount: 'u128', - }, - ReserveRepatriated: { - currencyId: 'PalletForeignAssetsAssetId', - from: 'AccountId32', - to: 'AccountId32', - amount: 'u128', - status: 'FrameSupportTokensMiscBalanceStatus', - }, - BalanceSet: { - currencyId: 'PalletForeignAssetsAssetId', - who: 'AccountId32', - free: 'u128', - reserved: 'u128', - }, - TotalIssuanceSet: { - currencyId: 'PalletForeignAssetsAssetId', - amount: 'u128', - }, - Withdrawn: { - currencyId: 'PalletForeignAssetsAssetId', - who: 'AccountId32', - amount: 'u128', - }, - Slashed: { - currencyId: 'PalletForeignAssetsAssetId', - who: 'AccountId32', - freeAmount: 'u128', - reservedAmount: 'u128', - }, - Deposited: { - currencyId: 'PalletForeignAssetsAssetId', - who: 'AccountId32', - amount: 'u128', - }, - LockSet: { - lockId: '[u8;8]', - currencyId: 'PalletForeignAssetsAssetId', - who: 'AccountId32', - amount: 'u128', - }, - LockRemoved: { - lockId: '[u8;8]', - currencyId: 'PalletForeignAssetsAssetId', - who: 'AccountId32', - }, - Locked: { - currencyId: 'PalletForeignAssetsAssetId', - who: 'AccountId32', - amount: 'u128', - }, - Unlocked: { - currencyId: 'PalletForeignAssetsAssetId', - who: 'AccountId32', - amount: 'u128', - }, - Issued: { - currencyId: 'PalletForeignAssetsAssetId', - amount: 'u128', - }, - Rescinded: { - currencyId: 'PalletForeignAssetsAssetId', - amount: 'u128' - } - } - }, - /** - * Lookup67: pallet_foreign_assets::AssetId - **/ - PalletForeignAssetsAssetId: { - _enum: { - ForeignAssetId: 'u32', - NativeAssetId: 'PalletForeignAssetsNativeCurrency' - } - }, - /** - * Lookup68: pallet_foreign_assets::NativeCurrency - **/ - PalletForeignAssetsNativeCurrency: { - _enum: ['Here', 'Parent'] - }, - /** - * Lookup69: pallet_identity::pallet::Event + * Lookup75: pallet_identity::pallet::Event **/ PalletIdentityEvent: { _enum: { @@ -789,7 +703,7 @@ export default { } }, /** - * Lookup70: pallet_preimage::pallet::Event + * Lookup76: pallet_preimage::pallet::Event **/ PalletPreimageEvent: { _enum: { @@ -814,7 +728,7 @@ export default { } }, /** - * Lookup71: pallet_democracy::pallet::Event + * Lookup77: pallet_democracy::pallet::Event **/ PalletDemocracyEvent: { _enum: { @@ -892,13 +806,13 @@ export default { } }, /** - * Lookup72: pallet_democracy::vote_threshold::VoteThreshold + * Lookup78: pallet_democracy::vote_threshold::VoteThreshold **/ PalletDemocracyVoteThreshold: { _enum: ['SuperMajorityApprove', 'SuperMajorityAgainst', 'SimpleMajority'] }, /** - * Lookup73: pallet_democracy::vote::AccountVote + * Lookup79: pallet_democracy::vote::AccountVote **/ PalletDemocracyVoteAccountVote: { _enum: { @@ -913,7 +827,7 @@ export default { } }, /** - * Lookup75: pallet_democracy::types::MetadataOwner + * Lookup81: pallet_democracy::types::MetadataOwner **/ PalletDemocracyMetadataOwner: { _enum: { @@ -923,7 +837,7 @@ export default { } }, /** - * Lookup76: pallet_collective::pallet::Event + * Lookup82: pallet_collective::pallet::Event **/ PalletCollectiveEvent: { _enum: { @@ -962,13 +876,13 @@ export default { } }, /** - * Lookup79: pallet_membership::pallet::Event + * Lookup84: pallet_membership::pallet::Event **/ PalletMembershipEvent: { _enum: ['MemberAdded', 'MemberRemoved', 'MembersSwapped', 'MembersReset', 'KeyChanged', 'Dummy'] }, /** - * Lookup81: pallet_ranked_collective::pallet::Event + * Lookup86: pallet_ranked_collective::pallet::Event **/ PalletRankedCollectiveEvent: { _enum: { @@ -987,12 +901,16 @@ export default { who: 'AccountId32', poll: 'u32', vote: 'PalletRankedCollectiveVoteRecord', - tally: 'PalletRankedCollectiveTally' + tally: 'PalletRankedCollectiveTally', + }, + MemberExchanged: { + who: 'AccountId32', + newWho: 'AccountId32' } } }, /** - * Lookup83: pallet_ranked_collective::VoteRecord + * Lookup88: pallet_ranked_collective::VoteRecord **/ PalletRankedCollectiveVoteRecord: { _enum: { @@ -1001,7 +919,7 @@ export default { } }, /** - * Lookup84: pallet_ranked_collective::Tally + * Lookup89: pallet_ranked_collective::Tally **/ PalletRankedCollectiveTally: { bareAyes: 'u32', @@ -1009,7 +927,7 @@ export default { nays: 'u32' }, /** - * Lookup85: pallet_referenda::pallet::Event + * Lookup90: pallet_referenda::pallet::Event **/ PalletReferendaEvent: { _enum: { @@ -1089,7 +1007,7 @@ export default { } }, /** - * Lookup86: frame_support::traits::preimages::Bounded + * Lookup91: frame_support::traits::preimages::Bounded **/ FrameSupportPreimagesBounded: { _enum: { @@ -1110,7 +1028,7 @@ export default { } }, /** - * Lookup88: frame_system::pallet::Call + * Lookup93: frame_system::pallet::Call **/ FrameSystemCall: { _enum: { @@ -1140,12 +1058,22 @@ export default { subkeys: 'u32', }, remark_with_event: { - remark: 'Bytes' + remark: 'Bytes', + }, + __Unused8: 'Null', + authorize_upgrade: { + codeHash: 'H256', + }, + authorize_upgrade_without_checks: { + codeHash: 'H256', + }, + apply_authorized_upgrade: { + code: 'Bytes' } } }, /** - * Lookup92: pallet_state_trie_migration::pallet::Call + * Lookup97: pallet_state_trie_migration::pallet::Call **/ PalletStateTrieMigrationCall: { _enum: { @@ -1179,7 +1107,7 @@ export default { } }, /** - * Lookup94: pallet_state_trie_migration::pallet::MigrationLimits + * Lookup99: pallet_state_trie_migration::pallet::MigrationLimits **/ PalletStateTrieMigrationMigrationLimits: { _alias: { @@ -1189,7 +1117,7 @@ export default { item: 'u32' }, /** - * Lookup95: pallet_state_trie_migration::pallet::MigrationTask + * Lookup100: pallet_state_trie_migration::pallet::MigrationTask **/ PalletStateTrieMigrationMigrationTask: { _alias: { @@ -1202,7 +1130,7 @@ export default { childItems: 'u32' }, /** - * Lookup96: pallet_state_trie_migration::pallet::Progress + * Lookup101: pallet_state_trie_migration::pallet::Progress **/ PalletStateTrieMigrationProgress: { _enum: { @@ -1212,7 +1140,7 @@ export default { } }, /** - * Lookup98: cumulus_pallet_parachain_system::pallet::Call + * Lookup103: cumulus_pallet_parachain_system::pallet::Call **/ CumulusPalletParachainSystemCall: { _enum: { @@ -1232,49 +1160,49 @@ export default { } }, /** - * Lookup99: cumulus_primitives_parachain_inherent::ParachainInherentData + * Lookup104: cumulus_primitives_parachain_inherent::ParachainInherentData **/ CumulusPrimitivesParachainInherentParachainInherentData: { - validationData: 'PolkadotPrimitivesV5PersistedValidationData', + validationData: 'PolkadotPrimitivesV7PersistedValidationData', relayChainState: 'SpTrieStorageProof', downwardMessages: 'Vec', horizontalMessages: 'BTreeMap>' }, /** - * Lookup100: polkadot_primitives::v5::PersistedValidationData + * Lookup105: polkadot_primitives::v7::PersistedValidationData **/ - PolkadotPrimitivesV5PersistedValidationData: { + PolkadotPrimitivesV7PersistedValidationData: { parentHead: 'Bytes', relayParentNumber: 'u32', relayParentStorageRoot: 'H256', maxPovSize: 'u32' }, /** - * Lookup102: sp_trie::storage_proof::StorageProof + * Lookup107: sp_trie::storage_proof::StorageProof **/ SpTrieStorageProof: { trieNodes: 'BTreeSet' }, /** - * Lookup105: polkadot_core_primitives::InboundDownwardMessage + * Lookup110: polkadot_core_primitives::InboundDownwardMessage **/ PolkadotCorePrimitivesInboundDownwardMessage: { sentAt: 'u32', msg: 'Bytes' }, /** - * Lookup109: polkadot_core_primitives::InboundHrmpMessage + * Lookup114: polkadot_core_primitives::InboundHrmpMessage **/ PolkadotCorePrimitivesInboundHrmpMessage: { sentAt: 'u32', data: 'Bytes' }, /** - * Lookup112: parachain_info::pallet::Call + * Lookup117: staging_parachain_info::pallet::Call **/ - ParachainInfoCall: 'Null', + StagingParachainInfoCall: 'Null', /** - * Lookup113: pallet_collator_selection::pallet::Call + * Lookup118: pallet_collator_selection::pallet::Call **/ PalletCollatorSelectionCall: { _enum: { @@ -1297,7 +1225,7 @@ export default { } }, /** - * Lookup114: pallet_session::pallet::Call + * Lookup119: pallet_session::pallet::Call **/ PalletSessionCall: { _enum: { @@ -1312,21 +1240,17 @@ export default { } }, /** - * Lookup115: opal_runtime::runtime_common::SessionKeys + * Lookup120: opal_runtime::runtime_common::SessionKeys **/ OpalRuntimeRuntimeCommonSessionKeys: { aura: 'SpConsensusAuraSr25519AppSr25519Public' }, /** - * Lookup116: sp_consensus_aura::sr25519::app_sr25519::Public - **/ - SpConsensusAuraSr25519AppSr25519Public: 'SpCoreSr25519Public', - /** - * Lookup117: sp_core::sr25519::Public + * Lookup121: sp_consensus_aura::sr25519::app_sr25519::Public **/ - SpCoreSr25519Public: '[u8;32]', + SpConsensusAuraSr25519AppSr25519Public: '[u8;32]', /** - * Lookup118: pallet_balances::pallet::Call + * Lookup122: pallet_balances::pallet::Call **/ PalletBalancesCall: { _enum: { @@ -1334,11 +1258,7 @@ export default { dest: 'MultiAddress', value: 'Compact', }, - set_balance_deprecated: { - who: 'MultiAddress', - newFree: 'Compact', - oldReserved: 'Compact', - }, + __Unused1: 'Null', force_transfer: { source: 'MultiAddress', dest: 'MultiAddress', @@ -1359,18 +1279,29 @@ export default { upgrade_accounts: { who: 'Vec', }, - transfer: { - dest: 'MultiAddress', - value: 'Compact', - }, + __Unused7: 'Null', force_set_balance: { who: 'MultiAddress', - newFree: 'Compact' + newFree: 'Compact', + }, + force_adjust_total_issuance: { + direction: 'PalletBalancesAdjustmentDirection', + delta: 'Compact', + }, + burn: { + value: 'Compact', + keepAlive: 'bool' } } }, /** - * Lookup122: pallet_timestamp::pallet::Call + * Lookup126: pallet_balances::types::AdjustmentDirection + **/ + PalletBalancesAdjustmentDirection: { + _enum: ['Increase', 'Decrease'] + }, + /** + * Lookup127: pallet_timestamp::pallet::Call **/ PalletTimestampCall: { _enum: { @@ -1380,31 +1311,39 @@ export default { } }, /** - * Lookup123: pallet_treasury::pallet::Call + * Lookup128: pallet_treasury::pallet::Call **/ PalletTreasuryCall: { _enum: { - propose_spend: { - value: 'Compact', + __Unused0: 'Null', + __Unused1: 'Null', + __Unused2: 'Null', + spend_local: { + amount: 'Compact', beneficiary: 'MultiAddress', }, - reject_proposal: { - proposalId: 'Compact', - }, - approve_proposal: { + remove_approval: { proposalId: 'Compact', }, spend: { + assetKind: 'Null', amount: 'Compact', - beneficiary: 'MultiAddress', + beneficiary: 'AccountId32', + validFrom: 'Option', }, - remove_approval: { - proposalId: 'Compact' + payout: { + index: 'u32', + }, + check_status: { + index: 'u32', + }, + void_spend: { + index: 'u32' } } }, /** - * Lookup124: pallet_sudo::pallet::Call + * Lookup130: pallet_sudo::pallet::Call **/ PalletSudoCall: { _enum: { @@ -1423,12 +1362,13 @@ export default { }, sudo_as: { who: 'MultiAddress', - call: 'Call' - } + call: 'Call', + }, + remove_key: 'Null' } }, /** - * Lookup125: orml_vesting::module::Call + * Lookup131: orml_vesting::module::Call **/ OrmlVestingModuleCall: { _enum: { @@ -1447,98 +1387,99 @@ export default { } }, /** - * Lookup127: orml_xtokens::module::Call + * Lookup133: orml_xtokens::module::Call **/ OrmlXtokensModuleCall: { _enum: { transfer: { - currencyId: 'PalletForeignAssetsAssetId', + currencyId: 'u32', amount: 'u128', - dest: 'StagingXcmVersionedMultiLocation', - destWeightLimit: 'StagingXcmV3WeightLimit', + dest: 'XcmVersionedLocation', + destWeightLimit: 'XcmV3WeightLimit', }, transfer_multiasset: { - asset: 'StagingXcmVersionedMultiAsset', - dest: 'StagingXcmVersionedMultiLocation', - destWeightLimit: 'StagingXcmV3WeightLimit', + asset: 'XcmVersionedAsset', + dest: 'XcmVersionedLocation', + destWeightLimit: 'XcmV3WeightLimit', }, transfer_with_fee: { - currencyId: 'PalletForeignAssetsAssetId', + currencyId: 'u32', amount: 'u128', fee: 'u128', - dest: 'StagingXcmVersionedMultiLocation', - destWeightLimit: 'StagingXcmV3WeightLimit', + dest: 'XcmVersionedLocation', + destWeightLimit: 'XcmV3WeightLimit', }, transfer_multiasset_with_fee: { - asset: 'StagingXcmVersionedMultiAsset', - fee: 'StagingXcmVersionedMultiAsset', - dest: 'StagingXcmVersionedMultiLocation', - destWeightLimit: 'StagingXcmV3WeightLimit', + asset: 'XcmVersionedAsset', + fee: 'XcmVersionedAsset', + dest: 'XcmVersionedLocation', + destWeightLimit: 'XcmV3WeightLimit', }, transfer_multicurrencies: { - currencies: 'Vec<(PalletForeignAssetsAssetId,u128)>', + currencies: 'Vec<(u32,u128)>', feeItem: 'u32', - dest: 'StagingXcmVersionedMultiLocation', - destWeightLimit: 'StagingXcmV3WeightLimit', + dest: 'XcmVersionedLocation', + destWeightLimit: 'XcmV3WeightLimit', }, transfer_multiassets: { - assets: 'StagingXcmVersionedMultiAssets', + assets: 'XcmVersionedAssets', feeItem: 'u32', - dest: 'StagingXcmVersionedMultiLocation', - destWeightLimit: 'StagingXcmV3WeightLimit' + dest: 'XcmVersionedLocation', + destWeightLimit: 'XcmV3WeightLimit' } } }, /** - * Lookup128: staging_xcm::VersionedMultiLocation + * Lookup135: xcm::VersionedLocation **/ - StagingXcmVersionedMultiLocation: { + XcmVersionedLocation: { _enum: { __Unused0: 'Null', - V2: 'StagingXcmV2MultiLocation', + V2: 'XcmV2MultiLocation', __Unused2: 'Null', - V3: 'StagingXcmV3MultiLocation' + V3: 'StagingXcmV3MultiLocation', + V4: 'StagingXcmV4Location' } }, /** - * Lookup129: staging_xcm::v2::multilocation::MultiLocation + * Lookup136: xcm::v2::multilocation::MultiLocation **/ - StagingXcmV2MultiLocation: { + XcmV2MultiLocation: { parents: 'u8', - interior: 'StagingXcmV2MultilocationJunctions' + interior: 'XcmV2MultilocationJunctions' }, /** - * Lookup130: staging_xcm::v2::multilocation::Junctions + * Lookup137: xcm::v2::multilocation::Junctions **/ - StagingXcmV2MultilocationJunctions: { + XcmV2MultilocationJunctions: { _enum: { Here: 'Null', - X1: 'StagingXcmV2Junction', - X2: '(StagingXcmV2Junction,StagingXcmV2Junction)', - X3: '(StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction)', - X4: '(StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction)', - X5: '(StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction)', - X6: '(StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction)', - X7: '(StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction)', - X8: '(StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction)' + X1: 'XcmV2Junction', + X2: '(XcmV2Junction,XcmV2Junction)', + X3: '(XcmV2Junction,XcmV2Junction,XcmV2Junction)', + X4: '(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)', + X5: '(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)', + X6: '(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)', + X7: '(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)', + X8: '(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)' } }, /** - * Lookup131: staging_xcm::v2::junction::Junction + * Lookup138: xcm::v2::junction::Junction **/ - StagingXcmV2Junction: { + XcmV2Junction: { _enum: { Parachain: 'Compact', AccountId32: { - network: 'StagingXcmV2NetworkId', + network: 'XcmV2NetworkId', id: '[u8;32]', }, AccountIndex64: { - network: 'StagingXcmV2NetworkId', + network: 'XcmV2NetworkId', index: 'Compact', }, AccountKey20: { - network: 'StagingXcmV2NetworkId', + network: 'XcmV2NetworkId', key: '[u8;20]', }, PalletInstance: 'u8', @@ -1546,15 +1487,15 @@ export default { GeneralKey: 'Bytes', OnlyChild: 'Null', Plurality: { - id: 'StagingXcmV2BodyId', - part: 'StagingXcmV2BodyPart' + id: 'XcmV2BodyId', + part: 'XcmV2BodyPart' } } }, /** - * Lookup132: staging_xcm::v2::NetworkId + * Lookup139: xcm::v2::NetworkId **/ - StagingXcmV2NetworkId: { + XcmV2NetworkId: { _enum: { Any: 'Null', Named: 'Bytes', @@ -1563,9 +1504,9 @@ export default { } }, /** - * Lookup134: staging_xcm::v2::BodyId + * Lookup141: xcm::v2::BodyId **/ - StagingXcmV2BodyId: { + XcmV2BodyId: { _enum: { Unit: 'Null', Named: 'Bytes', @@ -1580,9 +1521,9 @@ export default { } }, /** - * Lookup135: staging_xcm::v2::BodyPart + * Lookup142: xcm::v2::BodyPart **/ - StagingXcmV2BodyPart: { + XcmV2BodyPart: { _enum: { Voice: 'Null', Members: { @@ -1603,54 +1544,133 @@ export default { } }, /** - * Lookup136: staging_xcm::v3::WeightLimit + * Lookup143: staging_xcm::v3::multilocation::MultiLocation + **/ + StagingXcmV3MultiLocation: { + parents: 'u8', + interior: 'XcmV3Junctions' + }, + /** + * Lookup144: xcm::v3::junctions::Junctions + **/ + XcmV3Junctions: { + _enum: { + Here: 'Null', + X1: 'XcmV3Junction', + X2: '(XcmV3Junction,XcmV3Junction)', + X3: '(XcmV3Junction,XcmV3Junction,XcmV3Junction)', + X4: '(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)', + X5: '(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)', + X6: '(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)', + X7: '(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)', + X8: '(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)' + } + }, + /** + * Lookup145: xcm::v3::junction::Junction + **/ + XcmV3Junction: { + _enum: { + Parachain: 'Compact', + AccountId32: { + network: 'Option', + id: '[u8;32]', + }, + AccountIndex64: { + network: 'Option', + index: 'Compact', + }, + AccountKey20: { + network: 'Option', + key: '[u8;20]', + }, + PalletInstance: 'u8', + GeneralIndex: 'Compact', + GeneralKey: { + length: 'u8', + data: '[u8;32]', + }, + OnlyChild: 'Null', + Plurality: { + id: 'XcmV3JunctionBodyId', + part: 'XcmV3JunctionBodyPart', + }, + GlobalConsensus: 'XcmV3JunctionNetworkId' + } + }, + /** + * Lookup147: xcm::v3::junction::NetworkId **/ - StagingXcmV3WeightLimit: { + XcmV3JunctionNetworkId: { + _enum: { + ByGenesis: '[u8;32]', + ByFork: { + blockNumber: 'u64', + blockHash: '[u8;32]', + }, + Polkadot: 'Null', + Kusama: 'Null', + Westend: 'Null', + Rococo: 'Null', + Wococo: 'Null', + Ethereum: { + chainId: 'Compact', + }, + BitcoinCore: 'Null', + BitcoinCash: 'Null', + PolkadotBulletin: 'Null' + } + }, + /** + * Lookup148: xcm::v3::WeightLimit + **/ + XcmV3WeightLimit: { _enum: { Unlimited: 'Null', Limited: 'SpWeightsWeightV2Weight' } }, /** - * Lookup137: staging_xcm::VersionedMultiAsset + * Lookup149: xcm::VersionedAsset **/ - StagingXcmVersionedMultiAsset: { + XcmVersionedAsset: { _enum: { __Unused0: 'Null', - V2: 'StagingXcmV2MultiAsset', + V2: 'XcmV2MultiAsset', __Unused2: 'Null', - V3: 'StagingXcmV3MultiAsset' + V3: 'XcmV3MultiAsset', + V4: 'StagingXcmV4Asset' } }, /** - * Lookup138: staging_xcm::v2::multiasset::MultiAsset + * Lookup150: xcm::v2::multiasset::MultiAsset **/ - StagingXcmV2MultiAsset: { - id: 'StagingXcmV2MultiassetAssetId', - fun: 'StagingXcmV2MultiassetFungibility' + XcmV2MultiAsset: { + id: 'XcmV2MultiassetAssetId', + fun: 'XcmV2MultiassetFungibility' }, /** - * Lookup139: staging_xcm::v2::multiasset::AssetId + * Lookup151: xcm::v2::multiasset::AssetId **/ - StagingXcmV2MultiassetAssetId: { + XcmV2MultiassetAssetId: { _enum: { - Concrete: 'StagingXcmV2MultiLocation', + Concrete: 'XcmV2MultiLocation', Abstract: 'Bytes' } }, /** - * Lookup140: staging_xcm::v2::multiasset::Fungibility + * Lookup152: xcm::v2::multiasset::Fungibility **/ - StagingXcmV2MultiassetFungibility: { + XcmV2MultiassetFungibility: { _enum: { Fungible: 'Compact', - NonFungible: 'StagingXcmV2MultiassetAssetInstance' + NonFungible: 'XcmV2MultiassetAssetInstance' } }, /** - * Lookup141: staging_xcm::v2::multiasset::AssetInstance + * Lookup153: xcm::v2::multiasset::AssetInstance **/ - StagingXcmV2MultiassetAssetInstance: { + XcmV2MultiassetAssetInstance: { _enum: { Undefined: 'Null', Index: 'Compact', @@ -1662,56 +1682,65 @@ export default { } }, /** - * Lookup144: staging_xcm::VersionedMultiAssets + * Lookup154: xcm::v3::multiasset::MultiAsset **/ - StagingXcmVersionedMultiAssets: { + XcmV3MultiAsset: { + id: 'XcmV3MultiassetAssetId', + fun: 'XcmV3MultiassetFungibility' + }, + /** + * Lookup155: xcm::v3::multiasset::AssetId + **/ + XcmV3MultiassetAssetId: { _enum: { - __Unused0: 'Null', - V2: 'StagingXcmV2MultiassetMultiAssets', - __Unused2: 'Null', - V3: 'StagingXcmV3MultiassetMultiAssets' + Concrete: 'StagingXcmV3MultiLocation', + Abstract: '[u8;32]' } }, /** - * Lookup145: staging_xcm::v2::multiasset::MultiAssets + * Lookup156: xcm::v3::multiasset::Fungibility **/ - StagingXcmV2MultiassetMultiAssets: 'Vec', + XcmV3MultiassetFungibility: { + _enum: { + Fungible: 'Compact', + NonFungible: 'XcmV3MultiassetAssetInstance' + } + }, /** - * Lookup147: orml_tokens::module::Call + * Lookup157: xcm::v3::multiasset::AssetInstance **/ - OrmlTokensModuleCall: { + XcmV3MultiassetAssetInstance: { _enum: { - transfer: { - dest: 'MultiAddress', - currencyId: 'PalletForeignAssetsAssetId', - amount: 'Compact', - }, - transfer_all: { - dest: 'MultiAddress', - currencyId: 'PalletForeignAssetsAssetId', - keepAlive: 'bool', - }, - transfer_keep_alive: { - dest: 'MultiAddress', - currencyId: 'PalletForeignAssetsAssetId', - amount: 'Compact', - }, - force_transfer: { - source: 'MultiAddress', - dest: 'MultiAddress', - currencyId: 'PalletForeignAssetsAssetId', - amount: 'Compact', - }, - set_balance: { - who: 'MultiAddress', - currencyId: 'PalletForeignAssetsAssetId', - newFree: 'Compact', - newReserved: 'Compact' - } + Undefined: 'Null', + Index: 'Compact', + Array4: '[u8;4]', + Array8: '[u8;8]', + Array16: '[u8;16]', + Array32: '[u8;32]' } }, /** - * Lookup148: pallet_identity::pallet::Call + * Lookup160: xcm::VersionedAssets + **/ + XcmVersionedAssets: { + _enum: { + __Unused0: 'Null', + V2: 'XcmV2MultiassetMultiAssets', + __Unused2: 'Null', + V3: 'XcmV3MultiassetMultiAssets', + V4: 'StagingXcmV4AssetAssets' + } + }, + /** + * Lookup161: xcm::v2::multiasset::MultiAssets + **/ + XcmV2MultiassetMultiAssets: 'Vec', + /** + * Lookup163: xcm::v3::multiasset::MultiAssets + **/ + XcmV3MultiassetMultiAssets: 'Vec', + /** + * Lookup165: pallet_identity::pallet::Call **/ PalletIdentityCall: { _enum: { @@ -1780,7 +1809,7 @@ export default { } }, /** - * Lookup149: pallet_identity::types::IdentityInfo + * Lookup166: pallet_identity::types::IdentityInfo **/ PalletIdentityIdentityInfo: { additional: 'Vec<(Data,Data)>', @@ -1794,7 +1823,7 @@ export default { twitter: 'Data' }, /** - * Lookup185: pallet_identity::types::BitFlags + * Lookup202: pallet_identity::types::BitFlags **/ PalletIdentityBitFlags: { _bitLength: 64, @@ -1808,13 +1837,13 @@ export default { Twitter: 128 }, /** - * Lookup186: pallet_identity::types::IdentityField + * Lookup203: pallet_identity::types::IdentityField **/ PalletIdentityIdentityField: { _enum: ['__Unused0', 'Display', 'Legal', '__Unused3', 'Web', '__Unused5', '__Unused6', '__Unused7', 'Riot', '__Unused9', '__Unused10', '__Unused11', '__Unused12', '__Unused13', '__Unused14', '__Unused15', 'Email', '__Unused17', '__Unused18', '__Unused19', '__Unused20', '__Unused21', '__Unused22', '__Unused23', '__Unused24', '__Unused25', '__Unused26', '__Unused27', '__Unused28', '__Unused29', '__Unused30', '__Unused31', 'PgpFingerprint', '__Unused33', '__Unused34', '__Unused35', '__Unused36', '__Unused37', '__Unused38', '__Unused39', '__Unused40', '__Unused41', '__Unused42', '__Unused43', '__Unused44', '__Unused45', '__Unused46', '__Unused47', '__Unused48', '__Unused49', '__Unused50', '__Unused51', '__Unused52', '__Unused53', '__Unused54', '__Unused55', '__Unused56', '__Unused57', '__Unused58', '__Unused59', '__Unused60', '__Unused61', '__Unused62', '__Unused63', 'Image', '__Unused65', '__Unused66', '__Unused67', '__Unused68', '__Unused69', '__Unused70', '__Unused71', '__Unused72', '__Unused73', '__Unused74', '__Unused75', '__Unused76', '__Unused77', '__Unused78', '__Unused79', '__Unused80', '__Unused81', '__Unused82', '__Unused83', '__Unused84', '__Unused85', '__Unused86', '__Unused87', '__Unused88', '__Unused89', '__Unused90', '__Unused91', '__Unused92', '__Unused93', '__Unused94', '__Unused95', '__Unused96', '__Unused97', '__Unused98', '__Unused99', '__Unused100', '__Unused101', '__Unused102', '__Unused103', '__Unused104', '__Unused105', '__Unused106', '__Unused107', '__Unused108', '__Unused109', '__Unused110', '__Unused111', '__Unused112', '__Unused113', '__Unused114', '__Unused115', '__Unused116', '__Unused117', '__Unused118', '__Unused119', '__Unused120', '__Unused121', '__Unused122', '__Unused123', '__Unused124', '__Unused125', '__Unused126', '__Unused127', 'Twitter'] }, /** - * Lookup187: pallet_identity::types::Judgement + * Lookup204: pallet_identity::types::Judgement **/ PalletIdentityJudgement: { _enum: { @@ -1828,7 +1857,7 @@ export default { } }, /** - * Lookup190: pallet_identity::types::Registration + * Lookup207: pallet_identity::types::Registration **/ PalletIdentityRegistration: { judgements: 'Vec<(u32,PalletIdentityJudgement)>', @@ -1836,7 +1865,7 @@ export default { info: 'PalletIdentityIdentityInfo' }, /** - * Lookup198: pallet_preimage::pallet::Call + * Lookup215: pallet_preimage::pallet::Call **/ PalletPreimageCall: { _enum: { @@ -1859,12 +1888,15 @@ export default { _alias: { hash_: 'hash', }, - hash_: 'H256' + hash_: 'H256', + }, + ensure_updated: { + hashes: 'Vec' } } }, /** - * Lookup199: pallet_democracy::pallet::Call + * Lookup217: pallet_democracy::pallet::Call **/ PalletDemocracyCall: { _enum: { @@ -1933,13 +1965,13 @@ export default { } }, /** - * Lookup200: pallet_democracy::conviction::Conviction + * Lookup218: pallet_democracy::conviction::Conviction **/ PalletDemocracyConviction: { _enum: ['None', 'Locked1x', 'Locked2x', 'Locked3x', 'Locked4x', 'Locked5x', 'Locked6x'] }, /** - * Lookup203: pallet_collective::pallet::Call + * Lookup220: pallet_collective::pallet::Call **/ PalletCollectiveCall: { _enum: { @@ -1975,7 +2007,7 @@ export default { } }, /** - * Lookup205: pallet_membership::pallet::Call + * Lookup222: pallet_membership::pallet::Call **/ PalletMembershipCall: { _enum: { @@ -2005,7 +2037,7 @@ export default { } }, /** - * Lookup207: pallet_ranked_collective::pallet::Call + * Lookup224: pallet_ranked_collective::pallet::Call **/ PalletRankedCollectiveCall: { _enum: { @@ -2028,12 +2060,16 @@ export default { }, cleanup_poll: { pollIndex: 'u32', - max: 'u32' + max: 'u32', + }, + exchange_member: { + who: 'MultiAddress', + newWho: 'MultiAddress' } } }, /** - * Lookup208: pallet_referenda::pallet::Call + * Lookup225: pallet_referenda::pallet::Call **/ PalletReferendaCall: { _enum: { @@ -2070,7 +2106,7 @@ export default { } }, /** - * Lookup209: opal_runtime::OriginCaller + * Lookup226: opal_runtime::OriginCaller **/ OpalRuntimeOriginCaller: { _enum: { @@ -2081,8 +2117,8 @@ export default { __Unused4: 'Null', __Unused5: 'Null', __Unused6: 'Null', + __Unused7: 'Null', Void: 'SpCoreVoid', - __Unused8: 'Null', __Unused9: 'Null', __Unused10: 'Null', __Unused11: 'Null', @@ -2171,7 +2207,7 @@ export default { __Unused94: 'Null', __Unused95: 'Null', __Unused96: 'Null', - __Unused97: 'Null', + FinancialCouncil: 'PalletCollectiveRawOrigin', __Unused98: 'Null', Origins: 'PalletGovOriginsOrigin', __Unused100: 'Null', @@ -2179,7 +2215,7 @@ export default { } }, /** - * Lookup210: frame_support::dispatch::RawOrigin + * Lookup227: frame_support::dispatch::RawOrigin **/ FrameSupportDispatchRawOrigin: { _enum: { @@ -2189,7 +2225,7 @@ export default { } }, /** - * Lookup211: pallet_collective::RawOrigin + * Lookup228: pallet_collective::RawOrigin **/ PalletCollectiveRawOrigin: { _enum: { @@ -2199,22 +2235,22 @@ export default { } }, /** - * Lookup213: pallet_gov_origins::pallet::Origin + * Lookup231: pallet_gov_origins::pallet::Origin **/ PalletGovOriginsOrigin: { _enum: ['FellowshipProposition'] }, /** - * Lookup214: pallet_xcm::pallet::Origin + * Lookup232: pallet_xcm::pallet::Origin **/ PalletXcmOrigin: { _enum: { - Xcm: 'StagingXcmV3MultiLocation', - Response: 'StagingXcmV3MultiLocation' + Xcm: 'StagingXcmV4Location', + Response: 'StagingXcmV4Location' } }, /** - * Lookup215: cumulus_pallet_xcm::pallet::Origin + * Lookup233: cumulus_pallet_xcm::pallet::Origin **/ CumulusPalletXcmOrigin: { _enum: { @@ -2223,7 +2259,7 @@ export default { } }, /** - * Lookup216: pallet_ethereum::RawOrigin + * Lookup234: pallet_ethereum::RawOrigin **/ PalletEthereumRawOrigin: { _enum: { @@ -2231,11 +2267,11 @@ export default { } }, /** - * Lookup218: sp_core::Void + * Lookup236: sp_core::Void **/ SpCoreVoid: 'Null', /** - * Lookup219: frame_support::traits::schedule::DispatchTime + * Lookup237: frame_support::traits::schedule::DispatchTime **/ FrameSupportScheduleDispatchTime: { _enum: { @@ -2244,7 +2280,7 @@ export default { } }, /** - * Lookup220: pallet_scheduler::pallet::Call + * Lookup238: pallet_scheduler::pallet::Call **/ PalletSchedulerCall: { _enum: { @@ -2279,19 +2315,32 @@ export default { after: 'u32', maybePeriodic: 'Option<(u32,u32)>', priority: 'u8', - call: 'Call' + call: 'Call', + }, + set_retry: { + task: '(u32,u32)', + retries: 'u8', + period: 'u32', + }, + set_retry_named: { + id: '[u8;32]', + retries: 'u8', + period: 'u32', + }, + cancel_retry: { + task: '(u32,u32)', + }, + cancel_retry_named: { + id: '[u8;32]' } } }, /** - * Lookup223: cumulus_pallet_xcmp_queue::pallet::Call + * Lookup243: cumulus_pallet_xcmp_queue::pallet::Call **/ CumulusPalletXcmpQueueCall: { _enum: { - service_overweight: { - index: 'u64', - weightLimit: 'SpWeightsWeightV2Weight', - }, + __Unused0: 'Null', suspend_xcm_execution: 'Null', resume_xcm_execution: 'Null', update_suspend_threshold: { @@ -2310,126 +2359,129 @@ export default { _alias: { new_: 'new', }, - new_: 'u32', - }, - update_threshold_weight: { - _alias: { - new_: 'new', - }, - new_: 'SpWeightsWeightV2Weight', - }, - update_weight_restrict_decay: { - _alias: { - new_: 'new', - }, - new_: 'SpWeightsWeightV2Weight', - }, - update_xcmp_max_individual_weight: { - _alias: { - new_: 'new', - }, - new_: 'SpWeightsWeightV2Weight' + new_: 'u32' } } }, /** - * Lookup224: pallet_xcm::pallet::Call + * Lookup244: pallet_xcm::pallet::Call **/ PalletXcmCall: { _enum: { send: { - dest: 'StagingXcmVersionedMultiLocation', - message: 'StagingXcmVersionedXcm', + dest: 'XcmVersionedLocation', + message: 'XcmVersionedXcm', }, teleport_assets: { - dest: 'StagingXcmVersionedMultiLocation', - beneficiary: 'StagingXcmVersionedMultiLocation', - assets: 'StagingXcmVersionedMultiAssets', + dest: 'XcmVersionedLocation', + beneficiary: 'XcmVersionedLocation', + assets: 'XcmVersionedAssets', feeAssetItem: 'u32', }, reserve_transfer_assets: { - dest: 'StagingXcmVersionedMultiLocation', - beneficiary: 'StagingXcmVersionedMultiLocation', - assets: 'StagingXcmVersionedMultiAssets', + dest: 'XcmVersionedLocation', + beneficiary: 'XcmVersionedLocation', + assets: 'XcmVersionedAssets', feeAssetItem: 'u32', }, execute: { - message: 'StagingXcmVersionedXcm', + message: 'XcmVersionedXcm', maxWeight: 'SpWeightsWeightV2Weight', }, force_xcm_version: { - location: 'StagingXcmV3MultiLocation', + location: 'StagingXcmV4Location', version: 'u32', }, force_default_xcm_version: { maybeXcmVersion: 'Option', }, force_subscribe_version_notify: { - location: 'StagingXcmVersionedMultiLocation', + location: 'XcmVersionedLocation', }, force_unsubscribe_version_notify: { - location: 'StagingXcmVersionedMultiLocation', + location: 'XcmVersionedLocation', }, limited_reserve_transfer_assets: { - dest: 'StagingXcmVersionedMultiLocation', - beneficiary: 'StagingXcmVersionedMultiLocation', - assets: 'StagingXcmVersionedMultiAssets', + dest: 'XcmVersionedLocation', + beneficiary: 'XcmVersionedLocation', + assets: 'XcmVersionedAssets', feeAssetItem: 'u32', - weightLimit: 'StagingXcmV3WeightLimit', + weightLimit: 'XcmV3WeightLimit', }, limited_teleport_assets: { - dest: 'StagingXcmVersionedMultiLocation', - beneficiary: 'StagingXcmVersionedMultiLocation', - assets: 'StagingXcmVersionedMultiAssets', + dest: 'XcmVersionedLocation', + beneficiary: 'XcmVersionedLocation', + assets: 'XcmVersionedAssets', feeAssetItem: 'u32', - weightLimit: 'StagingXcmV3WeightLimit', + weightLimit: 'XcmV3WeightLimit', }, force_suspension: { - suspended: 'bool' + suspended: 'bool', + }, + transfer_assets: { + dest: 'XcmVersionedLocation', + beneficiary: 'XcmVersionedLocation', + assets: 'XcmVersionedAssets', + feeAssetItem: 'u32', + weightLimit: 'XcmV3WeightLimit', + }, + claim_assets: { + assets: 'XcmVersionedAssets', + beneficiary: 'XcmVersionedLocation', + }, + transfer_assets_using_type_and_then: { + dest: 'XcmVersionedLocation', + assets: 'XcmVersionedAssets', + assetsTransferType: 'StagingXcmExecutorAssetTransferTransferType', + remoteFeesId: 'XcmVersionedAssetId', + feesTransferType: 'StagingXcmExecutorAssetTransferTransferType', + customXcmOnDest: 'XcmVersionedXcm', + weightLimit: 'XcmV3WeightLimit' } } }, /** - * Lookup225: staging_xcm::VersionedXcm + * Lookup245: xcm::VersionedXcm **/ - StagingXcmVersionedXcm: { + XcmVersionedXcm: { _enum: { __Unused0: 'Null', __Unused1: 'Null', - V2: 'StagingXcmV2Xcm', - V3: 'StagingXcmV3Xcm' + V2: 'XcmV2Xcm', + V3: 'XcmV3Xcm', + V4: 'StagingXcmV4Xcm' } }, /** - * Lookup226: staging_xcm::v2::Xcm + * Lookup246: xcm::v2::Xcm **/ - StagingXcmV2Xcm: 'Vec', + XcmV2Xcm: 'Vec', /** - * Lookup228: staging_xcm::v2::Instruction + * Lookup248: xcm::v2::Instruction **/ - StagingXcmV2Instruction: { + XcmV2Instruction: { _enum: { - WithdrawAsset: 'StagingXcmV2MultiassetMultiAssets', - ReserveAssetDeposited: 'StagingXcmV2MultiassetMultiAssets', - ReceiveTeleportedAsset: 'StagingXcmV2MultiassetMultiAssets', + WithdrawAsset: 'XcmV2MultiassetMultiAssets', + ReserveAssetDeposited: 'XcmV2MultiassetMultiAssets', + ReceiveTeleportedAsset: 'XcmV2MultiassetMultiAssets', QueryResponse: { queryId: 'Compact', - response: 'StagingXcmV2Response', + response: 'XcmV2Response', maxWeight: 'Compact', }, TransferAsset: { - assets: 'StagingXcmV2MultiassetMultiAssets', - beneficiary: 'StagingXcmV2MultiLocation', + assets: 'XcmV2MultiassetMultiAssets', + beneficiary: 'XcmV2MultiLocation', }, TransferReserveAsset: { - assets: 'StagingXcmV2MultiassetMultiAssets', - dest: 'StagingXcmV2MultiLocation', - xcm: 'StagingXcmV2Xcm', + assets: 'XcmV2MultiassetMultiAssets', + dest: 'XcmV2MultiLocation', + xcm: 'XcmV2Xcm', }, Transact: { - originType: 'StagingXcmV2OriginKind', + originType: 'XcmV2OriginKind', requireWeightAtMost: 'Compact', - call: 'StagingXcmDoubleEncoded', + call: 'XcmDoubleEncoded', }, HrmpNewChannelOpenRequest: { sender: 'Compact', @@ -2445,54 +2497,54 @@ export default { recipient: 'Compact', }, ClearOrigin: 'Null', - DescendOrigin: 'StagingXcmV2MultilocationJunctions', + DescendOrigin: 'XcmV2MultilocationJunctions', ReportError: { queryId: 'Compact', - dest: 'StagingXcmV2MultiLocation', + dest: 'XcmV2MultiLocation', maxResponseWeight: 'Compact', }, DepositAsset: { - assets: 'StagingXcmV2MultiassetMultiAssetFilter', + assets: 'XcmV2MultiassetMultiAssetFilter', maxAssets: 'Compact', - beneficiary: 'StagingXcmV2MultiLocation', + beneficiary: 'XcmV2MultiLocation', }, DepositReserveAsset: { - assets: 'StagingXcmV2MultiassetMultiAssetFilter', + assets: 'XcmV2MultiassetMultiAssetFilter', maxAssets: 'Compact', - dest: 'StagingXcmV2MultiLocation', - xcm: 'StagingXcmV2Xcm', + dest: 'XcmV2MultiLocation', + xcm: 'XcmV2Xcm', }, ExchangeAsset: { - give: 'StagingXcmV2MultiassetMultiAssetFilter', - receive: 'StagingXcmV2MultiassetMultiAssets', + give: 'XcmV2MultiassetMultiAssetFilter', + receive: 'XcmV2MultiassetMultiAssets', }, InitiateReserveWithdraw: { - assets: 'StagingXcmV2MultiassetMultiAssetFilter', - reserve: 'StagingXcmV2MultiLocation', - xcm: 'StagingXcmV2Xcm', + assets: 'XcmV2MultiassetMultiAssetFilter', + reserve: 'XcmV2MultiLocation', + xcm: 'XcmV2Xcm', }, InitiateTeleport: { - assets: 'StagingXcmV2MultiassetMultiAssetFilter', - dest: 'StagingXcmV2MultiLocation', - xcm: 'StagingXcmV2Xcm', + assets: 'XcmV2MultiassetMultiAssetFilter', + dest: 'XcmV2MultiLocation', + xcm: 'XcmV2Xcm', }, QueryHolding: { queryId: 'Compact', - dest: 'StagingXcmV2MultiLocation', - assets: 'StagingXcmV2MultiassetMultiAssetFilter', + dest: 'XcmV2MultiLocation', + assets: 'XcmV2MultiassetMultiAssetFilter', maxResponseWeight: 'Compact', }, BuyExecution: { - fees: 'StagingXcmV2MultiAsset', - weightLimit: 'StagingXcmV2WeightLimit', + fees: 'XcmV2MultiAsset', + weightLimit: 'XcmV2WeightLimit', }, RefundSurplus: 'Null', - SetErrorHandler: 'StagingXcmV2Xcm', - SetAppendix: 'StagingXcmV2Xcm', + SetErrorHandler: 'XcmV2Xcm', + SetAppendix: 'XcmV2Xcm', ClearError: 'Null', ClaimAsset: { - assets: 'StagingXcmV2MultiassetMultiAssets', - ticket: 'StagingXcmV2MultiLocation', + assets: 'XcmV2MultiassetMultiAssets', + ticket: 'XcmV2MultiLocation', }, Trap: 'Compact', SubscribeVersion: { @@ -2503,20 +2555,20 @@ export default { } }, /** - * Lookup229: staging_xcm::v2::Response + * Lookup249: xcm::v2::Response **/ - StagingXcmV2Response: { + XcmV2Response: { _enum: { Null: 'Null', - Assets: 'StagingXcmV2MultiassetMultiAssets', - ExecutionResult: 'Option<(u32,StagingXcmV2TraitsError)>', + Assets: 'XcmV2MultiassetMultiAssets', + ExecutionResult: 'Option<(u32,XcmV2TraitsError)>', Version: 'u32' } }, /** - * Lookup232: staging_xcm::v2::traits::Error + * Lookup252: xcm::v2::traits::Error **/ - StagingXcmV2TraitsError: { + XcmV2TraitsError: { _enum: { Overflow: 'Null', Unimplemented: 'Null', @@ -2547,84 +2599,84 @@ export default { } }, /** - * Lookup233: staging_xcm::v2::OriginKind + * Lookup253: xcm::v2::OriginKind **/ - StagingXcmV2OriginKind: { + XcmV2OriginKind: { _enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm'] }, /** - * Lookup234: staging_xcm::double_encoded::DoubleEncoded + * Lookup254: xcm::double_encoded::DoubleEncoded **/ - StagingXcmDoubleEncoded: { + XcmDoubleEncoded: { encoded: 'Bytes' }, /** - * Lookup235: staging_xcm::v2::multiasset::MultiAssetFilter + * Lookup255: xcm::v2::multiasset::MultiAssetFilter **/ - StagingXcmV2MultiassetMultiAssetFilter: { + XcmV2MultiassetMultiAssetFilter: { _enum: { - Definite: 'StagingXcmV2MultiassetMultiAssets', - Wild: 'StagingXcmV2MultiassetWildMultiAsset' + Definite: 'XcmV2MultiassetMultiAssets', + Wild: 'XcmV2MultiassetWildMultiAsset' } }, /** - * Lookup236: staging_xcm::v2::multiasset::WildMultiAsset + * Lookup256: xcm::v2::multiasset::WildMultiAsset **/ - StagingXcmV2MultiassetWildMultiAsset: { + XcmV2MultiassetWildMultiAsset: { _enum: { All: 'Null', AllOf: { - id: 'StagingXcmV2MultiassetAssetId', - fun: 'StagingXcmV2MultiassetWildFungibility' + id: 'XcmV2MultiassetAssetId', + fun: 'XcmV2MultiassetWildFungibility' } } }, /** - * Lookup237: staging_xcm::v2::multiasset::WildFungibility + * Lookup257: xcm::v2::multiasset::WildFungibility **/ - StagingXcmV2MultiassetWildFungibility: { + XcmV2MultiassetWildFungibility: { _enum: ['Fungible', 'NonFungible'] }, /** - * Lookup238: staging_xcm::v2::WeightLimit + * Lookup258: xcm::v2::WeightLimit **/ - StagingXcmV2WeightLimit: { + XcmV2WeightLimit: { _enum: { Unlimited: 'Null', Limited: 'Compact' } }, /** - * Lookup239: staging_xcm::v3::Xcm + * Lookup259: xcm::v3::Xcm **/ - StagingXcmV3Xcm: 'Vec', + XcmV3Xcm: 'Vec', /** - * Lookup241: staging_xcm::v3::Instruction + * Lookup261: xcm::v3::Instruction **/ - StagingXcmV3Instruction: { + XcmV3Instruction: { _enum: { - WithdrawAsset: 'StagingXcmV3MultiassetMultiAssets', - ReserveAssetDeposited: 'StagingXcmV3MultiassetMultiAssets', - ReceiveTeleportedAsset: 'StagingXcmV3MultiassetMultiAssets', + WithdrawAsset: 'XcmV3MultiassetMultiAssets', + ReserveAssetDeposited: 'XcmV3MultiassetMultiAssets', + ReceiveTeleportedAsset: 'XcmV3MultiassetMultiAssets', QueryResponse: { queryId: 'Compact', - response: 'StagingXcmV3Response', + response: 'XcmV3Response', maxWeight: 'SpWeightsWeightV2Weight', querier: 'Option', }, TransferAsset: { - assets: 'StagingXcmV3MultiassetMultiAssets', + assets: 'XcmV3MultiassetMultiAssets', beneficiary: 'StagingXcmV3MultiLocation', }, TransferReserveAsset: { - assets: 'StagingXcmV3MultiassetMultiAssets', + assets: 'XcmV3MultiassetMultiAssets', dest: 'StagingXcmV3MultiLocation', - xcm: 'StagingXcmV3Xcm', + xcm: 'XcmV3Xcm', }, Transact: { - originKind: 'StagingXcmV2OriginKind', + originKind: 'XcmV3OriginKind', requireWeightAtMost: 'SpWeightsWeightV2Weight', - call: 'StagingXcmDoubleEncoded', + call: 'XcmDoubleEncoded', }, HrmpNewChannelOpenRequest: { sender: 'Compact', @@ -2640,46 +2692,46 @@ export default { recipient: 'Compact', }, ClearOrigin: 'Null', - DescendOrigin: 'StagingXcmV3Junctions', - ReportError: 'StagingXcmV3QueryResponseInfo', + DescendOrigin: 'XcmV3Junctions', + ReportError: 'XcmV3QueryResponseInfo', DepositAsset: { - assets: 'StagingXcmV3MultiassetMultiAssetFilter', + assets: 'XcmV3MultiassetMultiAssetFilter', beneficiary: 'StagingXcmV3MultiLocation', }, DepositReserveAsset: { - assets: 'StagingXcmV3MultiassetMultiAssetFilter', + assets: 'XcmV3MultiassetMultiAssetFilter', dest: 'StagingXcmV3MultiLocation', - xcm: 'StagingXcmV3Xcm', + xcm: 'XcmV3Xcm', }, ExchangeAsset: { - give: 'StagingXcmV3MultiassetMultiAssetFilter', - want: 'StagingXcmV3MultiassetMultiAssets', + give: 'XcmV3MultiassetMultiAssetFilter', + want: 'XcmV3MultiassetMultiAssets', maximal: 'bool', }, InitiateReserveWithdraw: { - assets: 'StagingXcmV3MultiassetMultiAssetFilter', + assets: 'XcmV3MultiassetMultiAssetFilter', reserve: 'StagingXcmV3MultiLocation', - xcm: 'StagingXcmV3Xcm', + xcm: 'XcmV3Xcm', }, InitiateTeleport: { - assets: 'StagingXcmV3MultiassetMultiAssetFilter', + assets: 'XcmV3MultiassetMultiAssetFilter', dest: 'StagingXcmV3MultiLocation', - xcm: 'StagingXcmV3Xcm', + xcm: 'XcmV3Xcm', }, ReportHolding: { - responseInfo: 'StagingXcmV3QueryResponseInfo', - assets: 'StagingXcmV3MultiassetMultiAssetFilter', + responseInfo: 'XcmV3QueryResponseInfo', + assets: 'XcmV3MultiassetMultiAssetFilter', }, BuyExecution: { - fees: 'StagingXcmV3MultiAsset', - weightLimit: 'StagingXcmV3WeightLimit', + fees: 'XcmV3MultiAsset', + weightLimit: 'XcmV3WeightLimit', }, RefundSurplus: 'Null', - SetErrorHandler: 'StagingXcmV3Xcm', - SetAppendix: 'StagingXcmV3Xcm', + SetErrorHandler: 'XcmV3Xcm', + SetAppendix: 'XcmV3Xcm', ClearError: 'Null', ClaimAsset: { - assets: 'StagingXcmV3MultiassetMultiAssets', + assets: 'XcmV3MultiassetMultiAssets', ticket: 'StagingXcmV3MultiLocation', }, Trap: 'Compact', @@ -2688,14 +2740,14 @@ export default { maxResponseWeight: 'SpWeightsWeightV2Weight', }, UnsubscribeVersion: 'Null', - BurnAsset: 'StagingXcmV3MultiassetMultiAssets', - ExpectAsset: 'StagingXcmV3MultiassetMultiAssets', + BurnAsset: 'XcmV3MultiassetMultiAssets', + ExpectAsset: 'XcmV3MultiassetMultiAssets', ExpectOrigin: 'Option', - ExpectError: 'Option<(u32,StagingXcmV3TraitsError)>', - ExpectTransactStatus: 'StagingXcmV3MaybeErrorCode', + ExpectError: 'Option<(u32,XcmV3TraitsError)>', + ExpectTransactStatus: 'XcmV3MaybeErrorCode', QueryPallet: { moduleName: 'Bytes', - responseInfo: 'StagingXcmV3QueryResponseInfo', + responseInfo: 'XcmV3QueryResponseInfo', }, ExpectPallet: { index: 'Compact', @@ -2704,28 +2756,28 @@ export default { crateMajor: 'Compact', minCrateMinor: 'Compact', }, - ReportTransactStatus: 'StagingXcmV3QueryResponseInfo', + ReportTransactStatus: 'XcmV3QueryResponseInfo', ClearTransactStatus: 'Null', - UniversalOrigin: 'StagingXcmV3Junction', + UniversalOrigin: 'XcmV3Junction', ExportMessage: { - network: 'StagingXcmV3JunctionNetworkId', - destination: 'StagingXcmV3Junctions', - xcm: 'StagingXcmV3Xcm', + network: 'XcmV3JunctionNetworkId', + destination: 'XcmV3Junctions', + xcm: 'XcmV3Xcm', }, LockAsset: { - asset: 'StagingXcmV3MultiAsset', + asset: 'XcmV3MultiAsset', unlocker: 'StagingXcmV3MultiLocation', }, UnlockAsset: { - asset: 'StagingXcmV3MultiAsset', + asset: 'XcmV3MultiAsset', target: 'StagingXcmV3MultiLocation', }, NoteUnlockable: { - asset: 'StagingXcmV3MultiAsset', + asset: 'XcmV3MultiAsset', owner: 'StagingXcmV3MultiLocation', }, RequestUnlock: { - asset: 'StagingXcmV3MultiAsset', + asset: 'XcmV3MultiAsset', locker: 'StagingXcmV3MultiLocation', }, SetFeesMode: { @@ -2735,28 +2787,28 @@ export default { ClearTopic: 'Null', AliasOrigin: 'StagingXcmV3MultiLocation', UnpaidExecution: { - weightLimit: 'StagingXcmV3WeightLimit', + weightLimit: 'XcmV3WeightLimit', checkOrigin: 'Option' } } }, /** - * Lookup242: staging_xcm::v3::Response + * Lookup262: xcm::v3::Response **/ - StagingXcmV3Response: { + XcmV3Response: { _enum: { Null: 'Null', - Assets: 'StagingXcmV3MultiassetMultiAssets', - ExecutionResult: 'Option<(u32,StagingXcmV3TraitsError)>', + Assets: 'XcmV3MultiassetMultiAssets', + ExecutionResult: 'Option<(u32,XcmV3TraitsError)>', Version: 'u32', - PalletsInfo: 'Vec', - DispatchResult: 'StagingXcmV3MaybeErrorCode' + PalletsInfo: 'Vec', + DispatchResult: 'XcmV3MaybeErrorCode' } }, /** - * Lookup245: staging_xcm::v3::traits::Error + * Lookup265: xcm::v3::traits::Error **/ - StagingXcmV3TraitsError: { + XcmV3TraitsError: { _enum: { Overflow: 'Null', Unimplemented: 'Null', @@ -2801,9 +2853,236 @@ export default { } }, /** - * Lookup247: staging_xcm::v3::PalletInfo + * Lookup267: xcm::v3::PalletInfo + **/ + XcmV3PalletInfo: { + index: 'Compact', + name: 'Bytes', + moduleName: 'Bytes', + major: 'Compact', + minor: 'Compact', + patch: 'Compact' + }, + /** + * Lookup270: xcm::v3::MaybeErrorCode + **/ + XcmV3MaybeErrorCode: { + _enum: { + Success: 'Null', + Error: 'Bytes', + TruncatedError: 'Bytes' + } + }, + /** + * Lookup273: xcm::v3::OriginKind + **/ + XcmV3OriginKind: { + _enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm'] + }, + /** + * Lookup274: xcm::v3::QueryResponseInfo + **/ + XcmV3QueryResponseInfo: { + destination: 'StagingXcmV3MultiLocation', + queryId: 'Compact', + maxWeight: 'SpWeightsWeightV2Weight' + }, + /** + * Lookup275: xcm::v3::multiasset::MultiAssetFilter + **/ + XcmV3MultiassetMultiAssetFilter: { + _enum: { + Definite: 'XcmV3MultiassetMultiAssets', + Wild: 'XcmV3MultiassetWildMultiAsset' + } + }, + /** + * Lookup276: xcm::v3::multiasset::WildMultiAsset + **/ + XcmV3MultiassetWildMultiAsset: { + _enum: { + All: 'Null', + AllOf: { + id: 'XcmV3MultiassetAssetId', + fun: 'XcmV3MultiassetWildFungibility', + }, + AllCounted: 'Compact', + AllOfCounted: { + id: 'XcmV3MultiassetAssetId', + fun: 'XcmV3MultiassetWildFungibility', + count: 'Compact' + } + } + }, + /** + * Lookup277: xcm::v3::multiasset::WildFungibility + **/ + XcmV3MultiassetWildFungibility: { + _enum: ['Fungible', 'NonFungible'] + }, + /** + * Lookup278: staging_xcm::v4::Xcm + **/ + StagingXcmV4Xcm: 'Vec', + /** + * Lookup280: staging_xcm::v4::Instruction + **/ + StagingXcmV4Instruction: { + _enum: { + WithdrawAsset: 'StagingXcmV4AssetAssets', + ReserveAssetDeposited: 'StagingXcmV4AssetAssets', + ReceiveTeleportedAsset: 'StagingXcmV4AssetAssets', + QueryResponse: { + queryId: 'Compact', + response: 'StagingXcmV4Response', + maxWeight: 'SpWeightsWeightV2Weight', + querier: 'Option', + }, + TransferAsset: { + assets: 'StagingXcmV4AssetAssets', + beneficiary: 'StagingXcmV4Location', + }, + TransferReserveAsset: { + assets: 'StagingXcmV4AssetAssets', + dest: 'StagingXcmV4Location', + xcm: 'StagingXcmV4Xcm', + }, + Transact: { + originKind: 'XcmV3OriginKind', + requireWeightAtMost: 'SpWeightsWeightV2Weight', + call: 'XcmDoubleEncoded', + }, + HrmpNewChannelOpenRequest: { + sender: 'Compact', + maxMessageSize: 'Compact', + maxCapacity: 'Compact', + }, + HrmpChannelAccepted: { + recipient: 'Compact', + }, + HrmpChannelClosing: { + initiator: 'Compact', + sender: 'Compact', + recipient: 'Compact', + }, + ClearOrigin: 'Null', + DescendOrigin: 'StagingXcmV4Junctions', + ReportError: 'StagingXcmV4QueryResponseInfo', + DepositAsset: { + assets: 'StagingXcmV4AssetAssetFilter', + beneficiary: 'StagingXcmV4Location', + }, + DepositReserveAsset: { + assets: 'StagingXcmV4AssetAssetFilter', + dest: 'StagingXcmV4Location', + xcm: 'StagingXcmV4Xcm', + }, + ExchangeAsset: { + give: 'StagingXcmV4AssetAssetFilter', + want: 'StagingXcmV4AssetAssets', + maximal: 'bool', + }, + InitiateReserveWithdraw: { + assets: 'StagingXcmV4AssetAssetFilter', + reserve: 'StagingXcmV4Location', + xcm: 'StagingXcmV4Xcm', + }, + InitiateTeleport: { + assets: 'StagingXcmV4AssetAssetFilter', + dest: 'StagingXcmV4Location', + xcm: 'StagingXcmV4Xcm', + }, + ReportHolding: { + responseInfo: 'StagingXcmV4QueryResponseInfo', + assets: 'StagingXcmV4AssetAssetFilter', + }, + BuyExecution: { + fees: 'StagingXcmV4Asset', + weightLimit: 'XcmV3WeightLimit', + }, + RefundSurplus: 'Null', + SetErrorHandler: 'StagingXcmV4Xcm', + SetAppendix: 'StagingXcmV4Xcm', + ClearError: 'Null', + ClaimAsset: { + assets: 'StagingXcmV4AssetAssets', + ticket: 'StagingXcmV4Location', + }, + Trap: 'Compact', + SubscribeVersion: { + queryId: 'Compact', + maxResponseWeight: 'SpWeightsWeightV2Weight', + }, + UnsubscribeVersion: 'Null', + BurnAsset: 'StagingXcmV4AssetAssets', + ExpectAsset: 'StagingXcmV4AssetAssets', + ExpectOrigin: 'Option', + ExpectError: 'Option<(u32,XcmV3TraitsError)>', + ExpectTransactStatus: 'XcmV3MaybeErrorCode', + QueryPallet: { + moduleName: 'Bytes', + responseInfo: 'StagingXcmV4QueryResponseInfo', + }, + ExpectPallet: { + index: 'Compact', + name: 'Bytes', + moduleName: 'Bytes', + crateMajor: 'Compact', + minCrateMinor: 'Compact', + }, + ReportTransactStatus: 'StagingXcmV4QueryResponseInfo', + ClearTransactStatus: 'Null', + UniversalOrigin: 'StagingXcmV4Junction', + ExportMessage: { + network: 'StagingXcmV4JunctionNetworkId', + destination: 'StagingXcmV4Junctions', + xcm: 'StagingXcmV4Xcm', + }, + LockAsset: { + asset: 'StagingXcmV4Asset', + unlocker: 'StagingXcmV4Location', + }, + UnlockAsset: { + asset: 'StagingXcmV4Asset', + target: 'StagingXcmV4Location', + }, + NoteUnlockable: { + asset: 'StagingXcmV4Asset', + owner: 'StagingXcmV4Location', + }, + RequestUnlock: { + asset: 'StagingXcmV4Asset', + locker: 'StagingXcmV4Location', + }, + SetFeesMode: { + jitWithdraw: 'bool', + }, + SetTopic: '[u8;32]', + ClearTopic: 'Null', + AliasOrigin: 'StagingXcmV4Location', + UnpaidExecution: { + weightLimit: 'XcmV3WeightLimit', + checkOrigin: 'Option' + } + } + }, + /** + * Lookup281: staging_xcm::v4::Response + **/ + StagingXcmV4Response: { + _enum: { + Null: 'Null', + Assets: 'StagingXcmV4AssetAssets', + ExecutionResult: 'Option<(u32,XcmV3TraitsError)>', + Version: 'u32', + PalletsInfo: 'Vec', + DispatchResult: 'XcmV3MaybeErrorCode' + } + }, + /** + * Lookup283: staging_xcm::v4::PalletInfo **/ - StagingXcmV3PalletInfo: { + StagingXcmV4PalletInfo: { index: 'Compact', name: 'Bytes', moduleName: 'Bytes', @@ -2812,73 +3091,106 @@ export default { patch: 'Compact' }, /** - * Lookup250: staging_xcm::v3::MaybeErrorCode - **/ - StagingXcmV3MaybeErrorCode: { - _enum: { - Success: 'Null', - Error: 'Bytes', - TruncatedError: 'Bytes' - } - }, - /** - * Lookup253: staging_xcm::v3::QueryResponseInfo + * Lookup287: staging_xcm::v4::QueryResponseInfo **/ - StagingXcmV3QueryResponseInfo: { - destination: 'StagingXcmV3MultiLocation', + StagingXcmV4QueryResponseInfo: { + destination: 'StagingXcmV4Location', queryId: 'Compact', maxWeight: 'SpWeightsWeightV2Weight' }, /** - * Lookup254: staging_xcm::v3::multiasset::MultiAssetFilter + * Lookup288: staging_xcm::v4::asset::AssetFilter **/ - StagingXcmV3MultiassetMultiAssetFilter: { + StagingXcmV4AssetAssetFilter: { _enum: { - Definite: 'StagingXcmV3MultiassetMultiAssets', - Wild: 'StagingXcmV3MultiassetWildMultiAsset' + Definite: 'StagingXcmV4AssetAssets', + Wild: 'StagingXcmV4AssetWildAsset' } }, /** - * Lookup255: staging_xcm::v3::multiasset::WildMultiAsset + * Lookup289: staging_xcm::v4::asset::WildAsset **/ - StagingXcmV3MultiassetWildMultiAsset: { + StagingXcmV4AssetWildAsset: { _enum: { All: 'Null', AllOf: { - id: 'StagingXcmV3MultiassetAssetId', - fun: 'StagingXcmV3MultiassetWildFungibility', + id: 'StagingXcmV4AssetAssetId', + fun: 'StagingXcmV4AssetWildFungibility', }, AllCounted: 'Compact', AllOfCounted: { - id: 'StagingXcmV3MultiassetAssetId', - fun: 'StagingXcmV3MultiassetWildFungibility', + id: 'StagingXcmV4AssetAssetId', + fun: 'StagingXcmV4AssetWildFungibility', count: 'Compact' } } }, /** - * Lookup256: staging_xcm::v3::multiasset::WildFungibility + * Lookup290: staging_xcm::v4::asset::WildFungibility **/ - StagingXcmV3MultiassetWildFungibility: { + StagingXcmV4AssetWildFungibility: { _enum: ['Fungible', 'NonFungible'] }, /** - * Lookup265: cumulus_pallet_xcm::pallet::Call + * Lookup302: staging_xcm_executor::traits::asset_transfer::TransferType + **/ + StagingXcmExecutorAssetTransferTransferType: { + _enum: { + Teleport: 'Null', + LocalReserve: 'Null', + DestinationReserve: 'Null', + RemoteReserve: 'XcmVersionedLocation' + } + }, + /** + * Lookup303: xcm::VersionedAssetId + **/ + XcmVersionedAssetId: { + _enum: { + __Unused0: 'Null', + __Unused1: 'Null', + __Unused2: 'Null', + V3: 'XcmV3MultiassetAssetId', + V4: 'StagingXcmV4AssetAssetId' + } + }, + /** + * Lookup304: cumulus_pallet_xcm::pallet::Call **/ CumulusPalletXcmCall: 'Null', /** - * Lookup266: cumulus_pallet_dmp_queue::pallet::Call + * Lookup305: cumulus_pallet_dmp_queue::pallet::Call **/ - CumulusPalletDmpQueueCall: { + CumulusPalletDmpQueueCall: 'Null', + /** + * Lookup306: pallet_message_queue::pallet::Call + **/ + PalletMessageQueueCall: { _enum: { - service_overweight: { - index: 'u64', + reap_page: { + messageOrigin: 'CumulusPrimitivesCoreAggregateMessageOrigin', + pageIndex: 'u32', + }, + execute_overweight: { + messageOrigin: 'CumulusPrimitivesCoreAggregateMessageOrigin', + page: 'u32', + index: 'u32', weightLimit: 'SpWeightsWeightV2Weight' } } }, /** - * Lookup267: pallet_inflation::pallet::Call + * Lookup307: cumulus_primitives_core::AggregateMessageOrigin + **/ + CumulusPrimitivesCoreAggregateMessageOrigin: { + _enum: { + Here: 'Null', + Parent: 'Null', + Sibling: 'u32' + } + }, + /** + * Lookup308: pallet_inflation::pallet::Call **/ PalletInflationCall: { _enum: { @@ -2888,7 +3200,7 @@ export default { } }, /** - * Lookup268: pallet_unique::pallet::Call + * Lookup309: pallet_unique::pallet::Call **/ PalletUniqueCall: { _enum: { @@ -3039,7 +3351,7 @@ export default { } }, /** - * Lookup273: up_data_structs::CollectionMode + * Lookup314: up_data_structs::CollectionMode **/ UpDataStructsCollectionMode: { _enum: { @@ -3049,7 +3361,7 @@ export default { } }, /** - * Lookup274: up_data_structs::CreateCollectionData> + * Lookup315: up_data_structs::CreateCollectionData> **/ UpDataStructsCreateCollectionData: { mode: 'UpDataStructsCollectionMode', @@ -3066,7 +3378,7 @@ export default { flags: '[u8;1]' }, /** - * Lookup275: pallet_evm::account::BasicCrossAccountIdRepr + * Lookup316: pallet_evm::account::BasicCrossAccountIdRepr **/ PalletEvmAccountBasicCrossAccountIdRepr: { _enum: { @@ -3075,13 +3387,13 @@ export default { } }, /** - * Lookup277: up_data_structs::AccessMode + * Lookup318: up_data_structs::AccessMode **/ UpDataStructsAccessMode: { _enum: ['Normal', 'AllowList'] }, /** - * Lookup279: up_data_structs::CollectionLimits + * Lookup320: up_data_structs::CollectionLimits **/ UpDataStructsCollectionLimits: { accountTokenOwnershipLimit: 'Option', @@ -3095,7 +3407,7 @@ export default { transfersEnabled: 'Option' }, /** - * Lookup281: up_data_structs::SponsoringRateLimit + * Lookup322: up_data_structs::SponsoringRateLimit **/ UpDataStructsSponsoringRateLimit: { _enum: { @@ -3104,7 +3416,7 @@ export default { } }, /** - * Lookup284: up_data_structs::CollectionPermissions + * Lookup325: up_data_structs::CollectionPermissions **/ UpDataStructsCollectionPermissions: { access: 'Option', @@ -3112,7 +3424,7 @@ export default { nesting: 'Option' }, /** - * Lookup286: up_data_structs::NestingPermissions + * Lookup327: up_data_structs::NestingPermissions **/ UpDataStructsNestingPermissions: { tokenOwner: 'bool', @@ -3120,18 +3432,18 @@ export default { restricted: 'Option' }, /** - * Lookup288: up_data_structs::OwnerRestrictedSet + * Lookup329: up_data_structs::OwnerRestrictedSet **/ UpDataStructsOwnerRestrictedSet: 'BTreeSet', /** - * Lookup294: up_data_structs::PropertyKeyPermission + * Lookup334: up_data_structs::PropertyKeyPermission **/ UpDataStructsPropertyKeyPermission: { key: 'Bytes', permission: 'UpDataStructsPropertyPermission' }, /** - * Lookup296: up_data_structs::PropertyPermission + * Lookup336: up_data_structs::PropertyPermission **/ UpDataStructsPropertyPermission: { mutable: 'bool', @@ -3139,14 +3451,14 @@ export default { tokenOwner: 'bool' }, /** - * Lookup299: up_data_structs::Property + * Lookup339: up_data_structs::Property **/ UpDataStructsProperty: { key: 'Bytes', value: 'Bytes' }, /** - * Lookup304: up_data_structs::CreateItemData + * Lookup344: up_data_structs::CreateItemData **/ UpDataStructsCreateItemData: { _enum: { @@ -3156,26 +3468,26 @@ export default { } }, /** - * Lookup305: up_data_structs::CreateNftData + * Lookup345: up_data_structs::CreateNftData **/ UpDataStructsCreateNftData: { properties: 'Vec' }, /** - * Lookup306: up_data_structs::CreateFungibleData + * Lookup346: up_data_structs::CreateFungibleData **/ UpDataStructsCreateFungibleData: { value: 'u128' }, /** - * Lookup307: up_data_structs::CreateReFungibleData + * Lookup347: up_data_structs::CreateReFungibleData **/ UpDataStructsCreateReFungibleData: { pieces: 'u128', properties: 'Vec' }, /** - * Lookup311: up_data_structs::CreateItemExData> + * Lookup351: up_data_structs::CreateItemExData> **/ UpDataStructsCreateItemExData: { _enum: { @@ -3186,14 +3498,14 @@ export default { } }, /** - * Lookup313: up_data_structs::CreateNftExData> + * Lookup353: up_data_structs::CreateNftExData> **/ UpDataStructsCreateNftExData: { properties: 'Vec', owner: 'PalletEvmAccountBasicCrossAccountIdRepr' }, /** - * Lookup320: up_data_structs::CreateRefungibleExSingleOwner> + * Lookup360: up_data_structs::CreateRefungibleExSingleOwner> **/ UpDataStructsCreateRefungibleExSingleOwner: { user: 'PalletEvmAccountBasicCrossAccountIdRepr', @@ -3201,14 +3513,14 @@ export default { properties: 'Vec' }, /** - * Lookup322: up_data_structs::CreateRefungibleExMultipleOwners> + * Lookup362: up_data_structs::CreateRefungibleExMultipleOwners> **/ UpDataStructsCreateRefungibleExMultipleOwners: { users: 'BTreeMap', properties: 'Vec' }, /** - * Lookup323: pallet_configuration::pallet::Call + * Lookup363: pallet_configuration::pallet::Call **/ PalletConfigurationCall: { _enum: { @@ -3234,7 +3546,7 @@ export default { } }, /** - * Lookup325: pallet_configuration::AppPromotionConfiguration + * Lookup365: pallet_configuration::AppPromotionConfiguration **/ PalletConfigurationAppPromotionConfiguration: { recalculationInterval: 'Option', @@ -3243,11 +3555,11 @@ export default { maxStakersPerCalculation: 'Option' }, /** - * Lookup330: pallet_structure::pallet::Call + * Lookup370: pallet_structure::pallet::Call **/ PalletStructureCall: 'Null', /** - * Lookup331: pallet_app_promotion::pallet::Call + * Lookup371: pallet_app_promotion::pallet::Call **/ PalletAppPromotionCall: { _enum: { @@ -3276,39 +3588,35 @@ export default { unstake_partial: { amount: 'u128', }, - force_unstake: { + resolve_skipped_blocks: { pendingBlocks: 'Vec' } } }, /** - * Lookup333: pallet_foreign_assets::module::Call + * Lookup373: pallet_foreign_assets::module::Call **/ PalletForeignAssetsModuleCall: { _enum: { - register_foreign_asset: { - owner: 'AccountId32', - location: 'StagingXcmVersionedMultiLocation', - metadata: 'PalletForeignAssetsModuleAssetMetadata', - }, - update_foreign_asset: { - foreignAssetId: 'u32', - location: 'StagingXcmVersionedMultiLocation', - metadata: 'PalletForeignAssetsModuleAssetMetadata' + force_register_foreign_asset: { + versionedAssetId: 'XcmVersionedAssetId', + name: 'Vec', + tokenPrefix: 'Bytes', + mode: 'PalletForeignAssetsForeignCollectionMode' } } }, /** - * Lookup334: pallet_foreign_assets::module::AssetMetadata + * Lookup374: pallet_foreign_assets::ForeignCollectionMode **/ - PalletForeignAssetsModuleAssetMetadata: { - name: 'Bytes', - symbol: 'Bytes', - decimals: 'u8', - minimalBalance: 'u128' + PalletForeignAssetsForeignCollectionMode: { + _enum: { + NFT: 'Null', + Fungible: 'u8' + } }, /** - * Lookup337: pallet_evm::pallet::Call + * Lookup375: pallet_evm::pallet::Call **/ PalletEvmCall: { _enum: { @@ -3351,7 +3659,7 @@ export default { } }, /** - * Lookup344: pallet_ethereum::pallet::Call + * Lookup381: pallet_ethereum::pallet::Call **/ PalletEthereumCall: { _enum: { @@ -3361,7 +3669,7 @@ export default { } }, /** - * Lookup345: ethereum::transaction::TransactionV2 + * Lookup382: ethereum::transaction::TransactionV2 **/ EthereumTransactionTransactionV2: { _enum: { @@ -3371,7 +3679,7 @@ export default { } }, /** - * Lookup346: ethereum::transaction::LegacyTransaction + * Lookup383: ethereum::transaction::LegacyTransaction **/ EthereumTransactionLegacyTransaction: { nonce: 'U256', @@ -3383,7 +3691,7 @@ export default { signature: 'EthereumTransactionTransactionSignature' }, /** - * Lookup347: ethereum::transaction::TransactionAction + * Lookup384: ethereum::transaction::TransactionAction **/ EthereumTransactionTransactionAction: { _enum: { @@ -3392,7 +3700,7 @@ export default { } }, /** - * Lookup348: ethereum::transaction::TransactionSignature + * Lookup385: ethereum::transaction::TransactionSignature **/ EthereumTransactionTransactionSignature: { v: 'u64', @@ -3400,7 +3708,7 @@ export default { s: 'H256' }, /** - * Lookup350: ethereum::transaction::EIP2930Transaction + * Lookup387: ethereum::transaction::EIP2930Transaction **/ EthereumTransactionEip2930Transaction: { chainId: 'u64', @@ -3416,14 +3724,14 @@ export default { s: 'H256' }, /** - * Lookup352: ethereum::transaction::AccessListItem + * Lookup389: ethereum::transaction::AccessListItem **/ EthereumTransactionAccessListItem: { address: 'H160', storageKeys: 'Vec' }, /** - * Lookup353: ethereum::transaction::EIP1559Transaction + * Lookup390: ethereum::transaction::EIP1559Transaction **/ EthereumTransactionEip1559Transaction: { chainId: 'u64', @@ -3440,7 +3748,7 @@ export default { s: 'H256' }, /** - * Lookup354: pallet_evm_contract_helpers::pallet::Call + * Lookup391: pallet_evm_contract_helpers::pallet::Call **/ PalletEvmContractHelpersCall: { _enum: { @@ -3450,7 +3758,7 @@ export default { } }, /** - * Lookup356: pallet_evm_migration::pallet::Call + * Lookup393: pallet_evm_migration::pallet::Call **/ PalletEvmMigrationCall: { _enum: { @@ -3475,7 +3783,7 @@ export default { } }, /** - * Lookup360: ethereum::log::Log + * Lookup397: ethereum::log::Log **/ EthereumLog: { address: 'H160', @@ -3483,13 +3791,13 @@ export default { data: 'Bytes' }, /** - * Lookup361: pallet_maintenance::pallet::Call + * Lookup398: pallet_maintenance::pallet::Call **/ PalletMaintenanceCall: { _enum: ['enable', 'disable'] }, /** - * Lookup362: pallet_utility::pallet::Call + * Lookup399: pallet_utility::pallet::Call **/ PalletUtilityCall: { _enum: { @@ -3517,7 +3825,7 @@ export default { } }, /** - * Lookup364: pallet_test_utils::pallet::Call + * Lookup401: pallet_test_utils::pallet::Call **/ PalletTestUtilsCall: { _enum: { @@ -3536,7 +3844,11 @@ export default { } }, /** - * Lookup366: pallet_scheduler::pallet::Event + * Lookup402: sp_runtime::traits::BlakeTwo256 + **/ + SpRuntimeBlakeTwo256: 'Null', + /** + * Lookup404: pallet_scheduler::pallet::Event **/ PalletSchedulerEvent: { _enum: { @@ -3553,6 +3865,16 @@ export default { id: 'Option<[u8;32]>', result: 'Result', }, + RetrySet: { + task: '(u32,u32)', + id: 'Option<[u8;32]>', + period: 'u32', + retries: 'u8', + }, + RetryCancelled: { + task: '(u32,u32)', + id: 'Option<[u8;32]>', + }, CallUnavailable: { task: '(u32,u32)', id: 'Option<[u8;32]>', @@ -3561,6 +3883,10 @@ export default { task: '(u32,u32)', id: 'Option<[u8;32]>', }, + RetryFailed: { + task: '(u32,u32)', + id: 'Option<[u8;32]>', + }, PermanentlyOverweight: { task: '(u32,u32)', id: 'Option<[u8;32]>' @@ -3568,63 +3894,36 @@ export default { } }, /** - * Lookup367: cumulus_pallet_xcmp_queue::pallet::Event + * Lookup407: cumulus_pallet_xcmp_queue::pallet::Event **/ CumulusPalletXcmpQueueEvent: { _enum: { - Success: { - messageHash: '[u8;32]', - messageId: '[u8;32]', - weight: 'SpWeightsWeightV2Weight', - }, - Fail: { - messageHash: '[u8;32]', - messageId: '[u8;32]', - error: 'StagingXcmV3TraitsError', - weight: 'SpWeightsWeightV2Weight', - }, - BadVersion: { - messageHash: '[u8;32]', - }, - BadFormat: { - messageHash: '[u8;32]', - }, XcmpMessageSent: { - messageHash: '[u8;32]', - }, - OverweightEnqueued: { - sender: 'u32', - sentAt: 'u32', - index: 'u64', - required: 'SpWeightsWeightV2Weight', - }, - OverweightServiced: { - index: 'u64', - used: 'SpWeightsWeightV2Weight' + messageHash: '[u8;32]' } } }, /** - * Lookup368: pallet_xcm::pallet::Event + * Lookup408: pallet_xcm::pallet::Event **/ PalletXcmEvent: { _enum: { Attempted: { - outcome: 'StagingXcmV3TraitsOutcome', + outcome: 'StagingXcmV4TraitsOutcome', }, Sent: { - origin: 'StagingXcmV3MultiLocation', - destination: 'StagingXcmV3MultiLocation', - message: 'StagingXcmV3Xcm', + origin: 'StagingXcmV4Location', + destination: 'StagingXcmV4Location', + message: 'StagingXcmV4Xcm', messageId: '[u8;32]', }, UnexpectedResponse: { - origin: 'StagingXcmV3MultiLocation', + origin: 'StagingXcmV4Location', queryId: 'u64', }, ResponseReady: { queryId: 'u64', - response: 'StagingXcmV3Response', + response: 'StagingXcmV4Response', }, Notified: { queryId: 'u64', @@ -3649,12 +3948,12 @@ export default { callIndex: 'u8', }, InvalidResponder: { - origin: 'StagingXcmV3MultiLocation', + origin: 'StagingXcmV4Location', queryId: 'u64', - expectedLocation: 'Option', + expectedLocation: 'Option', }, InvalidResponderVersion: { - origin: 'StagingXcmV3MultiLocation', + origin: 'StagingXcmV4Location', queryId: 'u64', }, ResponseTaken: { @@ -3665,126 +3964,170 @@ export default { hash_: 'hash', }, hash_: 'H256', - origin: 'StagingXcmV3MultiLocation', - assets: 'StagingXcmVersionedMultiAssets', + origin: 'StagingXcmV4Location', + assets: 'XcmVersionedAssets', }, VersionChangeNotified: { - destination: 'StagingXcmV3MultiLocation', + destination: 'StagingXcmV4Location', result: 'u32', - cost: 'StagingXcmV3MultiassetMultiAssets', + cost: 'StagingXcmV4AssetAssets', messageId: '[u8;32]', }, SupportedVersionChanged: { - location: 'StagingXcmV3MultiLocation', + location: 'StagingXcmV4Location', version: 'u32', }, NotifyTargetSendFail: { - location: 'StagingXcmV3MultiLocation', + location: 'StagingXcmV4Location', queryId: 'u64', - error: 'StagingXcmV3TraitsError', + error: 'XcmV3TraitsError', }, NotifyTargetMigrationFail: { - location: 'StagingXcmVersionedMultiLocation', + location: 'XcmVersionedLocation', queryId: 'u64', }, InvalidQuerierVersion: { - origin: 'StagingXcmV3MultiLocation', + origin: 'StagingXcmV4Location', queryId: 'u64', }, InvalidQuerier: { - origin: 'StagingXcmV3MultiLocation', + origin: 'StagingXcmV4Location', queryId: 'u64', - expectedQuerier: 'StagingXcmV3MultiLocation', - maybeActualQuerier: 'Option', + expectedQuerier: 'StagingXcmV4Location', + maybeActualQuerier: 'Option', }, VersionNotifyStarted: { - destination: 'StagingXcmV3MultiLocation', - cost: 'StagingXcmV3MultiassetMultiAssets', + destination: 'StagingXcmV4Location', + cost: 'StagingXcmV4AssetAssets', messageId: '[u8;32]', }, VersionNotifyRequested: { - destination: 'StagingXcmV3MultiLocation', - cost: 'StagingXcmV3MultiassetMultiAssets', + destination: 'StagingXcmV4Location', + cost: 'StagingXcmV4AssetAssets', messageId: '[u8;32]', }, VersionNotifyUnrequested: { - destination: 'StagingXcmV3MultiLocation', - cost: 'StagingXcmV3MultiassetMultiAssets', + destination: 'StagingXcmV4Location', + cost: 'StagingXcmV4AssetAssets', messageId: '[u8;32]', }, FeesPaid: { - paying: 'StagingXcmV3MultiLocation', - fees: 'StagingXcmV3MultiassetMultiAssets', + paying: 'StagingXcmV4Location', + fees: 'StagingXcmV4AssetAssets', }, AssetsClaimed: { _alias: { hash_: 'hash', }, hash_: 'H256', - origin: 'StagingXcmV3MultiLocation', - assets: 'StagingXcmVersionedMultiAssets' + origin: 'StagingXcmV4Location', + assets: 'XcmVersionedAssets', + }, + VersionMigrationFinished: { + version: 'u32' } } }, /** - * Lookup369: staging_xcm::v3::traits::Outcome + * Lookup409: staging_xcm::v4::traits::Outcome **/ - StagingXcmV3TraitsOutcome: { + StagingXcmV4TraitsOutcome: { _enum: { - Complete: 'SpWeightsWeightV2Weight', - Incomplete: '(SpWeightsWeightV2Weight,StagingXcmV3TraitsError)', - Error: 'StagingXcmV3TraitsError' + Complete: { + used: 'SpWeightsWeightV2Weight', + }, + Incomplete: { + used: 'SpWeightsWeightV2Weight', + error: 'XcmV3TraitsError', + }, + Error: { + error: 'XcmV3TraitsError' + } } }, /** - * Lookup370: cumulus_pallet_xcm::pallet::Event + * Lookup410: cumulus_pallet_xcm::pallet::Event **/ CumulusPalletXcmEvent: { _enum: { InvalidFormat: '[u8;32]', UnsupportedVersion: '[u8;32]', - ExecutedDownward: '([u8;32],StagingXcmV3TraitsOutcome)' + ExecutedDownward: '([u8;32],StagingXcmV4TraitsOutcome)' } }, /** - * Lookup371: cumulus_pallet_dmp_queue::pallet::Event + * Lookup411: cumulus_pallet_dmp_queue::pallet::Event **/ CumulusPalletDmpQueueEvent: { _enum: { - InvalidFormat: { - messageHash: '[u8;32]', + StartedExport: 'Null', + Exported: { + page: 'u32', }, - UnsupportedVersion: { - messageHash: '[u8;32]', + ExportFailed: { + page: 'u32', }, - ExecutedDownward: { - messageHash: '[u8;32]', - messageId: '[u8;32]', - outcome: 'StagingXcmV3TraitsOutcome', + CompletedExport: 'Null', + StartedOverweightExport: 'Null', + ExportedOverweight: { + index: 'u64', }, - WeightExhausted: { - messageHash: '[u8;32]', - messageId: '[u8;32]', - remainingWeight: 'SpWeightsWeightV2Weight', - requiredWeight: 'SpWeightsWeightV2Weight', + ExportOverweightFailed: { + index: 'u64', }, - OverweightEnqueued: { - messageHash: '[u8;32]', - messageId: '[u8;32]', - overweightIndex: 'u64', - requiredWeight: 'SpWeightsWeightV2Weight', + CompletedOverweightExport: 'Null', + StartedCleanup: 'Null', + CleanedSome: { + keysRemoved: 'u32', + }, + Completed: { + error: 'bool' + } + } + }, + /** + * Lookup412: pallet_message_queue::pallet::Event + **/ + PalletMessageQueueEvent: { + _enum: { + ProcessingFailed: { + id: 'H256', + origin: 'CumulusPrimitivesCoreAggregateMessageOrigin', + error: 'FrameSupportMessagesProcessMessageError', }, - OverweightServiced: { - overweightIndex: 'u64', + Processed: { + id: 'H256', + origin: 'CumulusPrimitivesCoreAggregateMessageOrigin', weightUsed: 'SpWeightsWeightV2Weight', + success: 'bool', }, - MaxMessagesExhausted: { - messageHash: '[u8;32]' + OverweightEnqueued: { + id: '[u8;32]', + origin: 'CumulusPrimitivesCoreAggregateMessageOrigin', + pageIndex: 'u32', + messageIndex: 'u32', + }, + PageReaped: { + origin: 'CumulusPrimitivesCoreAggregateMessageOrigin', + index: 'u32' } } }, /** - * Lookup372: pallet_configuration::pallet::Event + * Lookup413: frame_support::traits::messages::ProcessMessageError + **/ + FrameSupportMessagesProcessMessageError: { + _enum: { + BadFormat: 'Null', + Corrupt: 'Null', + Unsupported: 'Null', + Overweight: 'SpWeightsWeightV2Weight', + Yield: 'Null', + StackLimitReached: 'Null' + } + }, + /** + * Lookup414: pallet_configuration::pallet::Event **/ PalletConfigurationEvent: { _enum: { @@ -3800,7 +4143,7 @@ export default { } }, /** - * Lookup373: pallet_common::pallet::Event + * Lookup415: pallet_common::pallet::Event **/ PalletCommonEvent: { _enum: { @@ -3829,7 +4172,7 @@ export default { } }, /** - * Lookup374: pallet_structure::pallet::Event + * Lookup416: pallet_structure::pallet::Event **/ PalletStructureEvent: { _enum: { @@ -3837,7 +4180,7 @@ export default { } }, /** - * Lookup375: pallet_app_promotion::pallet::Event + * Lookup417: pallet_app_promotion::pallet::Event **/ PalletAppPromotionEvent: { _enum: { @@ -3848,32 +4191,45 @@ export default { } }, /** - * Lookup376: pallet_foreign_assets::module::Event + * Lookup418: pallet_foreign_assets::module::Event **/ PalletForeignAssetsModuleEvent: { _enum: { ForeignAssetRegistered: { - assetId: 'u32', - assetAddress: 'StagingXcmV3MultiLocation', - metadata: 'PalletForeignAssetsModuleAssetMetadata', - }, - ForeignAssetUpdated: { - assetId: 'u32', - assetAddress: 'StagingXcmV3MultiLocation', - metadata: 'PalletForeignAssetsModuleAssetMetadata', - }, - AssetRegistered: { - assetId: 'PalletForeignAssetsAssetId', - metadata: 'PalletForeignAssetsModuleAssetMetadata', - }, - AssetUpdated: { - assetId: 'PalletForeignAssetsAssetId', - metadata: 'PalletForeignAssetsModuleAssetMetadata' + collectionId: 'u32', + assetId: 'XcmVersionedAssetId', + }, + MigrationStatus: 'PalletForeignAssetsMigrationStatus' + } + }, + /** + * Lookup419: pallet_foreign_assets::MigrationStatus + **/ + PalletForeignAssetsMigrationStatus: { + _enum: { + V3ToV4: 'PalletForeignAssetsMigrationStatusV3ToV4' + } + }, + /** + * Lookup420: pallet_foreign_assets::MigrationStatusV3ToV4 + **/ + PalletForeignAssetsMigrationStatusV3ToV4: { + _enum: { + Done: 'Null', + SkippedInconsistentAssetData: 'XcmV3MultiassetAssetId', + SkippedInconsistentAssetInstanceData: { + assetId: 'XcmV3MultiassetAssetId', + assetInstance: 'XcmV3MultiassetAssetInstance', + }, + SkippedNotConvertibleAssetId: 'XcmV3MultiassetAssetId', + SkippedNotConvertibleAssetInstance: { + assetId: 'XcmV3MultiassetAssetId', + assetInstance: 'XcmV3MultiassetAssetInstance' } } }, /** - * Lookup377: pallet_evm::pallet::Event + * Lookup421: pallet_evm::pallet::Event **/ PalletEvmEvent: { _enum: { @@ -3895,7 +4251,7 @@ export default { } }, /** - * Lookup378: pallet_ethereum::pallet::Event + * Lookup422: pallet_ethereum::pallet::Event **/ PalletEthereumEvent: { _enum: { @@ -3909,7 +4265,7 @@ export default { } }, /** - * Lookup379: evm_core::error::ExitReason + * Lookup423: evm_core::error::ExitReason **/ EvmCoreErrorExitReason: { _enum: { @@ -3920,13 +4276,13 @@ export default { } }, /** - * Lookup380: evm_core::error::ExitSucceed + * Lookup424: evm_core::error::ExitSucceed **/ EvmCoreErrorExitSucceed: { _enum: ['Stopped', 'Returned', 'Suicided'] }, /** - * Lookup381: evm_core::error::ExitError + * Lookup425: evm_core::error::ExitError **/ EvmCoreErrorExitError: { _enum: { @@ -3949,13 +4305,13 @@ export default { } }, /** - * Lookup385: evm_core::error::ExitRevert + * Lookup429: evm_core::error::ExitRevert **/ EvmCoreErrorExitRevert: { _enum: ['Reverted'] }, /** - * Lookup386: evm_core::error::ExitFatal + * Lookup430: evm_core::error::ExitFatal **/ EvmCoreErrorExitFatal: { _enum: { @@ -3966,7 +4322,7 @@ export default { } }, /** - * Lookup387: pallet_evm_contract_helpers::pallet::Event + * Lookup431: pallet_evm_contract_helpers::pallet::Event **/ PalletEvmContractHelpersEvent: { _enum: { @@ -3976,19 +4332,19 @@ export default { } }, /** - * Lookup388: pallet_evm_migration::pallet::Event + * Lookup432: pallet_evm_migration::pallet::Event **/ PalletEvmMigrationEvent: { _enum: ['TestEvent'] }, /** - * Lookup389: pallet_maintenance::pallet::Event + * Lookup433: pallet_maintenance::pallet::Event **/ PalletMaintenanceEvent: { _enum: ['MaintenanceEnabled', 'MaintenanceDisabled'] }, /** - * Lookup390: pallet_utility::pallet::Event + * Lookup434: pallet_utility::pallet::Event **/ PalletUtilityEvent: { _enum: { @@ -4008,13 +4364,13 @@ export default { } }, /** - * Lookup391: pallet_test_utils::pallet::Event + * Lookup435: pallet_test_utils::pallet::Event **/ PalletTestUtilsEvent: { _enum: ['ValueIsSet', 'ShouldRollback', 'BatchCompleted'] }, /** - * Lookup392: frame_system::Phase + * Lookup436: frame_system::Phase **/ FrameSystemPhase: { _enum: { @@ -4024,14 +4380,21 @@ export default { } }, /** - * Lookup394: frame_system::LastRuntimeUpgradeInfo + * Lookup438: frame_system::LastRuntimeUpgradeInfo **/ FrameSystemLastRuntimeUpgradeInfo: { specVersion: 'Compact', specName: 'Text' }, /** - * Lookup395: frame_system::limits::BlockWeights + * Lookup439: frame_system::CodeUpgradeAuthorization + **/ + FrameSystemCodeUpgradeAuthorization: { + codeHash: 'H256', + checkVersion: 'bool' + }, + /** + * Lookup440: frame_system::limits::BlockWeights **/ FrameSystemLimitsBlockWeights: { baseBlock: 'SpWeightsWeightV2Weight', @@ -4039,7 +4402,7 @@ export default { perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass' }, /** - * Lookup396: frame_support::dispatch::PerDispatchClass + * Lookup441: frame_support::dispatch::PerDispatchClass **/ FrameSupportDispatchPerDispatchClassWeightsPerClass: { normal: 'FrameSystemLimitsWeightsPerClass', @@ -4047,7 +4410,7 @@ export default { mandatory: 'FrameSystemLimitsWeightsPerClass' }, /** - * Lookup397: frame_system::limits::WeightsPerClass + * Lookup442: frame_system::limits::WeightsPerClass **/ FrameSystemLimitsWeightsPerClass: { baseExtrinsic: 'SpWeightsWeightV2Weight', @@ -4056,13 +4419,13 @@ export default { reserved: 'Option' }, /** - * Lookup399: frame_system::limits::BlockLength + * Lookup444: frame_system::limits::BlockLength **/ FrameSystemLimitsBlockLength: { max: 'FrameSupportDispatchPerDispatchClassU32' }, /** - * Lookup400: frame_support::dispatch::PerDispatchClass + * Lookup445: frame_support::dispatch::PerDispatchClass **/ FrameSupportDispatchPerDispatchClassU32: { normal: 'u32', @@ -4070,14 +4433,14 @@ export default { mandatory: 'u32' }, /** - * Lookup401: sp_weights::RuntimeDbWeight + * Lookup446: sp_weights::RuntimeDbWeight **/ SpWeightsRuntimeDbWeight: { read: 'u64', write: 'u64' }, /** - * Lookup402: sp_version::RuntimeVersion + * Lookup447: sp_version::RuntimeVersion **/ SpVersionRuntimeVersion: { specName: 'Text', @@ -4090,21 +4453,21 @@ export default { stateVersion: 'u8' }, /** - * Lookup406: frame_system::pallet::Error + * Lookup451: frame_system::pallet::Error **/ FrameSystemError: { - _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered'] + _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered', 'MultiBlockMigrationsOngoing', 'NothingAuthorized', 'Unauthorized'] }, /** - * Lookup408: cumulus_pallet_parachain_system::unincluded_segment::Ancestor + * Lookup453: cumulus_pallet_parachain_system::unincluded_segment::Ancestor **/ CumulusPalletParachainSystemUnincludedSegmentAncestor: { usedBandwidth: 'CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth', paraHeadHash: 'Option', - consumedGoAheadSignal: 'Option' + consumedGoAheadSignal: 'Option' }, /** - * Lookup409: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth + * Lookup454: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth **/ CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth: { umpMsgCount: 'u32', @@ -4112,52 +4475,52 @@ export default { hrmpOutgoing: 'BTreeMap' }, /** - * Lookup411: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate + * Lookup456: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate **/ CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate: { msgCount: 'u32', totalBytes: 'u32' }, /** - * Lookup415: polkadot_primitives::v5::UpgradeGoAhead + * Lookup460: polkadot_primitives::v7::UpgradeGoAhead **/ - PolkadotPrimitivesV5UpgradeGoAhead: { + PolkadotPrimitivesV7UpgradeGoAhead: { _enum: ['Abort', 'GoAhead'] }, /** - * Lookup416: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker + * Lookup461: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker **/ CumulusPalletParachainSystemUnincludedSegmentSegmentTracker: { usedBandwidth: 'CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth', hrmpWatermark: 'Option', - consumedGoAheadSignal: 'Option' + consumedGoAheadSignal: 'Option' }, /** - * Lookup418: polkadot_primitives::v5::UpgradeRestriction + * Lookup463: polkadot_primitives::v7::UpgradeRestriction **/ - PolkadotPrimitivesV5UpgradeRestriction: { + PolkadotPrimitivesV7UpgradeRestriction: { _enum: ['Present'] }, /** - * Lookup419: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot + * Lookup464: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot **/ CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: { dmqMqcHead: 'H256', relayDispatchQueueRemainingCapacity: 'CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity', - ingressChannels: 'Vec<(u32,PolkadotPrimitivesV5AbridgedHrmpChannel)>', - egressChannels: 'Vec<(u32,PolkadotPrimitivesV5AbridgedHrmpChannel)>' + ingressChannels: 'Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>', + egressChannels: 'Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>' }, /** - * Lookup420: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity + * Lookup465: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity **/ CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity: { remainingCount: 'u32', remainingSize: 'u32' }, /** - * Lookup423: polkadot_primitives::v5::AbridgedHrmpChannel + * Lookup468: polkadot_primitives::v7::AbridgedHrmpChannel **/ - PolkadotPrimitivesV5AbridgedHrmpChannel: { + PolkadotPrimitivesV7AbridgedHrmpChannel: { maxCapacity: 'u32', maxTotalSize: 'u32', maxMessageSize: 'u32', @@ -4166,9 +4529,9 @@ export default { mqcHead: 'Option' }, /** - * Lookup424: polkadot_primitives::v5::AbridgedHostConfiguration + * Lookup469: polkadot_primitives::v7::AbridgedHostConfiguration **/ - PolkadotPrimitivesV5AbridgedHostConfiguration: { + PolkadotPrimitivesV7AbridgedHostConfiguration: { maxCodeSize: 'u32', maxHeadDataSize: 'u32', maxUpwardQueueCount: 'u32', @@ -4178,53 +4541,46 @@ export default { hrmpMaxMessageNumPerCandidate: 'u32', validationUpgradeCooldown: 'u32', validationUpgradeDelay: 'u32', - asyncBackingParams: 'PolkadotPrimitivesVstagingAsyncBackingParams' + asyncBackingParams: 'PolkadotPrimitivesV7AsyncBackingAsyncBackingParams' }, /** - * Lookup425: polkadot_primitives::vstaging::AsyncBackingParams + * Lookup470: polkadot_primitives::v7::async_backing::AsyncBackingParams **/ - PolkadotPrimitivesVstagingAsyncBackingParams: { + PolkadotPrimitivesV7AsyncBackingAsyncBackingParams: { maxCandidateDepth: 'u32', allowedAncestryLen: 'u32' }, /** - * Lookup431: polkadot_core_primitives::OutboundHrmpMessage + * Lookup476: polkadot_core_primitives::OutboundHrmpMessage **/ PolkadotCorePrimitivesOutboundHrmpMessage: { recipient: 'u32', data: 'Bytes' }, /** - * Lookup432: cumulus_pallet_parachain_system::CodeUpgradeAuthorization - **/ - CumulusPalletParachainSystemCodeUpgradeAuthorization: { - codeHash: 'H256', - checkVersion: 'bool' - }, - /** - * Lookup433: cumulus_pallet_parachain_system::pallet::Error + * Lookup478: cumulus_pallet_parachain_system::pallet::Error **/ CumulusPalletParachainSystemError: { _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized'] }, /** - * Lookup435: pallet_collator_selection::pallet::Error + * Lookup480: pallet_collator_selection::pallet::Error **/ PalletCollatorSelectionError: { _enum: ['TooManyCandidates', 'Unknown', 'Permission', 'AlreadyHoldingLicense', 'NoLicense', 'AlreadyCandidate', 'NotCandidate', 'TooManyInvulnerables', 'TooFewInvulnerables', 'AlreadyInvulnerable', 'NotInvulnerable', 'NoAssociatedValidatorId', 'ValidatorNotRegistered'] }, /** - * Lookup439: sp_core::crypto::KeyTypeId + * Lookup484: sp_core::crypto::KeyTypeId **/ SpCoreCryptoKeyTypeId: '[u8;4]', /** - * Lookup440: pallet_session::pallet::Error + * Lookup485: pallet_session::pallet::Error **/ PalletSessionError: { _enum: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount'] }, /** - * Lookup446: pallet_balances::types::BalanceLock + * Lookup491: pallet_balances::types::BalanceLock **/ PalletBalancesBalanceLock: { id: '[u8;8]', @@ -4232,25 +4588,25 @@ export default { reasons: 'PalletBalancesReasons' }, /** - * Lookup447: pallet_balances::types::Reasons + * Lookup492: pallet_balances::types::Reasons **/ PalletBalancesReasons: { _enum: ['Fee', 'Misc', 'All'] }, /** - * Lookup450: pallet_balances::types::ReserveData + * Lookup495: pallet_balances::types::ReserveData **/ PalletBalancesReserveData: { id: '[u8;16]', amount: 'u128' }, /** - * Lookup454: opal_runtime::RuntimeHoldReason + * Lookup499: opal_runtime::RuntimeHoldReason **/ OpalRuntimeRuntimeHoldReason: { _enum: { __Unused0: 'Null', - __Unused1: 'Null', + StateTrieMigration: 'PalletStateTrieMigrationHoldReason', __Unused2: 'Null', __Unused3: 'Null', __Unused4: 'Null', @@ -4272,36 +4628,66 @@ export default { __Unused20: 'Null', __Unused21: 'Null', __Unused22: 'Null', - CollatorSelection: 'PalletCollatorSelectionHoldReason' + CollatorSelection: 'PalletCollatorSelectionHoldReason', + __Unused24: 'Null', + __Unused25: 'Null', + __Unused26: 'Null', + __Unused27: 'Null', + __Unused28: 'Null', + __Unused29: 'Null', + __Unused30: 'Null', + __Unused31: 'Null', + __Unused32: 'Null', + __Unused33: 'Null', + __Unused34: 'Null', + __Unused35: 'Null', + __Unused36: 'Null', + __Unused37: 'Null', + __Unused38: 'Null', + __Unused39: 'Null', + __Unused40: 'Null', + Preimage: 'PalletPreimageHoldReason' } }, /** - * Lookup455: pallet_collator_selection::pallet::HoldReason + * Lookup500: pallet_state_trie_migration::pallet::HoldReason + **/ + PalletStateTrieMigrationHoldReason: { + _enum: ['SlashForMigrate'] + }, + /** + * Lookup501: pallet_collator_selection::pallet::HoldReason **/ PalletCollatorSelectionHoldReason: { _enum: ['LicenseBond'] }, /** - * Lookup458: pallet_balances::types::IdAmount + * Lookup502: pallet_preimage::pallet::HoldReason **/ - PalletBalancesIdAmount: { + PalletPreimageHoldReason: { + _enum: ['Preimage'] + }, + /** + * Lookup505: frame_support::traits::tokens::misc::IdAmount + **/ + FrameSupportTokensMiscIdAmount: { id: '[u8;16]', amount: 'u128' }, /** - * Lookup460: pallet_balances::pallet::Error + * Lookup507: pallet_balances::pallet::Error **/ PalletBalancesError: { - _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'Expendability', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves', 'TooManyHolds', 'TooManyFreezes'] + _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'Expendability', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves', 'TooManyHolds', 'TooManyFreezes', 'IssuanceDeactivated', 'DeltaZero'] }, /** - * Lookup462: pallet_transaction_payment::Releases + * Lookup508: pallet_transaction_payment::Releases **/ PalletTransactionPaymentReleases: { _enum: ['V1Ancient', 'V2'] }, /** - * Lookup463: pallet_treasury::Proposal + * Lookup509: pallet_treasury::Proposal **/ PalletTreasuryProposal: { proposer: 'AccountId32', @@ -4310,63 +4696,58 @@ export default { bond: 'u128' }, /** - * Lookup466: frame_support::PalletId + * Lookup511: pallet_treasury::SpendStatus + **/ + PalletTreasurySpendStatus: { + assetKind: 'Null', + amount: 'u128', + beneficiary: 'AccountId32', + validFrom: 'u32', + expireAt: 'u32', + status: 'PalletTreasuryPaymentState' + }, + /** + * Lookup512: pallet_treasury::PaymentState + **/ + PalletTreasuryPaymentState: { + _enum: { + Pending: 'Null', + Attempted: { + id: 'Null', + }, + Failed: 'Null' + } + }, + /** + * Lookup514: frame_support::PalletId **/ FrameSupportPalletId: '[u8;8]', /** - * Lookup467: pallet_treasury::pallet::Error + * Lookup515: pallet_treasury::pallet::Error **/ PalletTreasuryError: { - _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved'] + _enum: ['InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved', 'FailedToConvertBalance', 'SpendExpired', 'EarlyPayout', 'AlreadyAttempted', 'PayoutError', 'NotAttempted', 'Inconclusive'] }, /** - * Lookup468: pallet_sudo::pallet::Error + * Lookup516: pallet_sudo::pallet::Error **/ PalletSudoError: { _enum: ['RequireSudo'] }, /** - * Lookup470: orml_vesting::module::Error + * Lookup518: orml_vesting::module::Error **/ OrmlVestingModuleError: { _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded'] }, /** - * Lookup471: orml_xtokens::module::Error + * Lookup519: orml_xtokens::module::Error **/ OrmlXtokensModuleError: { - _enum: ['AssetHasNoReserve', 'NotCrossChainTransfer', 'InvalidDest', 'NotCrossChainTransferableCurrency', 'UnweighableMessage', 'XcmExecutionFailed', 'CannotReanchor', 'InvalidAncestry', 'InvalidAsset', 'DestinationNotInvertible', 'BadVersion', 'DistinctReserveForAssetAndFee', 'ZeroFee', 'ZeroAmount', 'TooManyAssetsBeingSent', 'AssetIndexNonExistent', 'FeeNotEnough', 'NotSupportedMultiLocation', 'MinXcmFeeNotDefined'] - }, - /** - * Lookup474: orml_tokens::BalanceLock - **/ - OrmlTokensBalanceLock: { - id: '[u8;8]', - amount: 'u128' - }, - /** - * Lookup476: orml_tokens::AccountData - **/ - OrmlTokensAccountData: { - free: 'u128', - reserved: 'u128', - frozen: 'u128' - }, - /** - * Lookup478: orml_tokens::ReserveData - **/ - OrmlTokensReserveData: { - id: 'Null', - amount: 'u128' - }, - /** - * Lookup480: orml_tokens::module::Error - **/ - OrmlTokensModuleError: { - _enum: ['BalanceTooLow', 'AmountIntoBalanceFailed', 'LiquidityRestrictions', 'MaxLocksExceeded', 'KeepAlive', 'ExistentialDeposit', 'DeadAccount', 'TooManyReserves'] + _enum: ['AssetHasNoReserve', 'NotCrossChainTransfer', 'InvalidDest', 'NotCrossChainTransferableCurrency', 'UnweighableMessage', 'XcmExecutionFailed', 'CannotReanchor', 'InvalidAncestry', 'InvalidAsset', 'DestinationNotInvertible', 'BadVersion', 'DistinctReserveForAssetAndFee', 'ZeroFee', 'ZeroAmount', 'TooManyAssetsBeingSent', 'AssetIndexNonExistent', 'FeeNotEnough', 'NotSupportedLocation', 'MinXcmFeeNotDefined', 'RateLimited'] }, /** - * Lookup485: pallet_identity::types::RegistrarInfo + * Lookup524: pallet_identity::types::RegistrarInfo **/ PalletIdentityRegistrarInfo: { account: 'AccountId32', @@ -4374,15 +4755,15 @@ export default { fields: 'PalletIdentityBitFlags' }, /** - * Lookup487: pallet_identity::pallet::Error + * Lookup526: pallet_identity::pallet::Error **/ PalletIdentityError: { _enum: ['TooManySubAccounts', 'NotFound', 'NotNamed', 'EmptyIndex', 'FeeChanged', 'NoIdentity', 'StickyJudgement', 'JudgementGiven', 'InvalidJudgement', 'InvalidIndex', 'InvalidTarget', 'TooManyFields', 'TooManyRegistrars', 'AlreadyClaimed', 'NotSub', 'NotOwned', 'JudgementForDifferentIdentity', 'JudgementPaymentFailed'] }, /** - * Lookup488: pallet_preimage::RequestStatus + * Lookup527: pallet_preimage::OldRequestStatus **/ - PalletPreimageRequestStatus: { + PalletPreimageOldRequestStatus: { _enum: { Unrequested: { deposit: '(AccountId32,u128)', @@ -4396,13 +4777,29 @@ export default { } }, /** - * Lookup493: pallet_preimage::pallet::Error + * Lookup530: pallet_preimage::RequestStatus> + **/ + PalletPreimageRequestStatus: { + _enum: { + Unrequested: { + ticket: '(AccountId32,u128)', + len: 'u32', + }, + Requested: { + maybeTicket: 'Option<(AccountId32,u128)>', + count: 'u32', + maybeLen: 'Option' + } + } + }, + /** + * Lookup536: pallet_preimage::pallet::Error **/ PalletPreimageError: { - _enum: ['TooBig', 'AlreadyNoted', 'NotAuthorized', 'NotNoted', 'Requested', 'NotRequested'] + _enum: ['TooBig', 'AlreadyNoted', 'NotAuthorized', 'NotNoted', 'Requested', 'NotRequested', 'TooMany', 'TooFew', 'NoCost'] }, /** - * Lookup499: pallet_democracy::types::ReferendumInfo, Balance> + * Lookup542: pallet_democracy::types::ReferendumInfo, Balance> **/ PalletDemocracyReferendumInfo: { _enum: { @@ -4414,7 +4811,7 @@ export default { } }, /** - * Lookup500: pallet_democracy::types::ReferendumStatus, Balance> + * Lookup543: pallet_democracy::types::ReferendumStatus, Balance> **/ PalletDemocracyReferendumStatus: { end: 'u32', @@ -4424,7 +4821,7 @@ export default { tally: 'PalletDemocracyTally' }, /** - * Lookup501: pallet_democracy::types::Tally + * Lookup544: pallet_democracy::types::Tally **/ PalletDemocracyTally: { ayes: 'u128', @@ -4432,7 +4829,7 @@ export default { turnout: 'u128' }, /** - * Lookup502: pallet_democracy::vote::Voting + * Lookup545: pallet_democracy::vote::Voting **/ PalletDemocracyVoteVoting: { _enum: { @@ -4451,24 +4848,24 @@ export default { } }, /** - * Lookup506: pallet_democracy::types::Delegations + * Lookup549: pallet_democracy::types::Delegations **/ PalletDemocracyDelegations: { votes: 'u128', capital: 'u128' }, /** - * Lookup507: pallet_democracy::vote::PriorLock + * Lookup550: pallet_democracy::vote::PriorLock **/ PalletDemocracyVotePriorLock: '(u32,u128)', /** - * Lookup510: pallet_democracy::pallet::Error + * Lookup553: pallet_democracy::pallet::Error **/ PalletDemocracyError: { _enum: ['ValueLow', 'ProposalMissing', 'AlreadyCanceled', 'DuplicateProposal', 'ProposalBlacklisted', 'NotSimpleMajority', 'InvalidHash', 'NoProposal', 'AlreadyVetoed', 'ReferendumInvalid', 'NoneWaiting', 'NotVoter', 'NoPermission', 'AlreadyDelegating', 'InsufficientFunds', 'NotDelegating', 'VotesExist', 'InstantNotAllowed', 'Nonsense', 'WrongUpperBound', 'MaxVotesReached', 'TooMany', 'VotingPeriodLow', 'PreimageNotExist'] }, /** - * Lookup512: pallet_collective::Votes + * Lookup555: pallet_collective::Votes **/ PalletCollectiveVotes: { index: 'u32', @@ -4478,31 +4875,31 @@ export default { end: 'u32' }, /** - * Lookup513: pallet_collective::pallet::Error + * Lookup556: pallet_collective::pallet::Error **/ PalletCollectiveError: { _enum: ['NotMember', 'DuplicateProposal', 'ProposalMissing', 'WrongIndex', 'DuplicateVote', 'AlreadyInitialized', 'TooEarly', 'TooManyProposals', 'WrongProposalWeight', 'WrongProposalLength', 'PrimeAccountNotMember'] }, /** - * Lookup517: pallet_membership::pallet::Error + * Lookup560: pallet_membership::pallet::Error **/ PalletMembershipError: { _enum: ['AlreadyMember', 'NotMember', 'TooManyMembers'] }, /** - * Lookup520: pallet_ranked_collective::MemberRecord + * Lookup563: pallet_ranked_collective::MemberRecord **/ PalletRankedCollectiveMemberRecord: { rank: 'u16' }, /** - * Lookup525: pallet_ranked_collective::pallet::Error + * Lookup568: pallet_ranked_collective::pallet::Error **/ PalletRankedCollectiveError: { - _enum: ['AlreadyMember', 'NotMember', 'NotPolling', 'Ongoing', 'NoneRemaining', 'Corruption', 'RankTooLow', 'InvalidWitness', 'NoPermission'] + _enum: ['AlreadyMember', 'NotMember', 'NotPolling', 'Ongoing', 'NoneRemaining', 'Corruption', 'RankTooLow', 'InvalidWitness', 'NoPermission', 'SameMember', 'TooManyMembers'] }, /** - * Lookup526: pallet_referenda::types::ReferendumInfo, Balance, pallet_ranked_collective::Tally, sp_core::crypto::AccountId32, ScheduleAddress> + * Lookup569: pallet_referenda::types::ReferendumInfo, Balance, pallet_ranked_collective::Tally, sp_core::crypto::AccountId32, ScheduleAddress> **/ PalletReferendaReferendumInfo: { _enum: { @@ -4515,7 +4912,7 @@ export default { } }, /** - * Lookup527: pallet_referenda::types::ReferendumStatus, Balance, pallet_ranked_collective::Tally, sp_core::crypto::AccountId32, ScheduleAddress> + * Lookup570: pallet_referenda::types::ReferendumStatus, Balance, pallet_ranked_collective::Tally, sp_core::crypto::AccountId32, ScheduleAddress> **/ PalletReferendaReferendumStatus: { track: 'u16', @@ -4531,21 +4928,21 @@ export default { alarm: 'Option<(u32,(u32,u32))>' }, /** - * Lookup528: pallet_referenda::types::Deposit + * Lookup571: pallet_referenda::types::Deposit **/ PalletReferendaDeposit: { who: 'AccountId32', amount: 'u128' }, /** - * Lookup531: pallet_referenda::types::DecidingStatus + * Lookup574: pallet_referenda::types::DecidingStatus **/ PalletReferendaDecidingStatus: { since: 'u32', confirming: 'Option' }, /** - * Lookup537: pallet_referenda::types::TrackInfo + * Lookup580: pallet_referenda::types::TrackInfo **/ PalletReferendaTrackInfo: { name: 'Text', @@ -4559,7 +4956,7 @@ export default { minSupport: 'PalletReferendaCurve' }, /** - * Lookup538: pallet_referenda::types::Curve + * Lookup581: pallet_referenda::types::Curve **/ PalletReferendaCurve: { _enum: { @@ -4582,13 +4979,13 @@ export default { } }, /** - * Lookup541: pallet_referenda::pallet::Error + * Lookup584: pallet_referenda::pallet::Error **/ PalletReferendaError: { - _enum: ['NotOngoing', 'HasDeposit', 'BadTrack', 'Full', 'QueueEmpty', 'BadReferendum', 'NothingToDo', 'NoTrack', 'Unfinished', 'NoPermission', 'NoDeposit', 'BadStatus', 'PreimageNotExist'] + _enum: ['NotOngoing', 'HasDeposit', 'BadTrack', 'Full', 'QueueEmpty', 'BadReferendum', 'NothingToDo', 'NoTrack', 'Unfinished', 'NoPermission', 'NoDeposit', 'BadStatus', 'PreimageNotExist', 'PreimageStoredWithDifferentLength'] }, /** - * Lookup544: pallet_scheduler::Scheduled, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32> + * Lookup587: pallet_scheduler::Scheduled, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32> **/ PalletSchedulerScheduled: { maybeId: 'Option<[u8;32]>', @@ -4598,33 +4995,21 @@ export default { origin: 'OpalRuntimeOriginCaller' }, /** - * Lookup546: pallet_scheduler::pallet::Error - **/ - PalletSchedulerError: { - _enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange', 'Named'] - }, - /** - * Lookup548: cumulus_pallet_xcmp_queue::InboundChannelDetails - **/ - CumulusPalletXcmpQueueInboundChannelDetails: { - sender: 'u32', - state: 'CumulusPalletXcmpQueueInboundState', - messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesPrimitivesXcmpMessageFormat)>' - }, - /** - * Lookup549: cumulus_pallet_xcmp_queue::InboundState + * Lookup589: pallet_scheduler::RetryConfig **/ - CumulusPalletXcmpQueueInboundState: { - _enum: ['Ok', 'Suspended'] + PalletSchedulerRetryConfig: { + totalRetries: 'u8', + remaining: 'u8', + period: 'u32' }, /** - * Lookup552: polkadot_parachain_primitives::primitives::XcmpMessageFormat + * Lookup590: pallet_scheduler::pallet::Error **/ - PolkadotParachainPrimitivesPrimitivesXcmpMessageFormat: { - _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals'] + PalletSchedulerError: { + _enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange', 'Named'] }, /** - * Lookup555: cumulus_pallet_xcmp_queue::OutboundChannelDetails + * Lookup599: cumulus_pallet_xcmp_queue::OutboundChannelDetails **/ CumulusPalletXcmpQueueOutboundChannelDetails: { recipient: 'u32', @@ -4634,62 +5019,60 @@ export default { lastIndex: 'u16' }, /** - * Lookup556: cumulus_pallet_xcmp_queue::OutboundState + * Lookup600: cumulus_pallet_xcmp_queue::OutboundState **/ CumulusPalletXcmpQueueOutboundState: { _enum: ['Ok', 'Suspended'] }, /** - * Lookup558: cumulus_pallet_xcmp_queue::QueueConfigData + * Lookup604: cumulus_pallet_xcmp_queue::QueueConfigData **/ CumulusPalletXcmpQueueQueueConfigData: { suspendThreshold: 'u32', dropThreshold: 'u32', - resumeThreshold: 'u32', - thresholdWeight: 'SpWeightsWeightV2Weight', - weightRestrictDecay: 'SpWeightsWeightV2Weight', - xcmpMaxIndividualWeight: 'SpWeightsWeightV2Weight' + resumeThreshold: 'u32' }, /** - * Lookup560: cumulus_pallet_xcmp_queue::pallet::Error + * Lookup605: cumulus_pallet_xcmp_queue::pallet::Error **/ CumulusPalletXcmpQueueError: { - _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit'] + _enum: ['BadQueueConfig', 'AlreadySuspended', 'AlreadyResumed', 'TooManyActiveOutboundChannels', 'TooBig'] }, /** - * Lookup561: pallet_xcm::pallet::QueryStatus + * Lookup606: pallet_xcm::pallet::QueryStatus **/ PalletXcmQueryStatus: { _enum: { Pending: { - responder: 'StagingXcmVersionedMultiLocation', - maybeMatchQuerier: 'Option', + responder: 'XcmVersionedLocation', + maybeMatchQuerier: 'Option', maybeNotify: 'Option<(u8,u8)>', timeout: 'u32', }, VersionNotifier: { - origin: 'StagingXcmVersionedMultiLocation', + origin: 'XcmVersionedLocation', isActive: 'bool', }, Ready: { - response: 'StagingXcmVersionedResponse', + response: 'XcmVersionedResponse', at: 'u32' } } }, /** - * Lookup565: staging_xcm::VersionedResponse + * Lookup610: xcm::VersionedResponse **/ - StagingXcmVersionedResponse: { + XcmVersionedResponse: { _enum: { __Unused0: 'Null', __Unused1: 'Null', - V2: 'StagingXcmV2Response', - V3: 'StagingXcmV3Response' + V2: 'XcmV2Response', + V3: 'XcmV3Response', + V4: 'StagingXcmV4Response' } }, /** - * Lookup571: pallet_xcm::pallet::VersionMigrationStage + * Lookup616: pallet_xcm::pallet::VersionMigrationStage **/ PalletXcmVersionMigrationStage: { _enum: { @@ -4700,69 +5083,92 @@ export default { } }, /** - * Lookup574: staging_xcm::VersionedAssetId - **/ - StagingXcmVersionedAssetId: { - _enum: { - __Unused0: 'Null', - __Unused1: 'Null', - __Unused2: 'Null', - V3: 'StagingXcmV3MultiassetAssetId' - } - }, - /** - * Lookup575: pallet_xcm::pallet::RemoteLockedFungibleRecord + * Lookup619: pallet_xcm::pallet::RemoteLockedFungibleRecord **/ PalletXcmRemoteLockedFungibleRecord: { amount: 'u128', - owner: 'StagingXcmVersionedMultiLocation', - locker: 'StagingXcmVersionedMultiLocation', + owner: 'XcmVersionedLocation', + locker: 'XcmVersionedLocation', consumers: 'Vec<(Null,u128)>' }, /** - * Lookup582: pallet_xcm::pallet::Error + * Lookup626: pallet_xcm::pallet::Error **/ PalletXcmError: { - _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed', 'InvalidAsset', 'LowBalance', 'TooManyLocks', 'AccountNotSovereign', 'FeesNotMet', 'LockNotFound', 'InUse'] + _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed', 'CannotCheckOutTeleport', 'LowBalance', 'TooManyLocks', 'AccountNotSovereign', 'FeesNotMet', 'LockNotFound', 'InUse', '__Unused20', 'InvalidAssetUnknownReserve', 'InvalidAssetUnsupportedReserve', 'TooManyReserves', 'LocalExecutionIncomplete'] + }, + /** + * Lookup627: cumulus_pallet_dmp_queue::pallet::MigrationState + **/ + CumulusPalletDmpQueueMigrationState: { + _enum: { + NotStarted: 'Null', + StartedExport: { + nextBeginUsed: 'u32', + }, + CompletedExport: 'Null', + StartedOverweightExport: { + nextOverweightIndex: 'u64', + }, + CompletedOverweightExport: 'Null', + StartedCleanup: { + cursor: 'Option', + }, + Completed: 'Null' + } }, /** - * Lookup583: cumulus_pallet_xcm::pallet::Error + * Lookup630: pallet_message_queue::BookState **/ - CumulusPalletXcmError: 'Null', + PalletMessageQueueBookState: { + _alias: { + size_: 'size' + }, + begin: 'u32', + end: 'u32', + count: 'u32', + readyNeighbours: 'Option', + messageCount: 'u64', + size_: 'u64' + }, /** - * Lookup584: cumulus_pallet_dmp_queue::ConfigData + * Lookup632: pallet_message_queue::Neighbours **/ - CumulusPalletDmpQueueConfigData: { - maxIndividual: 'SpWeightsWeightV2Weight' + PalletMessageQueueNeighbours: { + prev: 'CumulusPrimitivesCoreAggregateMessageOrigin', + next: 'CumulusPrimitivesCoreAggregateMessageOrigin' }, /** - * Lookup585: cumulus_pallet_dmp_queue::PageIndexData + * Lookup634: pallet_message_queue::Page **/ - CumulusPalletDmpQueuePageIndexData: { - beginUsed: 'u32', - endUsed: 'u32', - overweightCount: 'u64' + PalletMessageQueuePage: { + remaining: 'u32', + remainingSize: 'u32', + firstIndex: 'u32', + first: 'u32', + last: 'u32', + heap: 'Bytes' }, /** - * Lookup588: cumulus_pallet_dmp_queue::pallet::Error + * Lookup636: pallet_message_queue::pallet::Error **/ - CumulusPalletDmpQueueError: { - _enum: ['Unknown', 'OverLimit'] + PalletMessageQueueError: { + _enum: ['NotReapable', 'NoPage', 'NoMessage', 'AlreadyProcessed', 'Queued', 'InsufficientWeight', 'TemporarilyUnprocessable', 'QueuePaused', 'RecursiveDisallowed'] }, /** - * Lookup592: pallet_unique::pallet::Error + * Lookup640: pallet_unique::pallet::Error **/ PalletUniqueError: { _enum: ['CollectionDecimalPointLimitExceeded', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection'] }, /** - * Lookup593: pallet_configuration::pallet::Error + * Lookup641: pallet_configuration::pallet::Error **/ PalletConfigurationError: { _enum: ['InconsistentConfiguration'] }, /** - * Lookup594: up_data_structs::Collection + * Lookup642: up_data_structs::Collection **/ UpDataStructsCollection: { owner: 'AccountId32', @@ -4776,7 +5182,7 @@ export default { flags: '[u8;1]' }, /** - * Lookup595: up_data_structs::SponsorshipState + * Lookup643: up_data_structs::SponsorshipState **/ UpDataStructsSponsorshipStateAccountId32: { _enum: { @@ -4786,7 +5192,7 @@ export default { } }, /** - * Lookup596: up_data_structs::Properties + * Lookup644: up_data_structs::Properties **/ UpDataStructsProperties: { map: 'UpDataStructsPropertiesMapBoundedVec', @@ -4794,15 +5200,15 @@ export default { reserved: 'u32' }, /** - * Lookup597: up_data_structs::PropertiesMap> + * Lookup645: up_data_structs::PropertiesMap> **/ UpDataStructsPropertiesMapBoundedVec: 'BTreeMap', /** - * Lookup602: up_data_structs::PropertiesMap + * Lookup650: up_data_structs::PropertiesMap **/ UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap', /** - * Lookup609: up_data_structs::CollectionStats + * Lookup657: up_data_structs::CollectionStats **/ UpDataStructsCollectionStats: { created: 'u32', @@ -4810,18 +5216,18 @@ export default { alive: 'u32' }, /** - * Lookup610: up_data_structs::TokenChild + * Lookup658: up_data_structs::TokenChild **/ UpDataStructsTokenChild: { token: 'u32', collection: 'u32' }, /** - * Lookup611: PhantomType::up_data_structs + * Lookup659: PhantomType::up_data_structs **/ PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,UpPovEstimateRpcPovInfo);0]', /** - * Lookup613: up_data_structs::TokenData> + * Lookup661: up_data_structs::TokenData> **/ UpDataStructsTokenData: { properties: 'Vec', @@ -4829,7 +5235,7 @@ export default { pieces: 'u128' }, /** - * Lookup614: up_data_structs::RpcCollection + * Lookup662: up_data_structs::RpcCollection **/ UpDataStructsRpcCollection: { owner: 'AccountId32', @@ -4846,14 +5252,14 @@ export default { flags: 'UpDataStructsRpcCollectionFlags' }, /** - * Lookup615: up_data_structs::RpcCollectionFlags + * Lookup663: up_data_structs::RpcCollectionFlags **/ UpDataStructsRpcCollectionFlags: { foreign: 'bool', erc721metadata: 'bool' }, /** - * Lookup616: up_pov_estimate_rpc::PovInfo + * Lookup664: up_pov_estimate_rpc::PovInfo **/ UpPovEstimateRpcPovInfo: { proofSize: 'u64', @@ -4863,7 +5269,7 @@ export default { keyValues: 'Vec' }, /** - * Lookup619: sp_runtime::transaction_validity::TransactionValidityError + * Lookup667: sp_runtime::transaction_validity::TransactionValidityError **/ SpRuntimeTransactionValidityTransactionValidityError: { _enum: { @@ -4872,7 +5278,7 @@ export default { } }, /** - * Lookup620: sp_runtime::transaction_validity::InvalidTransaction + * Lookup668: sp_runtime::transaction_validity::InvalidTransaction **/ SpRuntimeTransactionValidityInvalidTransaction: { _enum: { @@ -4890,7 +5296,7 @@ export default { } }, /** - * Lookup621: sp_runtime::transaction_validity::UnknownTransaction + * Lookup669: sp_runtime::transaction_validity::UnknownTransaction **/ SpRuntimeTransactionValidityUnknownTransaction: { _enum: { @@ -4900,68 +5306,68 @@ export default { } }, /** - * Lookup623: up_pov_estimate_rpc::TrieKeyValue + * Lookup671: up_pov_estimate_rpc::TrieKeyValue **/ UpPovEstimateRpcTrieKeyValue: { key: 'Bytes', value: 'Bytes' }, /** - * Lookup625: pallet_common::pallet::Error + * Lookup673: pallet_common::pallet::Error **/ PalletCommonError: { - _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsNotEthMirror', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'UserIsNotAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal', 'ConfirmSponsorshipFail', 'UserIsNotCollectionAdmin', 'FungibleItemsHaveNoId'] + _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsNotEthMirror', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'UserIsNotAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal', 'ConfirmSponsorshipFail', 'UserIsNotCollectionAdmin', 'FungibleItemsHaveNoId', 'NotFungibleDataUsedToMintFungibleCollectionToken'] }, /** - * Lookup627: pallet_fungible::pallet::Error + * Lookup675: pallet_fungible::pallet::Error **/ PalletFungibleError: { - _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed', 'SettingAllowanceForAllNotAllowed', 'FungibleTokensAreAlwaysValid'] + _enum: ['FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed', 'SettingAllowanceForAllNotAllowed', 'FungibleTokensAreAlwaysValid'] }, /** - * Lookup632: pallet_refungible::pallet::Error + * Lookup680: pallet_refungible::pallet::Error **/ PalletRefungibleError: { _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed'] }, /** - * Lookup633: pallet_nonfungible::ItemData> + * Lookup681: pallet_nonfungible::ItemData> **/ PalletNonfungibleItemData: { owner: 'PalletEvmAccountBasicCrossAccountIdRepr' }, /** - * Lookup635: up_data_structs::PropertyScope + * Lookup683: up_data_structs::PropertyScope **/ UpDataStructsPropertyScope: { _enum: ['None', 'Rmrk'] }, /** - * Lookup638: pallet_nonfungible::pallet::Error + * Lookup686: pallet_nonfungible::pallet::Error **/ PalletNonfungibleError: { _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren'] }, /** - * Lookup639: pallet_structure::pallet::Error + * Lookup687: pallet_structure::pallet::Error **/ PalletStructureError: { _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound', 'CantNestTokenUnderCollection'] }, /** - * Lookup644: pallet_app_promotion::pallet::Error + * Lookup692: pallet_app_promotion::pallet::Error **/ PalletAppPromotionError: { _enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFunds', 'PendingForBlockOverflow', 'SponsorNotSet', 'InsufficientStakedBalance', 'InconsistencyState'] }, /** - * Lookup645: pallet_foreign_assets::module::Error + * Lookup694: pallet_foreign_assets::module::Error **/ PalletForeignAssetsModuleError: { - _enum: ['BadLocation', 'MultiLocationExisted', 'AssetIdNotExists', 'AssetIdExisted'] + _enum: ['ForeignAssetAlreadyRegistered', 'BadForeignAssetId'] }, /** - * Lookup646: pallet_evm::CodeMetadata + * Lookup695: pallet_evm::CodeMetadata **/ PalletEvmCodeMetadata: { _alias: { @@ -4972,13 +5378,13 @@ export default { hash_: 'H256' }, /** - * Lookup648: pallet_evm::pallet::Error + * Lookup697: pallet_evm::pallet::Error **/ PalletEvmError: { - _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitTooHigh', 'Undefined', 'Reentrancy', 'TransactionMustComeFromEOA'] + _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitTooHigh', 'InvalidChainId', 'InvalidSignature', 'Reentrancy', 'TransactionMustComeFromEOA', 'Undefined'] }, /** - * Lookup651: fp_rpc::TransactionStatus + * Lookup700: fp_rpc::TransactionStatus **/ FpRpcTransactionStatus: { transactionHash: 'H256', @@ -4990,11 +5396,11 @@ export default { logsBloom: 'EthbloomBloom' }, /** - * Lookup653: ethbloom::Bloom + * Lookup702: ethbloom::Bloom **/ EthbloomBloom: '[u8;256]', /** - * Lookup655: ethereum::receipt::ReceiptV3 + * Lookup704: ethereum::receipt::ReceiptV3 **/ EthereumReceiptReceiptV3: { _enum: { @@ -5004,7 +5410,7 @@ export default { } }, /** - * Lookup656: ethereum::receipt::EIP658ReceiptData + * Lookup705: ethereum::receipt::EIP658ReceiptData **/ EthereumReceiptEip658ReceiptData: { statusCode: 'u8', @@ -5013,7 +5419,7 @@ export default { logs: 'Vec' }, /** - * Lookup657: ethereum::block::Block + * Lookup706: ethereum::block::Block **/ EthereumBlock: { header: 'EthereumHeader', @@ -5021,7 +5427,7 @@ export default { ommers: 'Vec' }, /** - * Lookup658: ethereum::header::Header + * Lookup707: ethereum::header::Header **/ EthereumHeader: { parentHash: 'H256', @@ -5041,23 +5447,23 @@ export default { nonce: 'EthereumTypesHashH64' }, /** - * Lookup659: ethereum_types::hash::H64 + * Lookup708: ethereum_types::hash::H64 **/ EthereumTypesHashH64: '[u8;8]', /** - * Lookup664: pallet_ethereum::pallet::Error + * Lookup713: pallet_ethereum::pallet::Error **/ PalletEthereumError: { _enum: ['InvalidSignature', 'PreLogExists'] }, /** - * Lookup665: pallet_evm_coder_substrate::pallet::Error + * Lookup714: pallet_evm_coder_substrate::pallet::Error **/ PalletEvmCoderSubstrateError: { _enum: ['OutOfGas', 'OutOfFund'] }, /** - * Lookup666: up_data_structs::SponsorshipState> + * Lookup715: up_data_structs::SponsorshipState> **/ UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: { _enum: { @@ -5067,99 +5473,99 @@ export default { } }, /** - * Lookup667: pallet_evm_contract_helpers::SponsoringModeT + * Lookup716: pallet_evm_contract_helpers::SponsoringModeT **/ PalletEvmContractHelpersSponsoringModeT: { _enum: ['Disabled', 'Allowlisted', 'Generous'] }, /** - * Lookup673: pallet_evm_contract_helpers::pallet::Error + * Lookup722: pallet_evm_contract_helpers::pallet::Error **/ PalletEvmContractHelpersError: { _enum: ['NoPermission', 'NoPendingSponsor', 'TooManyMethodsHaveSponsoredLimit'] }, /** - * Lookup674: pallet_evm_migration::pallet::Error + * Lookup723: pallet_evm_migration::pallet::Error **/ PalletEvmMigrationError: { _enum: ['AccountNotEmpty', 'AccountIsNotMigrating', 'BadEvent'] }, /** - * Lookup675: pallet_maintenance::pallet::Error + * Lookup724: pallet_maintenance::pallet::Error **/ PalletMaintenanceError: 'Null', /** - * Lookup676: pallet_utility::pallet::Error + * Lookup725: pallet_utility::pallet::Error **/ PalletUtilityError: { _enum: ['TooManyCalls'] }, /** - * Lookup677: pallet_test_utils::pallet::Error + * Lookup726: pallet_test_utils::pallet::Error **/ PalletTestUtilsError: { _enum: ['TestPalletDisabled', 'TriggerRollback'] }, /** - * Lookup679: sp_runtime::MultiSignature + * Lookup728: sp_runtime::MultiSignature **/ SpRuntimeMultiSignature: { _enum: { - Ed25519: 'SpCoreEd25519Signature', - Sr25519: 'SpCoreSr25519Signature', - Ecdsa: 'SpCoreEcdsaSignature' + Ed25519: '[u8;64]', + Sr25519: '[u8;64]', + Ecdsa: '[u8;65]' } }, /** - * Lookup680: sp_core::ed25519::Signature - **/ - SpCoreEd25519Signature: '[u8;64]', - /** - * Lookup682: sp_core::sr25519::Signature - **/ - SpCoreSr25519Signature: '[u8;64]', - /** - * Lookup683: sp_core::ecdsa::Signature - **/ - SpCoreEcdsaSignature: '[u8;65]', - /** - * Lookup686: frame_system::extensions::check_spec_version::CheckSpecVersion + * Lookup732: frame_system::extensions::check_spec_version::CheckSpecVersion **/ FrameSystemExtensionsCheckSpecVersion: 'Null', /** - * Lookup687: frame_system::extensions::check_tx_version::CheckTxVersion + * Lookup733: frame_system::extensions::check_tx_version::CheckTxVersion **/ FrameSystemExtensionsCheckTxVersion: 'Null', /** - * Lookup688: frame_system::extensions::check_genesis::CheckGenesis + * Lookup734: frame_system::extensions::check_genesis::CheckGenesis **/ FrameSystemExtensionsCheckGenesis: 'Null', /** - * Lookup691: frame_system::extensions::check_nonce::CheckNonce + * Lookup737: pallet_template_transaction_payment::CheckNonce **/ - FrameSystemExtensionsCheckNonce: 'Compact', + PalletTemplateTransactionPaymentCheckNonce: 'Compact', /** - * Lookup692: frame_system::extensions::check_weight::CheckWeight + * Lookup738: frame_system::extensions::check_weight::CheckWeight **/ FrameSystemExtensionsCheckWeight: 'Null', /** - * Lookup693: opal_runtime::runtime_common::maintenance::CheckMaintenance + * Lookup739: opal_runtime::runtime_common::maintenance::CheckMaintenance **/ OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: 'Null', /** - * Lookup694: opal_runtime::runtime_common::identity::DisableIdentityCalls + * Lookup740: opal_runtime::runtime_common::identity::DisableIdentityCalls **/ OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls: 'Null', /** - * Lookup695: pallet_template_transaction_payment::ChargeTransactionPayment + * Lookup741: pallet_template_transaction_payment::ChargeTransactionPayment **/ PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact', /** - * Lookup696: opal_runtime::Runtime + * Lookup742: opal_runtime::Runtime **/ OpalRuntimeRuntime: 'Null', /** - * Lookup697: pallet_ethereum::FakeTransactionFinalizer + * Lookup743: pallet_ethereum::FakeTransactionFinalizer + **/ + PalletEthereumFakeTransactionFinalizer: 'Null', + /** + * Lookup744: frame_metadata_hash_extension::CheckMetadataHash + **/ + FrameMetadataHashExtensionCheckMetadataHash: { + mode: 'FrameMetadataHashExtensionMode' + }, + /** + * Lookup745: frame_metadata_hash_extension::Mode **/ - PalletEthereumFakeTransactionFinalizer: 'Null' + FrameMetadataHashExtensionMode: { + _enum: ['Disabled', 'Enabled'] + } }; diff --git a/js-packages/types/package.json b/js-packages/types/package.json index 5d3364fd2f..f16240b18d 100644 --- a/js-packages/types/package.json +++ b/js-packages/types/package.json @@ -10,6 +10,6 @@ "version": "1.0.0", "main": "index.js", "devDependencies": { - "@polkadot/typegen": "^10.10.1" + "@polkadot/typegen": "12.4.2" } } diff --git a/js-packages/types/types-lookup.ts b/js-packages/types/types-lookup.ts index c0ea3c6d83..2059b20c86 100644 --- a/js-packages/types/types-lookup.ts +++ b/js-packages/types/types-lookup.ts @@ -30,25 +30,25 @@ declare module '@polkadot/types/lookup' { readonly flags: u128; } - /** @name FrameSupportDispatchPerDispatchClassWeight (8) */ + /** @name FrameSupportDispatchPerDispatchClassWeight (9) */ interface FrameSupportDispatchPerDispatchClassWeight extends Struct { readonly normal: SpWeightsWeightV2Weight; readonly operational: SpWeightsWeightV2Weight; readonly mandatory: SpWeightsWeightV2Weight; } - /** @name SpWeightsWeightV2Weight (9) */ + /** @name SpWeightsWeightV2Weight (10) */ interface SpWeightsWeightV2Weight extends Struct { readonly refTime: Compact; readonly proofSize: Compact; } - /** @name SpRuntimeDigest (14) */ + /** @name SpRuntimeDigest (15) */ interface SpRuntimeDigest extends Struct { readonly logs: Vec; } - /** @name SpRuntimeDigestDigestItem (16) */ + /** @name SpRuntimeDigestDigestItem (17) */ interface SpRuntimeDigestDigestItem extends Enum { readonly isOther: boolean; readonly asOther: Bytes; @@ -62,14 +62,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated'; } - /** @name FrameSystemEventRecord (19) */ + /** @name FrameSystemEventRecord (20) */ interface FrameSystemEventRecord extends Struct { readonly phase: FrameSystemPhase; readonly event: Event; readonly topics: Vec; } - /** @name FrameSystemEvent (21) */ + /** @name FrameSystemEvent (22) */ interface FrameSystemEvent extends Enum { readonly isExtrinsicSuccess: boolean; readonly asExtrinsicSuccess: { @@ -94,17 +94,22 @@ declare module '@polkadot/types/lookup' { readonly sender: AccountId32; readonly hash_: H256; } & Struct; - readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked'; + readonly isUpgradeAuthorized: boolean; + readonly asUpgradeAuthorized: { + readonly codeHash: H256; + readonly checkVersion: bool; + } & Struct; + readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked' | 'UpgradeAuthorized'; } - /** @name FrameSupportDispatchDispatchInfo (22) */ + /** @name FrameSupportDispatchDispatchInfo (23) */ interface FrameSupportDispatchDispatchInfo extends Struct { readonly weight: SpWeightsWeightV2Weight; readonly class: FrameSupportDispatchDispatchClass; readonly paysFee: FrameSupportDispatchPays; } - /** @name FrameSupportDispatchDispatchClass (23) */ + /** @name FrameSupportDispatchDispatchClass (24) */ interface FrameSupportDispatchDispatchClass extends Enum { readonly isNormal: boolean; readonly isOperational: boolean; @@ -112,14 +117,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'Normal' | 'Operational' | 'Mandatory'; } - /** @name FrameSupportDispatchPays (24) */ + /** @name FrameSupportDispatchPays (25) */ interface FrameSupportDispatchPays extends Enum { readonly isYes: boolean; readonly isNo: boolean; readonly type: 'Yes' | 'No'; } - /** @name SpRuntimeDispatchError (25) */ + /** @name SpRuntimeDispatchError (26) */ interface SpRuntimeDispatchError extends Enum { readonly isOther: boolean; readonly isCannotLookup: boolean; @@ -142,13 +147,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable' | 'RootNotAllowed'; } - /** @name SpRuntimeModuleError (26) */ + /** @name SpRuntimeModuleError (27) */ interface SpRuntimeModuleError extends Struct { readonly index: u8; readonly error: U8aFixed; } - /** @name SpRuntimeTokenError (27) */ + /** @name SpRuntimeTokenError (28) */ interface SpRuntimeTokenError extends Enum { readonly isFundsUnavailable: boolean; readonly isOnlyProvider: boolean; @@ -163,7 +168,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'FundsUnavailable' | 'OnlyProvider' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported' | 'CannotCreateHold' | 'NotExpendable' | 'Blocked'; } - /** @name SpArithmeticArithmeticError (28) */ + /** @name SpArithmeticArithmeticError (29) */ interface SpArithmeticArithmeticError extends Enum { readonly isUnderflow: boolean; readonly isOverflow: boolean; @@ -171,14 +176,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero'; } - /** @name SpRuntimeTransactionalError (29) */ + /** @name SpRuntimeTransactionalError (30) */ interface SpRuntimeTransactionalError extends Enum { readonly isLimitReached: boolean; readonly isNoLayer: boolean; readonly type: 'LimitReached' | 'NoLayer'; } - /** @name PalletStateTrieMigrationEvent (30) */ + /** @name PalletStateTrieMigrationEvent (31) */ interface PalletStateTrieMigrationEvent extends Enum { readonly isMigrated: boolean; readonly asMigrated: { @@ -199,14 +204,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'Migrated' | 'Slashed' | 'AutoMigrationFinished' | 'Halted'; } - /** @name PalletStateTrieMigrationMigrationCompute (31) */ + /** @name PalletStateTrieMigrationMigrationCompute (32) */ interface PalletStateTrieMigrationMigrationCompute extends Enum { readonly isSigned: boolean; readonly isAuto: boolean; readonly type: 'Signed' | 'Auto'; } - /** @name PalletStateTrieMigrationError (32) */ + /** @name PalletStateTrieMigrationError (33) */ interface PalletStateTrieMigrationError extends Enum { readonly isMaxSignedLimits: boolean; readonly isKeyTooLong: boolean; @@ -217,7 +222,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'MaxSignedLimits' | 'KeyTooLong' | 'NotEnoughFunds' | 'BadWitness' | 'SignedMigrationNotAllowed' | 'BadChildRoot'; } - /** @name CumulusPalletParachainSystemEvent (33) */ + /** @name CumulusPalletParachainSystemEvent (34) */ interface CumulusPalletParachainSystemEvent extends Enum { readonly isValidationFunctionStored: boolean; readonly isValidationFunctionApplied: boolean; @@ -225,10 +230,6 @@ declare module '@polkadot/types/lookup' { readonly relayChainBlockNum: u32; } & Struct; readonly isValidationFunctionDiscarded: boolean; - readonly isUpgradeAuthorized: boolean; - readonly asUpgradeAuthorized: { - readonly codeHash: H256; - } & Struct; readonly isDownwardMessagesReceived: boolean; readonly asDownwardMessagesReceived: { readonly count: u32; @@ -242,10 +243,10 @@ declare module '@polkadot/types/lookup' { readonly asUpwardMessageSent: { readonly messageHash: Option; } & Struct; - readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed' | 'UpwardMessageSent'; + readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed' | 'UpwardMessageSent'; } - /** @name PalletCollatorSelectionEvent (35) */ + /** @name PalletCollatorSelectionEvent (36) */ interface PalletCollatorSelectionEvent extends Enum { readonly isInvulnerableAdded: boolean; readonly asInvulnerableAdded: { @@ -276,7 +277,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseReleased' | 'CandidateAdded' | 'CandidateRemoved'; } - /** @name PalletSessionEvent (36) */ + /** @name PalletSessionEvent (37) */ interface PalletSessionEvent extends Enum { readonly isNewSession: boolean; readonly asNewSession: { @@ -285,7 +286,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NewSession'; } - /** @name PalletBalancesEvent (37) */ + /** @name PalletBalancesEvent (38) */ interface PalletBalancesEvent extends Enum { readonly isEndowed: boolean; readonly asEndowed: { @@ -392,17 +393,22 @@ declare module '@polkadot/types/lookup' { readonly who: AccountId32; readonly amount: u128; } & Struct; - readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed' | 'Minted' | 'Burned' | 'Suspended' | 'Restored' | 'Upgraded' | 'Issued' | 'Rescinded' | 'Locked' | 'Unlocked' | 'Frozen' | 'Thawed'; + readonly isTotalIssuanceForced: boolean; + readonly asTotalIssuanceForced: { + readonly old: u128; + readonly new_: u128; + } & Struct; + readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed' | 'Minted' | 'Burned' | 'Suspended' | 'Restored' | 'Upgraded' | 'Issued' | 'Rescinded' | 'Locked' | 'Unlocked' | 'Frozen' | 'Thawed' | 'TotalIssuanceForced'; } - /** @name FrameSupportTokensMiscBalanceStatus (38) */ + /** @name FrameSupportTokensMiscBalanceStatus (39) */ interface FrameSupportTokensMiscBalanceStatus extends Enum { readonly isFree: boolean; readonly isReserved: boolean; readonly type: 'Free' | 'Reserved'; } - /** @name PalletTransactionPaymentEvent (39) */ + /** @name PalletTransactionPaymentEvent (40) */ interface PalletTransactionPaymentEvent extends Enum { readonly isTransactionFeePaid: boolean; readonly asTransactionFeePaid: { @@ -413,12 +419,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'TransactionFeePaid'; } - /** @name PalletTreasuryEvent (40) */ + /** @name PalletTreasuryEvent (41) */ interface PalletTreasuryEvent extends Enum { - readonly isProposed: boolean; - readonly asProposed: { - readonly proposalIndex: u32; - } & Struct; readonly isSpending: boolean; readonly asSpending: { readonly budgetRemaining: u128; @@ -429,11 +431,6 @@ declare module '@polkadot/types/lookup' { readonly award: u128; readonly account: AccountId32; } & Struct; - readonly isRejected: boolean; - readonly asRejected: { - readonly proposalIndex: u32; - readonly slashed: u128; - } & Struct; readonly isBurnt: boolean; readonly asBurnt: { readonly burntFunds: u128; @@ -457,10 +454,37 @@ declare module '@polkadot/types/lookup' { readonly reactivated: u128; readonly deactivated: u128; } & Struct; - readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved' | 'UpdatedInactive'; + readonly isAssetSpendApproved: boolean; + readonly asAssetSpendApproved: { + readonly index: u32; + readonly assetKind: Null; + readonly amount: u128; + readonly beneficiary: AccountId32; + readonly validFrom: u32; + readonly expireAt: u32; + } & Struct; + readonly isAssetSpendVoided: boolean; + readonly asAssetSpendVoided: { + readonly index: u32; + } & Struct; + readonly isPaid: boolean; + readonly asPaid: { + readonly index: u32; + readonly paymentId: Null; + } & Struct; + readonly isPaymentFailed: boolean; + readonly asPaymentFailed: { + readonly index: u32; + readonly paymentId: Null; + } & Struct; + readonly isSpendProcessed: boolean; + readonly asSpendProcessed: { + readonly index: u32; + } & Struct; + readonly type: 'Spending' | 'Awarded' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved' | 'UpdatedInactive' | 'AssetSpendApproved' | 'AssetSpendVoided' | 'Paid' | 'PaymentFailed' | 'SpendProcessed'; } - /** @name PalletSudoEvent (41) */ + /** @name PalletSudoEvent (43) */ interface PalletSudoEvent extends Enum { readonly isSudid: boolean; readonly asSudid: { @@ -468,16 +492,18 @@ declare module '@polkadot/types/lookup' { } & Struct; readonly isKeyChanged: boolean; readonly asKeyChanged: { - readonly oldSudoer: Option; + readonly old: Option; + readonly new_: AccountId32; } & Struct; + readonly isKeyRemoved: boolean; readonly isSudoAsDone: boolean; readonly asSudoAsDone: { readonly sudoResult: Result; } & Struct; - readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone'; + readonly type: 'Sudid' | 'KeyChanged' | 'KeyRemoved' | 'SudoAsDone'; } - /** @name OrmlVestingModuleEvent (45) */ + /** @name OrmlVestingModuleEvent (46) */ interface OrmlVestingModuleEvent extends Enum { readonly isVestingScheduleAdded: boolean; readonly asVestingScheduleAdded: { @@ -497,7 +523,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated'; } - /** @name OrmlVestingVestingSchedule (46) */ + /** @name OrmlVestingVestingSchedule (47) */ interface OrmlVestingVestingSchedule extends Struct { readonly start: u32; readonly period: u32; @@ -505,81 +531,75 @@ declare module '@polkadot/types/lookup' { readonly perPeriod: Compact; } - /** @name OrmlXtokensModuleEvent (48) */ + /** @name OrmlXtokensModuleEvent (49) */ interface OrmlXtokensModuleEvent extends Enum { - readonly isTransferredMultiAssets: boolean; - readonly asTransferredMultiAssets: { + readonly isTransferredAssets: boolean; + readonly asTransferredAssets: { readonly sender: AccountId32; - readonly assets: StagingXcmV3MultiassetMultiAssets; - readonly fee: StagingXcmV3MultiAsset; - readonly dest: StagingXcmV3MultiLocation; + readonly assets: StagingXcmV4AssetAssets; + readonly fee: StagingXcmV4Asset; + readonly dest: StagingXcmV4Location; } & Struct; - readonly type: 'TransferredMultiAssets'; + readonly type: 'TransferredAssets'; } - /** @name StagingXcmV3MultiassetMultiAssets (49) */ - interface StagingXcmV3MultiassetMultiAssets extends Vec {} + /** @name StagingXcmV4AssetAssets (50) */ + interface StagingXcmV4AssetAssets extends Vec {} - /** @name StagingXcmV3MultiAsset (51) */ - interface StagingXcmV3MultiAsset extends Struct { - readonly id: StagingXcmV3MultiassetAssetId; - readonly fun: StagingXcmV3MultiassetFungibility; + /** @name StagingXcmV4Asset (52) */ + interface StagingXcmV4Asset extends Struct { + readonly id: StagingXcmV4AssetAssetId; + readonly fun: StagingXcmV4AssetFungibility; } - /** @name StagingXcmV3MultiassetAssetId (52) */ - interface StagingXcmV3MultiassetAssetId extends Enum { - readonly isConcrete: boolean; - readonly asConcrete: StagingXcmV3MultiLocation; - readonly isAbstract: boolean; - readonly asAbstract: U8aFixed; - readonly type: 'Concrete' | 'Abstract'; - } + /** @name StagingXcmV4AssetAssetId (53) */ + interface StagingXcmV4AssetAssetId extends StagingXcmV4Location {} - /** @name StagingXcmV3MultiLocation (53) */ - interface StagingXcmV3MultiLocation extends Struct { + /** @name StagingXcmV4Location (54) */ + interface StagingXcmV4Location extends Struct { readonly parents: u8; - readonly interior: StagingXcmV3Junctions; + readonly interior: StagingXcmV4Junctions; } - /** @name StagingXcmV3Junctions (54) */ - interface StagingXcmV3Junctions extends Enum { + /** @name StagingXcmV4Junctions (55) */ + interface StagingXcmV4Junctions extends Enum { readonly isHere: boolean; readonly isX1: boolean; - readonly asX1: StagingXcmV3Junction; + readonly asX1: StagingXcmV4Junction; readonly isX2: boolean; - readonly asX2: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction]>; + readonly asX2: StagingXcmV4Junction; readonly isX3: boolean; - readonly asX3: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; + readonly asX3: StagingXcmV4Junction; readonly isX4: boolean; - readonly asX4: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; + readonly asX4: StagingXcmV4Junction; readonly isX5: boolean; - readonly asX5: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; + readonly asX5: StagingXcmV4Junction; readonly isX6: boolean; - readonly asX6: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; + readonly asX6: StagingXcmV4Junction; readonly isX7: boolean; - readonly asX7: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; + readonly asX7: StagingXcmV4Junction; readonly isX8: boolean; - readonly asX8: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; + readonly asX8: StagingXcmV4Junction; readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8'; } - /** @name StagingXcmV3Junction (55) */ - interface StagingXcmV3Junction extends Enum { + /** @name StagingXcmV4Junction (57) */ + interface StagingXcmV4Junction extends Enum { readonly isParachain: boolean; readonly asParachain: Compact; readonly isAccountId32: boolean; readonly asAccountId32: { - readonly network: Option; + readonly network: Option; readonly id: U8aFixed; } & Struct; readonly isAccountIndex64: boolean; readonly asAccountIndex64: { - readonly network: Option; + readonly network: Option; readonly index: Compact; } & Struct; readonly isAccountKey20: boolean; readonly asAccountKey20: { - readonly network: Option; + readonly network: Option; readonly key: U8aFixed; } & Struct; readonly isPalletInstance: boolean; @@ -594,16 +614,16 @@ declare module '@polkadot/types/lookup' { readonly isOnlyChild: boolean; readonly isPlurality: boolean; readonly asPlurality: { - readonly id: StagingXcmV3JunctionBodyId; - readonly part: StagingXcmV3JunctionBodyPart; + readonly id: XcmV3JunctionBodyId; + readonly part: XcmV3JunctionBodyPart; } & Struct; readonly isGlobalConsensus: boolean; - readonly asGlobalConsensus: StagingXcmV3JunctionNetworkId; + readonly asGlobalConsensus: StagingXcmV4JunctionNetworkId; readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality' | 'GlobalConsensus'; } - /** @name StagingXcmV3JunctionNetworkId (58) */ - interface StagingXcmV3JunctionNetworkId extends Enum { + /** @name StagingXcmV4JunctionNetworkId (60) */ + interface StagingXcmV4JunctionNetworkId extends Enum { readonly isByGenesis: boolean; readonly asByGenesis: U8aFixed; readonly isByFork: boolean; @@ -622,11 +642,12 @@ declare module '@polkadot/types/lookup' { } & Struct; readonly isBitcoinCore: boolean; readonly isBitcoinCash: boolean; - readonly type: 'ByGenesis' | 'ByFork' | 'Polkadot' | 'Kusama' | 'Westend' | 'Rococo' | 'Wococo' | 'Ethereum' | 'BitcoinCore' | 'BitcoinCash'; + readonly isPolkadotBulletin: boolean; + readonly type: 'ByGenesis' | 'ByFork' | 'Polkadot' | 'Kusama' | 'Westend' | 'Rococo' | 'Wococo' | 'Ethereum' | 'BitcoinCore' | 'BitcoinCash' | 'PolkadotBulletin'; } - /** @name StagingXcmV3JunctionBodyId (60) */ - interface StagingXcmV3JunctionBodyId extends Enum { + /** @name XcmV3JunctionBodyId (62) */ + interface XcmV3JunctionBodyId extends Enum { readonly isUnit: boolean; readonly isMoniker: boolean; readonly asMoniker: U8aFixed; @@ -642,8 +663,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unit' | 'Moniker' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial' | 'Defense' | 'Administration' | 'Treasury'; } - /** @name StagingXcmV3JunctionBodyPart (61) */ - interface StagingXcmV3JunctionBodyPart extends Enum { + /** @name XcmV3JunctionBodyPart (63) */ + interface XcmV3JunctionBodyPart extends Enum { readonly isVoice: boolean; readonly isMembers: boolean; readonly asMembers: { @@ -667,17 +688,17 @@ declare module '@polkadot/types/lookup' { readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion'; } - /** @name StagingXcmV3MultiassetFungibility (62) */ - interface StagingXcmV3MultiassetFungibility extends Enum { + /** @name StagingXcmV4AssetFungibility (71) */ + interface StagingXcmV4AssetFungibility extends Enum { readonly isFungible: boolean; readonly asFungible: Compact; readonly isNonFungible: boolean; - readonly asNonFungible: StagingXcmV3MultiassetAssetInstance; + readonly asNonFungible: StagingXcmV4AssetAssetInstance; readonly type: 'Fungible' | 'NonFungible'; } - /** @name StagingXcmV3MultiassetAssetInstance (63) */ - interface StagingXcmV3MultiassetAssetInstance extends Enum { + /** @name StagingXcmV4AssetAssetInstance (72) */ + interface StagingXcmV4AssetAssetInstance extends Enum { readonly isUndefined: boolean; readonly isIndex: boolean; readonly asIndex: Compact; @@ -692,133 +713,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32'; } - /** @name OrmlTokensModuleEvent (66) */ - interface OrmlTokensModuleEvent extends Enum { - readonly isEndowed: boolean; - readonly asEndowed: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly who: AccountId32; - readonly amount: u128; - } & Struct; - readonly isDustLost: boolean; - readonly asDustLost: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly who: AccountId32; - readonly amount: u128; - } & Struct; - readonly isTransfer: boolean; - readonly asTransfer: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly from: AccountId32; - readonly to: AccountId32; - readonly amount: u128; - } & Struct; - readonly isReserved: boolean; - readonly asReserved: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly who: AccountId32; - readonly amount: u128; - } & Struct; - readonly isUnreserved: boolean; - readonly asUnreserved: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly who: AccountId32; - readonly amount: u128; - } & Struct; - readonly isReserveRepatriated: boolean; - readonly asReserveRepatriated: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly from: AccountId32; - readonly to: AccountId32; - readonly amount: u128; - readonly status: FrameSupportTokensMiscBalanceStatus; - } & Struct; - readonly isBalanceSet: boolean; - readonly asBalanceSet: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly who: AccountId32; - readonly free: u128; - readonly reserved: u128; - } & Struct; - readonly isTotalIssuanceSet: boolean; - readonly asTotalIssuanceSet: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly amount: u128; - } & Struct; - readonly isWithdrawn: boolean; - readonly asWithdrawn: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly who: AccountId32; - readonly amount: u128; - } & Struct; - readonly isSlashed: boolean; - readonly asSlashed: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly who: AccountId32; - readonly freeAmount: u128; - readonly reservedAmount: u128; - } & Struct; - readonly isDeposited: boolean; - readonly asDeposited: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly who: AccountId32; - readonly amount: u128; - } & Struct; - readonly isLockSet: boolean; - readonly asLockSet: { - readonly lockId: U8aFixed; - readonly currencyId: PalletForeignAssetsAssetId; - readonly who: AccountId32; - readonly amount: u128; - } & Struct; - readonly isLockRemoved: boolean; - readonly asLockRemoved: { - readonly lockId: U8aFixed; - readonly currencyId: PalletForeignAssetsAssetId; - readonly who: AccountId32; - } & Struct; - readonly isLocked: boolean; - readonly asLocked: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly who: AccountId32; - readonly amount: u128; - } & Struct; - readonly isUnlocked: boolean; - readonly asUnlocked: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly who: AccountId32; - readonly amount: u128; - } & Struct; - readonly isIssued: boolean; - readonly asIssued: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly amount: u128; - } & Struct; - readonly isRescinded: boolean; - readonly asRescinded: { - readonly currencyId: PalletForeignAssetsAssetId; - readonly amount: u128; - } & Struct; - readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved' | 'Locked' | 'Unlocked' | 'Issued' | 'Rescinded'; - } - - /** @name PalletForeignAssetsAssetId (67) */ - interface PalletForeignAssetsAssetId extends Enum { - readonly isForeignAssetId: boolean; - readonly asForeignAssetId: u32; - readonly isNativeAssetId: boolean; - readonly asNativeAssetId: PalletForeignAssetsNativeCurrency; - readonly type: 'ForeignAssetId' | 'NativeAssetId'; - } - - /** @name PalletForeignAssetsNativeCurrency (68) */ - interface PalletForeignAssetsNativeCurrency extends Enum { - readonly isHere: boolean; - readonly isParent: boolean; - readonly type: 'Here' | 'Parent'; - } - - /** @name PalletIdentityEvent (69) */ + /** @name PalletIdentityEvent (75) */ interface PalletIdentityEvent extends Enum { readonly isIdentitySet: boolean; readonly asIdentitySet: { @@ -886,7 +781,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'IdentitySet' | 'IdentityCleared' | 'IdentityKilled' | 'IdentitiesInserted' | 'IdentitiesRemoved' | 'JudgementRequested' | 'JudgementUnrequested' | 'JudgementGiven' | 'RegistrarAdded' | 'SubIdentityAdded' | 'SubIdentityRemoved' | 'SubIdentityRevoked' | 'SubIdentitiesInserted'; } - /** @name PalletPreimageEvent (70) */ + /** @name PalletPreimageEvent (76) */ interface PalletPreimageEvent extends Enum { readonly isNoted: boolean; readonly asNoted: { @@ -903,7 +798,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Noted' | 'Requested' | 'Cleared'; } - /** @name PalletDemocracyEvent (71) */ + /** @name PalletDemocracyEvent (77) */ interface PalletDemocracyEvent extends Enum { readonly isProposed: boolean; readonly asProposed: { @@ -986,7 +881,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Proposed' | 'Tabled' | 'ExternalTabled' | 'Started' | 'Passed' | 'NotPassed' | 'Cancelled' | 'Delegated' | 'Undelegated' | 'Vetoed' | 'Blacklisted' | 'Voted' | 'Seconded' | 'ProposalCanceled' | 'MetadataSet' | 'MetadataCleared' | 'MetadataTransferred'; } - /** @name PalletDemocracyVoteThreshold (72) */ + /** @name PalletDemocracyVoteThreshold (78) */ interface PalletDemocracyVoteThreshold extends Enum { readonly isSuperMajorityApprove: boolean; readonly isSuperMajorityAgainst: boolean; @@ -994,7 +889,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'SuperMajorityApprove' | 'SuperMajorityAgainst' | 'SimpleMajority'; } - /** @name PalletDemocracyVoteAccountVote (73) */ + /** @name PalletDemocracyVoteAccountVote (79) */ interface PalletDemocracyVoteAccountVote extends Enum { readonly isStandard: boolean; readonly asStandard: { @@ -1009,7 +904,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Standard' | 'Split'; } - /** @name PalletDemocracyMetadataOwner (75) */ + /** @name PalletDemocracyMetadataOwner (81) */ interface PalletDemocracyMetadataOwner extends Enum { readonly isExternal: boolean; readonly isProposal: boolean; @@ -1019,7 +914,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'External' | 'Proposal' | 'Referendum'; } - /** @name PalletCollectiveEvent (76) */ + /** @name PalletCollectiveEvent (82) */ interface PalletCollectiveEvent extends Enum { readonly isProposed: boolean; readonly asProposed: { @@ -1063,7 +958,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Proposed' | 'Voted' | 'Approved' | 'Disapproved' | 'Executed' | 'MemberExecuted' | 'Closed'; } - /** @name PalletMembershipEvent (79) */ + /** @name PalletMembershipEvent (84) */ interface PalletMembershipEvent extends Enum { readonly isMemberAdded: boolean; readonly isMemberRemoved: boolean; @@ -1074,7 +969,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'MemberAdded' | 'MemberRemoved' | 'MembersSwapped' | 'MembersReset' | 'KeyChanged' | 'Dummy'; } - /** @name PalletRankedCollectiveEvent (81) */ + /** @name PalletRankedCollectiveEvent (86) */ interface PalletRankedCollectiveEvent extends Enum { readonly isMemberAdded: boolean; readonly asMemberAdded: { @@ -1097,10 +992,15 @@ declare module '@polkadot/types/lookup' { readonly vote: PalletRankedCollectiveVoteRecord; readonly tally: PalletRankedCollectiveTally; } & Struct; - readonly type: 'MemberAdded' | 'RankChanged' | 'MemberRemoved' | 'Voted'; + readonly isMemberExchanged: boolean; + readonly asMemberExchanged: { + readonly who: AccountId32; + readonly newWho: AccountId32; + } & Struct; + readonly type: 'MemberAdded' | 'RankChanged' | 'MemberRemoved' | 'Voted' | 'MemberExchanged'; } - /** @name PalletRankedCollectiveVoteRecord (83) */ + /** @name PalletRankedCollectiveVoteRecord (88) */ interface PalletRankedCollectiveVoteRecord extends Enum { readonly isAye: boolean; readonly asAye: u32; @@ -1109,14 +1009,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'Aye' | 'Nay'; } - /** @name PalletRankedCollectiveTally (84) */ + /** @name PalletRankedCollectiveTally (89) */ interface PalletRankedCollectiveTally extends Struct { readonly bareAyes: u32; readonly ayes: u32; readonly nays: u32; } - /** @name PalletReferendaEvent (85) */ + /** @name PalletReferendaEvent (90) */ interface PalletReferendaEvent extends Enum { readonly isSubmitted: boolean; readonly asSubmitted: { @@ -1204,7 +1104,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Submitted' | 'DecisionDepositPlaced' | 'DecisionDepositRefunded' | 'DepositSlashed' | 'DecisionStarted' | 'ConfirmStarted' | 'ConfirmAborted' | 'Confirmed' | 'Approved' | 'Rejected' | 'TimedOut' | 'Cancelled' | 'Killed' | 'SubmissionDepositRefunded' | 'MetadataSet' | 'MetadataCleared'; } - /** @name FrameSupportPreimagesBounded (86) */ + /** @name FrameSupportPreimagesBounded (91) */ interface FrameSupportPreimagesBounded extends Enum { readonly isLegacy: boolean; readonly asLegacy: { @@ -1220,7 +1120,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Legacy' | 'Inline' | 'Lookup'; } - /** @name FrameSystemCall (88) */ + /** @name FrameSystemCall (93) */ interface FrameSystemCall extends Enum { readonly isRemark: boolean; readonly asRemark: { @@ -1255,10 +1155,22 @@ declare module '@polkadot/types/lookup' { readonly asRemarkWithEvent: { readonly remark: Bytes; } & Struct; - readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent'; + readonly isAuthorizeUpgrade: boolean; + readonly asAuthorizeUpgrade: { + readonly codeHash: H256; + } & Struct; + readonly isAuthorizeUpgradeWithoutChecks: boolean; + readonly asAuthorizeUpgradeWithoutChecks: { + readonly codeHash: H256; + } & Struct; + readonly isApplyAuthorizedUpgrade: boolean; + readonly asApplyAuthorizedUpgrade: { + readonly code: Bytes; + } & Struct; + readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent' | 'AuthorizeUpgrade' | 'AuthorizeUpgradeWithoutChecks' | 'ApplyAuthorizedUpgrade'; } - /** @name PalletStateTrieMigrationCall (92) */ + /** @name PalletStateTrieMigrationCall (97) */ interface PalletStateTrieMigrationCall extends Enum { readonly isControlAutoMigration: boolean; readonly asControlAutoMigration: { @@ -1293,13 +1205,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'ControlAutoMigration' | 'ContinueMigrate' | 'MigrateCustomTop' | 'MigrateCustomChild' | 'SetSignedMaxLimits' | 'ForceSetProgress'; } - /** @name PalletStateTrieMigrationMigrationLimits (94) */ + /** @name PalletStateTrieMigrationMigrationLimits (99) */ interface PalletStateTrieMigrationMigrationLimits extends Struct { readonly size_: u32; readonly item: u32; } - /** @name PalletStateTrieMigrationMigrationTask (95) */ + /** @name PalletStateTrieMigrationMigrationTask (100) */ interface PalletStateTrieMigrationMigrationTask extends Struct { readonly progressTop: PalletStateTrieMigrationProgress; readonly progressChild: PalletStateTrieMigrationProgress; @@ -1308,7 +1220,7 @@ declare module '@polkadot/types/lookup' { readonly childItems: u32; } - /** @name PalletStateTrieMigrationProgress (96) */ + /** @name PalletStateTrieMigrationProgress (101) */ interface PalletStateTrieMigrationProgress extends Enum { readonly isToStart: boolean; readonly isLastKey: boolean; @@ -1317,7 +1229,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ToStart' | 'LastKey' | 'Complete'; } - /** @name CumulusPalletParachainSystemCall (98) */ + /** @name CumulusPalletParachainSystemCall (103) */ interface CumulusPalletParachainSystemCall extends Enum { readonly isSetValidationData: boolean; readonly asSetValidationData: { @@ -1339,43 +1251,43 @@ declare module '@polkadot/types/lookup' { readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade'; } - /** @name CumulusPrimitivesParachainInherentParachainInherentData (99) */ + /** @name CumulusPrimitivesParachainInherentParachainInherentData (104) */ interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct { - readonly validationData: PolkadotPrimitivesV5PersistedValidationData; + readonly validationData: PolkadotPrimitivesV7PersistedValidationData; readonly relayChainState: SpTrieStorageProof; readonly downwardMessages: Vec; readonly horizontalMessages: BTreeMap>; } - /** @name PolkadotPrimitivesV5PersistedValidationData (100) */ - interface PolkadotPrimitivesV5PersistedValidationData extends Struct { + /** @name PolkadotPrimitivesV7PersistedValidationData (105) */ + interface PolkadotPrimitivesV7PersistedValidationData extends Struct { readonly parentHead: Bytes; readonly relayParentNumber: u32; readonly relayParentStorageRoot: H256; readonly maxPovSize: u32; } - /** @name SpTrieStorageProof (102) */ + /** @name SpTrieStorageProof (107) */ interface SpTrieStorageProof extends Struct { readonly trieNodes: BTreeSet; } - /** @name PolkadotCorePrimitivesInboundDownwardMessage (105) */ + /** @name PolkadotCorePrimitivesInboundDownwardMessage (110) */ interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct { readonly sentAt: u32; readonly msg: Bytes; } - /** @name PolkadotCorePrimitivesInboundHrmpMessage (109) */ + /** @name PolkadotCorePrimitivesInboundHrmpMessage (114) */ interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct { readonly sentAt: u32; readonly data: Bytes; } - /** @name ParachainInfoCall (112) */ - type ParachainInfoCall = Null; + /** @name StagingParachainInfoCall (117) */ + type StagingParachainInfoCall = Null; - /** @name PalletCollatorSelectionCall (113) */ + /** @name PalletCollatorSelectionCall (118) */ interface PalletCollatorSelectionCall extends Enum { readonly isAddInvulnerable: boolean; readonly asAddInvulnerable: { @@ -1396,7 +1308,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'AddInvulnerable' | 'RemoveInvulnerable' | 'GetLicense' | 'Onboard' | 'Offboard' | 'ReleaseLicense' | 'ForceReleaseLicense'; } - /** @name PalletSessionCall (114) */ + /** @name PalletSessionCall (119) */ interface PalletSessionCall extends Enum { readonly isSetKeys: boolean; readonly asSetKeys: { @@ -1407,30 +1319,21 @@ declare module '@polkadot/types/lookup' { readonly type: 'SetKeys' | 'PurgeKeys'; } - /** @name OpalRuntimeRuntimeCommonSessionKeys (115) */ + /** @name OpalRuntimeRuntimeCommonSessionKeys (120) */ interface OpalRuntimeRuntimeCommonSessionKeys extends Struct { readonly aura: SpConsensusAuraSr25519AppSr25519Public; } - /** @name SpConsensusAuraSr25519AppSr25519Public (116) */ - interface SpConsensusAuraSr25519AppSr25519Public extends SpCoreSr25519Public {} - - /** @name SpCoreSr25519Public (117) */ - interface SpCoreSr25519Public extends U8aFixed {} + /** @name SpConsensusAuraSr25519AppSr25519Public (121) */ + interface SpConsensusAuraSr25519AppSr25519Public extends U8aFixed {} - /** @name PalletBalancesCall (118) */ + /** @name PalletBalancesCall (122) */ interface PalletBalancesCall extends Enum { readonly isTransferAllowDeath: boolean; readonly asTransferAllowDeath: { readonly dest: MultiAddress; readonly value: Compact; } & Struct; - readonly isSetBalanceDeprecated: boolean; - readonly asSetBalanceDeprecated: { - readonly who: MultiAddress; - readonly newFree: Compact; - readonly oldReserved: Compact; - } & Struct; readonly isForceTransfer: boolean; readonly asForceTransfer: { readonly source: MultiAddress; @@ -1456,20 +1359,32 @@ declare module '@polkadot/types/lookup' { readonly asUpgradeAccounts: { readonly who: Vec; } & Struct; - readonly isTransfer: boolean; - readonly asTransfer: { - readonly dest: MultiAddress; - readonly value: Compact; - } & Struct; readonly isForceSetBalance: boolean; readonly asForceSetBalance: { readonly who: MultiAddress; readonly newFree: Compact; } & Struct; - readonly type: 'TransferAllowDeath' | 'SetBalanceDeprecated' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve' | 'UpgradeAccounts' | 'Transfer' | 'ForceSetBalance'; + readonly isForceAdjustTotalIssuance: boolean; + readonly asForceAdjustTotalIssuance: { + readonly direction: PalletBalancesAdjustmentDirection; + readonly delta: Compact; + } & Struct; + readonly isBurn: boolean; + readonly asBurn: { + readonly value: Compact; + readonly keepAlive: bool; + } & Struct; + readonly type: 'TransferAllowDeath' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve' | 'UpgradeAccounts' | 'ForceSetBalance' | 'ForceAdjustTotalIssuance' | 'Burn'; + } + + /** @name PalletBalancesAdjustmentDirection (126) */ + interface PalletBalancesAdjustmentDirection extends Enum { + readonly isIncrease: boolean; + readonly isDecrease: boolean; + readonly type: 'Increase' | 'Decrease'; } - /** @name PalletTimestampCall (122) */ + /** @name PalletTimestampCall (127) */ interface PalletTimestampCall extends Enum { readonly isSet: boolean; readonly asSet: { @@ -1478,34 +1393,40 @@ declare module '@polkadot/types/lookup' { readonly type: 'Set'; } - /** @name PalletTreasuryCall (123) */ + /** @name PalletTreasuryCall (128) */ interface PalletTreasuryCall extends Enum { - readonly isProposeSpend: boolean; - readonly asProposeSpend: { - readonly value: Compact; + readonly isSpendLocal: boolean; + readonly asSpendLocal: { + readonly amount: Compact; readonly beneficiary: MultiAddress; } & Struct; - readonly isRejectProposal: boolean; - readonly asRejectProposal: { - readonly proposalId: Compact; - } & Struct; - readonly isApproveProposal: boolean; - readonly asApproveProposal: { + readonly isRemoveApproval: boolean; + readonly asRemoveApproval: { readonly proposalId: Compact; } & Struct; readonly isSpend: boolean; readonly asSpend: { + readonly assetKind: Null; readonly amount: Compact; - readonly beneficiary: MultiAddress; + readonly beneficiary: AccountId32; + readonly validFrom: Option; } & Struct; - readonly isRemoveApproval: boolean; - readonly asRemoveApproval: { - readonly proposalId: Compact; + readonly isPayout: boolean; + readonly asPayout: { + readonly index: u32; + } & Struct; + readonly isCheckStatus: boolean; + readonly asCheckStatus: { + readonly index: u32; + } & Struct; + readonly isVoidSpend: boolean; + readonly asVoidSpend: { + readonly index: u32; } & Struct; - readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval'; + readonly type: 'SpendLocal' | 'RemoveApproval' | 'Spend' | 'Payout' | 'CheckStatus' | 'VoidSpend'; } - /** @name PalletSudoCall (124) */ + /** @name PalletSudoCall (130) */ interface PalletSudoCall extends Enum { readonly isSudo: boolean; readonly asSudo: { @@ -1525,10 +1446,11 @@ declare module '@polkadot/types/lookup' { readonly who: MultiAddress; readonly call: Call; } & Struct; - readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs'; + readonly isRemoveKey: boolean; + readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs' | 'RemoveKey'; } - /** @name OrmlVestingModuleCall (125) */ + /** @name OrmlVestingModuleCall (131) */ interface OrmlVestingModuleCall extends Enum { readonly isClaim: boolean; readonly isVestedTransfer: boolean; @@ -1548,107 +1470,109 @@ declare module '@polkadot/types/lookup' { readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor'; } - /** @name OrmlXtokensModuleCall (127) */ + /** @name OrmlXtokensModuleCall (133) */ interface OrmlXtokensModuleCall extends Enum { readonly isTransfer: boolean; readonly asTransfer: { - readonly currencyId: PalletForeignAssetsAssetId; + readonly currencyId: u32; readonly amount: u128; - readonly dest: StagingXcmVersionedMultiLocation; - readonly destWeightLimit: StagingXcmV3WeightLimit; + readonly dest: XcmVersionedLocation; + readonly destWeightLimit: XcmV3WeightLimit; } & Struct; readonly isTransferMultiasset: boolean; readonly asTransferMultiasset: { - readonly asset: StagingXcmVersionedMultiAsset; - readonly dest: StagingXcmVersionedMultiLocation; - readonly destWeightLimit: StagingXcmV3WeightLimit; + readonly asset: XcmVersionedAsset; + readonly dest: XcmVersionedLocation; + readonly destWeightLimit: XcmV3WeightLimit; } & Struct; readonly isTransferWithFee: boolean; readonly asTransferWithFee: { - readonly currencyId: PalletForeignAssetsAssetId; + readonly currencyId: u32; readonly amount: u128; readonly fee: u128; - readonly dest: StagingXcmVersionedMultiLocation; - readonly destWeightLimit: StagingXcmV3WeightLimit; + readonly dest: XcmVersionedLocation; + readonly destWeightLimit: XcmV3WeightLimit; } & Struct; readonly isTransferMultiassetWithFee: boolean; readonly asTransferMultiassetWithFee: { - readonly asset: StagingXcmVersionedMultiAsset; - readonly fee: StagingXcmVersionedMultiAsset; - readonly dest: StagingXcmVersionedMultiLocation; - readonly destWeightLimit: StagingXcmV3WeightLimit; + readonly asset: XcmVersionedAsset; + readonly fee: XcmVersionedAsset; + readonly dest: XcmVersionedLocation; + readonly destWeightLimit: XcmV3WeightLimit; } & Struct; readonly isTransferMulticurrencies: boolean; readonly asTransferMulticurrencies: { - readonly currencies: Vec>; + readonly currencies: Vec>; readonly feeItem: u32; - readonly dest: StagingXcmVersionedMultiLocation; - readonly destWeightLimit: StagingXcmV3WeightLimit; + readonly dest: XcmVersionedLocation; + readonly destWeightLimit: XcmV3WeightLimit; } & Struct; readonly isTransferMultiassets: boolean; readonly asTransferMultiassets: { - readonly assets: StagingXcmVersionedMultiAssets; + readonly assets: XcmVersionedAssets; readonly feeItem: u32; - readonly dest: StagingXcmVersionedMultiLocation; - readonly destWeightLimit: StagingXcmV3WeightLimit; + readonly dest: XcmVersionedLocation; + readonly destWeightLimit: XcmV3WeightLimit; } & Struct; readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets'; } - /** @name StagingXcmVersionedMultiLocation (128) */ - interface StagingXcmVersionedMultiLocation extends Enum { + /** @name XcmVersionedLocation (135) */ + interface XcmVersionedLocation extends Enum { readonly isV2: boolean; - readonly asV2: StagingXcmV2MultiLocation; + readonly asV2: XcmV2MultiLocation; readonly isV3: boolean; readonly asV3: StagingXcmV3MultiLocation; - readonly type: 'V2' | 'V3'; + readonly isV4: boolean; + readonly asV4: StagingXcmV4Location; + readonly type: 'V2' | 'V3' | 'V4'; } - /** @name StagingXcmV2MultiLocation (129) */ - interface StagingXcmV2MultiLocation extends Struct { + /** @name XcmV2MultiLocation (136) */ + interface XcmV2MultiLocation extends Struct { readonly parents: u8; - readonly interior: StagingXcmV2MultilocationJunctions; + readonly interior: XcmV2MultilocationJunctions; } - /** @name StagingXcmV2MultilocationJunctions (130) */ - interface StagingXcmV2MultilocationJunctions extends Enum { + /** @name XcmV2MultilocationJunctions (137) */ + interface XcmV2MultilocationJunctions extends Enum { readonly isHere: boolean; readonly isX1: boolean; - readonly asX1: StagingXcmV2Junction; + readonly asX1: XcmV2Junction; readonly isX2: boolean; - readonly asX2: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction]>; + readonly asX2: ITuple<[XcmV2Junction, XcmV2Junction]>; readonly isX3: boolean; - readonly asX3: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>; + readonly asX3: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction]>; readonly isX4: boolean; - readonly asX4: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>; + readonly asX4: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>; readonly isX5: boolean; - readonly asX5: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>; + readonly asX5: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>; readonly isX6: boolean; - readonly asX6: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>; + readonly asX6: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>; readonly isX7: boolean; - readonly asX7: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>; + readonly asX7: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>; readonly isX8: boolean; - readonly asX8: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>; + readonly asX8: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>; readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8'; } - /** @name StagingXcmV2Junction (131) */ - interface StagingXcmV2Junction extends Enum { + /** @name XcmV2Junction (138) */ + interface XcmV2Junction extends Enum { readonly isParachain: boolean; readonly asParachain: Compact; readonly isAccountId32: boolean; readonly asAccountId32: { - readonly network: StagingXcmV2NetworkId; + readonly network: XcmV2NetworkId; readonly id: U8aFixed; } & Struct; readonly isAccountIndex64: boolean; readonly asAccountIndex64: { - readonly network: StagingXcmV2NetworkId; + readonly network: XcmV2NetworkId; readonly index: Compact; } & Struct; readonly isAccountKey20: boolean; readonly asAccountKey20: { - readonly network: StagingXcmV2NetworkId; + readonly network: XcmV2NetworkId; readonly key: U8aFixed; } & Struct; readonly isPalletInstance: boolean; @@ -1660,14 +1584,14 @@ declare module '@polkadot/types/lookup' { readonly isOnlyChild: boolean; readonly isPlurality: boolean; readonly asPlurality: { - readonly id: StagingXcmV2BodyId; - readonly part: StagingXcmV2BodyPart; + readonly id: XcmV2BodyId; + readonly part: XcmV2BodyPart; } & Struct; readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality'; } - /** @name StagingXcmV2NetworkId (132) */ - interface StagingXcmV2NetworkId extends Enum { + /** @name XcmV2NetworkId (139) */ + interface XcmV2NetworkId extends Enum { readonly isAny: boolean; readonly isNamed: boolean; readonly asNamed: Bytes; @@ -1676,8 +1600,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama'; } - /** @name StagingXcmV2BodyId (134) */ - interface StagingXcmV2BodyId extends Enum { + /** @name XcmV2BodyId (141) */ + interface XcmV2BodyId extends Enum { readonly isUnit: boolean; readonly isNamed: boolean; readonly asNamed: Bytes; @@ -1693,8 +1617,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial' | 'Defense' | 'Administration' | 'Treasury'; } - /** @name StagingXcmV2BodyPart (135) */ - interface StagingXcmV2BodyPart extends Enum { + /** @name XcmV2BodyPart (142) */ + interface XcmV2BodyPart extends Enum { readonly isVoice: boolean; readonly isMembers: boolean; readonly asMembers: { @@ -1718,49 +1642,142 @@ declare module '@polkadot/types/lookup' { readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion'; } - /** @name StagingXcmV3WeightLimit (136) */ - interface StagingXcmV3WeightLimit extends Enum { + /** @name StagingXcmV3MultiLocation (143) */ + interface StagingXcmV3MultiLocation extends Struct { + readonly parents: u8; + readonly interior: XcmV3Junctions; + } + + /** @name XcmV3Junctions (144) */ + interface XcmV3Junctions extends Enum { + readonly isHere: boolean; + readonly isX1: boolean; + readonly asX1: XcmV3Junction; + readonly isX2: boolean; + readonly asX2: ITuple<[XcmV3Junction, XcmV3Junction]>; + readonly isX3: boolean; + readonly asX3: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction]>; + readonly isX4: boolean; + readonly asX4: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>; + readonly isX5: boolean; + readonly asX5: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>; + readonly isX6: boolean; + readonly asX6: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>; + readonly isX7: boolean; + readonly asX7: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>; + readonly isX8: boolean; + readonly asX8: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>; + readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8'; + } + + /** @name XcmV3Junction (145) */ + interface XcmV3Junction extends Enum { + readonly isParachain: boolean; + readonly asParachain: Compact; + readonly isAccountId32: boolean; + readonly asAccountId32: { + readonly network: Option; + readonly id: U8aFixed; + } & Struct; + readonly isAccountIndex64: boolean; + readonly asAccountIndex64: { + readonly network: Option; + readonly index: Compact; + } & Struct; + readonly isAccountKey20: boolean; + readonly asAccountKey20: { + readonly network: Option; + readonly key: U8aFixed; + } & Struct; + readonly isPalletInstance: boolean; + readonly asPalletInstance: u8; + readonly isGeneralIndex: boolean; + readonly asGeneralIndex: Compact; + readonly isGeneralKey: boolean; + readonly asGeneralKey: { + readonly length: u8; + readonly data: U8aFixed; + } & Struct; + readonly isOnlyChild: boolean; + readonly isPlurality: boolean; + readonly asPlurality: { + readonly id: XcmV3JunctionBodyId; + readonly part: XcmV3JunctionBodyPart; + } & Struct; + readonly isGlobalConsensus: boolean; + readonly asGlobalConsensus: XcmV3JunctionNetworkId; + readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality' | 'GlobalConsensus'; + } + + /** @name XcmV3JunctionNetworkId (147) */ + interface XcmV3JunctionNetworkId extends Enum { + readonly isByGenesis: boolean; + readonly asByGenesis: U8aFixed; + readonly isByFork: boolean; + readonly asByFork: { + readonly blockNumber: u64; + readonly blockHash: U8aFixed; + } & Struct; + readonly isPolkadot: boolean; + readonly isKusama: boolean; + readonly isWestend: boolean; + readonly isRococo: boolean; + readonly isWococo: boolean; + readonly isEthereum: boolean; + readonly asEthereum: { + readonly chainId: Compact; + } & Struct; + readonly isBitcoinCore: boolean; + readonly isBitcoinCash: boolean; + readonly isPolkadotBulletin: boolean; + readonly type: 'ByGenesis' | 'ByFork' | 'Polkadot' | 'Kusama' | 'Westend' | 'Rococo' | 'Wococo' | 'Ethereum' | 'BitcoinCore' | 'BitcoinCash' | 'PolkadotBulletin'; + } + + /** @name XcmV3WeightLimit (148) */ + interface XcmV3WeightLimit extends Enum { readonly isUnlimited: boolean; readonly isLimited: boolean; readonly asLimited: SpWeightsWeightV2Weight; readonly type: 'Unlimited' | 'Limited'; } - /** @name StagingXcmVersionedMultiAsset (137) */ - interface StagingXcmVersionedMultiAsset extends Enum { + /** @name XcmVersionedAsset (149) */ + interface XcmVersionedAsset extends Enum { readonly isV2: boolean; - readonly asV2: StagingXcmV2MultiAsset; + readonly asV2: XcmV2MultiAsset; readonly isV3: boolean; - readonly asV3: StagingXcmV3MultiAsset; - readonly type: 'V2' | 'V3'; + readonly asV3: XcmV3MultiAsset; + readonly isV4: boolean; + readonly asV4: StagingXcmV4Asset; + readonly type: 'V2' | 'V3' | 'V4'; } - /** @name StagingXcmV2MultiAsset (138) */ - interface StagingXcmV2MultiAsset extends Struct { - readonly id: StagingXcmV2MultiassetAssetId; - readonly fun: StagingXcmV2MultiassetFungibility; + /** @name XcmV2MultiAsset (150) */ + interface XcmV2MultiAsset extends Struct { + readonly id: XcmV2MultiassetAssetId; + readonly fun: XcmV2MultiassetFungibility; } - /** @name StagingXcmV2MultiassetAssetId (139) */ - interface StagingXcmV2MultiassetAssetId extends Enum { + /** @name XcmV2MultiassetAssetId (151) */ + interface XcmV2MultiassetAssetId extends Enum { readonly isConcrete: boolean; - readonly asConcrete: StagingXcmV2MultiLocation; + readonly asConcrete: XcmV2MultiLocation; readonly isAbstract: boolean; readonly asAbstract: Bytes; readonly type: 'Concrete' | 'Abstract'; } - /** @name StagingXcmV2MultiassetFungibility (140) */ - interface StagingXcmV2MultiassetFungibility extends Enum { + /** @name XcmV2MultiassetFungibility (152) */ + interface XcmV2MultiassetFungibility extends Enum { readonly isFungible: boolean; readonly asFungible: Compact; readonly isNonFungible: boolean; - readonly asNonFungible: StagingXcmV2MultiassetAssetInstance; + readonly asNonFungible: XcmV2MultiassetAssetInstance; readonly type: 'Fungible' | 'NonFungible'; } - /** @name StagingXcmV2MultiassetAssetInstance (141) */ - interface StagingXcmV2MultiassetAssetInstance extends Enum { + /** @name XcmV2MultiassetAssetInstance (153) */ + interface XcmV2MultiassetAssetInstance extends Enum { readonly isUndefined: boolean; readonly isIndex: boolean; readonly asIndex: Compact; @@ -1777,56 +1794,64 @@ declare module '@polkadot/types/lookup' { readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob'; } - /** @name StagingXcmVersionedMultiAssets (144) */ - interface StagingXcmVersionedMultiAssets extends Enum { + /** @name XcmV3MultiAsset (154) */ + interface XcmV3MultiAsset extends Struct { + readonly id: XcmV3MultiassetAssetId; + readonly fun: XcmV3MultiassetFungibility; + } + + /** @name XcmV3MultiassetAssetId (155) */ + interface XcmV3MultiassetAssetId extends Enum { + readonly isConcrete: boolean; + readonly asConcrete: StagingXcmV3MultiLocation; + readonly isAbstract: boolean; + readonly asAbstract: U8aFixed; + readonly type: 'Concrete' | 'Abstract'; + } + + /** @name XcmV3MultiassetFungibility (156) */ + interface XcmV3MultiassetFungibility extends Enum { + readonly isFungible: boolean; + readonly asFungible: Compact; + readonly isNonFungible: boolean; + readonly asNonFungible: XcmV3MultiassetAssetInstance; + readonly type: 'Fungible' | 'NonFungible'; + } + + /** @name XcmV3MultiassetAssetInstance (157) */ + interface XcmV3MultiassetAssetInstance extends Enum { + readonly isUndefined: boolean; + readonly isIndex: boolean; + readonly asIndex: Compact; + readonly isArray4: boolean; + readonly asArray4: U8aFixed; + readonly isArray8: boolean; + readonly asArray8: U8aFixed; + readonly isArray16: boolean; + readonly asArray16: U8aFixed; + readonly isArray32: boolean; + readonly asArray32: U8aFixed; + readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32'; + } + + /** @name XcmVersionedAssets (160) */ + interface XcmVersionedAssets extends Enum { readonly isV2: boolean; - readonly asV2: StagingXcmV2MultiassetMultiAssets; + readonly asV2: XcmV2MultiassetMultiAssets; readonly isV3: boolean; - readonly asV3: StagingXcmV3MultiassetMultiAssets; - readonly type: 'V2' | 'V3'; + readonly asV3: XcmV3MultiassetMultiAssets; + readonly isV4: boolean; + readonly asV4: StagingXcmV4AssetAssets; + readonly type: 'V2' | 'V3' | 'V4'; } - /** @name StagingXcmV2MultiassetMultiAssets (145) */ - interface StagingXcmV2MultiassetMultiAssets extends Vec {} + /** @name XcmV2MultiassetMultiAssets (161) */ + interface XcmV2MultiassetMultiAssets extends Vec {} - /** @name OrmlTokensModuleCall (147) */ - interface OrmlTokensModuleCall extends Enum { - readonly isTransfer: boolean; - readonly asTransfer: { - readonly dest: MultiAddress; - readonly currencyId: PalletForeignAssetsAssetId; - readonly amount: Compact; - } & Struct; - readonly isTransferAll: boolean; - readonly asTransferAll: { - readonly dest: MultiAddress; - readonly currencyId: PalletForeignAssetsAssetId; - readonly keepAlive: bool; - } & Struct; - readonly isTransferKeepAlive: boolean; - readonly asTransferKeepAlive: { - readonly dest: MultiAddress; - readonly currencyId: PalletForeignAssetsAssetId; - readonly amount: Compact; - } & Struct; - readonly isForceTransfer: boolean; - readonly asForceTransfer: { - readonly source: MultiAddress; - readonly dest: MultiAddress; - readonly currencyId: PalletForeignAssetsAssetId; - readonly amount: Compact; - } & Struct; - readonly isSetBalance: boolean; - readonly asSetBalance: { - readonly who: MultiAddress; - readonly currencyId: PalletForeignAssetsAssetId; - readonly newFree: Compact; - readonly newReserved: Compact; - } & Struct; - readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance'; - } + /** @name XcmV3MultiassetMultiAssets (163) */ + interface XcmV3MultiassetMultiAssets extends Vec {} - /** @name PalletIdentityCall (148) */ + /** @name PalletIdentityCall (165) */ interface PalletIdentityCall extends Enum { readonly isAddRegistrar: boolean; readonly asAddRegistrar: { @@ -1906,7 +1931,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub' | 'ForceInsertIdentities' | 'ForceRemoveIdentities' | 'ForceSetSubs'; } - /** @name PalletIdentityIdentityInfo (149) */ + /** @name PalletIdentityIdentityInfo (166) */ interface PalletIdentityIdentityInfo extends Struct { readonly additional: Vec>; readonly display: Data; @@ -1919,7 +1944,7 @@ declare module '@polkadot/types/lookup' { readonly twitter: Data; } - /** @name PalletIdentityBitFlags (185) */ + /** @name PalletIdentityBitFlags (202) */ interface PalletIdentityBitFlags extends Set { readonly isDisplay: boolean; readonly isLegal: boolean; @@ -1931,7 +1956,7 @@ declare module '@polkadot/types/lookup' { readonly isTwitter: boolean; } - /** @name PalletIdentityIdentityField (186) */ + /** @name PalletIdentityIdentityField (203) */ interface PalletIdentityIdentityField extends Enum { readonly isDisplay: boolean; readonly isLegal: boolean; @@ -1944,7 +1969,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Display' | 'Legal' | 'Web' | 'Riot' | 'Email' | 'PgpFingerprint' | 'Image' | 'Twitter'; } - /** @name PalletIdentityJudgement (187) */ + /** @name PalletIdentityJudgement (204) */ interface PalletIdentityJudgement extends Enum { readonly isUnknown: boolean; readonly isFeePaid: boolean; @@ -1957,14 +1982,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unknown' | 'FeePaid' | 'Reasonable' | 'KnownGood' | 'OutOfDate' | 'LowQuality' | 'Erroneous'; } - /** @name PalletIdentityRegistration (190) */ + /** @name PalletIdentityRegistration (207) */ interface PalletIdentityRegistration extends Struct { readonly judgements: Vec>; readonly deposit: u128; readonly info: PalletIdentityIdentityInfo; } - /** @name PalletPreimageCall (198) */ + /** @name PalletPreimageCall (215) */ interface PalletPreimageCall extends Enum { readonly isNotePreimage: boolean; readonly asNotePreimage: { @@ -1982,10 +2007,14 @@ declare module '@polkadot/types/lookup' { readonly asUnrequestPreimage: { readonly hash_: H256; } & Struct; - readonly type: 'NotePreimage' | 'UnnotePreimage' | 'RequestPreimage' | 'UnrequestPreimage'; + readonly isEnsureUpdated: boolean; + readonly asEnsureUpdated: { + readonly hashes: Vec; + } & Struct; + readonly type: 'NotePreimage' | 'UnnotePreimage' | 'RequestPreimage' | 'UnrequestPreimage' | 'EnsureUpdated'; } - /** @name PalletDemocracyCall (199) */ + /** @name PalletDemocracyCall (217) */ interface PalletDemocracyCall extends Enum { readonly isPropose: boolean; readonly asPropose: { @@ -2069,7 +2098,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Propose' | 'Second' | 'Vote' | 'EmergencyCancel' | 'ExternalPropose' | 'ExternalProposeMajority' | 'ExternalProposeDefault' | 'FastTrack' | 'VetoExternal' | 'CancelReferendum' | 'Delegate' | 'Undelegate' | 'ClearPublicProposals' | 'Unlock' | 'RemoveVote' | 'RemoveOtherVote' | 'Blacklist' | 'CancelProposal' | 'SetMetadata'; } - /** @name PalletDemocracyConviction (200) */ + /** @name PalletDemocracyConviction (218) */ interface PalletDemocracyConviction extends Enum { readonly isNone: boolean; readonly isLocked1x: boolean; @@ -2081,7 +2110,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'None' | 'Locked1x' | 'Locked2x' | 'Locked3x' | 'Locked4x' | 'Locked5x' | 'Locked6x'; } - /** @name PalletCollectiveCall (203) */ + /** @name PalletCollectiveCall (220) */ interface PalletCollectiveCall extends Enum { readonly isSetMembers: boolean; readonly asSetMembers: { @@ -2120,7 +2149,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'SetMembers' | 'Execute' | 'Propose' | 'Vote' | 'DisapproveProposal' | 'Close'; } - /** @name PalletMembershipCall (205) */ + /** @name PalletMembershipCall (222) */ interface PalletMembershipCall extends Enum { readonly isAddMember: boolean; readonly asAddMember: { @@ -2151,7 +2180,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'AddMember' | 'RemoveMember' | 'SwapMember' | 'ResetMembers' | 'ChangeKey' | 'SetPrime' | 'ClearPrime'; } - /** @name PalletRankedCollectiveCall (207) */ + /** @name PalletRankedCollectiveCall (224) */ interface PalletRankedCollectiveCall extends Enum { readonly isAddMember: boolean; readonly asAddMember: { @@ -2180,10 +2209,15 @@ declare module '@polkadot/types/lookup' { readonly pollIndex: u32; readonly max: u32; } & Struct; - readonly type: 'AddMember' | 'PromoteMember' | 'DemoteMember' | 'RemoveMember' | 'Vote' | 'CleanupPoll'; + readonly isExchangeMember: boolean; + readonly asExchangeMember: { + readonly who: MultiAddress; + readonly newWho: MultiAddress; + } & Struct; + readonly type: 'AddMember' | 'PromoteMember' | 'DemoteMember' | 'RemoveMember' | 'Vote' | 'CleanupPoll' | 'ExchangeMember'; } - /** @name PalletReferendaCall (208) */ + /** @name PalletReferendaCall (225) */ interface PalletReferendaCall extends Enum { readonly isSubmit: boolean; readonly asSubmit: { @@ -2227,7 +2261,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Submit' | 'PlaceDecisionDeposit' | 'RefundDecisionDeposit' | 'Cancel' | 'Kill' | 'NudgeReferendum' | 'OneFewerDeciding' | 'RefundSubmissionDeposit' | 'SetMetadata'; } - /** @name OpalRuntimeOriginCaller (209) */ + /** @name OpalRuntimeOriginCaller (226) */ interface OpalRuntimeOriginCaller extends Enum { readonly isSystem: boolean; readonly asSystem: FrameSupportDispatchRawOrigin; @@ -2240,14 +2274,16 @@ declare module '@polkadot/types/lookup' { readonly asPolkadotXcm: PalletXcmOrigin; readonly isCumulusXcm: boolean; readonly asCumulusXcm: CumulusPalletXcmOrigin; + readonly isFinancialCouncil: boolean; + readonly asFinancialCouncil: PalletCollectiveRawOrigin; readonly isOrigins: boolean; readonly asOrigins: PalletGovOriginsOrigin; readonly isEthereum: boolean; readonly asEthereum: PalletEthereumRawOrigin; - readonly type: 'System' | 'Void' | 'Council' | 'TechnicalCommittee' | 'PolkadotXcm' | 'CumulusXcm' | 'Origins' | 'Ethereum'; + readonly type: 'System' | 'Void' | 'Council' | 'TechnicalCommittee' | 'PolkadotXcm' | 'CumulusXcm' | 'FinancialCouncil' | 'Origins' | 'Ethereum'; } - /** @name FrameSupportDispatchRawOrigin (210) */ + /** @name FrameSupportDispatchRawOrigin (227) */ interface FrameSupportDispatchRawOrigin extends Enum { readonly isRoot: boolean; readonly isSigned: boolean; @@ -2256,7 +2292,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Root' | 'Signed' | 'None'; } - /** @name PalletCollectiveRawOrigin (211) */ + /** @name PalletCollectiveRawOrigin (228) */ interface PalletCollectiveRawOrigin extends Enum { readonly isMembers: boolean; readonly asMembers: ITuple<[u32, u32]>; @@ -2266,22 +2302,22 @@ declare module '@polkadot/types/lookup' { readonly type: 'Members' | 'Member' | 'Phantom'; } - /** @name PalletGovOriginsOrigin (213) */ + /** @name PalletGovOriginsOrigin (231) */ interface PalletGovOriginsOrigin extends Enum { readonly isFellowshipProposition: boolean; readonly type: 'FellowshipProposition'; } - /** @name PalletXcmOrigin (214) */ + /** @name PalletXcmOrigin (232) */ interface PalletXcmOrigin extends Enum { readonly isXcm: boolean; - readonly asXcm: StagingXcmV3MultiLocation; + readonly asXcm: StagingXcmV4Location; readonly isResponse: boolean; - readonly asResponse: StagingXcmV3MultiLocation; + readonly asResponse: StagingXcmV4Location; readonly type: 'Xcm' | 'Response'; } - /** @name CumulusPalletXcmOrigin (215) */ + /** @name CumulusPalletXcmOrigin (233) */ interface CumulusPalletXcmOrigin extends Enum { readonly isRelay: boolean; readonly isSiblingParachain: boolean; @@ -2289,17 +2325,17 @@ declare module '@polkadot/types/lookup' { readonly type: 'Relay' | 'SiblingParachain'; } - /** @name PalletEthereumRawOrigin (216) */ + /** @name PalletEthereumRawOrigin (234) */ interface PalletEthereumRawOrigin extends Enum { readonly isEthereumTransaction: boolean; readonly asEthereumTransaction: H160; readonly type: 'EthereumTransaction'; } - /** @name SpCoreVoid (218) */ + /** @name SpCoreVoid (236) */ type SpCoreVoid = Null; - /** @name FrameSupportScheduleDispatchTime (219) */ + /** @name FrameSupportScheduleDispatchTime (237) */ interface FrameSupportScheduleDispatchTime extends Enum { readonly isAt: boolean; readonly asAt: u32; @@ -2308,7 +2344,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'At' | 'After'; } - /** @name PalletSchedulerCall (220) */ + /** @name PalletSchedulerCall (238) */ interface PalletSchedulerCall extends Enum { readonly isSchedule: boolean; readonly asSchedule: { @@ -2349,16 +2385,31 @@ declare module '@polkadot/types/lookup' { readonly priority: u8; readonly call: Call; } & Struct; - readonly type: 'Schedule' | 'Cancel' | 'ScheduleNamed' | 'CancelNamed' | 'ScheduleAfter' | 'ScheduleNamedAfter'; + readonly isSetRetry: boolean; + readonly asSetRetry: { + readonly task: ITuple<[u32, u32]>; + readonly retries: u8; + readonly period: u32; + } & Struct; + readonly isSetRetryNamed: boolean; + readonly asSetRetryNamed: { + readonly id: U8aFixed; + readonly retries: u8; + readonly period: u32; + } & Struct; + readonly isCancelRetry: boolean; + readonly asCancelRetry: { + readonly task: ITuple<[u32, u32]>; + } & Struct; + readonly isCancelRetryNamed: boolean; + readonly asCancelRetryNamed: { + readonly id: U8aFixed; + } & Struct; + readonly type: 'Schedule' | 'Cancel' | 'ScheduleNamed' | 'CancelNamed' | 'ScheduleAfter' | 'ScheduleNamedAfter' | 'SetRetry' | 'SetRetryNamed' | 'CancelRetry' | 'CancelRetryNamed'; } - /** @name CumulusPalletXcmpQueueCall (223) */ + /** @name CumulusPalletXcmpQueueCall (243) */ interface CumulusPalletXcmpQueueCall extends Enum { - readonly isServiceOverweight: boolean; - readonly asServiceOverweight: { - readonly index: u64; - readonly weightLimit: SpWeightsWeightV2Weight; - } & Struct; readonly isSuspendXcmExecution: boolean; readonly isResumeXcmExecution: boolean; readonly isUpdateSuspendThreshold: boolean; @@ -2373,50 +2424,38 @@ declare module '@polkadot/types/lookup' { readonly asUpdateResumeThreshold: { readonly new_: u32; } & Struct; - readonly isUpdateThresholdWeight: boolean; - readonly asUpdateThresholdWeight: { - readonly new_: SpWeightsWeightV2Weight; - } & Struct; - readonly isUpdateWeightRestrictDecay: boolean; - readonly asUpdateWeightRestrictDecay: { - readonly new_: SpWeightsWeightV2Weight; - } & Struct; - readonly isUpdateXcmpMaxIndividualWeight: boolean; - readonly asUpdateXcmpMaxIndividualWeight: { - readonly new_: SpWeightsWeightV2Weight; - } & Struct; - readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight'; + readonly type: 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold'; } - /** @name PalletXcmCall (224) */ + /** @name PalletXcmCall (244) */ interface PalletXcmCall extends Enum { readonly isSend: boolean; readonly asSend: { - readonly dest: StagingXcmVersionedMultiLocation; - readonly message: StagingXcmVersionedXcm; + readonly dest: XcmVersionedLocation; + readonly message: XcmVersionedXcm; } & Struct; readonly isTeleportAssets: boolean; readonly asTeleportAssets: { - readonly dest: StagingXcmVersionedMultiLocation; - readonly beneficiary: StagingXcmVersionedMultiLocation; - readonly assets: StagingXcmVersionedMultiAssets; + readonly dest: XcmVersionedLocation; + readonly beneficiary: XcmVersionedLocation; + readonly assets: XcmVersionedAssets; readonly feeAssetItem: u32; } & Struct; readonly isReserveTransferAssets: boolean; readonly asReserveTransferAssets: { - readonly dest: StagingXcmVersionedMultiLocation; - readonly beneficiary: StagingXcmVersionedMultiLocation; - readonly assets: StagingXcmVersionedMultiAssets; + readonly dest: XcmVersionedLocation; + readonly beneficiary: XcmVersionedLocation; + readonly assets: XcmVersionedAssets; readonly feeAssetItem: u32; } & Struct; readonly isExecute: boolean; readonly asExecute: { - readonly message: StagingXcmVersionedXcm; + readonly message: XcmVersionedXcm; readonly maxWeight: SpWeightsWeightV2Weight; } & Struct; readonly isForceXcmVersion: boolean; readonly asForceXcmVersion: { - readonly location: StagingXcmV3MultiLocation; + readonly location: StagingXcmV4Location; readonly version: u32; } & Struct; readonly isForceDefaultXcmVersion: boolean; @@ -2425,77 +2464,102 @@ declare module '@polkadot/types/lookup' { } & Struct; readonly isForceSubscribeVersionNotify: boolean; readonly asForceSubscribeVersionNotify: { - readonly location: StagingXcmVersionedMultiLocation; + readonly location: XcmVersionedLocation; } & Struct; readonly isForceUnsubscribeVersionNotify: boolean; readonly asForceUnsubscribeVersionNotify: { - readonly location: StagingXcmVersionedMultiLocation; + readonly location: XcmVersionedLocation; } & Struct; readonly isLimitedReserveTransferAssets: boolean; readonly asLimitedReserveTransferAssets: { - readonly dest: StagingXcmVersionedMultiLocation; - readonly beneficiary: StagingXcmVersionedMultiLocation; - readonly assets: StagingXcmVersionedMultiAssets; + readonly dest: XcmVersionedLocation; + readonly beneficiary: XcmVersionedLocation; + readonly assets: XcmVersionedAssets; readonly feeAssetItem: u32; - readonly weightLimit: StagingXcmV3WeightLimit; + readonly weightLimit: XcmV3WeightLimit; } & Struct; readonly isLimitedTeleportAssets: boolean; readonly asLimitedTeleportAssets: { - readonly dest: StagingXcmVersionedMultiLocation; - readonly beneficiary: StagingXcmVersionedMultiLocation; - readonly assets: StagingXcmVersionedMultiAssets; + readonly dest: XcmVersionedLocation; + readonly beneficiary: XcmVersionedLocation; + readonly assets: XcmVersionedAssets; readonly feeAssetItem: u32; - readonly weightLimit: StagingXcmV3WeightLimit; + readonly weightLimit: XcmV3WeightLimit; } & Struct; readonly isForceSuspension: boolean; readonly asForceSuspension: { readonly suspended: bool; } & Struct; - readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets' | 'ForceSuspension'; + readonly isTransferAssets: boolean; + readonly asTransferAssets: { + readonly dest: XcmVersionedLocation; + readonly beneficiary: XcmVersionedLocation; + readonly assets: XcmVersionedAssets; + readonly feeAssetItem: u32; + readonly weightLimit: XcmV3WeightLimit; + } & Struct; + readonly isClaimAssets: boolean; + readonly asClaimAssets: { + readonly assets: XcmVersionedAssets; + readonly beneficiary: XcmVersionedLocation; + } & Struct; + readonly isTransferAssetsUsingTypeAndThen: boolean; + readonly asTransferAssetsUsingTypeAndThen: { + readonly dest: XcmVersionedLocation; + readonly assets: XcmVersionedAssets; + readonly assetsTransferType: StagingXcmExecutorAssetTransferTransferType; + readonly remoteFeesId: XcmVersionedAssetId; + readonly feesTransferType: StagingXcmExecutorAssetTransferTransferType; + readonly customXcmOnDest: XcmVersionedXcm; + readonly weightLimit: XcmV3WeightLimit; + } & Struct; + readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets' | 'ForceSuspension' | 'TransferAssets' | 'ClaimAssets' | 'TransferAssetsUsingTypeAndThen'; } - /** @name StagingXcmVersionedXcm (225) */ - interface StagingXcmVersionedXcm extends Enum { + /** @name XcmVersionedXcm (245) */ + interface XcmVersionedXcm extends Enum { readonly isV2: boolean; - readonly asV2: StagingXcmV2Xcm; + readonly asV2: XcmV2Xcm; readonly isV3: boolean; - readonly asV3: StagingXcmV3Xcm; - readonly type: 'V2' | 'V3'; + readonly asV3: XcmV3Xcm; + readonly isV4: boolean; + readonly asV4: StagingXcmV4Xcm; + readonly type: 'V2' | 'V3' | 'V4'; } - /** @name StagingXcmV2Xcm (226) */ - interface StagingXcmV2Xcm extends Vec {} + /** @name XcmV2Xcm (246) */ + interface XcmV2Xcm extends Vec {} - /** @name StagingXcmV2Instruction (228) */ - interface StagingXcmV2Instruction extends Enum { + /** @name XcmV2Instruction (248) */ + interface XcmV2Instruction extends Enum { readonly isWithdrawAsset: boolean; - readonly asWithdrawAsset: StagingXcmV2MultiassetMultiAssets; + readonly asWithdrawAsset: XcmV2MultiassetMultiAssets; readonly isReserveAssetDeposited: boolean; - readonly asReserveAssetDeposited: StagingXcmV2MultiassetMultiAssets; + readonly asReserveAssetDeposited: XcmV2MultiassetMultiAssets; readonly isReceiveTeleportedAsset: boolean; - readonly asReceiveTeleportedAsset: StagingXcmV2MultiassetMultiAssets; + readonly asReceiveTeleportedAsset: XcmV2MultiassetMultiAssets; readonly isQueryResponse: boolean; readonly asQueryResponse: { readonly queryId: Compact; - readonly response: StagingXcmV2Response; + readonly response: XcmV2Response; readonly maxWeight: Compact; } & Struct; readonly isTransferAsset: boolean; readonly asTransferAsset: { - readonly assets: StagingXcmV2MultiassetMultiAssets; - readonly beneficiary: StagingXcmV2MultiLocation; + readonly assets: XcmV2MultiassetMultiAssets; + readonly beneficiary: XcmV2MultiLocation; } & Struct; readonly isTransferReserveAsset: boolean; readonly asTransferReserveAsset: { - readonly assets: StagingXcmV2MultiassetMultiAssets; - readonly dest: StagingXcmV2MultiLocation; - readonly xcm: StagingXcmV2Xcm; + readonly assets: XcmV2MultiassetMultiAssets; + readonly dest: XcmV2MultiLocation; + readonly xcm: XcmV2Xcm; } & Struct; readonly isTransact: boolean; readonly asTransact: { - readonly originType: StagingXcmV2OriginKind; + readonly originType: XcmV2OriginKind; readonly requireWeightAtMost: Compact; - readonly call: StagingXcmDoubleEncoded; + readonly call: XcmDoubleEncoded; } & Struct; readonly isHrmpNewChannelOpenRequest: boolean; readonly asHrmpNewChannelOpenRequest: { @@ -2515,65 +2579,65 @@ declare module '@polkadot/types/lookup' { } & Struct; readonly isClearOrigin: boolean; readonly isDescendOrigin: boolean; - readonly asDescendOrigin: StagingXcmV2MultilocationJunctions; + readonly asDescendOrigin: XcmV2MultilocationJunctions; readonly isReportError: boolean; readonly asReportError: { readonly queryId: Compact; - readonly dest: StagingXcmV2MultiLocation; + readonly dest: XcmV2MultiLocation; readonly maxResponseWeight: Compact; } & Struct; readonly isDepositAsset: boolean; readonly asDepositAsset: { - readonly assets: StagingXcmV2MultiassetMultiAssetFilter; + readonly assets: XcmV2MultiassetMultiAssetFilter; readonly maxAssets: Compact; - readonly beneficiary: StagingXcmV2MultiLocation; + readonly beneficiary: XcmV2MultiLocation; } & Struct; readonly isDepositReserveAsset: boolean; readonly asDepositReserveAsset: { - readonly assets: StagingXcmV2MultiassetMultiAssetFilter; + readonly assets: XcmV2MultiassetMultiAssetFilter; readonly maxAssets: Compact; - readonly dest: StagingXcmV2MultiLocation; - readonly xcm: StagingXcmV2Xcm; + readonly dest: XcmV2MultiLocation; + readonly xcm: XcmV2Xcm; } & Struct; readonly isExchangeAsset: boolean; readonly asExchangeAsset: { - readonly give: StagingXcmV2MultiassetMultiAssetFilter; - readonly receive: StagingXcmV2MultiassetMultiAssets; + readonly give: XcmV2MultiassetMultiAssetFilter; + readonly receive: XcmV2MultiassetMultiAssets; } & Struct; readonly isInitiateReserveWithdraw: boolean; readonly asInitiateReserveWithdraw: { - readonly assets: StagingXcmV2MultiassetMultiAssetFilter; - readonly reserve: StagingXcmV2MultiLocation; - readonly xcm: StagingXcmV2Xcm; + readonly assets: XcmV2MultiassetMultiAssetFilter; + readonly reserve: XcmV2MultiLocation; + readonly xcm: XcmV2Xcm; } & Struct; readonly isInitiateTeleport: boolean; readonly asInitiateTeleport: { - readonly assets: StagingXcmV2MultiassetMultiAssetFilter; - readonly dest: StagingXcmV2MultiLocation; - readonly xcm: StagingXcmV2Xcm; + readonly assets: XcmV2MultiassetMultiAssetFilter; + readonly dest: XcmV2MultiLocation; + readonly xcm: XcmV2Xcm; } & Struct; readonly isQueryHolding: boolean; readonly asQueryHolding: { readonly queryId: Compact; - readonly dest: StagingXcmV2MultiLocation; - readonly assets: StagingXcmV2MultiassetMultiAssetFilter; + readonly dest: XcmV2MultiLocation; + readonly assets: XcmV2MultiassetMultiAssetFilter; readonly maxResponseWeight: Compact; } & Struct; readonly isBuyExecution: boolean; readonly asBuyExecution: { - readonly fees: StagingXcmV2MultiAsset; - readonly weightLimit: StagingXcmV2WeightLimit; + readonly fees: XcmV2MultiAsset; + readonly weightLimit: XcmV2WeightLimit; } & Struct; readonly isRefundSurplus: boolean; readonly isSetErrorHandler: boolean; - readonly asSetErrorHandler: StagingXcmV2Xcm; + readonly asSetErrorHandler: XcmV2Xcm; readonly isSetAppendix: boolean; - readonly asSetAppendix: StagingXcmV2Xcm; + readonly asSetAppendix: XcmV2Xcm; readonly isClearError: boolean; readonly isClaimAsset: boolean; readonly asClaimAsset: { - readonly assets: StagingXcmV2MultiassetMultiAssets; - readonly ticket: StagingXcmV2MultiLocation; + readonly assets: XcmV2MultiassetMultiAssets; + readonly ticket: XcmV2MultiLocation; } & Struct; readonly isTrap: boolean; readonly asTrap: Compact; @@ -2586,20 +2650,20 @@ declare module '@polkadot/types/lookup' { readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion'; } - /** @name StagingXcmV2Response (229) */ - interface StagingXcmV2Response extends Enum { + /** @name XcmV2Response (249) */ + interface XcmV2Response extends Enum { readonly isNull: boolean; readonly isAssets: boolean; - readonly asAssets: StagingXcmV2MultiassetMultiAssets; + readonly asAssets: XcmV2MultiassetMultiAssets; readonly isExecutionResult: boolean; - readonly asExecutionResult: Option>; + readonly asExecutionResult: Option>; readonly isVersion: boolean; readonly asVersion: u32; readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version'; } - /** @name StagingXcmV2TraitsError (232) */ - interface StagingXcmV2TraitsError extends Enum { + /** @name XcmV2TraitsError (252) */ + interface XcmV2TraitsError extends Enum { readonly isOverflow: boolean; readonly isUnimplemented: boolean; readonly isUntrustedReserveLocation: boolean; @@ -2631,8 +2695,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable'; } - /** @name StagingXcmV2OriginKind (233) */ - interface StagingXcmV2OriginKind extends Enum { + /** @name XcmV2OriginKind (253) */ + interface XcmV2OriginKind extends Enum { readonly isNative: boolean; readonly isSovereignAccount: boolean; readonly isSuperuser: boolean; @@ -2640,80 +2704,399 @@ declare module '@polkadot/types/lookup' { readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm'; } - /** @name StagingXcmDoubleEncoded (234) */ - interface StagingXcmDoubleEncoded extends Struct { + /** @name XcmDoubleEncoded (254) */ + interface XcmDoubleEncoded extends Struct { readonly encoded: Bytes; } - /** @name StagingXcmV2MultiassetMultiAssetFilter (235) */ - interface StagingXcmV2MultiassetMultiAssetFilter extends Enum { + /** @name XcmV2MultiassetMultiAssetFilter (255) */ + interface XcmV2MultiassetMultiAssetFilter extends Enum { readonly isDefinite: boolean; - readonly asDefinite: StagingXcmV2MultiassetMultiAssets; + readonly asDefinite: XcmV2MultiassetMultiAssets; readonly isWild: boolean; - readonly asWild: StagingXcmV2MultiassetWildMultiAsset; + readonly asWild: XcmV2MultiassetWildMultiAsset; readonly type: 'Definite' | 'Wild'; } - /** @name StagingXcmV2MultiassetWildMultiAsset (236) */ - interface StagingXcmV2MultiassetWildMultiAsset extends Enum { + /** @name XcmV2MultiassetWildMultiAsset (256) */ + interface XcmV2MultiassetWildMultiAsset extends Enum { readonly isAll: boolean; readonly isAllOf: boolean; readonly asAllOf: { - readonly id: StagingXcmV2MultiassetAssetId; - readonly fun: StagingXcmV2MultiassetWildFungibility; + readonly id: XcmV2MultiassetAssetId; + readonly fun: XcmV2MultiassetWildFungibility; } & Struct; readonly type: 'All' | 'AllOf'; } - /** @name StagingXcmV2MultiassetWildFungibility (237) */ - interface StagingXcmV2MultiassetWildFungibility extends Enum { + /** @name XcmV2MultiassetWildFungibility (257) */ + interface XcmV2MultiassetWildFungibility extends Enum { readonly isFungible: boolean; readonly isNonFungible: boolean; readonly type: 'Fungible' | 'NonFungible'; } - /** @name StagingXcmV2WeightLimit (238) */ - interface StagingXcmV2WeightLimit extends Enum { + /** @name XcmV2WeightLimit (258) */ + interface XcmV2WeightLimit extends Enum { readonly isUnlimited: boolean; readonly isLimited: boolean; readonly asLimited: Compact; readonly type: 'Unlimited' | 'Limited'; } - /** @name StagingXcmV3Xcm (239) */ - interface StagingXcmV3Xcm extends Vec {} + /** @name XcmV3Xcm (259) */ + interface XcmV3Xcm extends Vec {} - /** @name StagingXcmV3Instruction (241) */ - interface StagingXcmV3Instruction extends Enum { + /** @name XcmV3Instruction (261) */ + interface XcmV3Instruction extends Enum { readonly isWithdrawAsset: boolean; - readonly asWithdrawAsset: StagingXcmV3MultiassetMultiAssets; + readonly asWithdrawAsset: XcmV3MultiassetMultiAssets; readonly isReserveAssetDeposited: boolean; - readonly asReserveAssetDeposited: StagingXcmV3MultiassetMultiAssets; + readonly asReserveAssetDeposited: XcmV3MultiassetMultiAssets; readonly isReceiveTeleportedAsset: boolean; - readonly asReceiveTeleportedAsset: StagingXcmV3MultiassetMultiAssets; + readonly asReceiveTeleportedAsset: XcmV3MultiassetMultiAssets; readonly isQueryResponse: boolean; readonly asQueryResponse: { readonly queryId: Compact; - readonly response: StagingXcmV3Response; + readonly response: XcmV3Response; readonly maxWeight: SpWeightsWeightV2Weight; readonly querier: Option; } & Struct; readonly isTransferAsset: boolean; readonly asTransferAsset: { - readonly assets: StagingXcmV3MultiassetMultiAssets; - readonly beneficiary: StagingXcmV3MultiLocation; + readonly assets: XcmV3MultiassetMultiAssets; + readonly beneficiary: StagingXcmV3MultiLocation; + } & Struct; + readonly isTransferReserveAsset: boolean; + readonly asTransferReserveAsset: { + readonly assets: XcmV3MultiassetMultiAssets; + readonly dest: StagingXcmV3MultiLocation; + readonly xcm: XcmV3Xcm; + } & Struct; + readonly isTransact: boolean; + readonly asTransact: { + readonly originKind: XcmV3OriginKind; + readonly requireWeightAtMost: SpWeightsWeightV2Weight; + readonly call: XcmDoubleEncoded; + } & Struct; + readonly isHrmpNewChannelOpenRequest: boolean; + readonly asHrmpNewChannelOpenRequest: { + readonly sender: Compact; + readonly maxMessageSize: Compact; + readonly maxCapacity: Compact; + } & Struct; + readonly isHrmpChannelAccepted: boolean; + readonly asHrmpChannelAccepted: { + readonly recipient: Compact; + } & Struct; + readonly isHrmpChannelClosing: boolean; + readonly asHrmpChannelClosing: { + readonly initiator: Compact; + readonly sender: Compact; + readonly recipient: Compact; + } & Struct; + readonly isClearOrigin: boolean; + readonly isDescendOrigin: boolean; + readonly asDescendOrigin: XcmV3Junctions; + readonly isReportError: boolean; + readonly asReportError: XcmV3QueryResponseInfo; + readonly isDepositAsset: boolean; + readonly asDepositAsset: { + readonly assets: XcmV3MultiassetMultiAssetFilter; + readonly beneficiary: StagingXcmV3MultiLocation; + } & Struct; + readonly isDepositReserveAsset: boolean; + readonly asDepositReserveAsset: { + readonly assets: XcmV3MultiassetMultiAssetFilter; + readonly dest: StagingXcmV3MultiLocation; + readonly xcm: XcmV3Xcm; + } & Struct; + readonly isExchangeAsset: boolean; + readonly asExchangeAsset: { + readonly give: XcmV3MultiassetMultiAssetFilter; + readonly want: XcmV3MultiassetMultiAssets; + readonly maximal: bool; + } & Struct; + readonly isInitiateReserveWithdraw: boolean; + readonly asInitiateReserveWithdraw: { + readonly assets: XcmV3MultiassetMultiAssetFilter; + readonly reserve: StagingXcmV3MultiLocation; + readonly xcm: XcmV3Xcm; + } & Struct; + readonly isInitiateTeleport: boolean; + readonly asInitiateTeleport: { + readonly assets: XcmV3MultiassetMultiAssetFilter; + readonly dest: StagingXcmV3MultiLocation; + readonly xcm: XcmV3Xcm; + } & Struct; + readonly isReportHolding: boolean; + readonly asReportHolding: { + readonly responseInfo: XcmV3QueryResponseInfo; + readonly assets: XcmV3MultiassetMultiAssetFilter; + } & Struct; + readonly isBuyExecution: boolean; + readonly asBuyExecution: { + readonly fees: XcmV3MultiAsset; + readonly weightLimit: XcmV3WeightLimit; + } & Struct; + readonly isRefundSurplus: boolean; + readonly isSetErrorHandler: boolean; + readonly asSetErrorHandler: XcmV3Xcm; + readonly isSetAppendix: boolean; + readonly asSetAppendix: XcmV3Xcm; + readonly isClearError: boolean; + readonly isClaimAsset: boolean; + readonly asClaimAsset: { + readonly assets: XcmV3MultiassetMultiAssets; + readonly ticket: StagingXcmV3MultiLocation; + } & Struct; + readonly isTrap: boolean; + readonly asTrap: Compact; + readonly isSubscribeVersion: boolean; + readonly asSubscribeVersion: { + readonly queryId: Compact; + readonly maxResponseWeight: SpWeightsWeightV2Weight; + } & Struct; + readonly isUnsubscribeVersion: boolean; + readonly isBurnAsset: boolean; + readonly asBurnAsset: XcmV3MultiassetMultiAssets; + readonly isExpectAsset: boolean; + readonly asExpectAsset: XcmV3MultiassetMultiAssets; + readonly isExpectOrigin: boolean; + readonly asExpectOrigin: Option; + readonly isExpectError: boolean; + readonly asExpectError: Option>; + readonly isExpectTransactStatus: boolean; + readonly asExpectTransactStatus: XcmV3MaybeErrorCode; + readonly isQueryPallet: boolean; + readonly asQueryPallet: { + readonly moduleName: Bytes; + readonly responseInfo: XcmV3QueryResponseInfo; + } & Struct; + readonly isExpectPallet: boolean; + readonly asExpectPallet: { + readonly index: Compact; + readonly name: Bytes; + readonly moduleName: Bytes; + readonly crateMajor: Compact; + readonly minCrateMinor: Compact; + } & Struct; + readonly isReportTransactStatus: boolean; + readonly asReportTransactStatus: XcmV3QueryResponseInfo; + readonly isClearTransactStatus: boolean; + readonly isUniversalOrigin: boolean; + readonly asUniversalOrigin: XcmV3Junction; + readonly isExportMessage: boolean; + readonly asExportMessage: { + readonly network: XcmV3JunctionNetworkId; + readonly destination: XcmV3Junctions; + readonly xcm: XcmV3Xcm; + } & Struct; + readonly isLockAsset: boolean; + readonly asLockAsset: { + readonly asset: XcmV3MultiAsset; + readonly unlocker: StagingXcmV3MultiLocation; + } & Struct; + readonly isUnlockAsset: boolean; + readonly asUnlockAsset: { + readonly asset: XcmV3MultiAsset; + readonly target: StagingXcmV3MultiLocation; + } & Struct; + readonly isNoteUnlockable: boolean; + readonly asNoteUnlockable: { + readonly asset: XcmV3MultiAsset; + readonly owner: StagingXcmV3MultiLocation; + } & Struct; + readonly isRequestUnlock: boolean; + readonly asRequestUnlock: { + readonly asset: XcmV3MultiAsset; + readonly locker: StagingXcmV3MultiLocation; + } & Struct; + readonly isSetFeesMode: boolean; + readonly asSetFeesMode: { + readonly jitWithdraw: bool; + } & Struct; + readonly isSetTopic: boolean; + readonly asSetTopic: U8aFixed; + readonly isClearTopic: boolean; + readonly isAliasOrigin: boolean; + readonly asAliasOrigin: StagingXcmV3MultiLocation; + readonly isUnpaidExecution: boolean; + readonly asUnpaidExecution: { + readonly weightLimit: XcmV3WeightLimit; + readonly checkOrigin: Option; + } & Struct; + readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'ReportHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion' | 'BurnAsset' | 'ExpectAsset' | 'ExpectOrigin' | 'ExpectError' | 'ExpectTransactStatus' | 'QueryPallet' | 'ExpectPallet' | 'ReportTransactStatus' | 'ClearTransactStatus' | 'UniversalOrigin' | 'ExportMessage' | 'LockAsset' | 'UnlockAsset' | 'NoteUnlockable' | 'RequestUnlock' | 'SetFeesMode' | 'SetTopic' | 'ClearTopic' | 'AliasOrigin' | 'UnpaidExecution'; + } + + /** @name XcmV3Response (262) */ + interface XcmV3Response extends Enum { + readonly isNull: boolean; + readonly isAssets: boolean; + readonly asAssets: XcmV3MultiassetMultiAssets; + readonly isExecutionResult: boolean; + readonly asExecutionResult: Option>; + readonly isVersion: boolean; + readonly asVersion: u32; + readonly isPalletsInfo: boolean; + readonly asPalletsInfo: Vec; + readonly isDispatchResult: boolean; + readonly asDispatchResult: XcmV3MaybeErrorCode; + readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version' | 'PalletsInfo' | 'DispatchResult'; + } + + /** @name XcmV3TraitsError (265) */ + interface XcmV3TraitsError extends Enum { + readonly isOverflow: boolean; + readonly isUnimplemented: boolean; + readonly isUntrustedReserveLocation: boolean; + readonly isUntrustedTeleportLocation: boolean; + readonly isLocationFull: boolean; + readonly isLocationNotInvertible: boolean; + readonly isBadOrigin: boolean; + readonly isInvalidLocation: boolean; + readonly isAssetNotFound: boolean; + readonly isFailedToTransactAsset: boolean; + readonly isNotWithdrawable: boolean; + readonly isLocationCannotHold: boolean; + readonly isExceedsMaxMessageSize: boolean; + readonly isDestinationUnsupported: boolean; + readonly isTransport: boolean; + readonly isUnroutable: boolean; + readonly isUnknownClaim: boolean; + readonly isFailedToDecode: boolean; + readonly isMaxWeightInvalid: boolean; + readonly isNotHoldingFees: boolean; + readonly isTooExpensive: boolean; + readonly isTrap: boolean; + readonly asTrap: u64; + readonly isExpectationFalse: boolean; + readonly isPalletNotFound: boolean; + readonly isNameMismatch: boolean; + readonly isVersionIncompatible: boolean; + readonly isHoldingWouldOverflow: boolean; + readonly isExportError: boolean; + readonly isReanchorFailed: boolean; + readonly isNoDeal: boolean; + readonly isFeesNotMet: boolean; + readonly isLockError: boolean; + readonly isNoPermission: boolean; + readonly isUnanchored: boolean; + readonly isNotDepositable: boolean; + readonly isUnhandledXcmVersion: boolean; + readonly isWeightLimitReached: boolean; + readonly asWeightLimitReached: SpWeightsWeightV2Weight; + readonly isBarrier: boolean; + readonly isWeightNotComputable: boolean; + readonly isExceedsStackLimit: boolean; + readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'LocationFull' | 'LocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'ExpectationFalse' | 'PalletNotFound' | 'NameMismatch' | 'VersionIncompatible' | 'HoldingWouldOverflow' | 'ExportError' | 'ReanchorFailed' | 'NoDeal' | 'FeesNotMet' | 'LockError' | 'NoPermission' | 'Unanchored' | 'NotDepositable' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable' | 'ExceedsStackLimit'; + } + + /** @name XcmV3PalletInfo (267) */ + interface XcmV3PalletInfo extends Struct { + readonly index: Compact; + readonly name: Bytes; + readonly moduleName: Bytes; + readonly major: Compact; + readonly minor: Compact; + readonly patch: Compact; + } + + /** @name XcmV3MaybeErrorCode (270) */ + interface XcmV3MaybeErrorCode extends Enum { + readonly isSuccess: boolean; + readonly isError: boolean; + readonly asError: Bytes; + readonly isTruncatedError: boolean; + readonly asTruncatedError: Bytes; + readonly type: 'Success' | 'Error' | 'TruncatedError'; + } + + /** @name XcmV3OriginKind (273) */ + interface XcmV3OriginKind extends Enum { + readonly isNative: boolean; + readonly isSovereignAccount: boolean; + readonly isSuperuser: boolean; + readonly isXcm: boolean; + readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm'; + } + + /** @name XcmV3QueryResponseInfo (274) */ + interface XcmV3QueryResponseInfo extends Struct { + readonly destination: StagingXcmV3MultiLocation; + readonly queryId: Compact; + readonly maxWeight: SpWeightsWeightV2Weight; + } + + /** @name XcmV3MultiassetMultiAssetFilter (275) */ + interface XcmV3MultiassetMultiAssetFilter extends Enum { + readonly isDefinite: boolean; + readonly asDefinite: XcmV3MultiassetMultiAssets; + readonly isWild: boolean; + readonly asWild: XcmV3MultiassetWildMultiAsset; + readonly type: 'Definite' | 'Wild'; + } + + /** @name XcmV3MultiassetWildMultiAsset (276) */ + interface XcmV3MultiassetWildMultiAsset extends Enum { + readonly isAll: boolean; + readonly isAllOf: boolean; + readonly asAllOf: { + readonly id: XcmV3MultiassetAssetId; + readonly fun: XcmV3MultiassetWildFungibility; + } & Struct; + readonly isAllCounted: boolean; + readonly asAllCounted: Compact; + readonly isAllOfCounted: boolean; + readonly asAllOfCounted: { + readonly id: XcmV3MultiassetAssetId; + readonly fun: XcmV3MultiassetWildFungibility; + readonly count: Compact; + } & Struct; + readonly type: 'All' | 'AllOf' | 'AllCounted' | 'AllOfCounted'; + } + + /** @name XcmV3MultiassetWildFungibility (277) */ + interface XcmV3MultiassetWildFungibility extends Enum { + readonly isFungible: boolean; + readonly isNonFungible: boolean; + readonly type: 'Fungible' | 'NonFungible'; + } + + /** @name StagingXcmV4Xcm (278) */ + interface StagingXcmV4Xcm extends Vec {} + + /** @name StagingXcmV4Instruction (280) */ + interface StagingXcmV4Instruction extends Enum { + readonly isWithdrawAsset: boolean; + readonly asWithdrawAsset: StagingXcmV4AssetAssets; + readonly isReserveAssetDeposited: boolean; + readonly asReserveAssetDeposited: StagingXcmV4AssetAssets; + readonly isReceiveTeleportedAsset: boolean; + readonly asReceiveTeleportedAsset: StagingXcmV4AssetAssets; + readonly isQueryResponse: boolean; + readonly asQueryResponse: { + readonly queryId: Compact; + readonly response: StagingXcmV4Response; + readonly maxWeight: SpWeightsWeightV2Weight; + readonly querier: Option; + } & Struct; + readonly isTransferAsset: boolean; + readonly asTransferAsset: { + readonly assets: StagingXcmV4AssetAssets; + readonly beneficiary: StagingXcmV4Location; } & Struct; readonly isTransferReserveAsset: boolean; readonly asTransferReserveAsset: { - readonly assets: StagingXcmV3MultiassetMultiAssets; - readonly dest: StagingXcmV3MultiLocation; - readonly xcm: StagingXcmV3Xcm; + readonly assets: StagingXcmV4AssetAssets; + readonly dest: StagingXcmV4Location; + readonly xcm: StagingXcmV4Xcm; } & Struct; readonly isTransact: boolean; readonly asTransact: { - readonly originKind: StagingXcmV2OriginKind; + readonly originKind: XcmV3OriginKind; readonly requireWeightAtMost: SpWeightsWeightV2Weight; - readonly call: StagingXcmDoubleEncoded; + readonly call: XcmDoubleEncoded; } & Struct; readonly isHrmpNewChannelOpenRequest: boolean; readonly asHrmpNewChannelOpenRequest: { @@ -2733,58 +3116,58 @@ declare module '@polkadot/types/lookup' { } & Struct; readonly isClearOrigin: boolean; readonly isDescendOrigin: boolean; - readonly asDescendOrigin: StagingXcmV3Junctions; + readonly asDescendOrigin: StagingXcmV4Junctions; readonly isReportError: boolean; - readonly asReportError: StagingXcmV3QueryResponseInfo; + readonly asReportError: StagingXcmV4QueryResponseInfo; readonly isDepositAsset: boolean; readonly asDepositAsset: { - readonly assets: StagingXcmV3MultiassetMultiAssetFilter; - readonly beneficiary: StagingXcmV3MultiLocation; + readonly assets: StagingXcmV4AssetAssetFilter; + readonly beneficiary: StagingXcmV4Location; } & Struct; readonly isDepositReserveAsset: boolean; readonly asDepositReserveAsset: { - readonly assets: StagingXcmV3MultiassetMultiAssetFilter; - readonly dest: StagingXcmV3MultiLocation; - readonly xcm: StagingXcmV3Xcm; + readonly assets: StagingXcmV4AssetAssetFilter; + readonly dest: StagingXcmV4Location; + readonly xcm: StagingXcmV4Xcm; } & Struct; readonly isExchangeAsset: boolean; readonly asExchangeAsset: { - readonly give: StagingXcmV3MultiassetMultiAssetFilter; - readonly want: StagingXcmV3MultiassetMultiAssets; + readonly give: StagingXcmV4AssetAssetFilter; + readonly want: StagingXcmV4AssetAssets; readonly maximal: bool; } & Struct; readonly isInitiateReserveWithdraw: boolean; readonly asInitiateReserveWithdraw: { - readonly assets: StagingXcmV3MultiassetMultiAssetFilter; - readonly reserve: StagingXcmV3MultiLocation; - readonly xcm: StagingXcmV3Xcm; + readonly assets: StagingXcmV4AssetAssetFilter; + readonly reserve: StagingXcmV4Location; + readonly xcm: StagingXcmV4Xcm; } & Struct; readonly isInitiateTeleport: boolean; readonly asInitiateTeleport: { - readonly assets: StagingXcmV3MultiassetMultiAssetFilter; - readonly dest: StagingXcmV3MultiLocation; - readonly xcm: StagingXcmV3Xcm; + readonly assets: StagingXcmV4AssetAssetFilter; + readonly dest: StagingXcmV4Location; + readonly xcm: StagingXcmV4Xcm; } & Struct; readonly isReportHolding: boolean; readonly asReportHolding: { - readonly responseInfo: StagingXcmV3QueryResponseInfo; - readonly assets: StagingXcmV3MultiassetMultiAssetFilter; + readonly responseInfo: StagingXcmV4QueryResponseInfo; + readonly assets: StagingXcmV4AssetAssetFilter; } & Struct; readonly isBuyExecution: boolean; readonly asBuyExecution: { - readonly fees: StagingXcmV3MultiAsset; - readonly weightLimit: StagingXcmV3WeightLimit; + readonly fees: StagingXcmV4Asset; + readonly weightLimit: XcmV3WeightLimit; } & Struct; readonly isRefundSurplus: boolean; readonly isSetErrorHandler: boolean; - readonly asSetErrorHandler: StagingXcmV3Xcm; + readonly asSetErrorHandler: StagingXcmV4Xcm; readonly isSetAppendix: boolean; - readonly asSetAppendix: StagingXcmV3Xcm; + readonly asSetAppendix: StagingXcmV4Xcm; readonly isClearError: boolean; readonly isClaimAsset: boolean; readonly asClaimAsset: { - readonly assets: StagingXcmV3MultiassetMultiAssets; - readonly ticket: StagingXcmV3MultiLocation; + readonly assets: StagingXcmV4AssetAssets; + readonly ticket: StagingXcmV4Location; } & Struct; readonly isTrap: boolean; readonly asTrap: Compact; @@ -2795,19 +3178,19 @@ declare module '@polkadot/types/lookup' { } & Struct; readonly isUnsubscribeVersion: boolean; readonly isBurnAsset: boolean; - readonly asBurnAsset: StagingXcmV3MultiassetMultiAssets; + readonly asBurnAsset: StagingXcmV4AssetAssets; readonly isExpectAsset: boolean; - readonly asExpectAsset: StagingXcmV3MultiassetMultiAssets; + readonly asExpectAsset: StagingXcmV4AssetAssets; readonly isExpectOrigin: boolean; - readonly asExpectOrigin: Option; + readonly asExpectOrigin: Option; readonly isExpectError: boolean; - readonly asExpectError: Option>; + readonly asExpectError: Option>; readonly isExpectTransactStatus: boolean; - readonly asExpectTransactStatus: StagingXcmV3MaybeErrorCode; + readonly asExpectTransactStatus: XcmV3MaybeErrorCode; readonly isQueryPallet: boolean; readonly asQueryPallet: { readonly moduleName: Bytes; - readonly responseInfo: StagingXcmV3QueryResponseInfo; + readonly responseInfo: StagingXcmV4QueryResponseInfo; } & Struct; readonly isExpectPallet: boolean; readonly asExpectPallet: { @@ -2818,35 +3201,35 @@ declare module '@polkadot/types/lookup' { readonly minCrateMinor: Compact; } & Struct; readonly isReportTransactStatus: boolean; - readonly asReportTransactStatus: StagingXcmV3QueryResponseInfo; + readonly asReportTransactStatus: StagingXcmV4QueryResponseInfo; readonly isClearTransactStatus: boolean; readonly isUniversalOrigin: boolean; - readonly asUniversalOrigin: StagingXcmV3Junction; + readonly asUniversalOrigin: StagingXcmV4Junction; readonly isExportMessage: boolean; readonly asExportMessage: { - readonly network: StagingXcmV3JunctionNetworkId; - readonly destination: StagingXcmV3Junctions; - readonly xcm: StagingXcmV3Xcm; + readonly network: StagingXcmV4JunctionNetworkId; + readonly destination: StagingXcmV4Junctions; + readonly xcm: StagingXcmV4Xcm; } & Struct; readonly isLockAsset: boolean; readonly asLockAsset: { - readonly asset: StagingXcmV3MultiAsset; - readonly unlocker: StagingXcmV3MultiLocation; + readonly asset: StagingXcmV4Asset; + readonly unlocker: StagingXcmV4Location; } & Struct; readonly isUnlockAsset: boolean; readonly asUnlockAsset: { - readonly asset: StagingXcmV3MultiAsset; - readonly target: StagingXcmV3MultiLocation; + readonly asset: StagingXcmV4Asset; + readonly target: StagingXcmV4Location; } & Struct; readonly isNoteUnlockable: boolean; readonly asNoteUnlockable: { - readonly asset: StagingXcmV3MultiAsset; - readonly owner: StagingXcmV3MultiLocation; + readonly asset: StagingXcmV4Asset; + readonly owner: StagingXcmV4Location; } & Struct; readonly isRequestUnlock: boolean; readonly asRequestUnlock: { - readonly asset: StagingXcmV3MultiAsset; - readonly locker: StagingXcmV3MultiLocation; + readonly asset: StagingXcmV4Asset; + readonly locker: StagingXcmV4Location; } & Struct; readonly isSetFeesMode: boolean; readonly asSetFeesMode: { @@ -2856,80 +3239,33 @@ declare module '@polkadot/types/lookup' { readonly asSetTopic: U8aFixed; readonly isClearTopic: boolean; readonly isAliasOrigin: boolean; - readonly asAliasOrigin: StagingXcmV3MultiLocation; + readonly asAliasOrigin: StagingXcmV4Location; readonly isUnpaidExecution: boolean; readonly asUnpaidExecution: { - readonly weightLimit: StagingXcmV3WeightLimit; - readonly checkOrigin: Option; + readonly weightLimit: XcmV3WeightLimit; + readonly checkOrigin: Option; } & Struct; readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'ReportHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion' | 'BurnAsset' | 'ExpectAsset' | 'ExpectOrigin' | 'ExpectError' | 'ExpectTransactStatus' | 'QueryPallet' | 'ExpectPallet' | 'ReportTransactStatus' | 'ClearTransactStatus' | 'UniversalOrigin' | 'ExportMessage' | 'LockAsset' | 'UnlockAsset' | 'NoteUnlockable' | 'RequestUnlock' | 'SetFeesMode' | 'SetTopic' | 'ClearTopic' | 'AliasOrigin' | 'UnpaidExecution'; } - /** @name StagingXcmV3Response (242) */ - interface StagingXcmV3Response extends Enum { + /** @name StagingXcmV4Response (281) */ + interface StagingXcmV4Response extends Enum { readonly isNull: boolean; readonly isAssets: boolean; - readonly asAssets: StagingXcmV3MultiassetMultiAssets; + readonly asAssets: StagingXcmV4AssetAssets; readonly isExecutionResult: boolean; - readonly asExecutionResult: Option>; + readonly asExecutionResult: Option>; readonly isVersion: boolean; readonly asVersion: u32; readonly isPalletsInfo: boolean; - readonly asPalletsInfo: Vec; + readonly asPalletsInfo: Vec; readonly isDispatchResult: boolean; - readonly asDispatchResult: StagingXcmV3MaybeErrorCode; + readonly asDispatchResult: XcmV3MaybeErrorCode; readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version' | 'PalletsInfo' | 'DispatchResult'; } - /** @name StagingXcmV3TraitsError (245) */ - interface StagingXcmV3TraitsError extends Enum { - readonly isOverflow: boolean; - readonly isUnimplemented: boolean; - readonly isUntrustedReserveLocation: boolean; - readonly isUntrustedTeleportLocation: boolean; - readonly isLocationFull: boolean; - readonly isLocationNotInvertible: boolean; - readonly isBadOrigin: boolean; - readonly isInvalidLocation: boolean; - readonly isAssetNotFound: boolean; - readonly isFailedToTransactAsset: boolean; - readonly isNotWithdrawable: boolean; - readonly isLocationCannotHold: boolean; - readonly isExceedsMaxMessageSize: boolean; - readonly isDestinationUnsupported: boolean; - readonly isTransport: boolean; - readonly isUnroutable: boolean; - readonly isUnknownClaim: boolean; - readonly isFailedToDecode: boolean; - readonly isMaxWeightInvalid: boolean; - readonly isNotHoldingFees: boolean; - readonly isTooExpensive: boolean; - readonly isTrap: boolean; - readonly asTrap: u64; - readonly isExpectationFalse: boolean; - readonly isPalletNotFound: boolean; - readonly isNameMismatch: boolean; - readonly isVersionIncompatible: boolean; - readonly isHoldingWouldOverflow: boolean; - readonly isExportError: boolean; - readonly isReanchorFailed: boolean; - readonly isNoDeal: boolean; - readonly isFeesNotMet: boolean; - readonly isLockError: boolean; - readonly isNoPermission: boolean; - readonly isUnanchored: boolean; - readonly isNotDepositable: boolean; - readonly isUnhandledXcmVersion: boolean; - readonly isWeightLimitReached: boolean; - readonly asWeightLimitReached: SpWeightsWeightV2Weight; - readonly isBarrier: boolean; - readonly isWeightNotComputable: boolean; - readonly isExceedsStackLimit: boolean; - readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'LocationFull' | 'LocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'ExpectationFalse' | 'PalletNotFound' | 'NameMismatch' | 'VersionIncompatible' | 'HoldingWouldOverflow' | 'ExportError' | 'ReanchorFailed' | 'NoDeal' | 'FeesNotMet' | 'LockError' | 'NoPermission' | 'Unanchored' | 'NotDepositable' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable' | 'ExceedsStackLimit'; - } - - /** @name StagingXcmV3PalletInfo (247) */ - interface StagingXcmV3PalletInfo extends Struct { + /** @name StagingXcmV4PalletInfo (283) */ + interface StagingXcmV4PalletInfo extends Struct { readonly index: Compact; readonly name: Bytes; readonly moduleName: Bytes; @@ -2938,72 +3274,100 @@ declare module '@polkadot/types/lookup' { readonly patch: Compact; } - /** @name StagingXcmV3MaybeErrorCode (250) */ - interface StagingXcmV3MaybeErrorCode extends Enum { - readonly isSuccess: boolean; - readonly isError: boolean; - readonly asError: Bytes; - readonly isTruncatedError: boolean; - readonly asTruncatedError: Bytes; - readonly type: 'Success' | 'Error' | 'TruncatedError'; - } - - /** @name StagingXcmV3QueryResponseInfo (253) */ - interface StagingXcmV3QueryResponseInfo extends Struct { - readonly destination: StagingXcmV3MultiLocation; + /** @name StagingXcmV4QueryResponseInfo (287) */ + interface StagingXcmV4QueryResponseInfo extends Struct { + readonly destination: StagingXcmV4Location; readonly queryId: Compact; readonly maxWeight: SpWeightsWeightV2Weight; } - /** @name StagingXcmV3MultiassetMultiAssetFilter (254) */ - interface StagingXcmV3MultiassetMultiAssetFilter extends Enum { + /** @name StagingXcmV4AssetAssetFilter (288) */ + interface StagingXcmV4AssetAssetFilter extends Enum { readonly isDefinite: boolean; - readonly asDefinite: StagingXcmV3MultiassetMultiAssets; + readonly asDefinite: StagingXcmV4AssetAssets; readonly isWild: boolean; - readonly asWild: StagingXcmV3MultiassetWildMultiAsset; + readonly asWild: StagingXcmV4AssetWildAsset; readonly type: 'Definite' | 'Wild'; } - /** @name StagingXcmV3MultiassetWildMultiAsset (255) */ - interface StagingXcmV3MultiassetWildMultiAsset extends Enum { + /** @name StagingXcmV4AssetWildAsset (289) */ + interface StagingXcmV4AssetWildAsset extends Enum { readonly isAll: boolean; readonly isAllOf: boolean; readonly asAllOf: { - readonly id: StagingXcmV3MultiassetAssetId; - readonly fun: StagingXcmV3MultiassetWildFungibility; + readonly id: StagingXcmV4AssetAssetId; + readonly fun: StagingXcmV4AssetWildFungibility; } & Struct; readonly isAllCounted: boolean; readonly asAllCounted: Compact; readonly isAllOfCounted: boolean; readonly asAllOfCounted: { - readonly id: StagingXcmV3MultiassetAssetId; - readonly fun: StagingXcmV3MultiassetWildFungibility; + readonly id: StagingXcmV4AssetAssetId; + readonly fun: StagingXcmV4AssetWildFungibility; readonly count: Compact; } & Struct; readonly type: 'All' | 'AllOf' | 'AllCounted' | 'AllOfCounted'; } - /** @name StagingXcmV3MultiassetWildFungibility (256) */ - interface StagingXcmV3MultiassetWildFungibility extends Enum { + /** @name StagingXcmV4AssetWildFungibility (290) */ + interface StagingXcmV4AssetWildFungibility extends Enum { readonly isFungible: boolean; readonly isNonFungible: boolean; readonly type: 'Fungible' | 'NonFungible'; } - /** @name CumulusPalletXcmCall (265) */ + /** @name StagingXcmExecutorAssetTransferTransferType (302) */ + interface StagingXcmExecutorAssetTransferTransferType extends Enum { + readonly isTeleport: boolean; + readonly isLocalReserve: boolean; + readonly isDestinationReserve: boolean; + readonly isRemoteReserve: boolean; + readonly asRemoteReserve: XcmVersionedLocation; + readonly type: 'Teleport' | 'LocalReserve' | 'DestinationReserve' | 'RemoteReserve'; + } + + /** @name XcmVersionedAssetId (303) */ + interface XcmVersionedAssetId extends Enum { + readonly isV3: boolean; + readonly asV3: XcmV3MultiassetAssetId; + readonly isV4: boolean; + readonly asV4: StagingXcmV4AssetAssetId; + readonly type: 'V3' | 'V4'; + } + + /** @name CumulusPalletXcmCall (304) */ type CumulusPalletXcmCall = Null; - /** @name CumulusPalletDmpQueueCall (266) */ - interface CumulusPalletDmpQueueCall extends Enum { - readonly isServiceOverweight: boolean; - readonly asServiceOverweight: { - readonly index: u64; + /** @name CumulusPalletDmpQueueCall (305) */ + type CumulusPalletDmpQueueCall = Null; + + /** @name PalletMessageQueueCall (306) */ + interface PalletMessageQueueCall extends Enum { + readonly isReapPage: boolean; + readonly asReapPage: { + readonly messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin; + readonly pageIndex: u32; + } & Struct; + readonly isExecuteOverweight: boolean; + readonly asExecuteOverweight: { + readonly messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin; + readonly page: u32; + readonly index: u32; readonly weightLimit: SpWeightsWeightV2Weight; } & Struct; - readonly type: 'ServiceOverweight'; + readonly type: 'ReapPage' | 'ExecuteOverweight'; + } + + /** @name CumulusPrimitivesCoreAggregateMessageOrigin (307) */ + interface CumulusPrimitivesCoreAggregateMessageOrigin extends Enum { + readonly isHere: boolean; + readonly isParent: boolean; + readonly isSibling: boolean; + readonly asSibling: u32; + readonly type: 'Here' | 'Parent' | 'Sibling'; } - /** @name PalletInflationCall (267) */ + /** @name PalletInflationCall (308) */ interface PalletInflationCall extends Enum { readonly isStartInflation: boolean; readonly asStartInflation: { @@ -3012,7 +3376,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'StartInflation'; } - /** @name PalletUniqueCall (268) */ + /** @name PalletUniqueCall (309) */ interface PalletUniqueCall extends Enum { readonly isCreateCollection: boolean; readonly asCreateCollection: { @@ -3193,7 +3557,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'ApproveFrom' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem'; } - /** @name UpDataStructsCollectionMode (273) */ + /** @name UpDataStructsCollectionMode (314) */ interface UpDataStructsCollectionMode extends Enum { readonly isNft: boolean; readonly isFungible: boolean; @@ -3202,7 +3566,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Nft' | 'Fungible' | 'ReFungible'; } - /** @name UpDataStructsCreateCollectionData (274) */ + /** @name UpDataStructsCreateCollectionData (315) */ interface UpDataStructsCreateCollectionData extends Struct { readonly mode: UpDataStructsCollectionMode; readonly access: Option; @@ -3218,7 +3582,7 @@ declare module '@polkadot/types/lookup' { readonly flags: U8aFixed; } - /** @name PalletEvmAccountBasicCrossAccountIdRepr (275) */ + /** @name PalletEvmAccountBasicCrossAccountIdRepr (316) */ interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum { readonly isSubstrate: boolean; readonly asSubstrate: AccountId32; @@ -3227,14 +3591,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'Substrate' | 'Ethereum'; } - /** @name UpDataStructsAccessMode (277) */ + /** @name UpDataStructsAccessMode (318) */ interface UpDataStructsAccessMode extends Enum { readonly isNormal: boolean; readonly isAllowList: boolean; readonly type: 'Normal' | 'AllowList'; } - /** @name UpDataStructsCollectionLimits (279) */ + /** @name UpDataStructsCollectionLimits (320) */ interface UpDataStructsCollectionLimits extends Struct { readonly accountTokenOwnershipLimit: Option; readonly sponsoredDataSize: Option; @@ -3247,7 +3611,7 @@ declare module '@polkadot/types/lookup' { readonly transfersEnabled: Option; } - /** @name UpDataStructsSponsoringRateLimit (281) */ + /** @name UpDataStructsSponsoringRateLimit (322) */ interface UpDataStructsSponsoringRateLimit extends Enum { readonly isSponsoringDisabled: boolean; readonly isBlocks: boolean; @@ -3255,43 +3619,43 @@ declare module '@polkadot/types/lookup' { readonly type: 'SponsoringDisabled' | 'Blocks'; } - /** @name UpDataStructsCollectionPermissions (284) */ + /** @name UpDataStructsCollectionPermissions (325) */ interface UpDataStructsCollectionPermissions extends Struct { readonly access: Option; readonly mintMode: Option; readonly nesting: Option; } - /** @name UpDataStructsNestingPermissions (286) */ + /** @name UpDataStructsNestingPermissions (327) */ interface UpDataStructsNestingPermissions extends Struct { readonly tokenOwner: bool; readonly collectionAdmin: bool; readonly restricted: Option; } - /** @name UpDataStructsOwnerRestrictedSet (288) */ + /** @name UpDataStructsOwnerRestrictedSet (329) */ interface UpDataStructsOwnerRestrictedSet extends BTreeSet {} - /** @name UpDataStructsPropertyKeyPermission (294) */ + /** @name UpDataStructsPropertyKeyPermission (334) */ interface UpDataStructsPropertyKeyPermission extends Struct { readonly key: Bytes; readonly permission: UpDataStructsPropertyPermission; } - /** @name UpDataStructsPropertyPermission (296) */ + /** @name UpDataStructsPropertyPermission (336) */ interface UpDataStructsPropertyPermission extends Struct { readonly mutable: bool; readonly collectionAdmin: bool; readonly tokenOwner: bool; } - /** @name UpDataStructsProperty (299) */ + /** @name UpDataStructsProperty (339) */ interface UpDataStructsProperty extends Struct { readonly key: Bytes; readonly value: Bytes; } - /** @name UpDataStructsCreateItemData (304) */ + /** @name UpDataStructsCreateItemData (344) */ interface UpDataStructsCreateItemData extends Enum { readonly isNft: boolean; readonly asNft: UpDataStructsCreateNftData; @@ -3302,23 +3666,23 @@ declare module '@polkadot/types/lookup' { readonly type: 'Nft' | 'Fungible' | 'ReFungible'; } - /** @name UpDataStructsCreateNftData (305) */ + /** @name UpDataStructsCreateNftData (345) */ interface UpDataStructsCreateNftData extends Struct { readonly properties: Vec; } - /** @name UpDataStructsCreateFungibleData (306) */ + /** @name UpDataStructsCreateFungibleData (346) */ interface UpDataStructsCreateFungibleData extends Struct { readonly value: u128; } - /** @name UpDataStructsCreateReFungibleData (307) */ + /** @name UpDataStructsCreateReFungibleData (347) */ interface UpDataStructsCreateReFungibleData extends Struct { readonly pieces: u128; readonly properties: Vec; } - /** @name UpDataStructsCreateItemExData (311) */ + /** @name UpDataStructsCreateItemExData (351) */ interface UpDataStructsCreateItemExData extends Enum { readonly isNft: boolean; readonly asNft: Vec; @@ -3331,26 +3695,26 @@ declare module '@polkadot/types/lookup' { readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners'; } - /** @name UpDataStructsCreateNftExData (313) */ + /** @name UpDataStructsCreateNftExData (353) */ interface UpDataStructsCreateNftExData extends Struct { readonly properties: Vec; readonly owner: PalletEvmAccountBasicCrossAccountIdRepr; } - /** @name UpDataStructsCreateRefungibleExSingleOwner (320) */ + /** @name UpDataStructsCreateRefungibleExSingleOwner (360) */ interface UpDataStructsCreateRefungibleExSingleOwner extends Struct { readonly user: PalletEvmAccountBasicCrossAccountIdRepr; readonly pieces: u128; readonly properties: Vec; } - /** @name UpDataStructsCreateRefungibleExMultipleOwners (322) */ + /** @name UpDataStructsCreateRefungibleExMultipleOwners (362) */ interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct { readonly users: BTreeMap; readonly properties: Vec; } - /** @name PalletConfigurationCall (323) */ + /** @name PalletConfigurationCall (363) */ interface PalletConfigurationCall extends Enum { readonly isSetWeightToFeeCoefficientOverride: boolean; readonly asSetWeightToFeeCoefficientOverride: { @@ -3379,7 +3743,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold'; } - /** @name PalletConfigurationAppPromotionConfiguration (325) */ + /** @name PalletConfigurationAppPromotionConfiguration (365) */ interface PalletConfigurationAppPromotionConfiguration extends Struct { readonly recalculationInterval: Option; readonly pendingInterval: Option; @@ -3387,10 +3751,10 @@ declare module '@polkadot/types/lookup' { readonly maxStakersPerCalculation: Option; } - /** @name PalletStructureCall (330) */ + /** @name PalletStructureCall (370) */ type PalletStructureCall = Null; - /** @name PalletAppPromotionCall (331) */ + /** @name PalletAppPromotionCall (371) */ interface PalletAppPromotionCall extends Enum { readonly isSetAdminAddress: boolean; readonly asSetAdminAddress: { @@ -3425,39 +3789,34 @@ declare module '@polkadot/types/lookup' { readonly asUnstakePartial: { readonly amount: u128; } & Struct; - readonly isForceUnstake: boolean; - readonly asForceUnstake: { + readonly isResolveSkippedBlocks: boolean; + readonly asResolveSkippedBlocks: { readonly pendingBlocks: Vec; } & Struct; - readonly type: 'SetAdminAddress' | 'Stake' | 'UnstakeAll' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers' | 'UnstakePartial' | 'ForceUnstake'; + readonly type: 'SetAdminAddress' | 'Stake' | 'UnstakeAll' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers' | 'UnstakePartial' | 'ResolveSkippedBlocks'; } - /** @name PalletForeignAssetsModuleCall (333) */ + /** @name PalletForeignAssetsModuleCall (373) */ interface PalletForeignAssetsModuleCall extends Enum { - readonly isRegisterForeignAsset: boolean; - readonly asRegisterForeignAsset: { - readonly owner: AccountId32; - readonly location: StagingXcmVersionedMultiLocation; - readonly metadata: PalletForeignAssetsModuleAssetMetadata; - } & Struct; - readonly isUpdateForeignAsset: boolean; - readonly asUpdateForeignAsset: { - readonly foreignAssetId: u32; - readonly location: StagingXcmVersionedMultiLocation; - readonly metadata: PalletForeignAssetsModuleAssetMetadata; + readonly isForceRegisterForeignAsset: boolean; + readonly asForceRegisterForeignAsset: { + readonly versionedAssetId: XcmVersionedAssetId; + readonly name: Vec; + readonly tokenPrefix: Bytes; + readonly mode: PalletForeignAssetsForeignCollectionMode; } & Struct; - readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset'; + readonly type: 'ForceRegisterForeignAsset'; } - /** @name PalletForeignAssetsModuleAssetMetadata (334) */ - interface PalletForeignAssetsModuleAssetMetadata extends Struct { - readonly name: Bytes; - readonly symbol: Bytes; - readonly decimals: u8; - readonly minimalBalance: u128; + /** @name PalletForeignAssetsForeignCollectionMode (374) */ + interface PalletForeignAssetsForeignCollectionMode extends Enum { + readonly isNft: boolean; + readonly isFungible: boolean; + readonly asFungible: u8; + readonly type: 'Nft' | 'Fungible'; } - /** @name PalletEvmCall (337) */ + /** @name PalletEvmCall (375) */ interface PalletEvmCall extends Enum { readonly isWithdraw: boolean; readonly asWithdraw: { @@ -3502,7 +3861,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2'; } - /** @name PalletEthereumCall (344) */ + /** @name PalletEthereumCall (381) */ interface PalletEthereumCall extends Enum { readonly isTransact: boolean; readonly asTransact: { @@ -3511,7 +3870,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Transact'; } - /** @name EthereumTransactionTransactionV2 (345) */ + /** @name EthereumTransactionTransactionV2 (382) */ interface EthereumTransactionTransactionV2 extends Enum { readonly isLegacy: boolean; readonly asLegacy: EthereumTransactionLegacyTransaction; @@ -3522,7 +3881,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Legacy' | 'Eip2930' | 'Eip1559'; } - /** @name EthereumTransactionLegacyTransaction (346) */ + /** @name EthereumTransactionLegacyTransaction (383) */ interface EthereumTransactionLegacyTransaction extends Struct { readonly nonce: U256; readonly gasPrice: U256; @@ -3533,7 +3892,7 @@ declare module '@polkadot/types/lookup' { readonly signature: EthereumTransactionTransactionSignature; } - /** @name EthereumTransactionTransactionAction (347) */ + /** @name EthereumTransactionTransactionAction (384) */ interface EthereumTransactionTransactionAction extends Enum { readonly isCall: boolean; readonly asCall: H160; @@ -3541,14 +3900,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'Call' | 'Create'; } - /** @name EthereumTransactionTransactionSignature (348) */ + /** @name EthereumTransactionTransactionSignature (385) */ interface EthereumTransactionTransactionSignature extends Struct { readonly v: u64; readonly r: H256; readonly s: H256; } - /** @name EthereumTransactionEip2930Transaction (350) */ + /** @name EthereumTransactionEip2930Transaction (387) */ interface EthereumTransactionEip2930Transaction extends Struct { readonly chainId: u64; readonly nonce: U256; @@ -3563,13 +3922,13 @@ declare module '@polkadot/types/lookup' { readonly s: H256; } - /** @name EthereumTransactionAccessListItem (352) */ + /** @name EthereumTransactionAccessListItem (389) */ interface EthereumTransactionAccessListItem extends Struct { readonly address: H160; readonly storageKeys: Vec; } - /** @name EthereumTransactionEip1559Transaction (353) */ + /** @name EthereumTransactionEip1559Transaction (390) */ interface EthereumTransactionEip1559Transaction extends Struct { readonly chainId: u64; readonly nonce: U256; @@ -3585,7 +3944,7 @@ declare module '@polkadot/types/lookup' { readonly s: H256; } - /** @name PalletEvmContractHelpersCall (354) */ + /** @name PalletEvmContractHelpersCall (391) */ interface PalletEvmContractHelpersCall extends Enum { readonly isMigrateFromSelfSponsoring: boolean; readonly asMigrateFromSelfSponsoring: { @@ -3594,7 +3953,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'MigrateFromSelfSponsoring'; } - /** @name PalletEvmMigrationCall (356) */ + /** @name PalletEvmMigrationCall (393) */ interface PalletEvmMigrationCall extends Enum { readonly isBegin: boolean; readonly asBegin: { @@ -3622,21 +3981,21 @@ declare module '@polkadot/types/lookup' { readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents' | 'RemoveRmrkData'; } - /** @name EthereumLog (360) */ + /** @name EthereumLog (397) */ interface EthereumLog extends Struct { readonly address: H160; readonly topics: Vec; readonly data: Bytes; } - /** @name PalletMaintenanceCall (361) */ + /** @name PalletMaintenanceCall (398) */ interface PalletMaintenanceCall extends Enum { readonly isEnable: boolean; readonly isDisable: boolean; readonly type: 'Enable' | 'Disable'; } - /** @name PalletUtilityCall (362) */ + /** @name PalletUtilityCall (399) */ interface PalletUtilityCall extends Enum { readonly isBatch: boolean; readonly asBatch: { @@ -3668,7 +4027,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Batch' | 'AsDerivative' | 'BatchAll' | 'DispatchAs' | 'ForceBatch' | 'WithWeight'; } - /** @name PalletTestUtilsCall (364) */ + /** @name PalletTestUtilsCall (401) */ interface PalletTestUtilsCall extends Enum { readonly isEnable: boolean; readonly isSetTestValue: boolean; @@ -3688,7 +4047,10 @@ declare module '@polkadot/types/lookup' { readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll'; } - /** @name PalletSchedulerEvent (366) */ + /** @name SpRuntimeBlakeTwo256 (402) */ + type SpRuntimeBlakeTwo256 = Null; + + /** @name PalletSchedulerEvent (404) */ interface PalletSchedulerEvent extends Enum { readonly isScheduled: boolean; readonly asScheduled: { @@ -3706,6 +4068,18 @@ declare module '@polkadot/types/lookup' { readonly id: Option; readonly result: Result; } & Struct; + readonly isRetrySet: boolean; + readonly asRetrySet: { + readonly task: ITuple<[u32, u32]>; + readonly id: Option; + readonly period: u32; + readonly retries: u8; + } & Struct; + readonly isRetryCancelled: boolean; + readonly asRetryCancelled: { + readonly task: ITuple<[u32, u32]>; + readonly id: Option; + } & Struct; readonly isCallUnavailable: boolean; readonly asCallUnavailable: { readonly task: ITuple<[u32, u32]>; @@ -3716,78 +4090,50 @@ declare module '@polkadot/types/lookup' { readonly task: ITuple<[u32, u32]>; readonly id: Option; } & Struct; + readonly isRetryFailed: boolean; + readonly asRetryFailed: { + readonly task: ITuple<[u32, u32]>; + readonly id: Option; + } & Struct; readonly isPermanentlyOverweight: boolean; readonly asPermanentlyOverweight: { readonly task: ITuple<[u32, u32]>; readonly id: Option; } & Struct; - readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallUnavailable' | 'PeriodicFailed' | 'PermanentlyOverweight'; + readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'RetrySet' | 'RetryCancelled' | 'CallUnavailable' | 'PeriodicFailed' | 'RetryFailed' | 'PermanentlyOverweight'; } - /** @name CumulusPalletXcmpQueueEvent (367) */ + /** @name CumulusPalletXcmpQueueEvent (407) */ interface CumulusPalletXcmpQueueEvent extends Enum { - readonly isSuccess: boolean; - readonly asSuccess: { - readonly messageHash: U8aFixed; - readonly messageId: U8aFixed; - readonly weight: SpWeightsWeightV2Weight; - } & Struct; - readonly isFail: boolean; - readonly asFail: { - readonly messageHash: U8aFixed; - readonly messageId: U8aFixed; - readonly error: StagingXcmV3TraitsError; - readonly weight: SpWeightsWeightV2Weight; - } & Struct; - readonly isBadVersion: boolean; - readonly asBadVersion: { - readonly messageHash: U8aFixed; - } & Struct; - readonly isBadFormat: boolean; - readonly asBadFormat: { - readonly messageHash: U8aFixed; - } & Struct; readonly isXcmpMessageSent: boolean; readonly asXcmpMessageSent: { readonly messageHash: U8aFixed; } & Struct; - readonly isOverweightEnqueued: boolean; - readonly asOverweightEnqueued: { - readonly sender: u32; - readonly sentAt: u32; - readonly index: u64; - readonly required: SpWeightsWeightV2Weight; - } & Struct; - readonly isOverweightServiced: boolean; - readonly asOverweightServiced: { - readonly index: u64; - readonly used: SpWeightsWeightV2Weight; - } & Struct; - readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced'; + readonly type: 'XcmpMessageSent'; } - /** @name PalletXcmEvent (368) */ + /** @name PalletXcmEvent (408) */ interface PalletXcmEvent extends Enum { readonly isAttempted: boolean; readonly asAttempted: { - readonly outcome: StagingXcmV3TraitsOutcome; + readonly outcome: StagingXcmV4TraitsOutcome; } & Struct; readonly isSent: boolean; readonly asSent: { - readonly origin: StagingXcmV3MultiLocation; - readonly destination: StagingXcmV3MultiLocation; - readonly message: StagingXcmV3Xcm; + readonly origin: StagingXcmV4Location; + readonly destination: StagingXcmV4Location; + readonly message: StagingXcmV4Xcm; readonly messageId: U8aFixed; } & Struct; readonly isUnexpectedResponse: boolean; readonly asUnexpectedResponse: { - readonly origin: StagingXcmV3MultiLocation; + readonly origin: StagingXcmV4Location; readonly queryId: u64; } & Struct; readonly isResponseReady: boolean; readonly asResponseReady: { readonly queryId: u64; - readonly response: StagingXcmV3Response; + readonly response: StagingXcmV4Response; } & Struct; readonly isNotified: boolean; readonly asNotified: { @@ -3817,13 +4163,13 @@ declare module '@polkadot/types/lookup' { } & Struct; readonly isInvalidResponder: boolean; readonly asInvalidResponder: { - readonly origin: StagingXcmV3MultiLocation; + readonly origin: StagingXcmV4Location; readonly queryId: u64; - readonly expectedLocation: Option; + readonly expectedLocation: Option; } & Struct; readonly isInvalidResponderVersion: boolean; readonly asInvalidResponderVersion: { - readonly origin: StagingXcmV3MultiLocation; + readonly origin: StagingXcmV4Location; readonly queryId: u64; } & Struct; readonly isResponseTaken: boolean; @@ -3833,141 +4179,186 @@ declare module '@polkadot/types/lookup' { readonly isAssetsTrapped: boolean; readonly asAssetsTrapped: { readonly hash_: H256; - readonly origin: StagingXcmV3MultiLocation; - readonly assets: StagingXcmVersionedMultiAssets; + readonly origin: StagingXcmV4Location; + readonly assets: XcmVersionedAssets; } & Struct; readonly isVersionChangeNotified: boolean; readonly asVersionChangeNotified: { - readonly destination: StagingXcmV3MultiLocation; + readonly destination: StagingXcmV4Location; readonly result: u32; - readonly cost: StagingXcmV3MultiassetMultiAssets; + readonly cost: StagingXcmV4AssetAssets; readonly messageId: U8aFixed; } & Struct; readonly isSupportedVersionChanged: boolean; readonly asSupportedVersionChanged: { - readonly location: StagingXcmV3MultiLocation; + readonly location: StagingXcmV4Location; readonly version: u32; } & Struct; readonly isNotifyTargetSendFail: boolean; readonly asNotifyTargetSendFail: { - readonly location: StagingXcmV3MultiLocation; + readonly location: StagingXcmV4Location; readonly queryId: u64; - readonly error: StagingXcmV3TraitsError; + readonly error: XcmV3TraitsError; } & Struct; readonly isNotifyTargetMigrationFail: boolean; readonly asNotifyTargetMigrationFail: { - readonly location: StagingXcmVersionedMultiLocation; + readonly location: XcmVersionedLocation; readonly queryId: u64; } & Struct; readonly isInvalidQuerierVersion: boolean; readonly asInvalidQuerierVersion: { - readonly origin: StagingXcmV3MultiLocation; + readonly origin: StagingXcmV4Location; readonly queryId: u64; } & Struct; readonly isInvalidQuerier: boolean; readonly asInvalidQuerier: { - readonly origin: StagingXcmV3MultiLocation; + readonly origin: StagingXcmV4Location; readonly queryId: u64; - readonly expectedQuerier: StagingXcmV3MultiLocation; - readonly maybeActualQuerier: Option; + readonly expectedQuerier: StagingXcmV4Location; + readonly maybeActualQuerier: Option; } & Struct; readonly isVersionNotifyStarted: boolean; readonly asVersionNotifyStarted: { - readonly destination: StagingXcmV3MultiLocation; - readonly cost: StagingXcmV3MultiassetMultiAssets; + readonly destination: StagingXcmV4Location; + readonly cost: StagingXcmV4AssetAssets; readonly messageId: U8aFixed; } & Struct; readonly isVersionNotifyRequested: boolean; readonly asVersionNotifyRequested: { - readonly destination: StagingXcmV3MultiLocation; - readonly cost: StagingXcmV3MultiassetMultiAssets; + readonly destination: StagingXcmV4Location; + readonly cost: StagingXcmV4AssetAssets; readonly messageId: U8aFixed; } & Struct; readonly isVersionNotifyUnrequested: boolean; readonly asVersionNotifyUnrequested: { - readonly destination: StagingXcmV3MultiLocation; - readonly cost: StagingXcmV3MultiassetMultiAssets; + readonly destination: StagingXcmV4Location; + readonly cost: StagingXcmV4AssetAssets; readonly messageId: U8aFixed; } & Struct; readonly isFeesPaid: boolean; readonly asFeesPaid: { - readonly paying: StagingXcmV3MultiLocation; - readonly fees: StagingXcmV3MultiassetMultiAssets; + readonly paying: StagingXcmV4Location; + readonly fees: StagingXcmV4AssetAssets; } & Struct; readonly isAssetsClaimed: boolean; readonly asAssetsClaimed: { readonly hash_: H256; - readonly origin: StagingXcmV3MultiLocation; - readonly assets: StagingXcmVersionedMultiAssets; + readonly origin: StagingXcmV4Location; + readonly assets: XcmVersionedAssets; + } & Struct; + readonly isVersionMigrationFinished: boolean; + readonly asVersionMigrationFinished: { + readonly version: u32; } & Struct; - readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'InvalidQuerierVersion' | 'InvalidQuerier' | 'VersionNotifyStarted' | 'VersionNotifyRequested' | 'VersionNotifyUnrequested' | 'FeesPaid' | 'AssetsClaimed'; + readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'InvalidQuerierVersion' | 'InvalidQuerier' | 'VersionNotifyStarted' | 'VersionNotifyRequested' | 'VersionNotifyUnrequested' | 'FeesPaid' | 'AssetsClaimed' | 'VersionMigrationFinished'; } - /** @name StagingXcmV3TraitsOutcome (369) */ - interface StagingXcmV3TraitsOutcome extends Enum { + /** @name StagingXcmV4TraitsOutcome (409) */ + interface StagingXcmV4TraitsOutcome extends Enum { readonly isComplete: boolean; - readonly asComplete: SpWeightsWeightV2Weight; + readonly asComplete: { + readonly used: SpWeightsWeightV2Weight; + } & Struct; readonly isIncomplete: boolean; - readonly asIncomplete: ITuple<[SpWeightsWeightV2Weight, StagingXcmV3TraitsError]>; + readonly asIncomplete: { + readonly used: SpWeightsWeightV2Weight; + readonly error: XcmV3TraitsError; + } & Struct; readonly isError: boolean; - readonly asError: StagingXcmV3TraitsError; + readonly asError: { + readonly error: XcmV3TraitsError; + } & Struct; readonly type: 'Complete' | 'Incomplete' | 'Error'; } - /** @name CumulusPalletXcmEvent (370) */ + /** @name CumulusPalletXcmEvent (410) */ interface CumulusPalletXcmEvent extends Enum { readonly isInvalidFormat: boolean; readonly asInvalidFormat: U8aFixed; readonly isUnsupportedVersion: boolean; readonly asUnsupportedVersion: U8aFixed; readonly isExecutedDownward: boolean; - readonly asExecutedDownward: ITuple<[U8aFixed, StagingXcmV3TraitsOutcome]>; + readonly asExecutedDownward: ITuple<[U8aFixed, StagingXcmV4TraitsOutcome]>; readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward'; } - /** @name CumulusPalletDmpQueueEvent (371) */ + /** @name CumulusPalletDmpQueueEvent (411) */ interface CumulusPalletDmpQueueEvent extends Enum { - readonly isInvalidFormat: boolean; - readonly asInvalidFormat: { - readonly messageHash: U8aFixed; + readonly isStartedExport: boolean; + readonly isExported: boolean; + readonly asExported: { + readonly page: u32; + } & Struct; + readonly isExportFailed: boolean; + readonly asExportFailed: { + readonly page: u32; + } & Struct; + readonly isCompletedExport: boolean; + readonly isStartedOverweightExport: boolean; + readonly isExportedOverweight: boolean; + readonly asExportedOverweight: { + readonly index: u64; } & Struct; - readonly isUnsupportedVersion: boolean; - readonly asUnsupportedVersion: { - readonly messageHash: U8aFixed; + readonly isExportOverweightFailed: boolean; + readonly asExportOverweightFailed: { + readonly index: u64; } & Struct; - readonly isExecutedDownward: boolean; - readonly asExecutedDownward: { - readonly messageHash: U8aFixed; - readonly messageId: U8aFixed; - readonly outcome: StagingXcmV3TraitsOutcome; + readonly isCompletedOverweightExport: boolean; + readonly isStartedCleanup: boolean; + readonly isCleanedSome: boolean; + readonly asCleanedSome: { + readonly keysRemoved: u32; } & Struct; - readonly isWeightExhausted: boolean; - readonly asWeightExhausted: { - readonly messageHash: U8aFixed; - readonly messageId: U8aFixed; - readonly remainingWeight: SpWeightsWeightV2Weight; - readonly requiredWeight: SpWeightsWeightV2Weight; + readonly isCompleted: boolean; + readonly asCompleted: { + readonly error: bool; } & Struct; - readonly isOverweightEnqueued: boolean; - readonly asOverweightEnqueued: { - readonly messageHash: U8aFixed; - readonly messageId: U8aFixed; - readonly overweightIndex: u64; - readonly requiredWeight: SpWeightsWeightV2Weight; + readonly type: 'StartedExport' | 'Exported' | 'ExportFailed' | 'CompletedExport' | 'StartedOverweightExport' | 'ExportedOverweight' | 'ExportOverweightFailed' | 'CompletedOverweightExport' | 'StartedCleanup' | 'CleanedSome' | 'Completed'; + } + + /** @name PalletMessageQueueEvent (412) */ + interface PalletMessageQueueEvent extends Enum { + readonly isProcessingFailed: boolean; + readonly asProcessingFailed: { + readonly id: H256; + readonly origin: CumulusPrimitivesCoreAggregateMessageOrigin; + readonly error: FrameSupportMessagesProcessMessageError; } & Struct; - readonly isOverweightServiced: boolean; - readonly asOverweightServiced: { - readonly overweightIndex: u64; + readonly isProcessed: boolean; + readonly asProcessed: { + readonly id: H256; + readonly origin: CumulusPrimitivesCoreAggregateMessageOrigin; readonly weightUsed: SpWeightsWeightV2Weight; + readonly success: bool; } & Struct; - readonly isMaxMessagesExhausted: boolean; - readonly asMaxMessagesExhausted: { - readonly messageHash: U8aFixed; + readonly isOverweightEnqueued: boolean; + readonly asOverweightEnqueued: { + readonly id: U8aFixed; + readonly origin: CumulusPrimitivesCoreAggregateMessageOrigin; + readonly pageIndex: u32; + readonly messageIndex: u32; + } & Struct; + readonly isPageReaped: boolean; + readonly asPageReaped: { + readonly origin: CumulusPrimitivesCoreAggregateMessageOrigin; + readonly index: u32; } & Struct; - readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced' | 'MaxMessagesExhausted'; + readonly type: 'ProcessingFailed' | 'Processed' | 'OverweightEnqueued' | 'PageReaped'; + } + + /** @name FrameSupportMessagesProcessMessageError (413) */ + interface FrameSupportMessagesProcessMessageError extends Enum { + readonly isBadFormat: boolean; + readonly isCorrupt: boolean; + readonly isUnsupported: boolean; + readonly isOverweight: boolean; + readonly asOverweight: SpWeightsWeightV2Weight; + readonly isYield: boolean; + readonly isStackLimitReached: boolean; + readonly type: 'BadFormat' | 'Corrupt' | 'Unsupported' | 'Overweight' | 'Yield' | 'StackLimitReached'; } - /** @name PalletConfigurationEvent (372) */ + /** @name PalletConfigurationEvent (414) */ interface PalletConfigurationEvent extends Enum { readonly isNewDesiredCollators: boolean; readonly asNewDesiredCollators: { @@ -3984,7 +4375,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NewDesiredCollators' | 'NewCollatorLicenseBond' | 'NewCollatorKickThreshold'; } - /** @name PalletCommonEvent (373) */ + /** @name PalletCommonEvent (415) */ interface PalletCommonEvent extends Enum { readonly isCollectionCreated: boolean; readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>; @@ -4033,14 +4424,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved'; } - /** @name PalletStructureEvent (374) */ + /** @name PalletStructureEvent (416) */ interface PalletStructureEvent extends Enum { readonly isExecuted: boolean; readonly asExecuted: Result; readonly type: 'Executed'; } - /** @name PalletAppPromotionEvent (375) */ + /** @name PalletAppPromotionEvent (417) */ interface PalletAppPromotionEvent extends Enum { readonly isStakingRecalculation: boolean; readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>; @@ -4053,34 +4444,46 @@ declare module '@polkadot/types/lookup' { readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin'; } - /** @name PalletForeignAssetsModuleEvent (376) */ + /** @name PalletForeignAssetsModuleEvent (418) */ interface PalletForeignAssetsModuleEvent extends Enum { readonly isForeignAssetRegistered: boolean; readonly asForeignAssetRegistered: { - readonly assetId: u32; - readonly assetAddress: StagingXcmV3MultiLocation; - readonly metadata: PalletForeignAssetsModuleAssetMetadata; - } & Struct; - readonly isForeignAssetUpdated: boolean; - readonly asForeignAssetUpdated: { - readonly assetId: u32; - readonly assetAddress: StagingXcmV3MultiLocation; - readonly metadata: PalletForeignAssetsModuleAssetMetadata; + readonly collectionId: u32; + readonly assetId: XcmVersionedAssetId; } & Struct; - readonly isAssetRegistered: boolean; - readonly asAssetRegistered: { - readonly assetId: PalletForeignAssetsAssetId; - readonly metadata: PalletForeignAssetsModuleAssetMetadata; + readonly isMigrationStatus: boolean; + readonly asMigrationStatus: PalletForeignAssetsMigrationStatus; + readonly type: 'ForeignAssetRegistered' | 'MigrationStatus'; + } + + /** @name PalletForeignAssetsMigrationStatus (419) */ + interface PalletForeignAssetsMigrationStatus extends Enum { + readonly isV3ToV4: boolean; + readonly asV3ToV4: PalletForeignAssetsMigrationStatusV3ToV4; + readonly type: 'V3ToV4'; + } + + /** @name PalletForeignAssetsMigrationStatusV3ToV4 (420) */ + interface PalletForeignAssetsMigrationStatusV3ToV4 extends Enum { + readonly isDone: boolean; + readonly isSkippedInconsistentAssetData: boolean; + readonly asSkippedInconsistentAssetData: XcmV3MultiassetAssetId; + readonly isSkippedInconsistentAssetInstanceData: boolean; + readonly asSkippedInconsistentAssetInstanceData: { + readonly assetId: XcmV3MultiassetAssetId; + readonly assetInstance: XcmV3MultiassetAssetInstance; } & Struct; - readonly isAssetUpdated: boolean; - readonly asAssetUpdated: { - readonly assetId: PalletForeignAssetsAssetId; - readonly metadata: PalletForeignAssetsModuleAssetMetadata; + readonly isSkippedNotConvertibleAssetId: boolean; + readonly asSkippedNotConvertibleAssetId: XcmV3MultiassetAssetId; + readonly isSkippedNotConvertibleAssetInstance: boolean; + readonly asSkippedNotConvertibleAssetInstance: { + readonly assetId: XcmV3MultiassetAssetId; + readonly assetInstance: XcmV3MultiassetAssetInstance; } & Struct; - readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated'; + readonly type: 'Done' | 'SkippedInconsistentAssetData' | 'SkippedInconsistentAssetInstanceData' | 'SkippedNotConvertibleAssetId' | 'SkippedNotConvertibleAssetInstance'; } - /** @name PalletEvmEvent (377) */ + /** @name PalletEvmEvent (421) */ interface PalletEvmEvent extends Enum { readonly isLog: boolean; readonly asLog: { @@ -4105,7 +4508,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed'; } - /** @name PalletEthereumEvent (378) */ + /** @name PalletEthereumEvent (422) */ interface PalletEthereumEvent extends Enum { readonly isExecuted: boolean; readonly asExecuted: { @@ -4118,7 +4521,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Executed'; } - /** @name EvmCoreErrorExitReason (379) */ + /** @name EvmCoreErrorExitReason (423) */ interface EvmCoreErrorExitReason extends Enum { readonly isSucceed: boolean; readonly asSucceed: EvmCoreErrorExitSucceed; @@ -4131,7 +4534,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal'; } - /** @name EvmCoreErrorExitSucceed (380) */ + /** @name EvmCoreErrorExitSucceed (424) */ interface EvmCoreErrorExitSucceed extends Enum { readonly isStopped: boolean; readonly isReturned: boolean; @@ -4139,7 +4542,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Stopped' | 'Returned' | 'Suicided'; } - /** @name EvmCoreErrorExitError (381) */ + /** @name EvmCoreErrorExitError (425) */ interface EvmCoreErrorExitError extends Enum { readonly isStackUnderflow: boolean; readonly isStackOverflow: boolean; @@ -4162,13 +4565,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'MaxNonce' | 'InvalidCode'; } - /** @name EvmCoreErrorExitRevert (385) */ + /** @name EvmCoreErrorExitRevert (429) */ interface EvmCoreErrorExitRevert extends Enum { readonly isReverted: boolean; readonly type: 'Reverted'; } - /** @name EvmCoreErrorExitFatal (386) */ + /** @name EvmCoreErrorExitFatal (430) */ interface EvmCoreErrorExitFatal extends Enum { readonly isNotSupported: boolean; readonly isUnhandledInterrupt: boolean; @@ -4179,7 +4582,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other'; } - /** @name PalletEvmContractHelpersEvent (387) */ + /** @name PalletEvmContractHelpersEvent (431) */ interface PalletEvmContractHelpersEvent extends Enum { readonly isContractSponsorSet: boolean; readonly asContractSponsorSet: ITuple<[H160, AccountId32]>; @@ -4190,20 +4593,20 @@ declare module '@polkadot/types/lookup' { readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved'; } - /** @name PalletEvmMigrationEvent (388) */ + /** @name PalletEvmMigrationEvent (432) */ interface PalletEvmMigrationEvent extends Enum { readonly isTestEvent: boolean; readonly type: 'TestEvent'; } - /** @name PalletMaintenanceEvent (389) */ + /** @name PalletMaintenanceEvent (433) */ interface PalletMaintenanceEvent extends Enum { readonly isMaintenanceEnabled: boolean; readonly isMaintenanceDisabled: boolean; readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled'; } - /** @name PalletUtilityEvent (390) */ + /** @name PalletUtilityEvent (434) */ interface PalletUtilityEvent extends Enum { readonly isBatchInterrupted: boolean; readonly asBatchInterrupted: { @@ -4224,7 +4627,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'BatchInterrupted' | 'BatchCompleted' | 'BatchCompletedWithErrors' | 'ItemCompleted' | 'ItemFailed' | 'DispatchedAs'; } - /** @name PalletTestUtilsEvent (391) */ + /** @name PalletTestUtilsEvent (435) */ interface PalletTestUtilsEvent extends Enum { readonly isValueIsSet: boolean; readonly isShouldRollback: boolean; @@ -4232,7 +4635,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted'; } - /** @name FrameSystemPhase (392) */ + /** @name FrameSystemPhase (436) */ interface FrameSystemPhase extends Enum { readonly isApplyExtrinsic: boolean; readonly asApplyExtrinsic: u32; @@ -4241,27 +4644,33 @@ declare module '@polkadot/types/lookup' { readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization'; } - /** @name FrameSystemLastRuntimeUpgradeInfo (394) */ + /** @name FrameSystemLastRuntimeUpgradeInfo (438) */ interface FrameSystemLastRuntimeUpgradeInfo extends Struct { readonly specVersion: Compact; readonly specName: Text; } - /** @name FrameSystemLimitsBlockWeights (395) */ + /** @name FrameSystemCodeUpgradeAuthorization (439) */ + interface FrameSystemCodeUpgradeAuthorization extends Struct { + readonly codeHash: H256; + readonly checkVersion: bool; + } + + /** @name FrameSystemLimitsBlockWeights (440) */ interface FrameSystemLimitsBlockWeights extends Struct { readonly baseBlock: SpWeightsWeightV2Weight; readonly maxBlock: SpWeightsWeightV2Weight; readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass; } - /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (396) */ + /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (441) */ interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct { readonly normal: FrameSystemLimitsWeightsPerClass; readonly operational: FrameSystemLimitsWeightsPerClass; readonly mandatory: FrameSystemLimitsWeightsPerClass; } - /** @name FrameSystemLimitsWeightsPerClass (397) */ + /** @name FrameSystemLimitsWeightsPerClass (442) */ interface FrameSystemLimitsWeightsPerClass extends Struct { readonly baseExtrinsic: SpWeightsWeightV2Weight; readonly maxExtrinsic: Option; @@ -4269,25 +4678,25 @@ declare module '@polkadot/types/lookup' { readonly reserved: Option; } - /** @name FrameSystemLimitsBlockLength (399) */ + /** @name FrameSystemLimitsBlockLength (444) */ interface FrameSystemLimitsBlockLength extends Struct { readonly max: FrameSupportDispatchPerDispatchClassU32; } - /** @name FrameSupportDispatchPerDispatchClassU32 (400) */ + /** @name FrameSupportDispatchPerDispatchClassU32 (445) */ interface FrameSupportDispatchPerDispatchClassU32 extends Struct { readonly normal: u32; readonly operational: u32; readonly mandatory: u32; } - /** @name SpWeightsRuntimeDbWeight (401) */ + /** @name SpWeightsRuntimeDbWeight (446) */ interface SpWeightsRuntimeDbWeight extends Struct { readonly read: u64; readonly write: u64; } - /** @name SpVersionRuntimeVersion (402) */ + /** @name SpVersionRuntimeVersion (447) */ interface SpVersionRuntimeVersion extends Struct { readonly specName: Text; readonly implName: Text; @@ -4299,7 +4708,7 @@ declare module '@polkadot/types/lookup' { readonly stateVersion: u8; } - /** @name FrameSystemError (406) */ + /** @name FrameSystemError (451) */ interface FrameSystemError extends Enum { readonly isInvalidSpecName: boolean; readonly isSpecVersionNeedsToIncrease: boolean; @@ -4307,65 +4716,68 @@ declare module '@polkadot/types/lookup' { readonly isNonDefaultComposite: boolean; readonly isNonZeroRefCount: boolean; readonly isCallFiltered: boolean; - readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered'; + readonly isMultiBlockMigrationsOngoing: boolean; + readonly isNothingAuthorized: boolean; + readonly isUnauthorized: boolean; + readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered' | 'MultiBlockMigrationsOngoing' | 'NothingAuthorized' | 'Unauthorized'; } - /** @name CumulusPalletParachainSystemUnincludedSegmentAncestor (408) */ + /** @name CumulusPalletParachainSystemUnincludedSegmentAncestor (453) */ interface CumulusPalletParachainSystemUnincludedSegmentAncestor extends Struct { readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; readonly paraHeadHash: Option; - readonly consumedGoAheadSignal: Option; + readonly consumedGoAheadSignal: Option; } - /** @name CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth (409) */ + /** @name CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth (454) */ interface CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth extends Struct { readonly umpMsgCount: u32; readonly umpTotalBytes: u32; readonly hrmpOutgoing: BTreeMap; } - /** @name CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate (411) */ + /** @name CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate (456) */ interface CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate extends Struct { readonly msgCount: u32; readonly totalBytes: u32; } - /** @name PolkadotPrimitivesV5UpgradeGoAhead (415) */ - interface PolkadotPrimitivesV5UpgradeGoAhead extends Enum { + /** @name PolkadotPrimitivesV7UpgradeGoAhead (460) */ + interface PolkadotPrimitivesV7UpgradeGoAhead extends Enum { readonly isAbort: boolean; readonly isGoAhead: boolean; readonly type: 'Abort' | 'GoAhead'; } - /** @name CumulusPalletParachainSystemUnincludedSegmentSegmentTracker (416) */ + /** @name CumulusPalletParachainSystemUnincludedSegmentSegmentTracker (461) */ interface CumulusPalletParachainSystemUnincludedSegmentSegmentTracker extends Struct { readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; readonly hrmpWatermark: Option; - readonly consumedGoAheadSignal: Option; + readonly consumedGoAheadSignal: Option; } - /** @name PolkadotPrimitivesV5UpgradeRestriction (418) */ - interface PolkadotPrimitivesV5UpgradeRestriction extends Enum { + /** @name PolkadotPrimitivesV7UpgradeRestriction (463) */ + interface PolkadotPrimitivesV7UpgradeRestriction extends Enum { readonly isPresent: boolean; readonly type: 'Present'; } - /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (419) */ + /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (464) */ interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct { readonly dmqMqcHead: H256; readonly relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity; - readonly ingressChannels: Vec>; - readonly egressChannels: Vec>; + readonly ingressChannels: Vec>; + readonly egressChannels: Vec>; } - /** @name CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity (420) */ + /** @name CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity (465) */ interface CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity extends Struct { readonly remainingCount: u32; readonly remainingSize: u32; } - /** @name PolkadotPrimitivesV5AbridgedHrmpChannel (423) */ - interface PolkadotPrimitivesV5AbridgedHrmpChannel extends Struct { + /** @name PolkadotPrimitivesV7AbridgedHrmpChannel (468) */ + interface PolkadotPrimitivesV7AbridgedHrmpChannel extends Struct { readonly maxCapacity: u32; readonly maxTotalSize: u32; readonly maxMessageSize: u32; @@ -4374,8 +4786,8 @@ declare module '@polkadot/types/lookup' { readonly mqcHead: Option; } - /** @name PolkadotPrimitivesV5AbridgedHostConfiguration (424) */ - interface PolkadotPrimitivesV5AbridgedHostConfiguration extends Struct { + /** @name PolkadotPrimitivesV7AbridgedHostConfiguration (469) */ + interface PolkadotPrimitivesV7AbridgedHostConfiguration extends Struct { readonly maxCodeSize: u32; readonly maxHeadDataSize: u32; readonly maxUpwardQueueCount: u32; @@ -4385,28 +4797,22 @@ declare module '@polkadot/types/lookup' { readonly hrmpMaxMessageNumPerCandidate: u32; readonly validationUpgradeCooldown: u32; readonly validationUpgradeDelay: u32; - readonly asyncBackingParams: PolkadotPrimitivesVstagingAsyncBackingParams; + readonly asyncBackingParams: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams; } - /** @name PolkadotPrimitivesVstagingAsyncBackingParams (425) */ - interface PolkadotPrimitivesVstagingAsyncBackingParams extends Struct { + /** @name PolkadotPrimitivesV7AsyncBackingAsyncBackingParams (470) */ + interface PolkadotPrimitivesV7AsyncBackingAsyncBackingParams extends Struct { readonly maxCandidateDepth: u32; readonly allowedAncestryLen: u32; } - /** @name PolkadotCorePrimitivesOutboundHrmpMessage (431) */ + /** @name PolkadotCorePrimitivesOutboundHrmpMessage (476) */ interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct { readonly recipient: u32; readonly data: Bytes; } - /** @name CumulusPalletParachainSystemCodeUpgradeAuthorization (432) */ - interface CumulusPalletParachainSystemCodeUpgradeAuthorization extends Struct { - readonly codeHash: H256; - readonly checkVersion: bool; - } - - /** @name CumulusPalletParachainSystemError (433) */ + /** @name CumulusPalletParachainSystemError (478) */ interface CumulusPalletParachainSystemError extends Enum { readonly isOverlappingUpgrades: boolean; readonly isProhibitedByPolkadot: boolean; @@ -4419,7 +4825,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized'; } - /** @name PalletCollatorSelectionError (435) */ + /** @name PalletCollatorSelectionError (480) */ interface PalletCollatorSelectionError extends Enum { readonly isTooManyCandidates: boolean; readonly isUnknown: boolean; @@ -4437,10 +4843,10 @@ declare module '@polkadot/types/lookup' { readonly type: 'TooManyCandidates' | 'Unknown' | 'Permission' | 'AlreadyHoldingLicense' | 'NoLicense' | 'AlreadyCandidate' | 'NotCandidate' | 'TooManyInvulnerables' | 'TooFewInvulnerables' | 'AlreadyInvulnerable' | 'NotInvulnerable' | 'NoAssociatedValidatorId' | 'ValidatorNotRegistered'; } - /** @name SpCoreCryptoKeyTypeId (439) */ + /** @name SpCoreCryptoKeyTypeId (484) */ interface SpCoreCryptoKeyTypeId extends U8aFixed {} - /** @name PalletSessionError (440) */ + /** @name PalletSessionError (485) */ interface PalletSessionError extends Enum { readonly isInvalidProof: boolean; readonly isNoAssociatedValidatorId: boolean; @@ -4450,14 +4856,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount'; } - /** @name PalletBalancesBalanceLock (446) */ + /** @name PalletBalancesBalanceLock (491) */ interface PalletBalancesBalanceLock extends Struct { readonly id: U8aFixed; readonly amount: u128; readonly reasons: PalletBalancesReasons; } - /** @name PalletBalancesReasons (447) */ + /** @name PalletBalancesReasons (492) */ interface PalletBalancesReasons extends Enum { readonly isFee: boolean; readonly isMisc: boolean; @@ -4465,32 +4871,48 @@ declare module '@polkadot/types/lookup' { readonly type: 'Fee' | 'Misc' | 'All'; } - /** @name PalletBalancesReserveData (450) */ + /** @name PalletBalancesReserveData (495) */ interface PalletBalancesReserveData extends Struct { readonly id: U8aFixed; readonly amount: u128; } - /** @name OpalRuntimeRuntimeHoldReason (454) */ + /** @name OpalRuntimeRuntimeHoldReason (499) */ interface OpalRuntimeRuntimeHoldReason extends Enum { + readonly isStateTrieMigration: boolean; + readonly asStateTrieMigration: PalletStateTrieMigrationHoldReason; readonly isCollatorSelection: boolean; readonly asCollatorSelection: PalletCollatorSelectionHoldReason; - readonly type: 'CollatorSelection'; + readonly isPreimage: boolean; + readonly asPreimage: PalletPreimageHoldReason; + readonly type: 'StateTrieMigration' | 'CollatorSelection' | 'Preimage'; + } + + /** @name PalletStateTrieMigrationHoldReason (500) */ + interface PalletStateTrieMigrationHoldReason extends Enum { + readonly isSlashForMigrate: boolean; + readonly type: 'SlashForMigrate'; } - /** @name PalletCollatorSelectionHoldReason (455) */ + /** @name PalletCollatorSelectionHoldReason (501) */ interface PalletCollatorSelectionHoldReason extends Enum { readonly isLicenseBond: boolean; readonly type: 'LicenseBond'; } - /** @name PalletBalancesIdAmount (458) */ - interface PalletBalancesIdAmount extends Struct { + /** @name PalletPreimageHoldReason (502) */ + interface PalletPreimageHoldReason extends Enum { + readonly isPreimage: boolean; + readonly type: 'Preimage'; + } + + /** @name FrameSupportTokensMiscIdAmount (505) */ + interface FrameSupportTokensMiscIdAmount extends Struct { readonly id: U8aFixed; readonly amount: u128; } - /** @name PalletBalancesError (460) */ + /** @name PalletBalancesError (507) */ interface PalletBalancesError extends Enum { readonly isVestingBalance: boolean; readonly isLiquidityRestrictions: boolean; @@ -4502,17 +4924,19 @@ declare module '@polkadot/types/lookup' { readonly isTooManyReserves: boolean; readonly isTooManyHolds: boolean; readonly isTooManyFreezes: boolean; - readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'Expendability' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves' | 'TooManyHolds' | 'TooManyFreezes'; + readonly isIssuanceDeactivated: boolean; + readonly isDeltaZero: boolean; + readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'Expendability' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves' | 'TooManyHolds' | 'TooManyFreezes' | 'IssuanceDeactivated' | 'DeltaZero'; } - /** @name PalletTransactionPaymentReleases (462) */ + /** @name PalletTransactionPaymentReleases (508) */ interface PalletTransactionPaymentReleases extends Enum { readonly isV1Ancient: boolean; readonly isV2: boolean; readonly type: 'V1Ancient' | 'V2'; } - /** @name PalletTreasuryProposal (463) */ + /** @name PalletTreasuryProposal (509) */ interface PalletTreasuryProposal extends Struct { readonly proposer: AccountId32; readonly value: u128; @@ -4520,26 +4944,53 @@ declare module '@polkadot/types/lookup' { readonly bond: u128; } - /** @name FrameSupportPalletId (466) */ + /** @name PalletTreasurySpendStatus (511) */ + interface PalletTreasurySpendStatus extends Struct { + readonly assetKind: Null; + readonly amount: u128; + readonly beneficiary: AccountId32; + readonly validFrom: u32; + readonly expireAt: u32; + readonly status: PalletTreasuryPaymentState; + } + + /** @name PalletTreasuryPaymentState (512) */ + interface PalletTreasuryPaymentState extends Enum { + readonly isPending: boolean; + readonly isAttempted: boolean; + readonly asAttempted: { + readonly id: Null; + } & Struct; + readonly isFailed: boolean; + readonly type: 'Pending' | 'Attempted' | 'Failed'; + } + + /** @name FrameSupportPalletId (514) */ interface FrameSupportPalletId extends U8aFixed {} - /** @name PalletTreasuryError (467) */ + /** @name PalletTreasuryError (515) */ interface PalletTreasuryError extends Enum { - readonly isInsufficientProposersBalance: boolean; readonly isInvalidIndex: boolean; readonly isTooManyApprovals: boolean; readonly isInsufficientPermission: boolean; readonly isProposalNotApproved: boolean; - readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved'; + readonly isFailedToConvertBalance: boolean; + readonly isSpendExpired: boolean; + readonly isEarlyPayout: boolean; + readonly isAlreadyAttempted: boolean; + readonly isPayoutError: boolean; + readonly isNotAttempted: boolean; + readonly isInconclusive: boolean; + readonly type: 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved' | 'FailedToConvertBalance' | 'SpendExpired' | 'EarlyPayout' | 'AlreadyAttempted' | 'PayoutError' | 'NotAttempted' | 'Inconclusive'; } - /** @name PalletSudoError (468) */ + /** @name PalletSudoError (516) */ interface PalletSudoError extends Enum { readonly isRequireSudo: boolean; readonly type: 'RequireSudo'; } - /** @name OrmlVestingModuleError (470) */ + /** @name OrmlVestingModuleError (518) */ interface OrmlVestingModuleError extends Enum { readonly isZeroVestingPeriod: boolean; readonly isZeroVestingPeriodCount: boolean; @@ -4550,7 +5001,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded'; } - /** @name OrmlXtokensModuleError (471) */ + /** @name OrmlXtokensModuleError (519) */ interface OrmlXtokensModuleError extends Enum { readonly isAssetHasNoReserve: boolean; readonly isNotCrossChainTransfer: boolean; @@ -4569,51 +5020,20 @@ declare module '@polkadot/types/lookup' { readonly isTooManyAssetsBeingSent: boolean; readonly isAssetIndexNonExistent: boolean; readonly isFeeNotEnough: boolean; - readonly isNotSupportedMultiLocation: boolean; + readonly isNotSupportedLocation: boolean; readonly isMinXcmFeeNotDefined: boolean; - readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined'; - } - - /** @name OrmlTokensBalanceLock (474) */ - interface OrmlTokensBalanceLock extends Struct { - readonly id: U8aFixed; - readonly amount: u128; - } - - /** @name OrmlTokensAccountData (476) */ - interface OrmlTokensAccountData extends Struct { - readonly free: u128; - readonly reserved: u128; - readonly frozen: u128; + readonly isRateLimited: boolean; + readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedLocation' | 'MinXcmFeeNotDefined' | 'RateLimited'; } - /** @name OrmlTokensReserveData (478) */ - interface OrmlTokensReserveData extends Struct { - readonly id: Null; - readonly amount: u128; - } - - /** @name OrmlTokensModuleError (480) */ - interface OrmlTokensModuleError extends Enum { - readonly isBalanceTooLow: boolean; - readonly isAmountIntoBalanceFailed: boolean; - readonly isLiquidityRestrictions: boolean; - readonly isMaxLocksExceeded: boolean; - readonly isKeepAlive: boolean; - readonly isExistentialDeposit: boolean; - readonly isDeadAccount: boolean; - readonly isTooManyReserves: boolean; - readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves'; - } - - /** @name PalletIdentityRegistrarInfo (485) */ + /** @name PalletIdentityRegistrarInfo (524) */ interface PalletIdentityRegistrarInfo extends Struct { readonly account: AccountId32; readonly fee: u128; readonly fields: PalletIdentityBitFlags; } - /** @name PalletIdentityError (487) */ + /** @name PalletIdentityError (526) */ interface PalletIdentityError extends Enum { readonly isTooManySubAccounts: boolean; readonly isNotFound: boolean; @@ -4636,8 +5056,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned' | 'JudgementForDifferentIdentity' | 'JudgementPaymentFailed'; } - /** @name PalletPreimageRequestStatus (488) */ - interface PalletPreimageRequestStatus extends Enum { + /** @name PalletPreimageOldRequestStatus (527) */ + interface PalletPreimageOldRequestStatus extends Enum { readonly isUnrequested: boolean; readonly asUnrequested: { readonly deposit: ITuple<[AccountId32, u128]>; @@ -4652,7 +5072,23 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unrequested' | 'Requested'; } - /** @name PalletPreimageError (493) */ + /** @name PalletPreimageRequestStatus (530) */ + interface PalletPreimageRequestStatus extends Enum { + readonly isUnrequested: boolean; + readonly asUnrequested: { + readonly ticket: ITuple<[AccountId32, u128]>; + readonly len: u32; + } & Struct; + readonly isRequested: boolean; + readonly asRequested: { + readonly maybeTicket: Option>; + readonly count: u32; + readonly maybeLen: Option; + } & Struct; + readonly type: 'Unrequested' | 'Requested'; + } + + /** @name PalletPreimageError (536) */ interface PalletPreimageError extends Enum { readonly isTooBig: boolean; readonly isAlreadyNoted: boolean; @@ -4660,10 +5096,13 @@ declare module '@polkadot/types/lookup' { readonly isNotNoted: boolean; readonly isRequested: boolean; readonly isNotRequested: boolean; - readonly type: 'TooBig' | 'AlreadyNoted' | 'NotAuthorized' | 'NotNoted' | 'Requested' | 'NotRequested'; + readonly isTooMany: boolean; + readonly isTooFew: boolean; + readonly isNoCost: boolean; + readonly type: 'TooBig' | 'AlreadyNoted' | 'NotAuthorized' | 'NotNoted' | 'Requested' | 'NotRequested' | 'TooMany' | 'TooFew' | 'NoCost'; } - /** @name PalletDemocracyReferendumInfo (499) */ + /** @name PalletDemocracyReferendumInfo (542) */ interface PalletDemocracyReferendumInfo extends Enum { readonly isOngoing: boolean; readonly asOngoing: PalletDemocracyReferendumStatus; @@ -4675,7 +5114,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Ongoing' | 'Finished'; } - /** @name PalletDemocracyReferendumStatus (500) */ + /** @name PalletDemocracyReferendumStatus (543) */ interface PalletDemocracyReferendumStatus extends Struct { readonly end: u32; readonly proposal: FrameSupportPreimagesBounded; @@ -4684,14 +5123,14 @@ declare module '@polkadot/types/lookup' { readonly tally: PalletDemocracyTally; } - /** @name PalletDemocracyTally (501) */ + /** @name PalletDemocracyTally (544) */ interface PalletDemocracyTally extends Struct { readonly ayes: u128; readonly nays: u128; readonly turnout: u128; } - /** @name PalletDemocracyVoteVoting (502) */ + /** @name PalletDemocracyVoteVoting (545) */ interface PalletDemocracyVoteVoting extends Enum { readonly isDirect: boolean; readonly asDirect: { @@ -4710,16 +5149,16 @@ declare module '@polkadot/types/lookup' { readonly type: 'Direct' | 'Delegating'; } - /** @name PalletDemocracyDelegations (506) */ + /** @name PalletDemocracyDelegations (549) */ interface PalletDemocracyDelegations extends Struct { readonly votes: u128; readonly capital: u128; } - /** @name PalletDemocracyVotePriorLock (507) */ + /** @name PalletDemocracyVotePriorLock (550) */ interface PalletDemocracyVotePriorLock extends ITuple<[u32, u128]> {} - /** @name PalletDemocracyError (510) */ + /** @name PalletDemocracyError (553) */ interface PalletDemocracyError extends Enum { readonly isValueLow: boolean; readonly isProposalMissing: boolean; @@ -4748,7 +5187,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ValueLow' | 'ProposalMissing' | 'AlreadyCanceled' | 'DuplicateProposal' | 'ProposalBlacklisted' | 'NotSimpleMajority' | 'InvalidHash' | 'NoProposal' | 'AlreadyVetoed' | 'ReferendumInvalid' | 'NoneWaiting' | 'NotVoter' | 'NoPermission' | 'AlreadyDelegating' | 'InsufficientFunds' | 'NotDelegating' | 'VotesExist' | 'InstantNotAllowed' | 'Nonsense' | 'WrongUpperBound' | 'MaxVotesReached' | 'TooMany' | 'VotingPeriodLow' | 'PreimageNotExist'; } - /** @name PalletCollectiveVotes (512) */ + /** @name PalletCollectiveVotes (555) */ interface PalletCollectiveVotes extends Struct { readonly index: u32; readonly threshold: u32; @@ -4757,7 +5196,7 @@ declare module '@polkadot/types/lookup' { readonly end: u32; } - /** @name PalletCollectiveError (513) */ + /** @name PalletCollectiveError (556) */ interface PalletCollectiveError extends Enum { readonly isNotMember: boolean; readonly isDuplicateProposal: boolean; @@ -4773,7 +5212,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotMember' | 'DuplicateProposal' | 'ProposalMissing' | 'WrongIndex' | 'DuplicateVote' | 'AlreadyInitialized' | 'TooEarly' | 'TooManyProposals' | 'WrongProposalWeight' | 'WrongProposalLength' | 'PrimeAccountNotMember'; } - /** @name PalletMembershipError (517) */ + /** @name PalletMembershipError (560) */ interface PalletMembershipError extends Enum { readonly isAlreadyMember: boolean; readonly isNotMember: boolean; @@ -4781,12 +5220,12 @@ declare module '@polkadot/types/lookup' { readonly type: 'AlreadyMember' | 'NotMember' | 'TooManyMembers'; } - /** @name PalletRankedCollectiveMemberRecord (520) */ + /** @name PalletRankedCollectiveMemberRecord (563) */ interface PalletRankedCollectiveMemberRecord extends Struct { readonly rank: u16; } - /** @name PalletRankedCollectiveError (525) */ + /** @name PalletRankedCollectiveError (568) */ interface PalletRankedCollectiveError extends Enum { readonly isAlreadyMember: boolean; readonly isNotMember: boolean; @@ -4797,10 +5236,12 @@ declare module '@polkadot/types/lookup' { readonly isRankTooLow: boolean; readonly isInvalidWitness: boolean; readonly isNoPermission: boolean; - readonly type: 'AlreadyMember' | 'NotMember' | 'NotPolling' | 'Ongoing' | 'NoneRemaining' | 'Corruption' | 'RankTooLow' | 'InvalidWitness' | 'NoPermission'; + readonly isSameMember: boolean; + readonly isTooManyMembers: boolean; + readonly type: 'AlreadyMember' | 'NotMember' | 'NotPolling' | 'Ongoing' | 'NoneRemaining' | 'Corruption' | 'RankTooLow' | 'InvalidWitness' | 'NoPermission' | 'SameMember' | 'TooManyMembers'; } - /** @name PalletReferendaReferendumInfo (526) */ + /** @name PalletReferendaReferendumInfo (569) */ interface PalletReferendaReferendumInfo extends Enum { readonly isOngoing: boolean; readonly asOngoing: PalletReferendaReferendumStatus; @@ -4817,7 +5258,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Ongoing' | 'Approved' | 'Rejected' | 'Cancelled' | 'TimedOut' | 'Killed'; } - /** @name PalletReferendaReferendumStatus (527) */ + /** @name PalletReferendaReferendumStatus (570) */ interface PalletReferendaReferendumStatus extends Struct { readonly track: u16; readonly origin: OpalRuntimeOriginCaller; @@ -4832,19 +5273,19 @@ declare module '@polkadot/types/lookup' { readonly alarm: Option]>>; } - /** @name PalletReferendaDeposit (528) */ + /** @name PalletReferendaDeposit (571) */ interface PalletReferendaDeposit extends Struct { readonly who: AccountId32; readonly amount: u128; } - /** @name PalletReferendaDecidingStatus (531) */ + /** @name PalletReferendaDecidingStatus (574) */ interface PalletReferendaDecidingStatus extends Struct { readonly since: u32; readonly confirming: Option; } - /** @name PalletReferendaTrackInfo (537) */ + /** @name PalletReferendaTrackInfo (580) */ interface PalletReferendaTrackInfo extends Struct { readonly name: Text; readonly maxDeciding: u32; @@ -4857,7 +5298,7 @@ declare module '@polkadot/types/lookup' { readonly minSupport: PalletReferendaCurve; } - /** @name PalletReferendaCurve (538) */ + /** @name PalletReferendaCurve (581) */ interface PalletReferendaCurve extends Enum { readonly isLinearDecreasing: boolean; readonly asLinearDecreasing: { @@ -4881,7 +5322,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'LinearDecreasing' | 'SteppedDecreasing' | 'Reciprocal'; } - /** @name PalletReferendaError (541) */ + /** @name PalletReferendaError (584) */ interface PalletReferendaError extends Enum { readonly isNotOngoing: boolean; readonly isHasDeposit: boolean; @@ -4896,10 +5337,11 @@ declare module '@polkadot/types/lookup' { readonly isNoDeposit: boolean; readonly isBadStatus: boolean; readonly isPreimageNotExist: boolean; - readonly type: 'NotOngoing' | 'HasDeposit' | 'BadTrack' | 'Full' | 'QueueEmpty' | 'BadReferendum' | 'NothingToDo' | 'NoTrack' | 'Unfinished' | 'NoPermission' | 'NoDeposit' | 'BadStatus' | 'PreimageNotExist'; + readonly isPreimageStoredWithDifferentLength: boolean; + readonly type: 'NotOngoing' | 'HasDeposit' | 'BadTrack' | 'Full' | 'QueueEmpty' | 'BadReferendum' | 'NothingToDo' | 'NoTrack' | 'Unfinished' | 'NoPermission' | 'NoDeposit' | 'BadStatus' | 'PreimageNotExist' | 'PreimageStoredWithDifferentLength'; } - /** @name PalletSchedulerScheduled (544) */ + /** @name PalletSchedulerScheduled (587) */ interface PalletSchedulerScheduled extends Struct { readonly maybeId: Option; readonly priority: u8; @@ -4908,7 +5350,14 @@ declare module '@polkadot/types/lookup' { readonly origin: OpalRuntimeOriginCaller; } - /** @name PalletSchedulerError (546) */ + /** @name PalletSchedulerRetryConfig (589) */ + interface PalletSchedulerRetryConfig extends Struct { + readonly totalRetries: u8; + readonly remaining: u8; + readonly period: u32; + } + + /** @name PalletSchedulerError (590) */ interface PalletSchedulerError extends Enum { readonly isFailedToSchedule: boolean; readonly isNotFound: boolean; @@ -4918,29 +5367,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange' | 'Named'; } - /** @name CumulusPalletXcmpQueueInboundChannelDetails (548) */ - interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct { - readonly sender: u32; - readonly state: CumulusPalletXcmpQueueInboundState; - readonly messageMetadata: Vec>; - } - - /** @name CumulusPalletXcmpQueueInboundState (549) */ - interface CumulusPalletXcmpQueueInboundState extends Enum { - readonly isOk: boolean; - readonly isSuspended: boolean; - readonly type: 'Ok' | 'Suspended'; - } - - /** @name PolkadotParachainPrimitivesPrimitivesXcmpMessageFormat (552) */ - interface PolkadotParachainPrimitivesPrimitivesXcmpMessageFormat extends Enum { - readonly isConcatenatedVersionedXcm: boolean; - readonly isConcatenatedEncodedBlob: boolean; - readonly isSignals: boolean; - readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals'; - } - - /** @name CumulusPalletXcmpQueueOutboundChannelDetails (555) */ + /** @name CumulusPalletXcmpQueueOutboundChannelDetails (599) */ interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct { readonly recipient: u32; readonly state: CumulusPalletXcmpQueueOutboundState; @@ -4949,65 +5376,64 @@ declare module '@polkadot/types/lookup' { readonly lastIndex: u16; } - /** @name CumulusPalletXcmpQueueOutboundState (556) */ + /** @name CumulusPalletXcmpQueueOutboundState (600) */ interface CumulusPalletXcmpQueueOutboundState extends Enum { readonly isOk: boolean; readonly isSuspended: boolean; readonly type: 'Ok' | 'Suspended'; } - /** @name CumulusPalletXcmpQueueQueueConfigData (558) */ + /** @name CumulusPalletXcmpQueueQueueConfigData (604) */ interface CumulusPalletXcmpQueueQueueConfigData extends Struct { readonly suspendThreshold: u32; readonly dropThreshold: u32; readonly resumeThreshold: u32; - readonly thresholdWeight: SpWeightsWeightV2Weight; - readonly weightRestrictDecay: SpWeightsWeightV2Weight; - readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight; } - /** @name CumulusPalletXcmpQueueError (560) */ + /** @name CumulusPalletXcmpQueueError (605) */ interface CumulusPalletXcmpQueueError extends Enum { - readonly isFailedToSend: boolean; - readonly isBadXcmOrigin: boolean; - readonly isBadXcm: boolean; - readonly isBadOverweightIndex: boolean; - readonly isWeightOverLimit: boolean; - readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit'; + readonly isBadQueueConfig: boolean; + readonly isAlreadySuspended: boolean; + readonly isAlreadyResumed: boolean; + readonly isTooManyActiveOutboundChannels: boolean; + readonly isTooBig: boolean; + readonly type: 'BadQueueConfig' | 'AlreadySuspended' | 'AlreadyResumed' | 'TooManyActiveOutboundChannels' | 'TooBig'; } - /** @name PalletXcmQueryStatus (561) */ + /** @name PalletXcmQueryStatus (606) */ interface PalletXcmQueryStatus extends Enum { readonly isPending: boolean; readonly asPending: { - readonly responder: StagingXcmVersionedMultiLocation; - readonly maybeMatchQuerier: Option; + readonly responder: XcmVersionedLocation; + readonly maybeMatchQuerier: Option; readonly maybeNotify: Option>; readonly timeout: u32; } & Struct; readonly isVersionNotifier: boolean; readonly asVersionNotifier: { - readonly origin: StagingXcmVersionedMultiLocation; + readonly origin: XcmVersionedLocation; readonly isActive: bool; } & Struct; readonly isReady: boolean; readonly asReady: { - readonly response: StagingXcmVersionedResponse; + readonly response: XcmVersionedResponse; readonly at: u32; } & Struct; readonly type: 'Pending' | 'VersionNotifier' | 'Ready'; } - /** @name StagingXcmVersionedResponse (565) */ - interface StagingXcmVersionedResponse extends Enum { + /** @name XcmVersionedResponse (610) */ + interface XcmVersionedResponse extends Enum { readonly isV2: boolean; - readonly asV2: StagingXcmV2Response; + readonly asV2: XcmV2Response; readonly isV3: boolean; - readonly asV3: StagingXcmV3Response; - readonly type: 'V2' | 'V3'; + readonly asV3: XcmV3Response; + readonly isV4: boolean; + readonly asV4: StagingXcmV4Response; + readonly type: 'V2' | 'V3' | 'V4'; } - /** @name PalletXcmVersionMigrationStage (571) */ + /** @name PalletXcmVersionMigrationStage (616) */ interface PalletXcmVersionMigrationStage extends Enum { readonly isMigrateSupportedVersion: boolean; readonly isMigrateVersionNotifiers: boolean; @@ -5017,22 +5443,15 @@ declare module '@polkadot/types/lookup' { readonly type: 'MigrateSupportedVersion' | 'MigrateVersionNotifiers' | 'NotifyCurrentTargets' | 'MigrateAndNotifyOldTargets'; } - /** @name StagingXcmVersionedAssetId (574) */ - interface StagingXcmVersionedAssetId extends Enum { - readonly isV3: boolean; - readonly asV3: StagingXcmV3MultiassetAssetId; - readonly type: 'V3'; - } - - /** @name PalletXcmRemoteLockedFungibleRecord (575) */ + /** @name PalletXcmRemoteLockedFungibleRecord (619) */ interface PalletXcmRemoteLockedFungibleRecord extends Struct { readonly amount: u128; - readonly owner: StagingXcmVersionedMultiLocation; - readonly locker: StagingXcmVersionedMultiLocation; + readonly owner: XcmVersionedLocation; + readonly locker: XcmVersionedLocation; readonly consumers: Vec>; } - /** @name PalletXcmError (582) */ + /** @name PalletXcmError (626) */ interface PalletXcmError extends Enum { readonly isUnreachable: boolean; readonly isSendFailure: boolean; @@ -5047,39 +5466,82 @@ declare module '@polkadot/types/lookup' { readonly isBadLocation: boolean; readonly isNoSubscription: boolean; readonly isAlreadySubscribed: boolean; - readonly isInvalidAsset: boolean; + readonly isCannotCheckOutTeleport: boolean; readonly isLowBalance: boolean; readonly isTooManyLocks: boolean; readonly isAccountNotSovereign: boolean; readonly isFeesNotMet: boolean; readonly isLockNotFound: boolean; readonly isInUse: boolean; - readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed' | 'InvalidAsset' | 'LowBalance' | 'TooManyLocks' | 'AccountNotSovereign' | 'FeesNotMet' | 'LockNotFound' | 'InUse'; + readonly isInvalidAssetUnknownReserve: boolean; + readonly isInvalidAssetUnsupportedReserve: boolean; + readonly isTooManyReserves: boolean; + readonly isLocalExecutionIncomplete: boolean; + readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed' | 'CannotCheckOutTeleport' | 'LowBalance' | 'TooManyLocks' | 'AccountNotSovereign' | 'FeesNotMet' | 'LockNotFound' | 'InUse' | 'InvalidAssetUnknownReserve' | 'InvalidAssetUnsupportedReserve' | 'TooManyReserves' | 'LocalExecutionIncomplete'; } - /** @name CumulusPalletXcmError (583) */ - type CumulusPalletXcmError = Null; - - /** @name CumulusPalletDmpQueueConfigData (584) */ - interface CumulusPalletDmpQueueConfigData extends Struct { - readonly maxIndividual: SpWeightsWeightV2Weight; + /** @name CumulusPalletDmpQueueMigrationState (627) */ + interface CumulusPalletDmpQueueMigrationState extends Enum { + readonly isNotStarted: boolean; + readonly isStartedExport: boolean; + readonly asStartedExport: { + readonly nextBeginUsed: u32; + } & Struct; + readonly isCompletedExport: boolean; + readonly isStartedOverweightExport: boolean; + readonly asStartedOverweightExport: { + readonly nextOverweightIndex: u64; + } & Struct; + readonly isCompletedOverweightExport: boolean; + readonly isStartedCleanup: boolean; + readonly asStartedCleanup: { + readonly cursor: Option; + } & Struct; + readonly isCompleted: boolean; + readonly type: 'NotStarted' | 'StartedExport' | 'CompletedExport' | 'StartedOverweightExport' | 'CompletedOverweightExport' | 'StartedCleanup' | 'Completed'; } - /** @name CumulusPalletDmpQueuePageIndexData (585) */ - interface CumulusPalletDmpQueuePageIndexData extends Struct { - readonly beginUsed: u32; - readonly endUsed: u32; - readonly overweightCount: u64; + /** @name PalletMessageQueueBookState (630) */ + interface PalletMessageQueueBookState extends Struct { + readonly begin: u32; + readonly end: u32; + readonly count: u32; + readonly readyNeighbours: Option; + readonly messageCount: u64; + readonly size_: u64; } - /** @name CumulusPalletDmpQueueError (588) */ - interface CumulusPalletDmpQueueError extends Enum { - readonly isUnknown: boolean; - readonly isOverLimit: boolean; - readonly type: 'Unknown' | 'OverLimit'; + /** @name PalletMessageQueueNeighbours (632) */ + interface PalletMessageQueueNeighbours extends Struct { + readonly prev: CumulusPrimitivesCoreAggregateMessageOrigin; + readonly next: CumulusPrimitivesCoreAggregateMessageOrigin; } - /** @name PalletUniqueError (592) */ + /** @name PalletMessageQueuePage (634) */ + interface PalletMessageQueuePage extends Struct { + readonly remaining: u32; + readonly remainingSize: u32; + readonly firstIndex: u32; + readonly first: u32; + readonly last: u32; + readonly heap: Bytes; + } + + /** @name PalletMessageQueueError (636) */ + interface PalletMessageQueueError extends Enum { + readonly isNotReapable: boolean; + readonly isNoPage: boolean; + readonly isNoMessage: boolean; + readonly isAlreadyProcessed: boolean; + readonly isQueued: boolean; + readonly isInsufficientWeight: boolean; + readonly isTemporarilyUnprocessable: boolean; + readonly isQueuePaused: boolean; + readonly isRecursiveDisallowed: boolean; + readonly type: 'NotReapable' | 'NoPage' | 'NoMessage' | 'AlreadyProcessed' | 'Queued' | 'InsufficientWeight' | 'TemporarilyUnprocessable' | 'QueuePaused' | 'RecursiveDisallowed'; + } + + /** @name PalletUniqueError (640) */ interface PalletUniqueError extends Enum { readonly isCollectionDecimalPointLimitExceeded: boolean; readonly isEmptyArgument: boolean; @@ -5087,13 +5549,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection'; } - /** @name PalletConfigurationError (593) */ + /** @name PalletConfigurationError (641) */ interface PalletConfigurationError extends Enum { readonly isInconsistentConfiguration: boolean; readonly type: 'InconsistentConfiguration'; } - /** @name UpDataStructsCollection (594) */ + /** @name UpDataStructsCollection (642) */ interface UpDataStructsCollection extends Struct { readonly owner: AccountId32; readonly mode: UpDataStructsCollectionMode; @@ -5106,7 +5568,7 @@ declare module '@polkadot/types/lookup' { readonly flags: U8aFixed; } - /** @name UpDataStructsSponsorshipStateAccountId32 (595) */ + /** @name UpDataStructsSponsorshipStateAccountId32 (643) */ interface UpDataStructsSponsorshipStateAccountId32 extends Enum { readonly isDisabled: boolean; readonly isUnconfirmed: boolean; @@ -5116,43 +5578,43 @@ declare module '@polkadot/types/lookup' { readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed'; } - /** @name UpDataStructsProperties (596) */ + /** @name UpDataStructsProperties (644) */ interface UpDataStructsProperties extends Struct { readonly map: UpDataStructsPropertiesMapBoundedVec; readonly consumedSpace: u32; readonly reserved: u32; } - /** @name UpDataStructsPropertiesMapBoundedVec (597) */ + /** @name UpDataStructsPropertiesMapBoundedVec (645) */ interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap {} - /** @name UpDataStructsPropertiesMapPropertyPermission (602) */ + /** @name UpDataStructsPropertiesMapPropertyPermission (650) */ interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap {} - /** @name UpDataStructsCollectionStats (609) */ + /** @name UpDataStructsCollectionStats (657) */ interface UpDataStructsCollectionStats extends Struct { readonly created: u32; readonly destroyed: u32; readonly alive: u32; } - /** @name UpDataStructsTokenChild (610) */ + /** @name UpDataStructsTokenChild (658) */ interface UpDataStructsTokenChild extends Struct { readonly token: u32; readonly collection: u32; } - /** @name PhantomTypeUpDataStructs (611) */ + /** @name PhantomTypeUpDataStructs (659) */ interface PhantomTypeUpDataStructs extends Vec> {} - /** @name UpDataStructsTokenData (613) */ + /** @name UpDataStructsTokenData (661) */ interface UpDataStructsTokenData extends Struct { readonly properties: Vec; readonly owner: Option; readonly pieces: u128; } - /** @name UpDataStructsRpcCollection (614) */ + /** @name UpDataStructsRpcCollection (662) */ interface UpDataStructsRpcCollection extends Struct { readonly owner: AccountId32; readonly mode: UpDataStructsCollectionMode; @@ -5168,13 +5630,13 @@ declare module '@polkadot/types/lookup' { readonly flags: UpDataStructsRpcCollectionFlags; } - /** @name UpDataStructsRpcCollectionFlags (615) */ + /** @name UpDataStructsRpcCollectionFlags (663) */ interface UpDataStructsRpcCollectionFlags extends Struct { readonly foreign: bool; readonly erc721metadata: bool; } - /** @name UpPovEstimateRpcPovInfo (616) */ + /** @name UpPovEstimateRpcPovInfo (664) */ interface UpPovEstimateRpcPovInfo extends Struct { readonly proofSize: u64; readonly compactProofSize: u64; @@ -5183,7 +5645,7 @@ declare module '@polkadot/types/lookup' { readonly keyValues: Vec; } - /** @name SpRuntimeTransactionValidityTransactionValidityError (619) */ + /** @name SpRuntimeTransactionValidityTransactionValidityError (667) */ interface SpRuntimeTransactionValidityTransactionValidityError extends Enum { readonly isInvalid: boolean; readonly asInvalid: SpRuntimeTransactionValidityInvalidTransaction; @@ -5192,7 +5654,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Invalid' | 'Unknown'; } - /** @name SpRuntimeTransactionValidityInvalidTransaction (620) */ + /** @name SpRuntimeTransactionValidityInvalidTransaction (668) */ interface SpRuntimeTransactionValidityInvalidTransaction extends Enum { readonly isCall: boolean; readonly isPayment: boolean; @@ -5209,7 +5671,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Call' | 'Payment' | 'Future' | 'Stale' | 'BadProof' | 'AncientBirthBlock' | 'ExhaustsResources' | 'Custom' | 'BadMandatory' | 'MandatoryValidation' | 'BadSigner'; } - /** @name SpRuntimeTransactionValidityUnknownTransaction (621) */ + /** @name SpRuntimeTransactionValidityUnknownTransaction (669) */ interface SpRuntimeTransactionValidityUnknownTransaction extends Enum { readonly isCannotLookup: boolean; readonly isNoUnsignedValidator: boolean; @@ -5218,13 +5680,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'CannotLookup' | 'NoUnsignedValidator' | 'Custom'; } - /** @name UpPovEstimateRpcTrieKeyValue (623) */ + /** @name UpPovEstimateRpcTrieKeyValue (671) */ interface UpPovEstimateRpcTrieKeyValue extends Struct { readonly key: Bytes; readonly value: Bytes; } - /** @name PalletCommonError (625) */ + /** @name PalletCommonError (673) */ interface PalletCommonError extends Enum { readonly isCollectionNotFound: boolean; readonly isMustBeTokenOwner: boolean; @@ -5264,21 +5726,21 @@ declare module '@polkadot/types/lookup' { readonly isConfirmSponsorshipFail: boolean; readonly isUserIsNotCollectionAdmin: boolean; readonly isFungibleItemsHaveNoId: boolean; - readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsNotEthMirror' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin' | 'FungibleItemsHaveNoId'; + readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean; + readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsNotEthMirror' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin' | 'FungibleItemsHaveNoId' | 'NotFungibleDataUsedToMintFungibleCollectionToken'; } - /** @name PalletFungibleError (627) */ + /** @name PalletFungibleError (675) */ interface PalletFungibleError extends Enum { - readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean; readonly isFungibleItemsDontHaveData: boolean; readonly isFungibleDisallowsNesting: boolean; readonly isSettingPropertiesNotAllowed: boolean; readonly isSettingAllowanceForAllNotAllowed: boolean; readonly isFungibleTokensAreAlwaysValid: boolean; - readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid'; + readonly type: 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid'; } - /** @name PalletRefungibleError (632) */ + /** @name PalletRefungibleError (680) */ interface PalletRefungibleError extends Enum { readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean; readonly isWrongRefungiblePieces: boolean; @@ -5288,19 +5750,19 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed'; } - /** @name PalletNonfungibleItemData (633) */ + /** @name PalletNonfungibleItemData (681) */ interface PalletNonfungibleItemData extends Struct { readonly owner: PalletEvmAccountBasicCrossAccountIdRepr; } - /** @name UpDataStructsPropertyScope (635) */ + /** @name UpDataStructsPropertyScope (683) */ interface UpDataStructsPropertyScope extends Enum { readonly isNone: boolean; readonly isRmrk: boolean; readonly type: 'None' | 'Rmrk'; } - /** @name PalletNonfungibleError (638) */ + /** @name PalletNonfungibleError (686) */ interface PalletNonfungibleError extends Enum { readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean; readonly isNonfungibleItemsHaveNoAmount: boolean; @@ -5308,7 +5770,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren'; } - /** @name PalletStructureError (639) */ + /** @name PalletStructureError (687) */ interface PalletStructureError extends Enum { readonly isOuroborosDetected: boolean; readonly isDepthLimit: boolean; @@ -5318,7 +5780,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound' | 'CantNestTokenUnderCollection'; } - /** @name PalletAppPromotionError (644) */ + /** @name PalletAppPromotionError (692) */ interface PalletAppPromotionError extends Enum { readonly isAdminNotSet: boolean; readonly isNoPermission: boolean; @@ -5330,22 +5792,20 @@ declare module '@polkadot/types/lookup' { readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'InsufficientStakedBalance' | 'InconsistencyState'; } - /** @name PalletForeignAssetsModuleError (645) */ + /** @name PalletForeignAssetsModuleError (694) */ interface PalletForeignAssetsModuleError extends Enum { - readonly isBadLocation: boolean; - readonly isMultiLocationExisted: boolean; - readonly isAssetIdNotExists: boolean; - readonly isAssetIdExisted: boolean; - readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted'; + readonly isForeignAssetAlreadyRegistered: boolean; + readonly isBadForeignAssetId: boolean; + readonly type: 'ForeignAssetAlreadyRegistered' | 'BadForeignAssetId'; } - /** @name PalletEvmCodeMetadata (646) */ + /** @name PalletEvmCodeMetadata (695) */ interface PalletEvmCodeMetadata extends Struct { readonly size_: u64; readonly hash_: H256; } - /** @name PalletEvmError (648) */ + /** @name PalletEvmError (697) */ interface PalletEvmError extends Enum { readonly isBalanceLow: boolean; readonly isFeeOverflow: boolean; @@ -5355,13 +5815,15 @@ declare module '@polkadot/types/lookup' { readonly isInvalidNonce: boolean; readonly isGasLimitTooLow: boolean; readonly isGasLimitTooHigh: boolean; - readonly isUndefined: boolean; + readonly isInvalidChainId: boolean; + readonly isInvalidSignature: boolean; readonly isReentrancy: boolean; readonly isTransactionMustComeFromEOA: boolean; - readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA'; + readonly isUndefined: boolean; + readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'InvalidChainId' | 'InvalidSignature' | 'Reentrancy' | 'TransactionMustComeFromEOA' | 'Undefined'; } - /** @name FpRpcTransactionStatus (651) */ + /** @name FpRpcTransactionStatus (700) */ interface FpRpcTransactionStatus extends Struct { readonly transactionHash: H256; readonly transactionIndex: u32; @@ -5372,10 +5834,10 @@ declare module '@polkadot/types/lookup' { readonly logsBloom: EthbloomBloom; } - /** @name EthbloomBloom (653) */ + /** @name EthbloomBloom (702) */ interface EthbloomBloom extends U8aFixed {} - /** @name EthereumReceiptReceiptV3 (655) */ + /** @name EthereumReceiptReceiptV3 (704) */ interface EthereumReceiptReceiptV3 extends Enum { readonly isLegacy: boolean; readonly asLegacy: EthereumReceiptEip658ReceiptData; @@ -5386,7 +5848,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Legacy' | 'Eip2930' | 'Eip1559'; } - /** @name EthereumReceiptEip658ReceiptData (656) */ + /** @name EthereumReceiptEip658ReceiptData (705) */ interface EthereumReceiptEip658ReceiptData extends Struct { readonly statusCode: u8; readonly usedGas: U256; @@ -5394,14 +5856,14 @@ declare module '@polkadot/types/lookup' { readonly logs: Vec; } - /** @name EthereumBlock (657) */ + /** @name EthereumBlock (706) */ interface EthereumBlock extends Struct { readonly header: EthereumHeader; readonly transactions: Vec; readonly ommers: Vec; } - /** @name EthereumHeader (658) */ + /** @name EthereumHeader (707) */ interface EthereumHeader extends Struct { readonly parentHash: H256; readonly ommersHash: H256; @@ -5420,24 +5882,24 @@ declare module '@polkadot/types/lookup' { readonly nonce: EthereumTypesHashH64; } - /** @name EthereumTypesHashH64 (659) */ + /** @name EthereumTypesHashH64 (708) */ interface EthereumTypesHashH64 extends U8aFixed {} - /** @name PalletEthereumError (664) */ + /** @name PalletEthereumError (713) */ interface PalletEthereumError extends Enum { readonly isInvalidSignature: boolean; readonly isPreLogExists: boolean; readonly type: 'InvalidSignature' | 'PreLogExists'; } - /** @name PalletEvmCoderSubstrateError (665) */ + /** @name PalletEvmCoderSubstrateError (714) */ interface PalletEvmCoderSubstrateError extends Enum { readonly isOutOfGas: boolean; readonly isOutOfFund: boolean; readonly type: 'OutOfGas' | 'OutOfFund'; } - /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (666) */ + /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (715) */ interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum { readonly isDisabled: boolean; readonly isUnconfirmed: boolean; @@ -5447,7 +5909,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed'; } - /** @name PalletEvmContractHelpersSponsoringModeT (667) */ + /** @name PalletEvmContractHelpersSponsoringModeT (716) */ interface PalletEvmContractHelpersSponsoringModeT extends Enum { readonly isDisabled: boolean; readonly isAllowlisted: boolean; @@ -5455,7 +5917,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Disabled' | 'Allowlisted' | 'Generous'; } - /** @name PalletEvmContractHelpersError (673) */ + /** @name PalletEvmContractHelpersError (722) */ interface PalletEvmContractHelpersError extends Enum { readonly isNoPermission: boolean; readonly isNoPendingSponsor: boolean; @@ -5463,7 +5925,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit'; } - /** @name PalletEvmMigrationError (674) */ + /** @name PalletEvmMigrationError (723) */ interface PalletEvmMigrationError extends Enum { readonly isAccountNotEmpty: boolean; readonly isAccountIsNotMigrating: boolean; @@ -5471,70 +5933,73 @@ declare module '@polkadot/types/lookup' { readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent'; } - /** @name PalletMaintenanceError (675) */ + /** @name PalletMaintenanceError (724) */ type PalletMaintenanceError = Null; - /** @name PalletUtilityError (676) */ + /** @name PalletUtilityError (725) */ interface PalletUtilityError extends Enum { readonly isTooManyCalls: boolean; readonly type: 'TooManyCalls'; } - /** @name PalletTestUtilsError (677) */ + /** @name PalletTestUtilsError (726) */ interface PalletTestUtilsError extends Enum { readonly isTestPalletDisabled: boolean; readonly isTriggerRollback: boolean; readonly type: 'TestPalletDisabled' | 'TriggerRollback'; } - /** @name SpRuntimeMultiSignature (679) */ + /** @name SpRuntimeMultiSignature (728) */ interface SpRuntimeMultiSignature extends Enum { readonly isEd25519: boolean; - readonly asEd25519: SpCoreEd25519Signature; + readonly asEd25519: U8aFixed; readonly isSr25519: boolean; - readonly asSr25519: SpCoreSr25519Signature; + readonly asSr25519: U8aFixed; readonly isEcdsa: boolean; - readonly asEcdsa: SpCoreEcdsaSignature; + readonly asEcdsa: U8aFixed; readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa'; } - /** @name SpCoreEd25519Signature (680) */ - interface SpCoreEd25519Signature extends U8aFixed {} - - /** @name SpCoreSr25519Signature (682) */ - interface SpCoreSr25519Signature extends U8aFixed {} - - /** @name SpCoreEcdsaSignature (683) */ - interface SpCoreEcdsaSignature extends U8aFixed {} - - /** @name FrameSystemExtensionsCheckSpecVersion (686) */ + /** @name FrameSystemExtensionsCheckSpecVersion (732) */ type FrameSystemExtensionsCheckSpecVersion = Null; - /** @name FrameSystemExtensionsCheckTxVersion (687) */ + /** @name FrameSystemExtensionsCheckTxVersion (733) */ type FrameSystemExtensionsCheckTxVersion = Null; - /** @name FrameSystemExtensionsCheckGenesis (688) */ + /** @name FrameSystemExtensionsCheckGenesis (734) */ type FrameSystemExtensionsCheckGenesis = Null; - /** @name FrameSystemExtensionsCheckNonce (691) */ - interface FrameSystemExtensionsCheckNonce extends Compact {} + /** @name PalletTemplateTransactionPaymentCheckNonce (737) */ + interface PalletTemplateTransactionPaymentCheckNonce extends Compact {} - /** @name FrameSystemExtensionsCheckWeight (692) */ + /** @name FrameSystemExtensionsCheckWeight (738) */ type FrameSystemExtensionsCheckWeight = Null; - /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (693) */ + /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (739) */ type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null; - /** @name OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls (694) */ + /** @name OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls (740) */ type OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls = Null; - /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (695) */ + /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (741) */ interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact {} - /** @name OpalRuntimeRuntime (696) */ + /** @name OpalRuntimeRuntime (742) */ type OpalRuntimeRuntime = Null; - /** @name PalletEthereumFakeTransactionFinalizer (697) */ + /** @name PalletEthereumFakeTransactionFinalizer (743) */ type PalletEthereumFakeTransactionFinalizer = Null; + /** @name FrameMetadataHashExtensionCheckMetadataHash (744) */ + interface FrameMetadataHashExtensionCheckMetadataHash extends Struct { + readonly mode: FrameMetadataHashExtensionMode; + } + + /** @name FrameMetadataHashExtensionMode (745) */ + interface FrameMetadataHashExtensionMode extends Enum { + readonly isDisabled: boolean; + readonly isEnabled: boolean; + readonly type: 'Disabled' | 'Enabled'; + } + } // declare module diff --git a/js-packages/yarn.lock b/js-packages/yarn.lock index 4cea4024c1..ee352c0e71 100644 --- a/js-packages/yarn.lock +++ b/js-packages/yarn.lock @@ -369,19 +369,19 @@ __metadata: languageName: node linkType: hard -"@noble/curves@npm:^1.2.0": - version: 1.2.0 - resolution: "@noble/curves@npm:1.2.0" +"@noble/curves@npm:^1.3.0": + version: 1.6.0 + resolution: "@noble/curves@npm:1.6.0" dependencies: - "@noble/hashes": 1.3.2 - checksum: bb798d7a66d8e43789e93bc3c2ddff91a1e19fdb79a99b86cd98f1e5eff0ee2024a2672902c2576ef3577b6f282f3b5c778bebd55761ddbb30e36bf275e83dd0 + "@noble/hashes": 1.5.0 + checksum: 258f3feb2a6098cf35521562ecb7d452fd728e8a008ff9f1ef435184f9d0c782ceb8f7b7fa8df3317c3be7a19f53995ee124cd05c8080b130bd42e3cb072f24d languageName: node linkType: hard -"@noble/hashes@npm:1.3.2, @noble/hashes@npm:^1.3.2": - version: 1.3.2 - resolution: "@noble/hashes@npm:1.3.2" - checksum: fe23536b436539d13f90e4b9be843cc63b1b17666a07634a2b1259dded6f490be3d050249e6af98076ea8f2ea0d56f578773c2197f2aa0eeaa5fba5bc18ba474 +"@noble/hashes@npm:1.5.0, @noble/hashes@npm:^1.3.1, @noble/hashes@npm:^1.3.3": + version: 1.5.0 + resolution: "@noble/hashes@npm:1.5.0" + checksum: 9cc031d5c888c455bfeef76af649b87f75380a4511405baea633c1e4912fd84aff7b61e99716f0231d244c9cfeda1fafd7d718963e6a0c674ed705e9b1b4f76b languageName: node linkType: hard @@ -448,171 +448,238 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-augment@npm:10.10.1": - version: 10.10.1 - resolution: "@polkadot/api-augment@npm:10.10.1" +"@polkadot-api/json-rpc-provider-proxy@npm:^0.1.0": + version: 0.1.0 + resolution: "@polkadot-api/json-rpc-provider-proxy@npm:0.1.0" + checksum: 3dcfa50dfa9c1b5654d97d818ae85042facfdf47b71c418f069d664eba149c6be10eb02a8e8de011ce8753a813e214fff195f45f55851b8cfc7f60138fe9dfb2 + languageName: node + linkType: hard + +"@polkadot-api/json-rpc-provider@npm:0.0.1, @polkadot-api/json-rpc-provider@npm:^0.0.1": + version: 0.0.1 + resolution: "@polkadot-api/json-rpc-provider@npm:0.0.1" + checksum: 1f315bdadcba7def7145011132e6127b983c6f91f976be217ad7d555bb96a67f3a270fe4a46e427531822c5d54d353d84a6439d112a99cdfc07013d3b662ee3c + languageName: node + linkType: hard + +"@polkadot-api/metadata-builders@npm:0.3.2": + version: 0.3.2 + resolution: "@polkadot-api/metadata-builders@npm:0.3.2" dependencies: - "@polkadot/api-base": 10.10.1 - "@polkadot/rpc-augment": 10.10.1 - "@polkadot/types": 10.10.1 - "@polkadot/types-augment": 10.10.1 - "@polkadot/types-codec": 10.10.1 - "@polkadot/util": ^12.5.1 - tslib: ^2.6.2 - checksum: 16ca2d71215019faba506b6dc455ef15ea1eec8b97bd146aef49a04ae15dc9246405540219bfbea36027ee50c5dbb15885296c30ee98908afdd7a56626efd06c + "@polkadot-api/substrate-bindings": 0.6.0 + "@polkadot-api/utils": 0.1.0 + checksum: e37a664ac2582048a0dd0357b378349f2165eb2f0902f7bc3aa7ec7b84735cba2b4103d36169089671c422caab30af00467cf2866c1456fc668f57ff1c8d3b55 + languageName: node + linkType: hard + +"@polkadot-api/observable-client@npm:^0.3.0": + version: 0.3.2 + resolution: "@polkadot-api/observable-client@npm:0.3.2" + dependencies: + "@polkadot-api/metadata-builders": 0.3.2 + "@polkadot-api/substrate-bindings": 0.6.0 + "@polkadot-api/utils": 0.1.0 + peerDependencies: + "@polkadot-api/substrate-client": 0.1.4 + rxjs: ">=7.8.0" + checksum: a559a815c11fe29c5ce1d69e132bbfb451abd1de3fa2c701fa60777388c3730fb86acd7f6e3d9580ae50a148c742d4562aca90070c04c70fa9d45f9d5148b448 + languageName: node + linkType: hard + +"@polkadot-api/substrate-bindings@npm:0.6.0": + version: 0.6.0 + resolution: "@polkadot-api/substrate-bindings@npm:0.6.0" + dependencies: + "@noble/hashes": ^1.3.1 + "@polkadot-api/utils": 0.1.0 + "@scure/base": ^1.1.1 + scale-ts: ^1.6.0 + checksum: c752d52dbea2b332357652b5475297ee6fa2f1ab8adffa7bd697522df5a42a0c358aec6f558523fd6f38ab20ab54ed0bda284c0c0424d917c1c68ef435dde4a4 + languageName: node + linkType: hard + +"@polkadot-api/substrate-client@npm:^0.1.2": + version: 0.1.4 + resolution: "@polkadot-api/substrate-client@npm:0.1.4" + dependencies: + "@polkadot-api/json-rpc-provider": 0.0.1 + "@polkadot-api/utils": 0.1.0 + checksum: b975bdf030523ea7620ef58b50ca1d258266656f040a95fa7875a59535a935b05d23d893090fc1216b0e119327b2df329a1aaca84c8893f5924b9536d2ed8473 + languageName: node + linkType: hard + +"@polkadot-api/utils@npm:0.1.0": + version: 0.1.0 + resolution: "@polkadot-api/utils@npm:0.1.0" + checksum: 55f39cf6949e54b763fc67e5132ae7d1095bf28f8413895dcec7e5778d9fe345b1ce9fe08f127c84f79fb9aedd51f045aa8ed84b2a72f4217047a91d2ecb4c27 + languageName: node + linkType: hard + +"@polkadot/api-augment@npm:12.4.2": + version: 12.4.2 + resolution: "@polkadot/api-augment@npm:12.4.2" + dependencies: + "@polkadot/api-base": 12.4.2 + "@polkadot/rpc-augment": 12.4.2 + "@polkadot/types": 12.4.2 + "@polkadot/types-augment": 12.4.2 + "@polkadot/types-codec": 12.4.2 + "@polkadot/util": ^13.0.2 + tslib: ^2.6.3 + checksum: 95ca6ad35b682918d989523ec25153dc1d4beab51b7dba2d8cf0a699b6337db85715dbe32bd704e47ffe964226ee2054def76f87f2c932f5d4ee2be0164c1131 languageName: node linkType: hard -"@polkadot/api-base@npm:10.10.1": - version: 10.10.1 - resolution: "@polkadot/api-base@npm:10.10.1" +"@polkadot/api-base@npm:12.4.2": + version: 12.4.2 + resolution: "@polkadot/api-base@npm:12.4.2" dependencies: - "@polkadot/rpc-core": 10.10.1 - "@polkadot/types": 10.10.1 - "@polkadot/util": ^12.5.1 + "@polkadot/rpc-core": 12.4.2 + "@polkadot/types": 12.4.2 + "@polkadot/util": ^13.0.2 rxjs: ^7.8.1 - tslib: ^2.6.2 - checksum: 374a4378484817b29c52908a9dac649b4d4f231db21a0b0b3d3ec3331c7b9b9c374c103b5e64d028c212b8ab3eb98244cd760d20e2fe5f46a8fdc1d923555047 + tslib: ^2.6.3 + checksum: 56c5933217f14e034db39c81f6fa308f2604507bbde820ca67f316ba6a390200dafade1d990ba4d6f1d2bedb94d567cb27435efe341dabf06af2388d457fc4b7 languageName: node linkType: hard -"@polkadot/api-derive@npm:10.10.1": - version: 10.10.1 - resolution: "@polkadot/api-derive@npm:10.10.1" +"@polkadot/api-derive@npm:12.4.2": + version: 12.4.2 + resolution: "@polkadot/api-derive@npm:12.4.2" dependencies: - "@polkadot/api": 10.10.1 - "@polkadot/api-augment": 10.10.1 - "@polkadot/api-base": 10.10.1 - "@polkadot/rpc-core": 10.10.1 - "@polkadot/types": 10.10.1 - "@polkadot/types-codec": 10.10.1 - "@polkadot/util": ^12.5.1 - "@polkadot/util-crypto": ^12.5.1 + "@polkadot/api": 12.4.2 + "@polkadot/api-augment": 12.4.2 + "@polkadot/api-base": 12.4.2 + "@polkadot/rpc-core": 12.4.2 + "@polkadot/types": 12.4.2 + "@polkadot/types-codec": 12.4.2 + "@polkadot/util": ^13.0.2 + "@polkadot/util-crypto": ^13.0.2 rxjs: ^7.8.1 - tslib: ^2.6.2 - checksum: ff0f016d39aa73f55a881927e6ae3dd75c2a81fe4095cdda5e558f420d815a12c204e6a2082acbef2c74867b810d41ef349de2b7924d46957be7260b71fb1512 - languageName: node - linkType: hard - -"@polkadot/api@npm:10.10.1": - version: 10.10.1 - resolution: "@polkadot/api@npm:10.10.1" - dependencies: - "@polkadot/api-augment": 10.10.1 - "@polkadot/api-base": 10.10.1 - "@polkadot/api-derive": 10.10.1 - "@polkadot/keyring": ^12.5.1 - "@polkadot/rpc-augment": 10.10.1 - "@polkadot/rpc-core": 10.10.1 - "@polkadot/rpc-provider": 10.10.1 - "@polkadot/types": 10.10.1 - "@polkadot/types-augment": 10.10.1 - "@polkadot/types-codec": 10.10.1 - "@polkadot/types-create": 10.10.1 - "@polkadot/types-known": 10.10.1 - "@polkadot/util": ^12.5.1 - "@polkadot/util-crypto": ^12.5.1 + tslib: ^2.6.3 + checksum: a209e498772ea33fe587327196f13b9779b7054bd986c48c8efeb8fe9c298a375ef478c72fe39f0afec303d418859deb2d8822b554b55640caf1c06e12beeaf1 + languageName: node + linkType: hard + +"@polkadot/api@npm:12.4.2": + version: 12.4.2 + resolution: "@polkadot/api@npm:12.4.2" + dependencies: + "@polkadot/api-augment": 12.4.2 + "@polkadot/api-base": 12.4.2 + "@polkadot/api-derive": 12.4.2 + "@polkadot/keyring": ^13.0.2 + "@polkadot/rpc-augment": 12.4.2 + "@polkadot/rpc-core": 12.4.2 + "@polkadot/rpc-provider": 12.4.2 + "@polkadot/types": 12.4.2 + "@polkadot/types-augment": 12.4.2 + "@polkadot/types-codec": 12.4.2 + "@polkadot/types-create": 12.4.2 + "@polkadot/types-known": 12.4.2 + "@polkadot/util": ^13.0.2 + "@polkadot/util-crypto": ^13.0.2 eventemitter3: ^5.0.1 rxjs: ^7.8.1 - tslib: ^2.6.2 - checksum: de1aa727b63fb921854840fe2d18b55b99f512f4d3e08d3b895fceea7891f6dd0febe6aa5fb7b1778494c78d6a6a7ebd17d426ba2e3df459aa974b7bb8fee19c + tslib: ^2.6.3 + checksum: 763e24b6d65c6a573d5d02153b35be9a4f7fa76101e3ad163dbfb46d7c0cd27904d28e92058c405dcd5ea2585788663ccaae406da09479b4bce4496e8f8a6f11 languageName: node linkType: hard -"@polkadot/keyring@npm:^12.5.1": - version: 12.5.1 - resolution: "@polkadot/keyring@npm:12.5.1" +"@polkadot/keyring@npm:^13.0.2": + version: 13.0.2 + resolution: "@polkadot/keyring@npm:13.0.2" dependencies: - "@polkadot/util": 12.5.1 - "@polkadot/util-crypto": 12.5.1 + "@polkadot/util": 13.0.2 + "@polkadot/util-crypto": 13.0.2 tslib: ^2.6.2 peerDependencies: - "@polkadot/util": 12.5.1 - "@polkadot/util-crypto": 12.5.1 - checksum: d659e5980e4cd6b68f91448a817306666530c033410c713854547dbbbecacb7362346c3ada6c5ab9dc71437c3cf002f064d7db40d1588637b96e84ff8f35dcf4 + "@polkadot/util": 13.0.2 + "@polkadot/util-crypto": 13.0.2 + checksum: 334aaee396e3f624341ac87bbf9288b3ae0b7c5d8ef222741b802563b1ae88c47f2b8ec2a1989cd62403e1ae0261b4380218c5e112d8a44674cf432216f5c3bb languageName: node linkType: hard -"@polkadot/networks@npm:12.5.1, @polkadot/networks@npm:^12.5.1": - version: 12.5.1 - resolution: "@polkadot/networks@npm:12.5.1" +"@polkadot/networks@npm:13.0.2, @polkadot/networks@npm:^13.0.2": + version: 13.0.2 + resolution: "@polkadot/networks@npm:13.0.2" dependencies: - "@polkadot/util": 12.5.1 - "@substrate/ss58-registry": ^1.43.0 + "@polkadot/util": 13.0.2 + "@substrate/ss58-registry": ^1.46.0 tslib: ^2.6.2 - checksum: f8c64684f6806365c1aded6ebca52432050cc8caacd067faf339b2f37497b63b13cebb689f7b0f9c62a890566383cf1931552da82815cc52baa2166fb1772a43 + checksum: 4bc02ae6a95c0bf770ab2ba99af59013665edf4e759a228148289859dcc171be61d93359f6846a5d248707eb215bcbf2ca69ae9f63eb1720caa38ceb3dab7587 languageName: node linkType: hard -"@polkadot/rpc-augment@npm:10.10.1": - version: 10.10.1 - resolution: "@polkadot/rpc-augment@npm:10.10.1" +"@polkadot/rpc-augment@npm:12.4.2": + version: 12.4.2 + resolution: "@polkadot/rpc-augment@npm:12.4.2" dependencies: - "@polkadot/rpc-core": 10.10.1 - "@polkadot/types": 10.10.1 - "@polkadot/types-codec": 10.10.1 - "@polkadot/util": ^12.5.1 - tslib: ^2.6.2 - checksum: d19ff447fea298387e8af9b7ac44c8eb8438b0e939608414c0ddc642fbd5c2d657d199a66741d9e330f28aa587486a163238cdf058cc69994178b121a0d26738 + "@polkadot/rpc-core": 12.4.2 + "@polkadot/types": 12.4.2 + "@polkadot/types-codec": 12.4.2 + "@polkadot/util": ^13.0.2 + tslib: ^2.6.3 + checksum: 0b329278b8b7217cdb87d451ed16e57f0d357db4e62f06d0315eea3f18db5be0078594dd0984896483f78c81d12e9bb62314c141d0a895f4e997ff49e981d2c5 languageName: node linkType: hard -"@polkadot/rpc-core@npm:10.10.1": - version: 10.10.1 - resolution: "@polkadot/rpc-core@npm:10.10.1" +"@polkadot/rpc-core@npm:12.4.2": + version: 12.4.2 + resolution: "@polkadot/rpc-core@npm:12.4.2" dependencies: - "@polkadot/rpc-augment": 10.10.1 - "@polkadot/rpc-provider": 10.10.1 - "@polkadot/types": 10.10.1 - "@polkadot/util": ^12.5.1 + "@polkadot/rpc-augment": 12.4.2 + "@polkadot/rpc-provider": 12.4.2 + "@polkadot/types": 12.4.2 + "@polkadot/util": ^13.0.2 rxjs: ^7.8.1 - tslib: ^2.6.2 - checksum: 5ab21029fbafa13e50bb48161a82c023f7015b633e258b76c2cff25bf648d7f69baf18efc291ebec8dd635b38da8223e853e15b53478268b1f6b40d2ab0b3e09 + tslib: ^2.6.3 + checksum: 5a925296e14b4db61b1e37597934ad6a75b8cd7c195d5ef4a50dc200b453fdd86908770308076fe89364be280ad5777b187657b465486767baae67c163906258 languageName: node linkType: hard -"@polkadot/rpc-provider@npm:10.10.1": - version: 10.10.1 - resolution: "@polkadot/rpc-provider@npm:10.10.1" +"@polkadot/rpc-provider@npm:12.4.2": + version: 12.4.2 + resolution: "@polkadot/rpc-provider@npm:12.4.2" dependencies: - "@polkadot/keyring": ^12.5.1 - "@polkadot/types": 10.10.1 - "@polkadot/types-support": 10.10.1 - "@polkadot/util": ^12.5.1 - "@polkadot/util-crypto": ^12.5.1 - "@polkadot/x-fetch": ^12.5.1 - "@polkadot/x-global": ^12.5.1 - "@polkadot/x-ws": ^12.5.1 - "@substrate/connect": 0.7.33 + "@polkadot/keyring": ^13.0.2 + "@polkadot/types": 12.4.2 + "@polkadot/types-support": 12.4.2 + "@polkadot/util": ^13.0.2 + "@polkadot/util-crypto": ^13.0.2 + "@polkadot/x-fetch": ^13.0.2 + "@polkadot/x-global": ^13.0.2 + "@polkadot/x-ws": ^13.0.2 + "@substrate/connect": 0.8.11 eventemitter3: ^5.0.1 mock-socket: ^9.3.1 - nock: ^13.3.4 - tslib: ^2.6.2 + nock: ^13.5.4 + tslib: ^2.6.3 dependenciesMeta: "@substrate/connect": optional: true - checksum: 44147ad7ce4bb0fccf5272bbe56b3b65c1e907f02109c8e18a5b5da8c658f84c1d7741c5e6878adacd06514254b0a7fb8254d5a222f55f25f7a573b2ba970449 - languageName: node - linkType: hard - -"@polkadot/typegen@npm:^10.10.1": - version: 10.10.1 - resolution: "@polkadot/typegen@npm:10.10.1" - dependencies: - "@polkadot/api": 10.10.1 - "@polkadot/api-augment": 10.10.1 - "@polkadot/rpc-augment": 10.10.1 - "@polkadot/rpc-provider": 10.10.1 - "@polkadot/types": 10.10.1 - "@polkadot/types-augment": 10.10.1 - "@polkadot/types-codec": 10.10.1 - "@polkadot/types-create": 10.10.1 - "@polkadot/types-support": 10.10.1 - "@polkadot/util": ^12.5.1 - "@polkadot/util-crypto": ^12.5.1 - "@polkadot/x-ws": ^12.5.1 + checksum: 029c2e7628271f5bb7ab4688adc14dcb3a6d13c00a2e1404f96f8a81188c51573d116e4c869b55faae54979afe319e4121404b956487784d52b5fd4a4c59bf26 + languageName: node + linkType: hard + +"@polkadot/typegen@npm:12.4.2": + version: 12.4.2 + resolution: "@polkadot/typegen@npm:12.4.2" + dependencies: + "@polkadot/api": 12.4.2 + "@polkadot/api-augment": 12.4.2 + "@polkadot/rpc-augment": 12.4.2 + "@polkadot/rpc-provider": 12.4.2 + "@polkadot/types": 12.4.2 + "@polkadot/types-augment": 12.4.2 + "@polkadot/types-codec": 12.4.2 + "@polkadot/types-create": 12.4.2 + "@polkadot/types-support": 12.4.2 + "@polkadot/util": ^13.0.2 + "@polkadot/util-crypto": ^13.0.2 + "@polkadot/x-ws": ^13.0.2 handlebars: ^4.7.8 - tslib: ^2.6.2 + tslib: ^2.6.3 yargs: ^17.7.2 bin: polkadot-types-chain-info: scripts/polkadot-types-chain-info.mjs @@ -620,277 +687,277 @@ __metadata: polkadot-types-from-defs: scripts/polkadot-types-from-defs.mjs polkadot-types-internal-interfaces: scripts/polkadot-types-internal-interfaces.mjs polkadot-types-internal-metadata: scripts/polkadot-types-internal-metadata.mjs - checksum: 9c167fffc476b59524ef864472b688884739c8f2deccc24b09713d7ce4247e43e352be05261ff21072dc1afbbbd2da750a11f42ae657de481d9b402ef858904b + checksum: 7ed6d6f482f0dc3d9ffda2c70383432d3f427e3721992580801b0fa84a90a2fac3bc2284cf6a839f92b6d628caefe846ed69ed7b45fb0e18e6291e59761926d0 languageName: node linkType: hard -"@polkadot/types-augment@npm:10.10.1": - version: 10.10.1 - resolution: "@polkadot/types-augment@npm:10.10.1" +"@polkadot/types-augment@npm:12.4.2": + version: 12.4.2 + resolution: "@polkadot/types-augment@npm:12.4.2" dependencies: - "@polkadot/types": 10.10.1 - "@polkadot/types-codec": 10.10.1 - "@polkadot/util": ^12.5.1 - tslib: ^2.6.2 - checksum: 40440fc2a9568c9e636f478c4f191cbb38f07256f4db7f1bb9bdbcf0b928280315afee2843090a006a3dfd16e000f22dd6a9bd5687dd6400a1fc3dcd6ee59a25 + "@polkadot/types": 12.4.2 + "@polkadot/types-codec": 12.4.2 + "@polkadot/util": ^13.0.2 + tslib: ^2.6.3 + checksum: 15c0d82e190e97dd91df068d3cd9717364fbdfb1c8f3f873ff5c9156b76ee0ae78550d935dd2f4cf7e47d477e7132575d1154c27f3eccb78676e001fea9945c1 languageName: node linkType: hard -"@polkadot/types-codec@npm:10.10.1": - version: 10.10.1 - resolution: "@polkadot/types-codec@npm:10.10.1" +"@polkadot/types-codec@npm:12.4.2": + version: 12.4.2 + resolution: "@polkadot/types-codec@npm:12.4.2" dependencies: - "@polkadot/util": ^12.5.1 - "@polkadot/x-bigint": ^12.5.1 - tslib: ^2.6.2 - checksum: 17ceb561e6a82784febd5c8b0219050a9b8aeeb766ffbae8255ab586120063ca9fea1c89df776047e861aba87e43048a8060d5c469bcd42c169830a69416d62f + "@polkadot/util": ^13.0.2 + "@polkadot/x-bigint": ^13.0.2 + tslib: ^2.6.3 + checksum: d5357e70c1e48a3e34bfffdbc1c88d59fa014c984bcdb09fa61153ed0afe96908852c235112b215b26e4ff8cd86e7167fad8a73a57cc6da473ef5d0e214ee8ec languageName: node linkType: hard -"@polkadot/types-create@npm:10.10.1": - version: 10.10.1 - resolution: "@polkadot/types-create@npm:10.10.1" +"@polkadot/types-create@npm:12.4.2": + version: 12.4.2 + resolution: "@polkadot/types-create@npm:12.4.2" dependencies: - "@polkadot/types-codec": 10.10.1 - "@polkadot/util": ^12.5.1 - tslib: ^2.6.2 - checksum: 1dedef441218a0786774033c2d587b8ccdf184a72da671c7da70ced9f765073bfec4a15d8937b00d5d50cb0eb1b4bd25886ace3f7e024c95b46f58a1c318efd1 + "@polkadot/types-codec": 12.4.2 + "@polkadot/util": ^13.0.2 + tslib: ^2.6.3 + checksum: 44b2491a1feaba192f818e9ab3ace507e8c6d155f5451f3324342edee1bd2a21b65020a41c4e258ce4900c7209d7dffe7f31b1a9425dad44a26d7f28fe8480a5 languageName: node linkType: hard -"@polkadot/types-known@npm:10.10.1": - version: 10.10.1 - resolution: "@polkadot/types-known@npm:10.10.1" +"@polkadot/types-known@npm:12.4.2": + version: 12.4.2 + resolution: "@polkadot/types-known@npm:12.4.2" dependencies: - "@polkadot/networks": ^12.5.1 - "@polkadot/types": 10.10.1 - "@polkadot/types-codec": 10.10.1 - "@polkadot/types-create": 10.10.1 - "@polkadot/util": ^12.5.1 - tslib: ^2.6.2 - checksum: 25489967fcd6022f11a64c20884dd1ef49494f3b3e514034a08cc07f61267121adf8b96b307edc3381c445de58842d515aa8440ee888bc37120775deffae671a + "@polkadot/networks": ^13.0.2 + "@polkadot/types": 12.4.2 + "@polkadot/types-codec": 12.4.2 + "@polkadot/types-create": 12.4.2 + "@polkadot/util": ^13.0.2 + tslib: ^2.6.3 + checksum: 9410347693b1c14d8a1fa52e3a633b1345ceae34ca6e63f86dd87666bf752da47dff7f8aa60f249d640151025034078cf837c18929ac0d72d626159c045a1a02 languageName: node linkType: hard -"@polkadot/types-support@npm:10.10.1": - version: 10.10.1 - resolution: "@polkadot/types-support@npm:10.10.1" +"@polkadot/types-support@npm:12.4.2": + version: 12.4.2 + resolution: "@polkadot/types-support@npm:12.4.2" dependencies: - "@polkadot/util": ^12.5.1 - tslib: ^2.6.2 - checksum: 391857f39463fcc9bbc34a6bafd191e12eb3fd28f386d4094cc3cdcbcd0fcc8799c6e99a49b0e634c6a1b78d07188eb6e1e01299f55df2593c3f30fcb241631c + "@polkadot/util": ^13.0.2 + tslib: ^2.6.3 + checksum: 77b96fa39717fbe0104b995a95b90e51e849f151de8d922e75f03a99c1b60aa1ee65029832b16e791692b4f3c17668ad8777fb6d2ce3f6019ca9aa01ba2135b0 languageName: node linkType: hard -"@polkadot/types@npm:10.10.1": - version: 10.10.1 - resolution: "@polkadot/types@npm:10.10.1" +"@polkadot/types@npm:12.4.2": + version: 12.4.2 + resolution: "@polkadot/types@npm:12.4.2" dependencies: - "@polkadot/keyring": ^12.5.1 - "@polkadot/types-augment": 10.10.1 - "@polkadot/types-codec": 10.10.1 - "@polkadot/types-create": 10.10.1 - "@polkadot/util": ^12.5.1 - "@polkadot/util-crypto": ^12.5.1 + "@polkadot/keyring": ^13.0.2 + "@polkadot/types-augment": 12.4.2 + "@polkadot/types-codec": 12.4.2 + "@polkadot/types-create": 12.4.2 + "@polkadot/util": ^13.0.2 + "@polkadot/util-crypto": ^13.0.2 rxjs: ^7.8.1 - tslib: ^2.6.2 - checksum: 58b8b026e25f8156f270bdd240a2e384b64db93a6abe7c15abe9acdc2ce06a724328a8bf4d5b3047f5e398eef3d4961447d8511c52105c082dddd1b9d8fb0cb4 + tslib: ^2.6.3 + checksum: 7916d6ce73bc36e03582113114df01677f0cbfb780349d630f0da7a3413da42dbf9e9d5c97abdfb1918d67f6954c06ea3380cb162297c26503aa18b220ecec9d languageName: node linkType: hard -"@polkadot/util-crypto@npm:12.5.1, @polkadot/util-crypto@npm:^12.5.1": - version: 12.5.1 - resolution: "@polkadot/util-crypto@npm:12.5.1" +"@polkadot/util-crypto@npm:13.0.2, @polkadot/util-crypto@npm:^13.0.2": + version: 13.0.2 + resolution: "@polkadot/util-crypto@npm:13.0.2" dependencies: - "@noble/curves": ^1.2.0 - "@noble/hashes": ^1.3.2 - "@polkadot/networks": 12.5.1 - "@polkadot/util": 12.5.1 - "@polkadot/wasm-crypto": ^7.2.2 - "@polkadot/wasm-util": ^7.2.2 - "@polkadot/x-bigint": 12.5.1 - "@polkadot/x-randomvalues": 12.5.1 - "@scure/base": ^1.1.3 + "@noble/curves": ^1.3.0 + "@noble/hashes": ^1.3.3 + "@polkadot/networks": 13.0.2 + "@polkadot/util": 13.0.2 + "@polkadot/wasm-crypto": ^7.3.2 + "@polkadot/wasm-util": ^7.3.2 + "@polkadot/x-bigint": 13.0.2 + "@polkadot/x-randomvalues": 13.0.2 + "@scure/base": ^1.1.5 tslib: ^2.6.2 peerDependencies: - "@polkadot/util": 12.5.1 - checksum: 4efb5ca6e48f7457d8dcfa02ac9f581ce23a90ba9e72c8f6fd7649296e92dcb3dfa3d2bdd0b5ed68b81bf15e32aabef34f60d47851249d8859dba7ebeb63501f + "@polkadot/util": 13.0.2 + checksum: 025bb2179d77b73dd8af775192627fe31e985e365fbecf38d7903a663aa11b703fa3f23fbb65e53d0a9710cc087e0cb9a113b0a660d8e9b36de21c36c1bc40d7 languageName: node linkType: hard -"@polkadot/util@npm:12.5.1, @polkadot/util@npm:^12.5.1": - version: 12.5.1 - resolution: "@polkadot/util@npm:12.5.1" +"@polkadot/util@npm:13.0.2, @polkadot/util@npm:^13.0.2": + version: 13.0.2 + resolution: "@polkadot/util@npm:13.0.2" dependencies: - "@polkadot/x-bigint": 12.5.1 - "@polkadot/x-global": 12.5.1 - "@polkadot/x-textdecoder": 12.5.1 - "@polkadot/x-textencoder": 12.5.1 - "@types/bn.js": ^5.1.1 + "@polkadot/x-bigint": 13.0.2 + "@polkadot/x-global": 13.0.2 + "@polkadot/x-textdecoder": 13.0.2 + "@polkadot/x-textencoder": 13.0.2 + "@types/bn.js": ^5.1.5 bn.js: ^5.2.1 tslib: ^2.6.2 - checksum: 955d41c01cb3c7da72c4f5f8faed13e1af1fa9603a3a1dd9f282eb69b5ebbffb889e76c595d1252ff5f9665cb3c55f1a96f908b020dc79356f92b2d5ce1aa81e + checksum: c7d71898395d2e9fb994ed53be10e9b44e9cb6f6bd502ce31a48848dda032a9e3f462a6039759798023425c6e17d5a7515784f0a8c0ab74c1a0a2691b0ef3660 languageName: node linkType: hard -"@polkadot/wasm-bridge@npm:7.2.2": - version: 7.2.2 - resolution: "@polkadot/wasm-bridge@npm:7.2.2" +"@polkadot/wasm-bridge@npm:7.3.2": + version: 7.3.2 + resolution: "@polkadot/wasm-bridge@npm:7.3.2" dependencies: - "@polkadot/wasm-util": 7.2.2 - tslib: ^2.6.1 + "@polkadot/wasm-util": 7.3.2 + tslib: ^2.6.2 peerDependencies: "@polkadot/util": "*" "@polkadot/x-randomvalues": "*" - checksum: b998b21bca963699c2958de0558bad83d19ca72922b7ca74beb99b8c418bdc4be7af86f7ea231b3224de55eb8ec59e0626642d393fc90192659cccaf346d5d2b + checksum: 8c68b78cbd62347ebdf3fa66f2ffd1f7e883df71d770f5099ff652b083a79f1d7e9e7826a6acd8e986e9da0b07c0170a3f77b6a35726c6b24d856e3f8d08d201 languageName: node linkType: hard -"@polkadot/wasm-crypto-asmjs@npm:7.2.2": - version: 7.2.2 - resolution: "@polkadot/wasm-crypto-asmjs@npm:7.2.2" +"@polkadot/wasm-crypto-asmjs@npm:7.3.2": + version: 7.3.2 + resolution: "@polkadot/wasm-crypto-asmjs@npm:7.3.2" dependencies: - tslib: ^2.6.1 + tslib: ^2.6.2 peerDependencies: "@polkadot/util": "*" - checksum: 2eba52949b51adfa1e8183d406f40b935cdea1a3189994529febd9db4f1abf5f853782e2c15dad7ab0f2dd8641b3dbf40b221c0462b6a29ac11c38e8a70a8a5b + checksum: 669ea001565301f9b1a8feecb0e301c854fc318e5605316b57be7e83d717e7ee8ac460001cd44b18075a3d028c32c4a605c0e0e2e95ae00865282321b009ed26 languageName: node linkType: hard -"@polkadot/wasm-crypto-init@npm:7.2.2": - version: 7.2.2 - resolution: "@polkadot/wasm-crypto-init@npm:7.2.2" +"@polkadot/wasm-crypto-init@npm:7.3.2": + version: 7.3.2 + resolution: "@polkadot/wasm-crypto-init@npm:7.3.2" dependencies: - "@polkadot/wasm-bridge": 7.2.2 - "@polkadot/wasm-crypto-asmjs": 7.2.2 - "@polkadot/wasm-crypto-wasm": 7.2.2 - "@polkadot/wasm-util": 7.2.2 - tslib: ^2.6.1 + "@polkadot/wasm-bridge": 7.3.2 + "@polkadot/wasm-crypto-asmjs": 7.3.2 + "@polkadot/wasm-crypto-wasm": 7.3.2 + "@polkadot/wasm-util": 7.3.2 + tslib: ^2.6.2 peerDependencies: "@polkadot/util": "*" "@polkadot/x-randomvalues": "*" - checksum: 75e4cc6cfecef13942397c0b0cbcd2ebf8534589b0a22104df6352908efbdc78e6fa42df3ce1660c1b267c8b7c40667a42c0d986a7a3bc4a2b9ea17ba97608af + checksum: af7bc62bba16f1fbbfd76601ecf18ed8f4dfc685807e2e89ef8e8d02f824d1a1ed1635e9c2448c6c12a9a183192b18943f9ce077d6b7781c4d43cdb5c45c9161 languageName: node linkType: hard -"@polkadot/wasm-crypto-wasm@npm:7.2.2": - version: 7.2.2 - resolution: "@polkadot/wasm-crypto-wasm@npm:7.2.2" +"@polkadot/wasm-crypto-wasm@npm:7.3.2": + version: 7.3.2 + resolution: "@polkadot/wasm-crypto-wasm@npm:7.3.2" dependencies: - "@polkadot/wasm-util": 7.2.2 - tslib: ^2.6.1 + "@polkadot/wasm-util": 7.3.2 + tslib: ^2.6.2 peerDependencies: "@polkadot/util": "*" - checksum: e3d0aeb59fb7e5d3d25a256ed57c4e05895e9d7e29cb22214d9b59ff6e400f25b0c5758f77a0513befd99ef33051b43bbff3d1def978e87668aa74f3f8799c0b + checksum: e112ea3d4f8858a95fdaad47341b422db3db3256b7e7d709d1c3e0bc4c4bbdf81028eaa556b688078b32ff15be33af093b903c680f54eb1552072afede621a6a languageName: node linkType: hard -"@polkadot/wasm-crypto@npm:^7.2.2": - version: 7.2.2 - resolution: "@polkadot/wasm-crypto@npm:7.2.2" - dependencies: - "@polkadot/wasm-bridge": 7.2.2 - "@polkadot/wasm-crypto-asmjs": 7.2.2 - "@polkadot/wasm-crypto-init": 7.2.2 - "@polkadot/wasm-crypto-wasm": 7.2.2 - "@polkadot/wasm-util": 7.2.2 - tslib: ^2.6.1 +"@polkadot/wasm-crypto@npm:^7.3.2": + version: 7.3.2 + resolution: "@polkadot/wasm-crypto@npm:7.3.2" + dependencies: + "@polkadot/wasm-bridge": 7.3.2 + "@polkadot/wasm-crypto-asmjs": 7.3.2 + "@polkadot/wasm-crypto-init": 7.3.2 + "@polkadot/wasm-crypto-wasm": 7.3.2 + "@polkadot/wasm-util": 7.3.2 + tslib: ^2.6.2 peerDependencies: "@polkadot/util": "*" "@polkadot/x-randomvalues": "*" - checksum: 25710154c1a25aea59a8cdba4cfe051249e83b86cbc0869be7b0680c86f2841131f7df76881d422fb4d179b9037320957e725bc50546e63273bc11b85751b5a6 + checksum: 574006cdcc3e76af28cc79102726a79fdcd765ca5b45cbc4807d70917d82131b59f50b5cc07bd165b2863ed131b8764fef74b00c68ba5ec30a21c04c72061f8f languageName: node linkType: hard -"@polkadot/wasm-util@npm:7.2.2, @polkadot/wasm-util@npm:^7.2.2": - version: 7.2.2 - resolution: "@polkadot/wasm-util@npm:7.2.2" +"@polkadot/wasm-util@npm:7.3.2, @polkadot/wasm-util@npm:^7.3.2": + version: 7.3.2 + resolution: "@polkadot/wasm-util@npm:7.3.2" dependencies: - tslib: ^2.6.1 + tslib: ^2.6.2 peerDependencies: "@polkadot/util": "*" - checksum: b1ad387e5b2726183e1c141ac59f9e6e722d9c1e896dbe0069fb5ce46d30c3517f07b36c840c1d82d23256e111a3697ba3015e53073858e8e05ab3d0cbdbf05e + checksum: 44bd445043714aac6d184ce02d62fbdb97a117fd4d8bdbf3f2c1d14f6911a7d87ed6bb4682035eb757524ade995f7f4f8aaa07c8a194f761884ded25a6b383a9 languageName: node linkType: hard -"@polkadot/x-bigint@npm:12.5.1, @polkadot/x-bigint@npm:^12.5.1": - version: 12.5.1 - resolution: "@polkadot/x-bigint@npm:12.5.1" +"@polkadot/x-bigint@npm:13.0.2, @polkadot/x-bigint@npm:^13.0.2": + version: 13.0.2 + resolution: "@polkadot/x-bigint@npm:13.0.2" dependencies: - "@polkadot/x-global": 12.5.1 + "@polkadot/x-global": 13.0.2 tslib: ^2.6.2 - checksum: 295d00b17860196c43ac4957ffb052ca68bb4319990876238e3f0925ca6ca9106810204136315491116a11a277d8a1e1fae65cc43a168505ee5a69a27404d2e0 + checksum: a1c9d9ab3aa27f7a68a879c76cea38ca4757ae4802c6d2a7402dbfbf31468c4dd3c4f1e852e62c0a1bff18889fccac1ccbc38649bf96e9473948ea7d7c2899f3 languageName: node linkType: hard -"@polkadot/x-fetch@npm:^12.5.1": - version: 12.5.1 - resolution: "@polkadot/x-fetch@npm:12.5.1" +"@polkadot/x-fetch@npm:^13.0.2": + version: 13.0.2 + resolution: "@polkadot/x-fetch@npm:13.0.2" dependencies: - "@polkadot/x-global": 12.5.1 + "@polkadot/x-global": 13.0.2 node-fetch: ^3.3.2 tslib: ^2.6.2 - checksum: 26b24b09f9074c181f53f13ea17a1389e823b262a956a28fddf609ba7d177a1cde3cd4db28e8e38320b207adcc675ac868dadfaeafe9cf3998a3861f02ee43d7 + checksum: 459948a2b95601b0a39a7eb55277e80bd33e2df1ecab133dbe9823e020d3d5f2a64056911fc2072d0c328550c510e7e0ec45327b354530ae83306d536c616e29 languageName: node linkType: hard -"@polkadot/x-global@npm:12.5.1, @polkadot/x-global@npm:^12.5.1": - version: 12.5.1 - resolution: "@polkadot/x-global@npm:12.5.1" +"@polkadot/x-global@npm:13.0.2, @polkadot/x-global@npm:^13.0.2": + version: 13.0.2 + resolution: "@polkadot/x-global@npm:13.0.2" dependencies: tslib: ^2.6.2 - checksum: d45e3d6096674b7495992c6e45cf1a284db545c16107ba9adae241d6aefe13c27adfaf93d58a3079e6a6b63acb221eb3181c7f55dc34124b24b542154724c506 + checksum: b487bf2a15d77681efae5e928364526102cff48207a871662515c500404ae58d9d08df813fd675c8bf0a2744dbf4648db6a0fe927993e597e8391349295560c8 languageName: node linkType: hard -"@polkadot/x-randomvalues@npm:12.5.1": - version: 12.5.1 - resolution: "@polkadot/x-randomvalues@npm:12.5.1" +"@polkadot/x-randomvalues@npm:13.0.2": + version: 13.0.2 + resolution: "@polkadot/x-randomvalues@npm:13.0.2" dependencies: - "@polkadot/x-global": 12.5.1 + "@polkadot/x-global": 13.0.2 tslib: ^2.6.2 peerDependencies: - "@polkadot/util": 12.5.1 + "@polkadot/util": 13.0.2 "@polkadot/wasm-util": "*" - checksum: 52ee4b4206a98cac9e97e3d194db01fb4a540046672784442926478eaa2b2a74cebae59d10432671f544d72df5d623aedf57c301bcf447a4c72688ec3cb82fd5 + checksum: 3968ca273ccdc3055466a8bdeae64141ef20dd5451f7fc750eaef28465460e41d28cdd4eadedf3b4ca94024c9ebae023a8a04eb946b9fd17a1ff9c105ebfe39c languageName: node linkType: hard -"@polkadot/x-textdecoder@npm:12.5.1": - version: 12.5.1 - resolution: "@polkadot/x-textdecoder@npm:12.5.1" +"@polkadot/x-textdecoder@npm:13.0.2": + version: 13.0.2 + resolution: "@polkadot/x-textdecoder@npm:13.0.2" dependencies: - "@polkadot/x-global": 12.5.1 + "@polkadot/x-global": 13.0.2 tslib: ^2.6.2 - checksum: 202a9e216e9b89cc74012fa3f6c96eeb368dc3e6fa3c943f28c37c20941a6c678506cbc136946e9ff100123aa43846eab7765af074de94dfdd23f4ce2242c794 + checksum: 586c970c66a014471b5354d41a55aa6dbeaa4aec041153d294205d7f86f93cfb6cb5c274b6ef38b0923b515b531bc8608fea7cdc6116c6dc61c370d892b207e4 languageName: node linkType: hard -"@polkadot/x-textencoder@npm:12.5.1": - version: 12.5.1 - resolution: "@polkadot/x-textencoder@npm:12.5.1" +"@polkadot/x-textencoder@npm:13.0.2": + version: 13.0.2 + resolution: "@polkadot/x-textencoder@npm:13.0.2" dependencies: - "@polkadot/x-global": 12.5.1 + "@polkadot/x-global": 13.0.2 tslib: ^2.6.2 - checksum: 7a8d99d203cbd9537e55405d737667ae8cd9ad40a9e3de52f2ef7580a23d27ebf7f7c52da4e0eca6ca34dc97aae33a97bab36afb54aaa7714f54a31931f94113 + checksum: b2db5ab0fd94b8a13816f028f9fb52e0f00c43df4a727c01911902b5fc11bec476b02b92aee5a98adabf4696907e828752c6e0eb9bece79f0440675e4eb030c9 languageName: node linkType: hard -"@polkadot/x-ws@npm:^12.5.1": - version: 12.5.1 - resolution: "@polkadot/x-ws@npm:12.5.1" +"@polkadot/x-ws@npm:^13.0.2": + version: 13.0.2 + resolution: "@polkadot/x-ws@npm:13.0.2" dependencies: - "@polkadot/x-global": 12.5.1 + "@polkadot/x-global": 13.0.2 tslib: ^2.6.2 - ws: ^8.14.1 - checksum: 839e82ab4bf013d17a356e2f10a42ba2ecf88f4e432985241e785416aeb6434c0e7c897b09aeeab23f5d27b27ef0dfe65eda85293c7a08f52d0774bb1b23704b + ws: ^8.16.0 + checksum: c5aad76a3e121016dd740eddaf5601b2d98b7e568da51b6a0ffe4bced6dfb7373a15067d0c5c267e6daed40ea55014ef4b875c5eaf395c8b3fcd9e85047d2dd9 languageName: node linkType: hard -"@scure/base@npm:^1.1.3": - version: 1.1.3 - resolution: "@scure/base@npm:1.1.3" - checksum: 1606ab8a4db898cb3a1ada16c15437c3bce4e25854fadc8eb03ae93cbbbac1ed90655af4b0be3da37e12056fef11c0374499f69b9e658c9e5b7b3e06353c630c +"@scure/base@npm:^1.1.1, @scure/base@npm:^1.1.5": + version: 1.1.8 + resolution: "@scure/base@npm:1.1.8" + checksum: 1fc8a355ba68663c0eb430cf6a2c5ff5af790c347c1ba1953f344e8681ab37e37e2545e495f7f971b0245727d710fea8c1e57d232d0c6c543cbed4965c7596a1 languageName: node linkType: hard @@ -901,27 +968,53 @@ __metadata: languageName: node linkType: hard -"@substrate/connect-extension-protocol@npm:^1.0.1": - version: 1.0.1 - resolution: "@substrate/connect-extension-protocol@npm:1.0.1" - checksum: 116dee587e81e832e14c25038bd849438c9493c6089aa6c1bf1760780d463880d44d362ed983d57ac3695368ac46f3c9df3dbaed92f36de89626c9735cecd1e4 +"@substrate/connect-extension-protocol@npm:^2.0.0": + version: 2.1.0 + resolution: "@substrate/connect-extension-protocol@npm:2.1.0" + checksum: 383609788812f7b0d398284988e621e25fa375fed5ef8b66ae40c797d7fd51f79496d1a9d9614be0cd8e7463a9ebf2f032972bd1a5390a8a1d880a131df20a14 + languageName: node + linkType: hard + +"@substrate/connect-known-chains@npm:^1.1.5": + version: 1.4.0 + resolution: "@substrate/connect-known-chains@npm:1.4.0" + checksum: 7f2942f78399560cab9e77a26ca116a192f209b2499e50e8c77c05712cecc4587696b3c8ea4d9acb1d0bedf35b52fa52ad530ba332bdfdfe0c6f1cdb656d70c0 languageName: node linkType: hard -"@substrate/connect@npm:0.7.33": - version: 0.7.33 - resolution: "@substrate/connect@npm:0.7.33" +"@substrate/connect@npm:0.8.11": + version: 0.8.11 + resolution: "@substrate/connect@npm:0.8.11" dependencies: - "@substrate/connect-extension-protocol": ^1.0.1 - smoldot: 2.0.1 - checksum: b4cfb86bef46450b6635e7dbf1eb133603c6ad8c955046e72fc67aaf36b1fe5f2aeeb521f4b1ea0a1eea9ac4c49b0f6417c24eb1320e8da13cc0d3efd7ee4cd7 + "@substrate/connect-extension-protocol": ^2.0.0 + "@substrate/connect-known-chains": ^1.1.5 + "@substrate/light-client-extension-helpers": ^1.0.0 + smoldot: 2.0.26 + checksum: c7c915ef51c43258f928323b8197b20f8dc3c14f5a5369b320a209df0037bd49aa5fee849486872bee22f40fced8be169e23a600d36b6f254d7e9e80ac2e1c9c + languageName: node + linkType: hard + +"@substrate/light-client-extension-helpers@npm:^1.0.0": + version: 1.0.0 + resolution: "@substrate/light-client-extension-helpers@npm:1.0.0" + dependencies: + "@polkadot-api/json-rpc-provider": ^0.0.1 + "@polkadot-api/json-rpc-provider-proxy": ^0.1.0 + "@polkadot-api/observable-client": ^0.3.0 + "@polkadot-api/substrate-client": ^0.1.2 + "@substrate/connect-extension-protocol": ^2.0.0 + "@substrate/connect-known-chains": ^1.1.5 + rxjs: ^7.8.1 + peerDependencies: + smoldot: 2.x + checksum: 12b2180c1b5fa9884588e7e94c095ba6bdd4bc386ca54c2bd2d58e8b606b361b04636ae0536b1eb4a18398e31d191d5949e3b3ba9b3a01d6592f425fb671881c languageName: node linkType: hard -"@substrate/ss58-registry@npm:^1.43.0": - version: 1.43.0 - resolution: "@substrate/ss58-registry@npm:1.43.0" - checksum: b2ecfd7365b946be2db7e2c5fa1f9136ff840bb2b8e6ffac0f48cd83f01a95c8a0fee1bb744255591bfc1f76766cd834182cde8cbd96e7849549d189c5812b3c +"@substrate/ss58-registry@npm:^1.46.0": + version: 1.50.0 + resolution: "@substrate/ss58-registry@npm:1.50.0" + checksum: d19d933fadf9bfbebd1c4a62c750620de34bd920ca6beb3ad8d66147c6d672e0773b57fce8394ec52a36c60d0564a92b7961ed1eac8508bca0248e23f62b8460 languageName: node linkType: hard @@ -980,6 +1073,15 @@ __metadata: languageName: node linkType: hard +"@types/bn.js@npm:^5.1.5": + version: 5.1.5 + resolution: "@types/bn.js@npm:5.1.5" + dependencies: + "@types/node": "*" + checksum: c87b28c4af74545624f8a3dae5294b16aa190c222626e8d4b2e327b33b1a3f1eeb43e7a24d914a9774bca43d8cd6e1cb0325c1f4b3a244af6693a024e1d918e6 + languageName: node + linkType: hard + "@types/cacheable-request@npm:^6.0.1, @types/cacheable-request@npm:^6.0.2": version: 6.0.3 resolution: "@types/cacheable-request@npm:6.0.3" @@ -1252,7 +1354,7 @@ __metadata: version: 0.0.0-use.local resolution: "@unique-nft/opal-testnet-types@workspace:types" dependencies: - "@polkadot/typegen": ^10.10.1 + "@polkadot/typegen": 12.4.2 languageName: unknown linkType: soft @@ -1260,9 +1362,9 @@ __metadata: version: 0.0.0-use.local resolution: "@unique-nft/playgrounds@workspace:playgrounds" dependencies: - "@polkadot/api": 10.10.1 - "@polkadot/util": ^12.5.1 - "@polkadot/util-crypto": ^12.5.1 + "@polkadot/api": 12.4.2 + "@polkadot/util": ^13.0.2 + "@polkadot/util-crypto": ^13.0.2 languageName: unknown linkType: soft @@ -1276,9 +1378,9 @@ __metadata: version: 0.0.0-use.local resolution: "@unique/test-utils@workspace:test-utils" dependencies: - "@polkadot/api": 10.10.1 - "@polkadot/util": ^12.5.1 - "@polkadot/util-crypto": ^12.5.1 + "@polkadot/api": 12.4.2 + "@polkadot/util": ^13.0.2 + "@polkadot/util-crypto": ^13.0.2 "@unique-nft/opal-testnet-types": "workspace:*" languageName: unknown linkType: soft @@ -1291,6 +1393,13 @@ __metadata: languageName: unknown linkType: soft +"@yarnpkg/lockfile@npm:^1.1.0": + version: 1.1.0 + resolution: "@yarnpkg/lockfile@npm:1.1.0" + checksum: 05b881b4866a3546861fee756e6d3812776ea47fa6eb7098f983d6d0eefa02e12b66c3fff931574120f196286a7ad4879ce02743c8bb2be36c6a576c7852083a + languageName: node + linkType: hard + "abbrev@npm:^2.0.0": version: 2.0.0 resolution: "abbrev@npm:2.0.0" @@ -1506,6 +1615,13 @@ __metadata: languageName: node linkType: hard +"at-least-node@npm:^1.0.0": + version: 1.0.0 + resolution: "at-least-node@npm:1.0.0" + checksum: 463e2f8e43384f1afb54bc68485c436d7622acec08b6fad269b421cb1d29cebb5af751426793d0961ed243146fe4dc983402f6d5a51b720b277818dbf6f2e49e + languageName: node + linkType: hard + "available-typed-arrays@npm:^1.0.5": version: 1.0.5 resolution: "available-typed-arrays@npm:1.0.5" @@ -1676,6 +1792,15 @@ __metadata: languageName: node linkType: hard +"braces@npm:^3.0.3": + version: 3.0.3 + resolution: "braces@npm:3.0.3" + dependencies: + fill-range: ^7.1.1 + checksum: b95aa0b3bd909f6cd1720ffcf031aeaf46154dd88b4da01f9a1d3f7ea866a79eba76a6d01cbc3c422b2ee5cdc39a4f02491058d5df0d7bf6e6a162a832df1f69 + languageName: node + linkType: hard + "brorand@npm:^1.1.0": version: 1.1.0 resolution: "brorand@npm:1.1.0" @@ -1825,6 +1950,19 @@ __metadata: languageName: node linkType: hard +"call-bind@npm:^1.0.5": + version: 1.0.7 + resolution: "call-bind@npm:1.0.7" + dependencies: + es-define-property: ^1.0.0 + es-errors: ^1.3.0 + function-bind: ^1.1.2 + get-intrinsic: ^1.2.4 + set-function-length: ^1.2.1 + checksum: 295c0c62b90dd6522e6db3b0ab1ce26bdf9e7404215bda13cfee25b626b5ff1a7761324d58d38b1ef1607fc65aca2d06e44d2e18d0dfc6c14b465b00d8660029 + languageName: node + linkType: hard + "callsites@npm:^3.0.0": version: 3.1.0 resolution: "callsites@npm:3.1.0" @@ -1899,7 +2037,7 @@ __metadata: languageName: node linkType: hard -"chalk@npm:^4.0.0, chalk@npm:^4.1.0": +"chalk@npm:^4.0.0, chalk@npm:^4.1.0, chalk@npm:^4.1.2": version: 4.1.2 resolution: "chalk@npm:4.1.2" dependencies: @@ -1951,6 +2089,13 @@ __metadata: languageName: node linkType: hard +"ci-info@npm:^3.7.0": + version: 3.9.0 + resolution: "ci-info@npm:3.9.0" + checksum: 6b19dc9b2966d1f8c2041a838217299718f15d6c4b63ae36e4674edd2bee48f780e94761286a56aa59eb305a85fbea4ddffb7630ec063e7ec7e7e5ad42549a87 + languageName: node + linkType: hard + "cids@npm:^0.7.1": version: 0.7.5 resolution: "cids@npm:0.7.5" @@ -2215,7 +2360,7 @@ __metadata: languageName: node linkType: hard -"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.2": +"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3": version: 7.0.3 resolution: "cross-spawn@npm:7.0.3" dependencies: @@ -2353,6 +2498,17 @@ __metadata: languageName: node linkType: hard +"define-data-property@npm:^1.1.4": + version: 1.1.4 + resolution: "define-data-property@npm:1.1.4" + dependencies: + es-define-property: ^1.0.0 + es-errors: ^1.3.0 + gopd: ^1.0.1 + checksum: 8068ee6cab694d409ac25936eb861eea704b7763f7f342adbdfe337fc27c78d7ae0eff2364b2917b58c508d723c7a074326d068eef2e45c4edcd85cf94d0313b + languageName: node + linkType: hard + "delayed-stream@npm:~1.0.0": version: 1.0.0 resolution: "delayed-stream@npm:1.0.0" @@ -2505,6 +2661,22 @@ __metadata: languageName: node linkType: hard +"es-define-property@npm:^1.0.0": + version: 1.0.0 + resolution: "es-define-property@npm:1.0.0" + dependencies: + get-intrinsic: ^1.2.4 + checksum: f66ece0a887b6dca71848fa71f70461357c0e4e7249696f81bad0a1f347eed7b31262af4a29f5d726dc026426f085483b6b90301855e647aa8e21936f07293c6 + languageName: node + linkType: hard + +"es-errors@npm:^1.3.0": + version: 1.3.0 + resolution: "es-errors@npm:1.3.0" + checksum: ec1414527a0ccacd7f15f4a3bc66e215f04f595ba23ca75cdae0927af099b5ec865f9f4d33e9d7e86f512f252876ac77d4281a7871531a50678132429b1271b5 + languageName: node + linkType: hard + "es5-ext@npm:^0.10.35, es5-ext@npm:^0.10.50": version: 0.10.62 resolution: "es5-ext@npm:0.10.62" @@ -2979,6 +3151,15 @@ __metadata: languageName: node linkType: hard +"fill-range@npm:^7.1.1": + version: 7.1.1 + resolution: "fill-range@npm:7.1.1" + dependencies: + to-regex-range: ^5.0.1 + checksum: b4abfbca3839a3d55e4ae5ec62e131e2e356bf4859ce8480c64c4876100f4df292a63e5bb1618e1d7460282ca2b305653064f01654474aa35c68000980f17798 + languageName: node + linkType: hard + "finalhandler@npm:1.2.0": version: 1.2.0 resolution: "finalhandler@npm:1.2.0" @@ -3013,6 +3194,15 @@ __metadata: languageName: node linkType: hard +"find-yarn-workspace-root@npm:^2.0.0": + version: 2.0.0 + resolution: "find-yarn-workspace-root@npm:2.0.0" + dependencies: + micromatch: ^4.0.2 + checksum: fa5ca8f9d08fe7a54ce7c0a5931ff9b7e36f9ee7b9475fb13752bcea80ec6b5f180fa5102d60b376d5526ce924ea3fc6b19301262efa0a5d248dd710f3644242 + languageName: node + linkType: hard + "flat-cache@npm:^3.0.4": version: 3.1.1 resolution: "flat-cache@npm:3.1.1" @@ -3139,6 +3329,18 @@ __metadata: languageName: node linkType: hard +"fs-extra@npm:^9.0.0": + version: 9.1.0 + resolution: "fs-extra@npm:9.1.0" + dependencies: + at-least-node: ^1.0.0 + graceful-fs: ^4.2.0 + jsonfile: ^6.0.1 + universalify: ^2.0.0 + checksum: ba71ba32e0faa74ab931b7a0031d1523c66a73e225de7426e275e238e312d07313d2da2d33e34a52aa406c8763ade5712eb3ec9ba4d9edce652bcacdc29e6b20 + languageName: node + linkType: hard + "fs-minipass@npm:^1.2.7": version: 1.2.7 resolution: "fs-minipass@npm:1.2.7" @@ -3225,6 +3427,19 @@ __metadata: languageName: node linkType: hard +"get-intrinsic@npm:^1.2.4": + version: 1.2.4 + resolution: "get-intrinsic@npm:1.2.4" + dependencies: + es-errors: ^1.3.0 + function-bind: ^1.1.2 + has-proto: ^1.0.1 + has-symbols: ^1.0.3 + hasown: ^2.0.0 + checksum: 414e3cdf2c203d1b9d7d33111df746a4512a1aa622770b361dadddf8ed0b5aeb26c560f49ca077e24bfafb0acb55ca908d1f709216ccba33ffc548ec8a79a951 + languageName: node + linkType: hard + "get-stream@npm:^5.1.0": version: 5.2.0 resolution: "get-stream@npm:5.2.0" @@ -3407,7 +3622,7 @@ __metadata: languageName: node linkType: hard -"graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.6": +"graceful-fs@npm:^4.1.11, graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.6": version: 4.2.11 resolution: "graceful-fs@npm:4.2.11" checksum: ac85f94da92d8eb6b7f5a8b20ce65e43d66761c55ce85ac96df6865308390da45a8d3f0296dd3a663de65d30ba497bd46c696cc1e248c72b13d6d567138a4fc7 @@ -3479,6 +3694,15 @@ __metadata: languageName: node linkType: hard +"has-property-descriptors@npm:^1.0.2": + version: 1.0.2 + resolution: "has-property-descriptors@npm:1.0.2" + dependencies: + es-define-property: ^1.0.0 + checksum: fcbb246ea2838058be39887935231c6d5788babed499d0e9d0cc5737494c48aba4fe17ba1449e0d0fbbb1e36175442faa37f9c427ae357d6ccb1d895fbcd3de3 + languageName: node + linkType: hard + "has-proto@npm:^1.0.1": version: 1.0.1 resolution: "has-proto@npm:1.0.1" @@ -3752,6 +3976,15 @@ __metadata: languageName: node linkType: hard +"is-docker@npm:^2.0.0": + version: 2.2.1 + resolution: "is-docker@npm:2.2.1" + bin: + is-docker: cli.js + checksum: 3fef7ddbf0be25958e8991ad941901bf5922ab2753c46980b60b05c1bf9c9c2402d35e6dc32e4380b980ef5e1970a5d9d5e5aa2e02d77727c3b6b5e918474c56 + languageName: node + linkType: hard + "is-extglob@npm:^2.1.1": version: 2.1.1 resolution: "is-extglob@npm:2.1.1" @@ -3849,6 +4082,22 @@ __metadata: languageName: node linkType: hard +"is-wsl@npm:^2.1.1": + version: 2.2.0 + resolution: "is-wsl@npm:2.2.0" + dependencies: + is-docker: ^2.0.0 + checksum: 20849846ae414997d290b75e16868e5261e86ff5047f104027026fd61d8b5a9b0b3ade16239f35e1a067b3c7cc02f70183cb661010ed16f4b6c7c93dad1b19d8 + languageName: node + linkType: hard + +"isarray@npm:^2.0.5": + version: 2.0.5 + resolution: "isarray@npm:2.0.5" + checksum: bd5bbe4104438c4196ba58a54650116007fa0262eccef13a4c55b2e09a5b36b59f1e75b9fcc49883dd9d4953892e6fc007eef9e9155648ceea036e184b0f930a + languageName: node + linkType: hard + "isexe@npm:^2.0.0": version: 2.0.0 resolution: "isexe@npm:2.0.0" @@ -3943,6 +4192,18 @@ __metadata: languageName: node linkType: hard +"json-stable-stringify@npm:^1.0.2": + version: 1.1.1 + resolution: "json-stable-stringify@npm:1.1.1" + dependencies: + call-bind: ^1.0.5 + isarray: ^2.0.5 + jsonify: ^0.0.1 + object-keys: ^1.1.1 + checksum: e1ba06600fd278767eeff53f28e408e29c867e79abf564e7aadc3ce8f31f667258f8db278ef28831e45884dd687388fa1910f46e599fc19fb94c9afbbe3a4de8 + languageName: node + linkType: hard + "json-stringify-safe@npm:^5.0.1, json-stringify-safe@npm:~5.0.1": version: 5.0.1 resolution: "json-stringify-safe@npm:5.0.1" @@ -3962,6 +4223,26 @@ __metadata: languageName: node linkType: hard +"jsonfile@npm:^6.0.1": + version: 6.1.0 + resolution: "jsonfile@npm:6.1.0" + dependencies: + graceful-fs: ^4.1.6 + universalify: ^2.0.0 + dependenciesMeta: + graceful-fs: + optional: true + checksum: 7af3b8e1ac8fe7f1eccc6263c6ca14e1966fcbc74b618d3c78a0a2075579487547b94f72b7a1114e844a1e15bb00d440e5d1720bfc4612d790a6f285d5ea8354 + languageName: node + linkType: hard + +"jsonify@npm:^0.0.1": + version: 0.0.1 + resolution: "jsonify@npm:0.0.1" + checksum: 027287e1c0294fce15f18c0ff990cfc2318e7f01fb76515f784d5cd0784abfec6fc5c2355c3a2f2cb0ad7f4aa2f5b74ebbfe4e80476c35b2d13cabdb572e1134 + languageName: node + linkType: hard + "jsprim@npm:^1.2.2": version: 1.4.2 resolution: "jsprim@npm:1.4.2" @@ -3995,6 +4276,15 @@ __metadata: languageName: node linkType: hard +"klaw-sync@npm:^6.0.0": + version: 6.0.0 + resolution: "klaw-sync@npm:6.0.0" + dependencies: + graceful-fs: ^4.1.11 + checksum: 0da397f8961313c3ef8f79fb63af9002cde5a8fb2aeb1a37351feff0dd6006129c790400c3f5c3b4e757bedcabb13d21ec0a5eaef5a593d59515d4f2c291e475 + languageName: node + linkType: hard + "levn@npm:^0.4.1": version: 0.4.1 resolution: "levn@npm:0.4.1" @@ -4163,6 +4453,16 @@ __metadata: languageName: node linkType: hard +"micromatch@npm:^4.0.2": + version: 4.0.8 + resolution: "micromatch@npm:4.0.8" + dependencies: + braces: ^3.0.3 + picomatch: ^2.3.1 + checksum: 79920eb634e6f400b464a954fcfa589c4e7c7143209488e44baf627f9affc8b1e306f41f4f0deedde97e69cb725920879462d3e750ab3bd3c1aed675bb3a8966 + languageName: node + linkType: hard + "micromatch@npm:^4.0.4": version: 4.0.5 resolution: "micromatch@npm:4.0.5" @@ -4571,14 +4871,14 @@ __metadata: languageName: node linkType: hard -"nock@npm:^13.3.4": - version: 13.3.7 - resolution: "nock@npm:13.3.7" +"nock@npm:^13.5.4": + version: 13.5.5 + resolution: "nock@npm:13.5.5" dependencies: debug: ^4.1.0 json-stringify-safe: ^5.0.1 propagate: ^2.0.0 - checksum: 837db0755208781000ec7d8cf5e28eaedae31e9a06829961621a6b14be710e2c3bfa6104dc638828ff4455d603d0e3639cfd2e61dce6015c0fd8108eb8c4b75a + checksum: 91947b683992096a694140714323f11493b8ad9961c172e3e574c4801131fea259755e95c48e7e01527c14209967c20f151ff03b6bf6700471f0f76fa4071d32 languageName: node linkType: hard @@ -4710,6 +5010,13 @@ __metadata: languageName: node linkType: hard +"object-keys@npm:^1.1.1": + version: 1.1.1 + resolution: "object-keys@npm:1.1.1" + checksum: b363c5e7644b1e1b04aa507e88dcb8e3a2f52b6ffd0ea801e4c7a62d5aa559affe21c55a07fd4b1fd55fc03a33c610d73426664b20032405d7b92a1414c34d6a + languageName: node + linkType: hard + "oboe@npm:2.1.5": version: 2.1.5 resolution: "oboe@npm:2.1.5" @@ -4737,6 +5044,16 @@ __metadata: languageName: node linkType: hard +"open@npm:^7.4.2": + version: 7.4.2 + resolution: "open@npm:7.4.2" + dependencies: + is-docker: ^2.0.0 + is-wsl: ^2.1.1 + checksum: 3333900ec0e420d64c23b831bc3467e57031461d843c801f569b2204a1acc3cd7b3ec3c7897afc9dde86491dfa289708eb92bba164093d8bd88fb2c231843c91 + languageName: node + linkType: hard + "optionator@npm:^0.9.3": version: 0.9.3 resolution: "optionator@npm:0.9.3" @@ -4822,6 +5139,31 @@ __metadata: languageName: node linkType: hard +"patch-package@npm:8.0.0": + version: 8.0.0 + resolution: "patch-package@npm:8.0.0" + dependencies: + "@yarnpkg/lockfile": ^1.1.0 + chalk: ^4.1.2 + ci-info: ^3.7.0 + cross-spawn: ^7.0.3 + find-yarn-workspace-root: ^2.0.0 + fs-extra: ^9.0.0 + json-stable-stringify: ^1.0.2 + klaw-sync: ^6.0.0 + minimist: ^1.2.6 + open: ^7.4.2 + rimraf: ^2.6.3 + semver: ^7.5.3 + slash: ^2.0.0 + tmp: ^0.0.33 + yaml: ^2.2.2 + bin: + patch-package: index.js + checksum: d23cddc4d1622e2d8c7ca31b145c6eddb24bd271f69905e766de5e1f199f0b9a5479a6a6939ea857288399d4ed249285639d539a2c00fbddb7daa39934b007a2 + languageName: node + linkType: hard + "path-exists@npm:^4.0.0": version: 4.0.0 resolution: "path-exists@npm:4.0.0" @@ -5176,6 +5518,17 @@ __metadata: languageName: node linkType: hard +"rimraf@npm:^2.6.3": + version: 2.7.1 + resolution: "rimraf@npm:2.7.1" + dependencies: + glob: ^7.1.3 + bin: + rimraf: ./bin.js + checksum: cdc7f6eacb17927f2a075117a823e1c5951792c6498ebcce81ca8203454a811d4cf8900314154d3259bb8f0b42ab17f67396a8694a54cae3283326e57ad250cd + languageName: node + linkType: hard + "rimraf@npm:^3.0.2": version: 3.0.2 resolution: "rimraf@npm:3.0.2" @@ -5247,6 +5600,13 @@ __metadata: languageName: node linkType: hard +"scale-ts@npm:^1.6.0": + version: 1.6.0 + resolution: "scale-ts@npm:1.6.0" + checksum: 2cd6d3e31ea78621fe2e068eedc3beb6a3cfc338c9033f04ec3e355b4b08e134febad655c54a80272a50737136a27436f9d14d6525b126e621a3b77524111056 + languageName: node + linkType: hard + "scrypt-js@npm:^3.0.0, scrypt-js@npm:^3.0.1": version: 3.0.1 resolution: "scrypt-js@npm:3.0.1" @@ -5286,6 +5646,15 @@ __metadata: languageName: node linkType: hard +"semver@npm:^7.5.3": + version: 7.6.3 + resolution: "semver@npm:7.6.3" + bin: + semver: bin/semver.js + checksum: 4110ec5d015c9438f322257b1c51fe30276e5f766a3f64c09edd1d7ea7118ecbc3f379f3b69032bacf13116dc7abc4ad8ce0d7e2bd642e26b0d271b56b61a7d8 + languageName: node + linkType: hard + "send@npm:0.18.0": version: 0.18.0 resolution: "send@npm:0.18.0" @@ -5353,6 +5722,20 @@ __metadata: languageName: node linkType: hard +"set-function-length@npm:^1.2.1": + version: 1.2.2 + resolution: "set-function-length@npm:1.2.2" + dependencies: + define-data-property: ^1.1.4 + es-errors: ^1.3.0 + function-bind: ^1.1.2 + get-intrinsic: ^1.2.4 + gopd: ^1.0.1 + has-property-descriptors: ^1.0.2 + checksum: a8248bdacdf84cb0fab4637774d9fb3c7a8e6089866d04c817583ff48e14149c87044ce683d7f50759a8c50fb87c7a7e173535b06169c87ef76f5fb276dfff72 + languageName: node + linkType: hard + "setimmediate@npm:^1.0.5": version: 1.0.5 resolution: "setimmediate@npm:1.0.5" @@ -5431,6 +5814,13 @@ __metadata: languageName: node linkType: hard +"slash@npm:^2.0.0": + version: 2.0.0 + resolution: "slash@npm:2.0.0" + checksum: 512d4350735375bd11647233cb0e2f93beca6f53441015eea241fe784d8068281c3987fbaa93e7ef1c38df68d9c60013045c92837423c69115297d6169aa85e6 + languageName: node + linkType: hard + "slash@npm:^3.0.0": version: 3.0.0 resolution: "slash@npm:3.0.0" @@ -5445,12 +5835,12 @@ __metadata: languageName: node linkType: hard -"smoldot@npm:2.0.1": - version: 2.0.1 - resolution: "smoldot@npm:2.0.1" +"smoldot@npm:2.0.26": + version: 2.0.26 + resolution: "smoldot@npm:2.0.26" dependencies: ws: ^8.8.1 - checksum: 77c1f541d039fe740157e9b81e2b13fc72dabe3ffd75644ee9958aee48d5c5458b6cc974d1e9233b1bcf3fde7af42a53a0e48452b6657405c64158a0c8168eee + checksum: df1b27afae3ade7ee08947ca73f6e7afd450106b7ae4ff127ad7e71b7c20b01a2dc64135a07a7039aeeb23ad30fb549d7003c3131afa368f47125abf6837d919 languageName: node linkType: hard @@ -5716,7 +6106,7 @@ __metadata: languageName: node linkType: hard -"tmp@npm:0.0.33": +"tmp@npm:0.0.33, tmp@npm:^0.0.33": version: 0.0.33 resolution: "tmp@npm:0.0.33" dependencies: @@ -5828,13 +6218,20 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^2.1.0, tslib@npm:^2.6.1, tslib@npm:^2.6.2": +"tslib@npm:^2.1.0, tslib@npm:^2.6.2": version: 2.6.2 resolution: "tslib@npm:2.6.2" checksum: 329ea56123005922f39642318e3d1f0f8265d1e7fcb92c633e0809521da75eeaca28d2cf96d7248229deb40e5c19adf408259f4b9640afd20d13aecc1430f3ad languageName: node linkType: hard +"tslib@npm:^2.6.3": + version: 2.7.0 + resolution: "tslib@npm:2.7.0" + checksum: 1606d5c89f88d466889def78653f3aab0f88692e80bb2066d090ca6112ae250ec1cfa9dbfaab0d17b60da15a4186e8ec4d893801c67896b277c17374e36e1d28 + languageName: node + linkType: hard + "tunnel-agent@npm:^0.6.0": version: 0.6.0 resolution: "tunnel-agent@npm:0.6.0" @@ -6029,6 +6426,7 @@ __metadata: eslint: ^8.53.0 eslint-plugin-mocha: ^10.2.0 lossless-json: ^3.0.1 + patch-package: 8.0.0 solc: ^0.8.22 ts-node: ^10.9.1 typechain: ^8.3.2 @@ -6044,6 +6442,13 @@ __metadata: languageName: node linkType: hard +"universalify@npm:^2.0.0": + version: 2.0.1 + resolution: "universalify@npm:2.0.1" + checksum: ecd8469fe0db28e7de9e5289d32bd1b6ba8f7183db34f3bfc4ca53c49891c2d6aa05f3fb3936a81285a905cc509fb641a0c3fc131ec786167eff41236ae32e60 + languageName: node + linkType: hard + "unpipe@npm:1.0.0, unpipe@npm:~1.0.0": version: 1.0.0 resolution: "unpipe@npm:1.0.0" @@ -6569,7 +6974,22 @@ __metadata: languageName: node linkType: hard -"ws@npm:^8.14.1, ws@npm:^8.8.1": +"ws@npm:^8.16.0": + version: 8.18.0 + resolution: "ws@npm:8.18.0" + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: ">=5.0.2" + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + checksum: 91d4d35bc99ff6df483bdf029b9ea4bfd7af1f16fc91231a96777a63d263e1eabf486e13a2353970efc534f9faa43bdbf9ee76525af22f4752cbc5ebda333975 + languageName: node + linkType: hard + +"ws@npm:^8.8.1": version: 8.14.2 resolution: "ws@npm:8.14.2" peerDependencies: @@ -6655,6 +7075,15 @@ __metadata: languageName: node linkType: hard +"yaml@npm:^2.2.2": + version: 2.5.1 + resolution: "yaml@npm:2.5.1" + bin: + yaml: bin.mjs + checksum: 31275223863fbd0b47ba9d2b248fbdf085db8d899e4ca43fff8a3a009497c5741084da6871d11f40e555d61360951c4c910b98216c1325d2c94753c0036d8172 + languageName: node + linkType: hard + "yargs-parser@npm:20.2.4": version: 20.2.4 resolution: "yargs-parser@npm:20.2.4" diff --git a/node/cli/Cargo.toml b/node/cli/Cargo.toml index 4635aecfe1..13d04c82d3 100644 --- a/node/cli/Cargo.toml +++ b/node/cli/Cargo.toml @@ -21,8 +21,8 @@ targets = ['x86_64-unknown-linux-gnu'] [dependencies] clap = "4.4" -futures = '0.3.28' -serde_json = "1.0" +futures = "0.3.28" +serde_json = "1.0.117" tokio = { version = "1.32", features = ["time"] } log = { workspace = true } @@ -82,7 +82,6 @@ sp-timestamp = { workspace = true } sp-transaction-pool = { workspace = true } substrate-frame-rpc-system = { workspace = true } substrate-prometheus-endpoint = { workspace = true } -try-runtime-cli = { workspace = true } unique-runtime = { workspace = true, optional = true } up-common = { workspace = true } up-data-structs = { workspace = true } @@ -117,7 +116,6 @@ gov-test-timings = [ 'quartz-runtime?/gov-test-timings', 'unique-runtime?/gov-test-timings', ] -lookahead = ['opal-runtime/lookahead'] pov-estimate = [ 'opal-runtime/pov-estimate', 'quartz-runtime?/pov-estimate', @@ -141,6 +139,5 @@ session-test-timings = [ try-runtime = [ 'opal-runtime?/try-runtime', 'quartz-runtime?/try-runtime', - 'try-runtime-cli/try-runtime', 'unique-runtime?/try-runtime', ] diff --git a/node/cli/src/chain_spec.rs b/node/cli/src/chain_spec.rs index 98725e62ad..3dd2ae6079 100644 --- a/node/cli/src/chain_spec.rs +++ b/node/cli/src/chain_spec.rs @@ -31,17 +31,14 @@ use up_common::types::opaque::*; /// The `ChainSpec` parameterized for the unique runtime. #[cfg(feature = "unique-runtime")] -pub type UniqueChainSpec = - sc_service::GenericChainSpec; +pub type UniqueChainSpec = sc_service::GenericChainSpec; /// The `ChainSpec` parameterized for the quartz runtime. #[cfg(feature = "quartz-runtime")] -pub type QuartzChainSpec = - sc_service::GenericChainSpec; +pub type QuartzChainSpec = sc_service::GenericChainSpec; /// The `ChainSpec` parameterized for the opal runtime. -pub type OpalChainSpec = - sc_service::GenericChainSpec; +pub type OpalChainSpec = sc_service::GenericChainSpec; #[cfg(feature = "unique-runtime")] pub type DefaultChainSpec = UniqueChainSpec; @@ -169,8 +166,6 @@ pub fn test_config(chain_id: &str, relay_chain: &str) -> DefaultChainSpec { } fn genesis_patch() -> serde_json::Value { - use default_runtime::*; - let invulnerables = ["Alice", "Bob"]; #[allow(unused_mut)] diff --git a/node/cli/src/cli.rs b/node/cli/src/cli.rs index 82bae4057d..6f769ae633 100644 --- a/node/cli/src/cli.rs +++ b/node/cli/src/cli.rs @@ -57,15 +57,7 @@ pub enum Subcommand { /// The custom benchmark subcommmand benchmarking runtime pallets. #[clap(subcommand)] #[cfg(feature = "runtime-benchmarks")] - Benchmark(frame_benchmarking_cli::BenchmarkCmd), - - /// Try runtime - #[cfg(feature = "try-runtime")] - TryRuntime(try_runtime_cli::TryRuntimeCmd), - - /// Try runtime. Note: `try-runtime` feature must be enabled. - #[cfg(not(feature = "try-runtime"))] - TryRuntime, + Benchmark(Box), } #[derive(Debug, Parser)] diff --git a/node/cli/src/command.rs b/node/cli/src/command.rs index 674e24b684..8f963f26d5 100644 --- a/node/cli/src/command.rs +++ b/node/cli/src/command.rs @@ -42,14 +42,10 @@ use sc_service::config::{BasePath, PrometheusConfig}; use sp_runtime::traits::AccountIdConversion; use up_common::types::opaque::RuntimeId; -#[cfg(feature = "quartz-runtime")] -use crate::service::QuartzRuntimeExecutor; -#[cfg(feature = "unique-runtime")] -use crate::service::UniqueRuntimeExecutor; use crate::{ chain_spec::{self, RuntimeIdentification, ServiceId, ServiceIdentification}, cli::{Cli, RelayChainCli, Subcommand}, - service::{new_partial, start_dev_node, start_node, OpalRuntimeExecutor}, + service::{new_partial, start_dev_node, start_node, ParachainHostFunctions}, }; macro_rules! no_runtime_err { @@ -188,18 +184,18 @@ macro_rules! construct_async_run { match runner.config().chain_spec.runtime_id() { #[cfg(feature = "unique-runtime")] RuntimeId::Unique => async_run_with_runtime!( - unique_runtime::Runtime, unique_runtime::RuntimeApi, UniqueRuntimeExecutor, + unique_runtime::Runtime, unique_runtime::RuntimeApi, ParachainHostFunctions, runner, $components, $cli, $cmd, $config, $( $code )* ), #[cfg(feature = "quartz-runtime")] RuntimeId::Quartz => async_run_with_runtime!( - quartz_runtime::Runtime, quartz_runtime::RuntimeApi, QuartzRuntimeExecutor, + quartz_runtime::Runtime, quartz_runtime::RuntimeApi, ParachainHostFunctions, runner, $components, $cli, $cmd, $config, $( $code )* ), RuntimeId::Opal => async_run_with_runtime!( - opal_runtime::Runtime, opal_runtime::RuntimeApi, OpalRuntimeExecutor, + opal_runtime::Runtime, opal_runtime::RuntimeApi, ParachainHostFunctions, runner, $components, $cli, $cmd, $config, $( $code )* ), @@ -234,18 +230,18 @@ macro_rules! construct_sync_run { match runner.config().chain_spec.runtime_id() { #[cfg(feature = "unique-runtime")] RuntimeId::Unique => sync_run_with_runtime!( - unique_runtime::Runtime, unique_runtime::RuntimeApi, UniqueRuntimeExecutor, + unique_runtime::Runtime, unique_runtime::RuntimeApi, ParachainHostFunctions, runner, $components, $cli, $cmd, $config, $( $code )* ), #[cfg(feature = "quartz-runtime")] RuntimeId::Quartz => sync_run_with_runtime!( - quartz_runtime::Runtime, quartz_runtime::RuntimeApi, QuartzRuntimeExecutor, + quartz_runtime::Runtime, quartz_runtime::RuntimeApi, ParachainHostFunctions, runner, $components, $cli, $cmd, $config, $( $code )* ), RuntimeId::Opal => sync_run_with_runtime!( - opal_runtime::Runtime, opal_runtime::RuntimeApi, OpalRuntimeExecutor, + opal_runtime::Runtime, opal_runtime::RuntimeApi, ParachainHostFunctions, runner, $components, $cli, $cmd, $config, $( $code )* ), @@ -261,20 +257,23 @@ macro_rules! start_node_using_chain_runtime { RuntimeId::Unique => $start_node_fn::< unique_runtime::Runtime, unique_runtime::RuntimeApi, - UniqueRuntimeExecutor, + ParachainHostFunctions, + sc_network::NetworkWorker, >($config $(, $($args),+)?) $($code)*, #[cfg(feature = "quartz-runtime")] RuntimeId::Quartz => $start_node_fn::< quartz_runtime::Runtime, quartz_runtime::RuntimeApi, - QuartzRuntimeExecutor, + ParachainHostFunctions, + sc_network::NetworkWorker, >($config $(, $($args),+)?) $($code)*, RuntimeId::Opal => $start_node_fn::< opal_runtime::Runtime, opal_runtime::RuntimeApi, - OpalRuntimeExecutor, + ParachainHostFunctions, + sc_network::NetworkWorker, >($config $(, $($args),+)?) $($code)*, runtime_id => Err(no_runtime_err!(runtime_id).into()), @@ -350,22 +349,21 @@ pub fn run() -> Result<()> { use frame_benchmarking_cli::{BenchmarkCmd, SUBSTRATE_REFERENCE_HARDWARE}; use polkadot_cli::Block; - use crate::service::ParachainHostFunctions; - type Header = ::Header; type Hasher =
::Hashing; + let cmd = cmd.as_ref(); let runner = cli.create_runner(cmd)?; // Switch on the concrete benchmark sub-command- match cmd { - BenchmarkCmd::Pallet(cmd) => { - runner.sync_run(|config| cmd.run::(config)) - } + BenchmarkCmd::Pallet(cmd) => runner.sync_run(|config| { + cmd.run_with_spec::(Some(config.chain_spec)) + }), BenchmarkCmd::Block(cmd) => runner.sync_run(|config| { let partials = new_partial::< opal_runtime::Runtime, opal_runtime::RuntimeApi, - OpalRuntimeExecutor, + ParachainHostFunctions, _, >( &config, @@ -377,7 +375,7 @@ pub fn run() -> Result<()> { let partials = new_partial::< opal_runtime::Runtime, opal_runtime::RuntimeApi, - OpalRuntimeExecutor, + ParachainHostFunctions, _, >( &config, @@ -396,64 +394,6 @@ pub fn run() -> Result<()> { } } } - #[cfg(feature = "try-runtime")] - // embedded try-runtime cli will be removed soon. - #[allow(deprecated)] - Some(Subcommand::TryRuntime(cmd)) => { - use std::{future::Future, pin::Pin}; - - use polkadot_cli::Block; - use sc_executor::NativeExecutionDispatch; - use try_runtime_cli::block_building_info::timestamp_with_aura_info; - - let runner = cli.create_runner(cmd)?; - - // grab the task manager. - let registry = &runner - .config() - .prometheus_config - .as_ref() - .map(|cfg| &cfg.registry); - let task_manager = - sc_service::TaskManager::new(runner.config().tokio_handle.clone(), *registry) - .map_err(|e| format!("Error: {e:?}"))?; - let info_provider = Some(timestamp_with_aura_info(12000)); - - runner.async_run(|config| -> Result<(Pin>>, _)> { - Ok(( - match config.chain_spec.runtime_id() { - #[cfg(feature = "unique-runtime")] - RuntimeId::Unique => Box::pin( - cmd - .run::::ExtendHostFunctions, _>( - info_provider, - ), - ), - - #[cfg(feature = "quartz-runtime")] - RuntimeId::Quartz => Box::pin( - cmd - .run::::ExtendHostFunctions, _>( - info_provider, - ), - ), - - RuntimeId::Opal => Box::pin( - cmd - .run::::ExtendHostFunctions, _>( - info_provider, - ), - ), - runtime_id => return Err(no_runtime_err!(runtime_id).into()), - }, - task_manager, - )) - }) - } - #[cfg(not(feature = "try-runtime"))] - Some(Subcommand::TryRuntime) => { - Err("Try-runtime must be enabled by `--features try-runtime`.".into()) - } None => { let runner = cli.create_runner(&cli.run.normalize())?; let collator_options = cli.run.collator_options(); @@ -467,7 +407,7 @@ pub fn run() -> Result<()> { } else { None }; - + if cli.increase_future_pool { config.transaction_pool.future = config.transaction_pool.ready.clone(); } @@ -479,6 +419,12 @@ pub fn run() -> Result<()> { let is_dev_service = matches![service_id, ServiceId::Dev] || relay_chain_id == Some("dev-service".into()); + let para_id = extensions + .map(|e| e.para_id) + .ok_or("Could not find parachain ID in chain-spec.")?; + + let para_id = ParaId::from(para_id); + if is_dev_service { info!("Running Dev service"); @@ -487,14 +433,10 @@ pub fn run() -> Result<()> { config.state_pruning = Some(sc_service::PruningMode::ArchiveAll); return start_node_using_chain_runtime! { - start_dev_node(config, cli.idle_autoseal_interval, cli.autoseal_finalization_delay, cli.disable_autoseal_on_tx).map_err(Into::into) + start_dev_node(config, para_id, cli.idle_autoseal_interval, cli.autoseal_finalization_delay, cli.disable_autoseal_on_tx).map_err(Into::into) }; }; - let para_id = extensions - .map(|e| e.para_id) - .ok_or("Could not find parachain ID in chain-spec.")?; - let polkadot_cli = RelayChainCli::new( &config, [RelayChainCli::executable_name()] @@ -502,8 +444,6 @@ pub fn run() -> Result<()> { .chain(cli.relaychain_args.iter()), ); - let para_id = ParaId::from(para_id); - let parachain_account = AccountIdConversion::::into_account_truncating( ¶_id, diff --git a/node/cli/src/rpc.rs b/node/cli/src/rpc.rs index 9be511c6de..7271f43912 100644 --- a/node/cli/src/rpc.rs +++ b/node/cli/src/rpc.rs @@ -17,7 +17,7 @@ use std::sync::Arc; use fc_mapping_sync::{EthereumBlockNotification, EthereumBlockNotificationSinks}; -use fc_rpc::{EthBlockDataCacheTask, EthConfig, OverrideHandle}; +use fc_rpc::{EthBlockDataCacheTask, EthConfig, StorageOverride}; use fc_rpc_core::types::{FeeHistoryCache, FilterPool}; use fp_rpc::NoTransactionConverter; use jsonrpsee::RpcModule; @@ -26,7 +26,7 @@ use sc_client_api::{ client::BlockchainEvents, UsageProvider, }; -use sc_network::NetworkService; +use sc_network::service::traits::NetworkService; use sc_network_sync::SyncingService; use sc_rpc::SubscriptionTaskExecutor; pub use sc_rpc_api::DenyUnsafe; @@ -131,7 +131,7 @@ pub struct EthDeps { /// The Node authority flag pub is_authority: bool, /// Network service - pub network: Arc>, + pub network: Arc, /// Ethereum Backend. pub eth_backend: Arc + Send + Sync>, @@ -149,7 +149,7 @@ pub struct EthDeps { /// Whether to enable eth dev signer pub enable_dev_signer: bool, - pub overrides: Arc>, + pub overrides: Arc>, pub pending_create_inherent_data_providers: CIDP, } diff --git a/node/cli/src/service.rs b/node/cli/src/service.rs index 3e729fa67b..dbf239278e 100644 --- a/node/cli/src/service.rs +++ b/node/cli/src/service.rs @@ -25,11 +25,6 @@ use std::{ use cumulus_client_cli::CollatorOptions; use cumulus_client_collator::service::CollatorService; -#[cfg(not(feature = "lookahead"))] -use cumulus_client_consensus_aura::collators::basic::{ - run as run_aura, Params as BuildAuraConsensusParams, -}; -#[cfg(feature = "lookahead")] use cumulus_client_consensus_aura::collators::lookahead::{ run as run_aura, Params as BuildAuraConsensusParams, }; @@ -39,18 +34,17 @@ use cumulus_client_service::{ build_relay_chain_interface, prepare_node_config, start_relay_chain_tasks, CollatorSybilResistance, DARecoveryProfile, StartRelayChainTasksParams, }; -use cumulus_primitives_core::ParaId; +use cumulus_primitives_core::{ParaId, PersistedValidationData}; use cumulus_primitives_parachain_inherent::ParachainInherentData; use cumulus_relay_chain_interface::{OverseerHandle, RelayChainInterface}; +use cumulus_test_relay_sproof_builder::RelayStateSproofBuilder; use fc_mapping_sync::{kv::MappingSyncWorker, EthereumBlockNotificationSinks, SyncStrategy}; use fc_rpc::{ frontier_backend_client::SystemAccountId32StorageOverride, EthBlockDataCacheTask, EthConfig, - EthTask, OverrideHandle, RuntimeApiStorageOverride, SchemaV1Override, SchemaV2Override, - SchemaV3Override, StorageOverride, + EthTask, StorageOverride, StorageOverrideHandler, }; use fc_rpc_core::types::{FeeHistoryCache, FilterPool}; use fp_rpc::EthereumRuntimeRPCApi; -use fp_storage::EthereumStorageSchema; use futures::{ stream::select, task::{Context, Poll}, @@ -58,10 +52,10 @@ use futures::{ }; use jsonrpsee::RpcModule; use polkadot_service::CollatorPair; -use sc_client_api::{AuxStore, Backend, BlockOf, BlockchainEvents, StorageProvider}; +use sc_client_api::{Backend, BlockOf, BlockchainEvents, StorageProvider}; use sc_consensus::ImportQueue; -use sc_executor::{NativeElseWasmExecutor, NativeExecutionDispatch}; -use sc_network::NetworkBlock; +use sc_executor::{HostFunctions, WasmExecutor}; +use sc_network::{NetworkBackend, NetworkBlock}; use sc_network_sync::SyncingService; use sc_rpc::SubscriptionTaskExecutor; use sc_service::{Configuration, PartialComponents, TaskManager}; @@ -71,86 +65,26 @@ use sp_api::ProvideRuntimeApi; use sp_block_builder::BlockBuilder; use sp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata}; use sp_consensus_aura::sr25519::AuthorityPair as AuraAuthorityPair; +use sp_core::Encode; use sp_keystore::KeystorePtr; +use sp_runtime::traits::Block as BlockT; use sp_state_machine::Backend as StateBackend; use substrate_prometheus_endpoint::Registry; use tokio::time::Interval; use up_common::types::{opaque::*, Nonce}; +use crate::rpc::{create_eth, create_full, EthDeps, FullDeps}; + +/// Only enable the benchmarking host functions when we actually want to benchmark. +#[cfg(feature = "runtime-benchmarks")] +pub type ParachainHostFunctions = frame_benchmarking::benchmarking::HostFunctions; +/// Otherwise we only use the default Substrate host functions. +#[cfg(not(feature = "runtime-benchmarks"))] pub type ParachainHostFunctions = ( sp_io::SubstrateHostFunctions, cumulus_client_service::storage_proof_size::HostFunctions, ); -use cumulus_primitives_core::PersistedValidationData; -use cumulus_test_relay_sproof_builder::RelayStateSproofBuilder; - -use crate::rpc::{create_eth, create_full, EthDeps, FullDeps}; - -/// Unique native executor instance. -#[cfg(feature = "unique-runtime")] -pub struct UniqueRuntimeExecutor; - -#[cfg(feature = "quartz-runtime")] -/// Quartz native executor instance. -pub struct QuartzRuntimeExecutor; - -/// Opal native executor instance. -pub struct OpalRuntimeExecutor; - -#[cfg(feature = "unique-runtime")] -impl NativeExecutionDispatch for UniqueRuntimeExecutor { - /// Only enable the benchmarking host functions when we actually want to benchmark. - #[cfg(feature = "runtime-benchmarks")] - type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions; - /// Otherwise we only use the default Substrate host functions. - #[cfg(not(feature = "runtime-benchmarks"))] - type ExtendHostFunctions = ParachainHostFunctions; - - fn dispatch(method: &str, data: &[u8]) -> Option> { - unique_runtime::api::dispatch(method, data) - } - - fn native_version() -> sc_executor::NativeVersion { - unique_runtime::native_version() - } -} - -#[cfg(feature = "quartz-runtime")] -impl NativeExecutionDispatch for QuartzRuntimeExecutor { - /// Only enable the benchmarking host functions when we actually want to benchmark. - #[cfg(feature = "runtime-benchmarks")] - type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions; - /// Otherwise we only use the default Substrate host functions. - #[cfg(not(feature = "runtime-benchmarks"))] - type ExtendHostFunctions = ParachainHostFunctions; - - fn dispatch(method: &str, data: &[u8]) -> Option> { - quartz_runtime::api::dispatch(method, data) - } - - fn native_version() -> sc_executor::NativeVersion { - quartz_runtime::native_version() - } -} - -impl NativeExecutionDispatch for OpalRuntimeExecutor { - /// Only enable the benchmarking host functions when we actually want to benchmark. - #[cfg(feature = "runtime-benchmarks")] - type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions; - /// Otherwise we only use the default Substrate host functions. - #[cfg(not(feature = "runtime-benchmarks"))] - type ExtendHostFunctions = ParachainHostFunctions; - - fn dispatch(method: &str, data: &[u8]) -> Option> { - opal_runtime::api::dispatch(method, data) - } - - fn native_version() -> sc_executor::NativeVersion { - opal_runtime::native_version() - } -} - pub struct AutosealInterval { interval: Interval, } @@ -175,11 +109,11 @@ impl Stream for AutosealInterval { pub fn open_frontier_backend>( client: Arc, config: &Configuration, -) -> Result>, String> { +) -> Result>, String> { let config_dir = config.base_path.config_dir(config.chain_spec.id()); let database_dir = config_dir.join("frontier").join("db"); - Ok(Arc::new(fc_db::kv::Backend::::new( + Ok(Arc::new(fc_db::kv::Backend::::new( client, &fc_db::kv::DatabaseSettings { source: fc_db::DatabaseSource::RocksDb { @@ -191,7 +125,7 @@ pub fn open_frontier_backend>( } type FullClient = - sc_service::TFullClient>; + sc_service::TFullClient>; type FullBackend = sc_service::TFullBackend; type FullSelectChain = sc_consensus::LongestChain; type ParachainBlockImport = @@ -226,11 +160,6 @@ ez_bounds!( { } ); -#[cfg(not(feature = "lookahead"))] -ez_bounds!( - pub trait LookaheadApiDep {} -); -#[cfg(feature = "lookahead")] ez_bounds!( pub trait LookaheadApiDep: cumulus_primitives_aura::AuraUnincludedSegmentApi {} ); @@ -262,31 +191,29 @@ fn ethereum_parachain_inherent() -> (sp_timestamp::InherentDataProvider, Paracha /// Use this macro if you don't actually need the full service, but just the builder in order to /// be able to perform chain operations. #[allow(clippy::type_complexity)] -pub fn new_partial( +pub fn new_partial( config: &Configuration, build_import_queue: BIQ, ) -> Result< PartialComponents< - FullClient, + FullClient, FullBackend, FullSelectChain, sc_consensus::DefaultImportQueue, - sc_transaction_pool::FullPool>, - OtherPartial, + sc_transaction_pool::FullPool>, + OtherPartial>, >, sc_service::Error, > where sc_client_api::StateBackendFor: StateBackend, - RuntimeApi: sp_api::ConstructRuntimeApi> - + Send - + Sync - + 'static, + RuntimeApi: + sp_api::ConstructRuntimeApi> + Send + Sync + 'static, RuntimeApi::RuntimeApi: RuntimeApiDep + 'static, Runtime: RuntimeInstance, - ExecutorDispatch: NativeExecutionDispatch + 'static, + HF: HostFunctions + 'static, BIQ: FnOnce( - Arc>, + Arc>, Arc, &Configuration, Option, @@ -304,7 +231,7 @@ where }) .transpose()?; - let executor = sc_service::new_native_or_wasm_executor(config); + let executor = sc_service::new_wasm_executor(config); let (client, backend, keystore_container, task_manager) = sc_service::new_full_parts::( @@ -376,40 +303,41 @@ macro_rules! clone { /// /// This is the actual implementation that is abstract over the executor and the runtime api. #[sc_tracing::logging::prefix_logs_with("Parachain")] -pub async fn start_node( +pub async fn start_node( parachain_config: Configuration, polkadot_config: Configuration, collator_options: CollatorOptions, para_id: ParaId, hwbench: Option, -) -> sc_service::error::Result<(TaskManager, Arc>)> +) -> sc_service::error::Result<(TaskManager, Arc>)> where sc_client_api::StateBackendFor: StateBackend, Runtime: RuntimeInstance + Send + Sync + 'static, ::CrossAccountId: Serialize, for<'de> ::CrossAccountId: Deserialize<'de>, - RuntimeApi: sp_api::ConstructRuntimeApi> - + Send - + Sync - + 'static, + RuntimeApi: + sp_api::ConstructRuntimeApi> + Send + Sync + 'static, RuntimeApi::RuntimeApi: RuntimeApiDep + 'static, RuntimeApi::RuntimeApi: LookaheadApiDep, Runtime: RuntimeInstance, - ExecutorDispatch: NativeExecutionDispatch + 'static, + HF: HostFunctions + 'static, + Network: NetworkBackend::Hash>, { let parachain_config = prepare_node_config(parachain_config); - let params = new_partial::( - ¶chain_config, - parachain_build_import_queue, - )?; + let params = + new_partial::(¶chain_config, parachain_build_import_queue)?; let OtherPartial { mut telemetry, telemetry_worker_handle, eth_filter_pool, eth_backend, } = params.other; - let net_config = sc_network::config::FullNetworkConfiguration::new(¶chain_config.network); + let net_config = sc_network::config::FullNetworkConfiguration::< + Block, + ::Hash, + Network, + >::new(¶chain_config.network); let client = params.client.clone(); let backend = params.backend.clone(); @@ -454,7 +382,7 @@ where EthereumBlockNotificationSinks>, > = Default::default(); - let overrides = overrides_handle(client.clone()); + let overrides = Arc::new(StorageOverrideHandler::new(client.clone())); let eth_block_data_cache = spawn_frontier_tasks( FrontierTaskParams { client: client.clone(), @@ -549,15 +477,7 @@ where }, }; - create_eth::< - _, - _, - _, - _, - _, - _, - DefaultEthConfig>, - >( + create_eth::<_, _, _, _, _, _, DefaultEthConfig>>( &mut rpc_handle, eth_deps, subscription_task_executor.clone(), @@ -652,21 +572,19 @@ where } /// Build the import queue for the the parachain runtime. -pub fn parachain_build_import_queue( - client: Arc>, +pub fn parachain_build_import_queue( + client: Arc>, backend: Arc, config: &Configuration, telemetry: Option, task_manager: &TaskManager, ) -> Result, sc_service::Error> where - RuntimeApi: sp_api::ConstructRuntimeApi> - + Send - + Sync - + 'static, + RuntimeApi: + sp_api::ConstructRuntimeApi> + Send + Sync + 'static, RuntimeApi::RuntimeApi: RuntimeApiDep + 'static, Runtime: RuntimeInstance, - ExecutorDispatch: NativeExecutionDispatch + 'static, + HF: HostFunctions + 'static, { let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; @@ -717,19 +635,15 @@ pub struct StartConsensusParameters<'a> { // Clones ignored for optional lookahead collator #[allow(clippy::redundant_clone)] -pub fn start_consensus( - client: Arc>, - transaction_pool: Arc< - sc_transaction_pool::FullPool>, - >, +pub fn start_consensus( + client: Arc>, + transaction_pool: Arc>>, parameters: StartConsensusParameters<'_>, ) -> Result<(), sc_service::Error> where - ExecutorDispatch: NativeExecutionDispatch + 'static, - RuntimeApi: sp_api::ConstructRuntimeApi> - + Send - + Sync - + 'static, + HF: HostFunctions + 'static, + RuntimeApi: + sp_api::ConstructRuntimeApi> + Send + Sync + 'static, RuntimeApi::RuntimeApi: RuntimeApiDep + 'static, RuntimeApi::RuntimeApi: LookaheadApiDep, Runtime: RuntimeInstance, @@ -748,7 +662,6 @@ where collator_key, announce_block, } = parameters; - let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; let proposer_factory = sc_basic_authorship::ProposerFactory::with_proof_recording( task_manager.spawn_handle(), @@ -772,23 +685,16 @@ where create_inherent_data_providers: move |_, ()| async move { Ok(()) }, block_import, para_client: client.clone(), - #[cfg(feature = "lookahead")] para_backend: backend, para_id, relay_client: relay_chain_interface, sync_oracle, keystore, - #[cfg(not(feature = "lookahead"))] - slot_duration, proposer, collator_service, // With async-baking, we allowed to be both slower (longer authoring) and faster (multiple para blocks per relay block) - #[cfg(not(feature = "lookahead"))] - authoring_duration: Duration::from_millis(500), - #[cfg(feature = "lookahead")] authoring_duration: Duration::from_millis(1500), overseer_handle, - #[cfg(feature = "lookahead")] code_hash_provider: move |block_hash| { client .code_at(block_hash) @@ -798,38 +704,30 @@ where }, collator_key, relay_chain_slot_duration, - #[cfg(not(feature = "lookahead"))] - collation_request_receiver: None, - #[cfg(feature = "lookahead")] reinitialize: false, }; task_manager.spawn_essential_handle().spawn( "aura", None, - #[cfg(not(feature = "lookahead"))] - run_aura::<_, AuraAuthorityPair, _, _, _, _, _, _, _>(params), - #[cfg(feature = "lookahead")] run_aura::<_, AuraAuthorityPair, _, _, _, _, _, _, _, _, _>(params), ); Ok(()) } -fn dev_build_import_queue( - client: Arc>, +fn dev_build_import_queue( + client: Arc>, _: Arc, config: &Configuration, _: Option, task_manager: &TaskManager, ) -> Result, sc_service::Error> where - RuntimeApi: sp_api::ConstructRuntimeApi> - + Send - + Sync - + 'static, + RuntimeApi: + sp_api::ConstructRuntimeApi> + Send + Sync + 'static, RuntimeApi::RuntimeApi: sp_transaction_pool::runtime_api::TaggedTransactionQueue + sp_api::ApiExt, - ExecutorDispatch: NativeExecutionDispatch + 'static, + HF: HostFunctions + 'static, { Ok(sc_consensus_manual_seal::import_queue( Box::new(client), @@ -838,11 +736,11 @@ where )) } -pub struct OtherPartial { +pub struct OtherPartial> { pub telemetry: Option, pub telemetry_worker_handle: Option, pub eth_filter_pool: Option, - pub eth_backend: Arc>, + pub eth_backend: Arc>, } struct DefaultEthConfig(PhantomData); @@ -856,8 +754,9 @@ where /// Builds a new development service. This service uses instant seal, and mocks /// the parachain inherent -pub fn start_dev_node( +pub fn start_dev_node( config: Configuration, + para_id: ParaId, autoseal_interval: u64, autoseal_finalize_delay: Option, disable_autoseal_on_tx: bool, @@ -866,12 +765,11 @@ where Runtime: RuntimeInstance + Send + Sync + 'static, ::CrossAccountId: Serialize, for<'de> ::CrossAccountId: Deserialize<'de>, - RuntimeApi: sp_api::ConstructRuntimeApi> - + Send - + Sync - + 'static, + RuntimeApi: + sp_api::ConstructRuntimeApi> + Send + Sync + 'static, RuntimeApi::RuntimeApi: RuntimeApiDep + 'static, - ExecutorDispatch: NativeExecutionDispatch + 'static, + HF: HostFunctions + 'static, + Network: NetworkBackend::Hash>, { use fc_consensus::FrontierBlockImport; use sc_consensus_manual_seal::{ @@ -879,6 +777,10 @@ where ManualSealParams, }; + let metrics = Network::register_notification_metrics( + config.prometheus_config.as_ref().map(|cfg| &cfg.registry), + ); + let sc_service::PartialComponents { client, backend, @@ -894,11 +796,12 @@ where eth_backend, telemetry_worker_handle: _, }, - } = new_partial::( - &config, - dev_build_import_queue::, - )?; - let net_config = sc_network::config::FullNetworkConfiguration::new(&config.network); + } = new_partial::(&config, dev_build_import_queue::)?; + let net_config = sc_network::config::FullNetworkConfiguration::< + Block, + ::Hash, + Network, + >::new(&config.network); let prometheus_registry = config.prometheus_registry().cloned(); let (network, system_rpc_tx, tx_handler_controller, network_starter, sync_service) = @@ -912,6 +815,7 @@ where block_announce_validator_builder: None, warp_sync_params: None, block_relay: None, + metrics, })?; let collator = config.role.is_authority(); @@ -987,17 +891,24 @@ where select_chain: select_chain.clone(), consensus_data_provider: None, create_inherent_data_providers: move |block: Hash, ()| { - let current_para_block = client_set_aside_for_cidp - .number(block) + let header = client_set_aside_for_cidp + .header(block) .expect("Header lookup should succeed") .expect("Header passed in as parent should be present in backend."); + let current_para_block = header.number; + let current_para_block_head = Some( + cumulus_primitives_core::relay_chain::HeadData(header.encode()), + ); + let client_for_xcm = client_set_aside_for_cidp.clone(); async move { let time = sp_timestamp::InherentDataProvider::from_system_time(); let mocked_parachain = cumulus_client_parachain_inherent::MockValidationDataInherentDataProvider { + para_id, current_para_block, + current_para_block_head, relay_offset: 1000, relay_blocks_per_para_block: 2, para_blocks_per_relay_epoch: 0, @@ -1005,7 +916,6 @@ where &*client_for_xcm, block, Default::default(), - Default::default(), ), relay_randomness_config: (), raw_downward_messages: vec![], @@ -1037,7 +947,7 @@ where EthereumBlockNotificationSinks>, > = Default::default(); - let overrides = overrides_handle(client.clone()); + let overrides = Arc::new(StorageOverrideHandler::new(client.clone())); let eth_block_data_cache = spawn_frontier_tasks( FrontierTaskParams { client: client.clone(), @@ -1132,15 +1042,7 @@ where }, }; - create_eth::< - _, - _, - _, - _, - _, - _, - DefaultEthConfig>, - >( + create_eth::<_, _, _, _, _, _, DefaultEthConfig>>( &mut rpc_module, eth_deps, subscription_task_executor.clone(), @@ -1169,42 +1071,13 @@ where Ok(task_manager) } -fn overrides_handle(client: Arc) -> Arc> -where - C: ProvideRuntimeApi + StorageProvider + AuxStore, - C: HeaderBackend + HeaderMetadata, - C: Send + Sync + 'static, - C::Api: fp_rpc::EthereumRuntimeRPCApi, - BE: Backend + 'static, - BE::State: StateBackend, -{ - let mut overrides_map = BTreeMap::new(); - overrides_map.insert( - EthereumStorageSchema::V1, - Box::new(SchemaV1Override::new(client.clone())) as Box + 'static>, - ); - overrides_map.insert( - EthereumStorageSchema::V2, - Box::new(SchemaV2Override::new(client.clone())) as Box + 'static>, - ); - overrides_map.insert( - EthereumStorageSchema::V3, - Box::new(SchemaV3Override::new(client.clone())) as Box + 'static>, - ); - - Arc::new(OverrideHandle { - schemas: overrides_map, - fallback: Box::new(RuntimeApiStorageOverride::new(client)), - }) -} - -pub struct FrontierTaskParams<'a, C, B> { +pub struct FrontierTaskParams<'a, C: HeaderBackend, B> { pub task_manager: &'a TaskManager, pub client: Arc, pub substrate_backend: Arc, - pub eth_backend: Arc>, + pub eth_backend: Arc>, pub eth_filter_pool: Option, - pub overrides: Arc>, + pub overrides: Arc>, pub fee_history_limit: u64, pub fee_history_cache: FeeHistoryCache, pub sync_strategy: SyncStrategy, diff --git a/pallets/app-promotion/src/benchmarking.rs b/pallets/app-promotion/src/benchmarking.rs index 31588f33a7..a3a507754b 100644 --- a/pallets/app-promotion/src/benchmarking.rs +++ b/pallets/app-promotion/src/benchmarking.rs @@ -30,7 +30,7 @@ use sp_runtime::{ traits::{BlockNumberProvider, Bounded}, Perbill, }; -use sp_std::{iter::Sum, vec, vec::Vec}; +use sp_std::{iter::Sum, vec::Vec}; use super::{BalanceOf, Call, Config, Pallet, Staked, PENDING_LIMIT_PER_BLOCK}; use crate::{pallet, Pallet as PromototionPallet}; @@ -58,6 +58,7 @@ where Ok(pallet_admin) } +#[allow(clippy::multiple_bound_locations)] #[benchmarks( where T: Config + pallet_unique::Config + pallet_evm_migration::Config , BlockNumberFor: From + Into, diff --git a/pallets/app-promotion/src/lib.rs b/pallets/app-promotion/src/lib.rs index e2202b5038..0eafbd0fde 100644 --- a/pallets/app-promotion/src/lib.rs +++ b/pallets/app-promotion/src/lib.rs @@ -75,7 +75,9 @@ use sp_runtime::{ traits::{AccountIdConversion, BlockNumberProvider, CheckedAdd, CheckedSub, Zero}, ArithmeticError, DispatchError, Perbill, }; -use sp_std::{borrow::ToOwned, cell::RefCell, iter::Sum, vec, vec::Vec}; +#[cfg(not(feature = "std"))] +use sp_std::borrow::ToOwned; +use sp_std::{cell::RefCell, iter::Sum, vec, vec::Vec}; pub use types::*; use up_data_structs::CollectionId; use weights::WeightInfo; diff --git a/pallets/app-promotion/src/types.rs b/pallets/app-promotion/src/types.rs index dfc0528dc9..cafa0c0e23 100644 --- a/pallets/app-promotion/src/types.rs +++ b/pallets/app-promotion/src/types.rs @@ -5,6 +5,7 @@ use pallet_configuration::AppPromomotionConfigurationOverride; use pallet_evm_contract_helpers::{Config as EvmHelpersConfig, Pallet as EvmHelpersPallet}; use sp_core::Get; use sp_runtime::{DispatchError, Perbill}; +#[cfg(not(feature = "std"))] use sp_std::borrow::ToOwned; use up_data_structs::CollectionId; diff --git a/pallets/balances-adapter/src/common.rs b/pallets/balances-adapter/src/common.rs index 6b594966f8..2539e1d73c 100644 --- a/pallets/balances-adapter/src/common.rs +++ b/pallets/balances-adapter/src/common.rs @@ -1,9 +1,11 @@ -use alloc::{vec, vec::Vec}; +use alloc::vec; +#[cfg(not(feature = "std"))] +use alloc::vec::Vec; use core::marker::PhantomData; use frame_support::{ ensure, fail, - traits::tokens::{fungible::Mutate, Fortitude, Precision}, + traits::tokens::{fungible::Mutate, Fortitude, Precision, Preservation}, weights::Weight, }; use pallet_balances::{weights::SubstrateWeight as BalancesWeight, WeightInfo}; @@ -428,6 +430,7 @@ impl pallet_common::XcmExtensions for NativeFungibleHandle { amount .try_into() .map_err(|_| sp_runtime::ArithmeticError::Overflow)?, + Preservation::Expendable, Precision::Exact, Fortitude::Polite, )?; diff --git a/pallets/collator-selection/Cargo.toml b/pallets/collator-selection/Cargo.toml index ceb6044e13..2bd5853a57 100644 --- a/pallets/collator-selection/Cargo.toml +++ b/pallets/collator-selection/Cargo.toml @@ -56,6 +56,7 @@ std = [ "rand/std", "scale-info/std", "sp-consensus-aura/std", + "sp-io/std", "sp-runtime/std", "sp-staking/std", "sp-std/std", diff --git a/pallets/collator-selection/src/benchmarking.rs b/pallets/collator-selection/src/benchmarking.rs index df9e033866..dd1e6d4981 100644 --- a/pallets/collator-selection/src/benchmarking.rs +++ b/pallets/collator-selection/src/benchmarking.rs @@ -33,15 +33,11 @@ //! Benchmarking setup for pallet-collator-selection use frame_benchmarking::v2::{ - account, benchmarks, impl_benchmark_test_suite, impl_test_function, whitelisted_caller, - BenchmarkError, + account, benchmarks, impl_test_function, whitelisted_caller, BenchmarkError, }; use frame_support::{ assert_ok, - traits::{ - fungible::{Inspect, Mutate}, - EnsureOrigin, Get, - }, + traits::{fungible::Mutate, EnsureOrigin, Get}, }; use frame_system::{pallet_prelude::*, EventRecord, RawOrigin}; use pallet_authorship::EventHandler; @@ -162,9 +158,11 @@ fn balance_unit() -> BalanceOf { /// Our benchmarking environment already has invulnerables registered. const INITIAL_INVULNERABLES: u32 = 2; +#[allow(clippy::multiple_bound_locations)] #[benchmarks(where T: Config + pallet_authorship::Config + session::Config)] mod benchmarks { use super::*; + const MAX_COLLATORS: u32 = 10; const MAX_INVULNERABLES: u32 = MAX_COLLATORS - INITIAL_INVULNERABLES; diff --git a/pallets/collator-selection/src/mock.rs b/pallets/collator-selection/src/mock.rs index f5e42e4e4e..5ab6d7fd0b 100644 --- a/pallets/collator-selection/src/mock.rs +++ b/pallets/collator-selection/src/mock.rs @@ -32,7 +32,7 @@ use frame_support::{ ord_parameter_types, parameter_types, - traits::{ConstU32, FindAuthor, ValidatorRegistration}, + traits::{ConstU32, ConstU64, FindAuthor, ValidatorRegistration}, PalletId, }; use frame_system as system; @@ -47,6 +47,9 @@ use sp_runtime::{ use super::*; use crate as collator_selection; +pub const MILLISECS_PER_BLOCK: u64 = 6000; +pub const SLOT_DURATION: u64 = MILLISECS_PER_BLOCK; + type Block = frame_system::mocking::MockBlockU32; // Configure a mock runtime to test the pallet. @@ -153,6 +156,7 @@ impl pallet_aura::Config for Test { type MaxAuthorities = MaxAuthorities; type DisabledValidators = (); type AllowMultipleBlocksPerSlot = ConstBool; + type SlotDuration = ConstU64; } sp_runtime::impl_opaque_keys! { diff --git a/pallets/common/src/benchmarking.rs b/pallets/common/src/benchmarking.rs index b09281f875..bc50965ced 100644 --- a/pallets/common/src/benchmarking.rs +++ b/pallets/common/src/benchmarking.rs @@ -16,6 +16,7 @@ #![allow(missing_docs)] +#[cfg(not(feature = "std"))] use core::convert::TryInto; use frame_benchmarking::{account, v2::*}; @@ -26,7 +27,8 @@ use frame_support::{ }; use pallet_evm::account::CrossAccountId; use sp_runtime::{traits::Zero, DispatchError}; -use sp_std::{vec, vec::Vec}; +#[cfg(not(feature = "std"))] +use sp_std::vec::Vec; use up_data_structs::{ AccessMode, CollectionId, CollectionMode, CollectionPermissions, CreateCollectionData, NestingPermissions, Property, PropertyKey, PropertyValue, MAX_COLLECTION_DESCRIPTION_LENGTH, diff --git a/pallets/common/src/erc.rs b/pallets/common/src/erc.rs index 97e6ac831f..f50a68432b 100644 --- a/pallets/common/src/erc.rs +++ b/pallets/common/src/erc.rs @@ -27,7 +27,7 @@ use pallet_evm_coder_substrate::{ types::*, ToLog, }; -use sp_std::{vec, vec::Vec}; +use sp_std::vec; use up_data_structs::{ CollectionMode, CollectionPermissions, OwnerRestrictedSet, Property, SponsoringRateLimit, SponsorshipState, diff --git a/pallets/common/src/eth.rs b/pallets/common/src/eth.rs index d6e8fb4c0d..9bee4c2a58 100644 --- a/pallets/common/src/eth.rs +++ b/pallets/common/src/eth.rs @@ -25,7 +25,9 @@ use evm_coder::{ pub use pallet_evm::{account::CrossAccountId, Config}; use pallet_evm_coder_substrate::execution::Error; use sp_core::{H160, U256}; -use sp_std::{vec, vec::Vec}; +use sp_std::vec; +#[cfg(not(feature = "std"))] +use sp_std::vec::Vec; use up_data_structs::{CollectionFlags, CollectionId}; // 0x17c4e6453Cc49AAAaEACA894e6D9683e00000001 - collection 1 diff --git a/pallets/common/src/lib.rs b/pallets/common/src/lib.rs index bb55570935..59dbebd483 100644 --- a/pallets/common/src/lib.rs +++ b/pallets/common/src/lib.rs @@ -53,6 +53,7 @@ #![cfg_attr(not(feature = "std"), no_std)] extern crate alloc; +#[cfg(not(feature = "std"))] use alloc::boxed::Box; use core::{ marker::PhantomData, @@ -77,6 +78,7 @@ use pallet_evm::{account::CrossAccountId, Pallet as PalletEvm}; use pallet_evm_coder_substrate::{SubstrateRecorder, WithRecorder}; use sp_core::H160; use sp_runtime::{traits::Zero, ArithmeticError, DispatchError, DispatchResult}; +#[cfg(not(feature = "std"))] use sp_std::vec::Vec; use sp_weights::Weight; use up_data_structs::{ diff --git a/pallets/configuration/Cargo.toml b/pallets/configuration/Cargo.toml index 69044c94d7..0a774481fa 100644 --- a/pallets/configuration/Cargo.toml +++ b/pallets/configuration/Cargo.toml @@ -34,6 +34,7 @@ std = [ "parity-scale-codec/std", "sp-arithmetic/std", "sp-core/std", + "sp-io/std", "sp-runtime/std", "sp-std/std", ] diff --git a/pallets/configuration/src/benchmarking.rs b/pallets/configuration/src/benchmarking.rs index 54c5e4a9bb..c9b118c356 100644 --- a/pallets/configuration/src/benchmarking.rs +++ b/pallets/configuration/src/benchmarking.rs @@ -19,6 +19,7 @@ use frame_benchmarking::v2::*; use frame_support::assert_ok; use frame_system::{pallet_prelude::*, EventRecord, RawOrigin}; +#[cfg(not(feature = "std"))] use sp_std::vec; use super::*; @@ -31,6 +32,7 @@ fn assert_last_event(generic_event: ::RuntimeEvent) { assert_eq!(event, &system_event); } +#[allow(clippy::multiple_bound_locations)] #[benchmarks( where T: Config, diff --git a/pallets/evm-coder-substrate/src/execution.rs b/pallets/evm-coder-substrate/src/execution.rs index 2490f2ee42..ed66e3e206 100644 --- a/pallets/evm-coder-substrate/src/execution.rs +++ b/pallets/evm-coder-substrate/src/execution.rs @@ -18,8 +18,6 @@ #[cfg(not(feature = "std"))] use alloc::string::{String, ToString}; -#[cfg(feature = "std")] -use std::string::{String, ToString}; use evm_coder::ERC165Call; pub use evm_coder_substrate_procedural::PreDispatch; diff --git a/pallets/evm-coder-substrate/src/lib.rs b/pallets/evm-coder-substrate/src/lib.rs index 696589c935..496527ae78 100644 --- a/pallets/evm-coder-substrate/src/lib.rs +++ b/pallets/evm-coder-substrate/src/lib.rs @@ -34,7 +34,9 @@ use pallet_evm::{ }; use parity_scale_codec::Decode; use sp_core::{Get, H160}; -use sp_std::{cell::RefCell, vec::Vec}; +use sp_std::cell::RefCell; +#[cfg(not(feature = "std"))] +use sp_std::vec::Vec; use sp_weights::Weight; use up_data_structs::budget; // #[cfg(feature = "runtime-benchmarks")] diff --git a/pallets/evm-contract-helpers/src/eth.rs b/pallets/evm-contract-helpers/src/eth.rs index 268f1bedac..307b601097 100644 --- a/pallets/evm-contract-helpers/src/eth.rs +++ b/pallets/evm-contract-helpers/src/eth.rs @@ -39,7 +39,6 @@ use pallet_evm_coder_substrate::{ }; use pallet_evm_transaction_payment::CallContext; use sp_core::{H160, U256}; -use sp_std::vec::Vec; use up_data_structs::SponsorshipState; use up_sponsorship::SponsorshipHandler; diff --git a/pallets/foreign-assets/src/benchmarking.rs b/pallets/foreign-assets/src/benchmarking.rs index a9ec387604..c6ca9ece7f 100644 --- a/pallets/foreign-assets/src/benchmarking.rs +++ b/pallets/foreign-assets/src/benchmarking.rs @@ -19,7 +19,7 @@ use frame_benchmarking::v2::*; use frame_system::RawOrigin; use pallet_common::benchmarking::{create_data, create_u16_data}; -use sp_std::{boxed::Box, vec}; +use sp_std::boxed::Box; use staging_xcm::prelude::*; use up_data_structs::{MAX_COLLECTION_NAME_LENGTH, MAX_TOKEN_PREFIX_LENGTH}; diff --git a/pallets/foreign-assets/src/lib.rs b/pallets/foreign-assets/src/lib.rs index 888524f7cb..49c89a93d2 100644 --- a/pallets/foreign-assets/src/lib.rs +++ b/pallets/foreign-assets/src/lib.rs @@ -54,36 +54,25 @@ pub use module::*; pub use weights::WeightInfo; /// Status of storage migration from an old XCM version to a new one. -#[derive(Clone, Copy, PartialEq, Eq, RuntimeDebug, Encode, Decode, TypeInfo, MaxEncodedLen)] +#[derive(Clone, PartialEq, Eq, RuntimeDebug, Encode, Decode, TypeInfo, MaxEncodedLen)] pub enum MigrationStatus { V3ToV4(MigrationStatusV3ToV4), } /// Status of storage migration from XCMv3 to XCMv4. -#[derive(Clone, Copy, PartialEq, Eq, RuntimeDebug, Encode, Decode, TypeInfo, MaxEncodedLen)] +#[derive(Clone, PartialEq, Eq, RuntimeDebug, Encode, Decode, TypeInfo, MaxEncodedLen)] pub enum MigrationStatusV3ToV4 { /// The migration is completed. Done, - /// An asset is skipped during the migration - /// due to its inconsistent state. - SkippedInconsistentAssetData(staging_xcm::v3::AssetId), - - /// An asset instance is skipped during the migration - /// due to its inconsistent state. - SkippedInconsistentAssetInstanceData { - asset_id: staging_xcm::v3::AssetId, - asset_instance: staging_xcm::v3::AssetInstance, - }, - /// An asset is skipped during the migration /// because it couldn't be converted to the new XCM version. - SkippedNotConvertibleAssetId(staging_xcm::v3::AssetId), + SkippedNotConvertibleAssetId(Box), /// An asset instance is skipped during the migration /// because it couldn't be converted to the new XCM version. SkippedNotConvertibleAssetInstance { - asset_id: staging_xcm::v3::AssetId, + collection_id: CollectionId, asset_instance: staging_xcm::v3::AssetInstance, }, } @@ -141,7 +130,7 @@ pub mod module { }, /// The migration status. - MigrationStatus(MigrationStatus), + MigrationStatus(Box), } /// The corresponding collections of foreign assets. @@ -180,7 +169,7 @@ pub mod module { QueryKind = OptionQuery, >; - const STORAGE_VERSION: StorageVersion = StorageVersion::new(staging_xcm::v4::VERSION as u16); + const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); #[pallet::pallet] #[pallet::storage_version(STORAGE_VERSION)] @@ -261,7 +250,7 @@ pub mod module { #[pallet::hooks] impl Hooks> for Pallet { fn on_runtime_upgrade() -> Weight { - if Self::on_chain_storage_version() < staging_xcm::v4::VERSION as u16 { + if Self::on_chain_storage_version() < 1_u16 { let put_version_weight = T::DbWeight::get().writes(1); let fix_foreign_flag_weight = Self::fix_foreign_flag(); let weight_v3_to_v4 = Self::migrate_v3_to_v4(); @@ -314,6 +303,8 @@ mod v3_storage { impl Pallet { fn fix_foreign_flag() -> Weight { + log::info!("fixing foreign flags..."); + let mut weight = Weight::zero(); for (_, collection_id) in v3_storage::ForeignAssetToCollection::::iter() { @@ -322,10 +313,16 @@ impl Pallet { collection.flags.foreign = true; } }); + log::info!( + "\t- fixed foreign flag in the foreign collection #{}", + collection_id.0 + ); weight = weight.saturating_add(T::DbWeight::get().reads_writes(2, 1)); } + log::info!("DONE fixing foreign flags"); + weight } @@ -333,8 +330,8 @@ impl Pallet { let event_weight = T::DbWeight::get().writes(1); let collection_migration_weight = Self::migrate_collections(); - Self::deposit_event(Event::::MigrationStatus(MigrationStatus::V3ToV4( - MigrationStatusV3ToV4::Done, + Self::deposit_event(Event::::MigrationStatus(Box::new( + MigrationStatus::V3ToV4(MigrationStatusV3ToV4::Done), ))); collection_migration_weight.saturating_add(event_weight) @@ -344,113 +341,94 @@ impl Pallet { use MigrationStatus::*; use MigrationStatusV3ToV4::*; - let mut weight = Weight::zero(); + log::info!("migrating foreign collections' XCM versions..."); - for (fwd_asset_id, collection_id) in v3_storage::ForeignAssetToCollection::::drain() { - let bwd_asset_id = v3_storage::CollectionToForeignAsset::::take(collection_id); - weight = weight.saturating_add(T::DbWeight::get().reads(2)); + let mut weight = Weight::zero(); - let Some(bwd_asset_id) = bwd_asset_id else { - Self::deposit_event(Event::::MigrationStatus(V3ToV4( - SkippedInconsistentAssetData(fwd_asset_id), - ))); + // IMPORTANT! It is ok to collect all the key-values into the vector + // if the prod chain contains only few entries. + let foreign_asset_to_collection = + v3_storage::ForeignAssetToCollection::::drain().collect::>(); + let removed_bwd_mapping = v3_storage::CollectionToForeignAsset::::drain().count(); - weight = weight.saturating_add(T::DbWeight::get().writes(1)); - continue; - }; + let r = (foreign_asset_to_collection.len() + removed_bwd_mapping) as u64; + let w = r; + weight = weight.saturating_add(T::DbWeight::get().reads_writes(r, w)); - if fwd_asset_id != bwd_asset_id { - Self::deposit_event(Event::::MigrationStatus(V3ToV4( - SkippedInconsistentAssetData(fwd_asset_id), - ))); + for (asset_id, collection_id) in foreign_asset_to_collection.into_iter() { + if let Ok(asset_id) = staging_xcm::v4::AssetId::try_from(asset_id) { + >::insert(&asset_id, collection_id); + >::insert(collection_id, asset_id); + weight = weight.saturating_add(T::DbWeight::get().writes(2)); + log::info!("\t- migrated the foreign collection #{}", collection_id.0); + } else { + Self::deposit_event(Event::::MigrationStatus(Box::new(V3ToV4( + SkippedNotConvertibleAssetId(Box::new(asset_id)), + )))); weight = weight.saturating_add(T::DbWeight::get().writes(1)); - continue; - } - - let Ok(asset_id) = staging_xcm::v4::AssetId::try_from(fwd_asset_id) else { - Self::deposit_event(Event::::MigrationStatus(V3ToV4( - SkippedNotConvertibleAssetId(fwd_asset_id), - ))); - weight = weight.saturating_add(T::DbWeight::get().writes(1)); - continue; + log::error!("\t- inconsistent foreign collection #{}: failed to convert to the new XCM version", collection_id.0); }; + } - >::insert(&asset_id, collection_id); - >::insert(collection_id, asset_id); - weight = weight.saturating_add(T::DbWeight::get().writes(2)); + let token_migration_weight = Self::migrate_tokens(); + weight = weight.saturating_add(token_migration_weight); - let migrate_tokens_weight = Self::migrate_tokens(&fwd_asset_id, collection_id); - weight = weight.saturating_add(migrate_tokens_weight); - } + log::info!("DONE migrating foreign collections' XCM versions"); weight } - fn migrate_tokens(asset_id: &staging_xcm::v3::AssetId, collection_id: CollectionId) -> Weight { + fn migrate_tokens() -> Weight { use MigrationStatus::*; use MigrationStatusV3ToV4::*; let mut weight = Weight::zero(); - for (fwd_asset_instance, token_id) in - v3_storage::ForeignReserveAssetInstanceToTokenId::::drain_prefix(collection_id) - { - let bwd_asset_instance = v3_storage::TokenIdToForeignReserveAssetInstance::::take( - collection_id, - token_id, - ); - weight = weight.saturating_add(T::DbWeight::get().reads(2)); + // IMPORTANT! It is ok to collect all the key-values into the vector + // if the prod chain contains only few entries. + let foreign_reserve_asset_instance_to_token_id = + v3_storage::ForeignReserveAssetInstanceToTokenId::::drain().collect::>(); + let removed_bwd_mapping = + v3_storage::TokenIdToForeignReserveAssetInstance::::drain().count(); - let Some(bwd_asset_instance) = bwd_asset_instance else { - Self::deposit_event(Event::::MigrationStatus(V3ToV4( - SkippedInconsistentAssetInstanceData { - asset_id: *asset_id, - asset_instance: fwd_asset_instance, - }, - ))); + let r = (foreign_reserve_asset_instance_to_token_id.len() + removed_bwd_mapping) as u64; + let w = r; + weight = weight.saturating_add(T::DbWeight::get().reads_writes(r, w)); - weight = weight.saturating_add(T::DbWeight::get().writes(1)); - continue; - }; - - if fwd_asset_instance != bwd_asset_instance { - Self::deposit_event(Event::::MigrationStatus(V3ToV4( - SkippedInconsistentAssetInstanceData { - asset_id: *asset_id, - asset_instance: fwd_asset_instance, - }, - ))); - - weight = weight.saturating_add(T::DbWeight::get().writes(1)); - continue; - } - - let Ok(asset_instance) = staging_xcm::v4::AssetInstance::try_from(fwd_asset_instance) - else { - Self::deposit_event(Event::::MigrationStatus(V3ToV4( + for (collection_id, asset_instance, token_id) in + foreign_reserve_asset_instance_to_token_id.into_iter() + { + if let Ok(asset_instance) = staging_xcm::v4::AssetInstance::try_from(asset_instance) { + >::insert( + collection_id, + asset_instance, + token_id, + ); + >::insert( + collection_id, + token_id, + asset_instance, + ); + weight = weight.saturating_add(T::DbWeight::get().writes(2)); + + log::info!( + "\t- migrated the foreign token #{}/#{}", + collection_id.0, + token_id.0 + ); + } else { + Self::deposit_event(Event::::MigrationStatus(Box::new(V3ToV4( SkippedNotConvertibleAssetInstance { - asset_id: *asset_id, - asset_instance: fwd_asset_instance, + collection_id, + asset_instance, }, - ))); - + )))); weight = weight.saturating_add(T::DbWeight::get().writes(1)); - continue; - }; - >::insert( - collection_id, - &asset_instance, - token_id, - ); - >::insert( - collection_id, - token_id, - asset_instance, - ); - weight = weight.saturating_add(T::DbWeight::get().writes(2)); + log::error!("\t- inconsistent foreign token #{}/#{}: failed to convert to the new XCM version", collection_id.0, token_id.0); + }; } weight diff --git a/pallets/fungible/src/benchmarking.rs b/pallets/fungible/src/benchmarking.rs index 9fa399ab07..2cb0a5ec76 100644 --- a/pallets/fungible/src/benchmarking.rs +++ b/pallets/fungible/src/benchmarking.rs @@ -22,7 +22,7 @@ use sp_std::prelude::*; use up_data_structs::{budget::Unlimited, CollectionMode, MAX_ITEMS_PER_BATCH}; use super::*; -use crate::{Config, FungibleHandle, Pallet}; +use crate::{Config, Pallet}; const SEED: u32 = 1; diff --git a/pallets/fungible/src/common.rs b/pallets/fungible/src/common.rs index 88bb8b79ea..a9f4abc306 100644 --- a/pallets/fungible/src/common.rs +++ b/pallets/fungible/src/common.rs @@ -22,7 +22,9 @@ use pallet_common::{ Error as CommonError, SelfWeightOf as PalletCommonWeightOf, XcmExtensions, }; use sp_runtime::{ArithmeticError, DispatchError}; -use sp_std::{vec, vec::Vec}; +use sp_std::vec; +#[cfg(not(feature = "std"))] +use sp_std::vec::Vec; use up_data_structs::{ budget::Budget, CollectionId, CreateItemData, CreateItemExData, Property, PropertyKey, PropertyKeyPermission, PropertyValue, TokenId, TokenOwnerError, diff --git a/pallets/fungible/src/erc.rs b/pallets/fungible/src/erc.rs index 9248fa3f7c..c78d9295ab 100644 --- a/pallets/fungible/src/erc.rs +++ b/pallets/fungible/src/erc.rs @@ -17,10 +17,7 @@ //! ERC-20 standart support implementation. extern crate alloc; -use core::{ - char::{decode_utf16, REPLACEMENT_CHARACTER}, - convert::TryInto, -}; +use core::char::{decode_utf16, REPLACEMENT_CHARACTER}; use evm_coder::{abi::AbiType, generate_stubgen, solidity_interface, types::*, AbiCoder, ToLog}; use pallet_common::{ @@ -36,7 +33,6 @@ use pallet_evm_coder_substrate::{ }; use pallet_structure::{weights::WeightInfo as _, SelfWeightOf as StructureWeight}; use sp_core::{Get, U256}; -use sp_std::vec::Vec; use up_data_structs::{budget::Budget, CollectionMode}; use crate::{ diff --git a/pallets/fungible/src/lib.rs b/pallets/fungible/src/lib.rs index 00d427d736..ad6c5f0512 100644 --- a/pallets/fungible/src/lib.rs +++ b/pallets/fungible/src/lib.rs @@ -92,8 +92,10 @@ use pallet_evm::{account::CrossAccountId, Pallet as PalletEvm}; use pallet_evm_coder_substrate::WithRecorder; use pallet_structure::Pallet as PalletStructure; use sp_core::H160; -use sp_runtime::{ArithmeticError, DispatchError, DispatchResult}; -use sp_std::{collections::btree_map::BTreeMap, vec::Vec}; +use sp_runtime::{ArithmeticError, DispatchResult}; +use sp_std::collections::btree_map::BTreeMap; +#[cfg(not(feature = "std"))] +use sp_std::vec::Vec; use up_data_structs::{ budget::Budget, mapping::TokenAddressMapping, AccessMode, CollectionId, Property, PropertyKey, TokenId, diff --git a/pallets/identity/src/tests.rs b/pallets/identity/src/tests.rs index 8372ee1c06..591d3b53ae 100644 --- a/pallets/identity/src/tests.rs +++ b/pallets/identity/src/tests.rs @@ -37,7 +37,6 @@ use frame_support::{ assert_noop, assert_ok, ord_parameter_types, parameter_types, traits::{ConstU32, ConstU64, EitherOfDiverse}, - BoundedVec, }; use frame_system::{EnsureRoot, EnsureSignedBy}; use parity_scale_codec::{Decode, Encode}; diff --git a/pallets/identity/src/types.rs b/pallets/identity/src/types.rs index 92ee3bdcee..b1bed0a2dc 100644 --- a/pallets/identity/src/types.rs +++ b/pallets/identity/src/types.rs @@ -35,14 +35,14 @@ use enumflags2::{bitflags, BitFlags}; use frame_support::{ traits::{ConstU32, Get}, - BoundedVec, CloneNoBound, PartialEqNoBound, RuntimeDebugNoBound, + CloneNoBound, PartialEqNoBound, RuntimeDebugNoBound, }; use parity_scale_codec::{Decode, Encode, MaxEncodedLen}; use scale_info::{ build::{Fields, Variants}, meta_type, Path, Type, TypeInfo, TypeParameter, }; -use sp_runtime::{traits::Zero, RuntimeDebug}; +use sp_runtime::RuntimeDebug; use sp_std::{fmt::Debug, iter::once, ops::Add, prelude::*}; use super::*; @@ -504,7 +504,7 @@ mod tests { .variants .iter() .find(|v| v.name == variant_name) - .expect(&format!("Expected to find variant {}", variant_name)); + .unwrap_or_else(|| panic!("Expected to find variant {}", variant_name)); let field_arr_len = variant .fields diff --git a/pallets/inflation/Cargo.toml b/pallets/inflation/Cargo.toml index e80d0c93f4..472b76e570 100644 --- a/pallets/inflation/Cargo.toml +++ b/pallets/inflation/Cargo.toml @@ -24,6 +24,7 @@ std = [ 'frame-system/std', 'pallet-balances/std', 'parity-scale-codec/std', + 'sp-io/std', 'sp-runtime/std', 'sp-std/std', ] diff --git a/pallets/inflation/src/benchmarking.rs b/pallets/inflation/src/benchmarking.rs index ac0938beb9..c6d0395379 100644 --- a/pallets/inflation/src/benchmarking.rs +++ b/pallets/inflation/src/benchmarking.rs @@ -18,7 +18,6 @@ use frame_benchmarking::v2::*; use frame_support::traits::Hooks; -use sp_std::vec; use super::*; use crate::Pallet as Inflation; diff --git a/pallets/inflation/src/lib.rs b/pallets/inflation/src/lib.rs index 2ecbd88dff..fb5654fe0a 100644 --- a/pallets/inflation/src/lib.rs +++ b/pallets/inflation/src/lib.rs @@ -45,7 +45,6 @@ use frame_support::traits::{ use frame_system::pallet_prelude::BlockNumberFor; pub use pallet::*; use sp_runtime::{traits::BlockNumberProvider, Perbill}; -use sp_std::convert::TryInto; type BalanceOf = <::Currency as Inspect<::AccountId>>::Balance; diff --git a/pallets/maintenance/src/benchmarking.rs b/pallets/maintenance/src/benchmarking.rs index a26ee5f16f..9208bdb85e 100644 --- a/pallets/maintenance/src/benchmarking.rs +++ b/pallets/maintenance/src/benchmarking.rs @@ -17,7 +17,6 @@ use frame_benchmarking::v2::*; use frame_support::ensure; use frame_system::RawOrigin; -use sp_std::vec; use super::*; use crate::{Config, Pallet as Maintenance}; diff --git a/pallets/nonfungible/src/benchmarking.rs b/pallets/nonfungible/src/benchmarking.rs index 1a71de761d..13cd6ab70f 100644 --- a/pallets/nonfungible/src/benchmarking.rs +++ b/pallets/nonfungible/src/benchmarking.rs @@ -27,7 +27,7 @@ use up_data_structs::{ }; use super::*; -use crate::{Config, NonfungibleHandle, Pallet}; +use crate::{Config, Pallet}; const SEED: u32 = 1; diff --git a/pallets/nonfungible/src/common.rs b/pallets/nonfungible/src/common.rs index 9a05ba82d3..c56076ffac 100644 --- a/pallets/nonfungible/src/common.rs +++ b/pallets/nonfungible/src/common.rs @@ -24,7 +24,9 @@ use pallet_common::{ }; use pallet_structure::Pallet as PalletStructure; use sp_runtime::DispatchError; -use sp_std::{vec, vec::Vec}; +use sp_std::vec; +#[cfg(not(feature = "std"))] +use sp_std::vec::Vec; use up_data_structs::{ budget::Budget, CollectionId, CreateItemExData, Property, PropertyKey, PropertyKeyPermission, PropertyValue, TokenId, TokenOwnerError, diff --git a/pallets/nonfungible/src/erc.rs b/pallets/nonfungible/src/erc.rs index 997f8b901f..f99d8b7a7e 100644 --- a/pallets/nonfungible/src/erc.rs +++ b/pallets/nonfungible/src/erc.rs @@ -21,11 +21,9 @@ extern crate alloc; +#[cfg(not(feature = "std"))] use alloc::string::ToString; -use core::{ - char::{decode_utf16, REPLACEMENT_CHARACTER}, - convert::TryInto, -}; +use core::char::{decode_utf16, REPLACEMENT_CHARACTER}; use evm_coder::{abi::AbiType, generate_stubgen, solidity_interface, types::*, AbiCoder, ToLog}; use frame_support::BoundedVec; @@ -42,7 +40,7 @@ use pallet_evm_coder_substrate::{ }; use pallet_structure::{weights::WeightInfo as _, SelfWeightOf as StructureWeight}; use sp_core::{Get, U256}; -use sp_std::{vec, vec::Vec}; +use sp_std::vec; use up_data_structs::{ budget::Budget, CollectionId, CollectionPropertiesVec, Property, PropertyKey, PropertyKeyPermission, PropertyPermission, TokenId, diff --git a/pallets/nonfungible/src/lib.rs b/pallets/nonfungible/src/lib.rs index 8db862a582..0b01fd4c13 100644 --- a/pallets/nonfungible/src/lib.rs +++ b/pallets/nonfungible/src/lib.rs @@ -95,11 +95,8 @@ use core::ops::Deref; use erc::ERC721Events; use evm_coder::ToLog; use frame_support::{ - dispatch::{Pays, PostDispatchInfo}, - ensure, fail, - pallet_prelude::*, - storage::with_transaction, - transactional, BoundedVec, + dispatch::PostDispatchInfo, ensure, fail, pallet_prelude::*, storage::with_transaction, + transactional, }; pub use pallet::*; use pallet_common::{ @@ -112,9 +109,11 @@ use pallet_evm_coder_substrate::{SubstrateRecorder, WithRecorder}; use pallet_structure::Pallet as PalletStructure; use parity_scale_codec::{Decode, Encode, MaxEncodedLen}; use scale_info::TypeInfo; -use sp_core::{Get, H160}; -use sp_runtime::{ArithmeticError, DispatchError, DispatchResult, TransactionOutcome}; -use sp_std::{collections::btree_map::BTreeMap, vec, vec::Vec}; +use sp_core::H160; +use sp_runtime::{ArithmeticError, DispatchResult, TransactionOutcome}; +#[cfg(not(feature = "std"))] +use sp_std::vec::Vec; +use sp_std::{collections::btree_map::BTreeMap, vec}; use up_data_structs::{ budget::Budget, mapping::TokenAddressMapping, AccessMode, AuxPropertyValue, CollectionId, CreateNftExData, CustomDataLimit, PropertiesPermissionMap, Property, PropertyKey, diff --git a/pallets/refungible/src/benchmarking.rs b/pallets/refungible/src/benchmarking.rs index 38950c796b..2191f58bd5 100644 --- a/pallets/refungible/src/benchmarking.rs +++ b/pallets/refungible/src/benchmarking.rs @@ -14,8 +14,6 @@ // You should have received a copy of the GNU General Public License // along with Unique Network. If not, see . -use core::{convert::TryInto, iter::IntoIterator}; - use frame_benchmarking::v2::*; use pallet_common::{ bench_init, @@ -29,7 +27,7 @@ use up_data_structs::{ }; use super::*; -use crate::{Config, Pallet, RefungibleHandle}; +use crate::{Config, Pallet}; const SEED: u32 = 1; diff --git a/pallets/refungible/src/common.rs b/pallets/refungible/src/common.rs index afd26b234c..34b4f45dcc 100644 --- a/pallets/refungible/src/common.rs +++ b/pallets/refungible/src/common.rs @@ -23,7 +23,9 @@ use pallet_common::{ }; use pallet_structure::Pallet as PalletStructure; use sp_runtime::DispatchError; -use sp_std::{collections::btree_map::BTreeMap, vec, vec::Vec}; +#[cfg(not(feature = "std"))] +use sp_std::vec::Vec; +use sp_std::{collections::btree_map::BTreeMap, vec}; use up_data_structs::{ budget::Budget, CollectionId, CreateItemExData, CreateRefungibleExMultipleOwners, CreateRefungibleExSingleOwner, Property, PropertyKey, PropertyKeyPermission, PropertyValue, diff --git a/pallets/refungible/src/erc.rs b/pallets/refungible/src/erc.rs index 56f97a4a08..9c7958cd82 100644 --- a/pallets/refungible/src/erc.rs +++ b/pallets/refungible/src/erc.rs @@ -21,11 +21,9 @@ extern crate alloc; +#[cfg(not(feature = "std"))] use alloc::string::ToString; -use core::{ - char::{decode_utf16, REPLACEMENT_CHARACTER}, - convert::TryInto, -}; +use core::char::{decode_utf16, REPLACEMENT_CHARACTER}; use evm_coder::{abi::AbiType, generate_stubgen, solidity_interface, types::*, AbiCoder, ToLog}; use frame_support::{BoundedBTreeMap, BoundedVec}; @@ -43,7 +41,7 @@ use pallet_evm_coder_substrate::{ }; use pallet_structure::{weights::WeightInfo as _, SelfWeightOf as StructureWeight}; use sp_core::{Get, H160, U256}; -use sp_std::{collections::btree_map::BTreeMap, vec, vec::Vec}; +use sp_std::{collections::btree_map::BTreeMap, vec}; use up_data_structs::{ budget::Budget, mapping::TokenAddressMapping, CollectionId, CollectionPropertiesVec, Property, PropertyKey, PropertyKeyPermission, PropertyPermission, TokenId, TokenOwnerError, diff --git a/pallets/refungible/src/erc_token.rs b/pallets/refungible/src/erc_token.rs index 182eb31935..2243e369fa 100644 --- a/pallets/refungible/src/erc_token.rs +++ b/pallets/refungible/src/erc_token.rs @@ -21,7 +21,6 @@ use core::{ char::{decode_utf16, REPLACEMENT_CHARACTER}, - convert::TryInto, ops::Deref, }; @@ -38,7 +37,6 @@ use pallet_evm_coder_substrate::{ frontier_contract, WithRecorder, }; use sp_core::U256; -use sp_std::vec::Vec; use up_data_structs::TokenId; use crate::{ diff --git a/pallets/refungible/src/lib.rs b/pallets/refungible/src/lib.rs index bb89ba0d2d..c7beaa3b7a 100644 --- a/pallets/refungible/src/lib.rs +++ b/pallets/refungible/src/lib.rs @@ -101,7 +101,9 @@ use pallet_evm_coder_substrate::WithRecorder; use pallet_structure::Pallet as PalletStructure; use sp_core::{Get, H160}; use sp_runtime::{ArithmeticError, DispatchError, DispatchResult, TransactionOutcome}; -use sp_std::{collections::btree_map::BTreeMap, vec, vec::Vec}; +#[cfg(not(feature = "std"))] +use sp_std::vec::Vec; +use sp_std::{collections::btree_map::BTreeMap, vec}; use up_data_structs::{ budget::Budget, mapping::TokenAddressMapping, AccessMode, CollectionId, CreateRefungibleExMultipleOwners, PropertiesPermissionMap, Property, PropertyKey, diff --git a/pallets/structure/src/benchmarking.rs b/pallets/structure/src/benchmarking.rs index ea1f446caf..a8fdf2115a 100644 --- a/pallets/structure/src/benchmarking.rs +++ b/pallets/structure/src/benchmarking.rs @@ -15,10 +15,8 @@ // along with Unique Network. If not, see . use frame_benchmarking::v2::{account, benchmarks, BenchmarkError}; -use frame_support::traits::{fungible::Balanced, tokens::Precision, Get}; +use frame_support::traits::{fungible::Balanced, tokens::Precision}; use pallet_common::{CollectionIssuer, Config as CommonConfig}; -use pallet_evm::account::CrossAccountId; -use sp_std::vec; use up_data_structs::{ budget::Unlimited, CollectionMode, CreateCollectionData, CreateItemData, CreateNftData, }; diff --git a/pallets/unique/Cargo.toml b/pallets/unique/Cargo.toml index cb3f02f9a2..f6fb5e9f44 100644 --- a/pallets/unique/Cargo.toml +++ b/pallets/unique/Cargo.toml @@ -30,6 +30,7 @@ std = [ 'pallet-nonfungible/std', 'pallet-structure/std', 'parity-scale-codec/std', + 'sp-io/std', 'sp-runtime/std', 'sp-std/std', 'up-common/std', diff --git a/pallets/unique/src/benchmarking.rs b/pallets/unique/src/benchmarking.rs index 463291faf7..43106364ca 100644 --- a/pallets/unique/src/benchmarking.rs +++ b/pallets/unique/src/benchmarking.rs @@ -17,15 +17,13 @@ #![cfg(feature = "runtime-benchmarks")] use frame_benchmarking::v2::{account, benchmarks, BenchmarkError}; -use frame_support::traits::{fungible::Balanced, tokens::Precision, Get}; +use frame_support::traits::{fungible::Balanced, tokens::Precision}; use frame_system::RawOrigin; use pallet_common::{ benchmarking::{create_data, create_u16_data}, erc::CrossAccountId, Config as CommonConfig, }; -use sp_runtime::DispatchError; -use sp_std::vec; use up_data_structs::{ CollectionId, CollectionLimits, CollectionMode, MAX_COLLECTION_DESCRIPTION_LENGTH, MAX_COLLECTION_NAME_LENGTH, MAX_TOKEN_PREFIX_LENGTH, diff --git a/pallets/unique/src/eth/mod.rs b/pallets/unique/src/eth/mod.rs index ed82c174a6..505c0f5826 100644 --- a/pallets/unique/src/eth/mod.rs +++ b/pallets/unique/src/eth/mod.rs @@ -34,7 +34,6 @@ use pallet_evm_coder_substrate::{ execution::{Error, PreDispatch, Result}, frontier_contract, SubstrateRecorder, WithRecorder, }; -use sp_std::vec::Vec; use up_data_structs::{ CollectionDescription, CollectionMode, CollectionName, CollectionPermissions, CollectionTokenPrefix, CreateCollectionData, NestingPermissions, diff --git a/primitives/common/src/constants.rs b/primitives/common/src/constants.rs index 72787508dc..2a4193fbde 100644 --- a/primitives/common/src/constants.rs +++ b/primitives/common/src/constants.rs @@ -23,9 +23,6 @@ use sp_runtime::Perbill; use crate::types::{Balance, BlockNumber}; -#[cfg(not(feature = "lookahead"))] -pub const MILLISECS_PER_BLOCK: u64 = 12000; -#[cfg(feature = "lookahead")] pub const MILLISECS_PER_BLOCK: u64 = 6000; pub const MILLISECS_PER_RELAY_BLOCK: u64 = 6000; @@ -57,10 +54,10 @@ pub const MAX_COLLATORS: u32 = 10; pub const SESSION_LENGTH: BlockNumber = HOURS; // Targeting 0.1 UNQ per transfer -pub const WEIGHT_TO_FEE_COEFF: u64 = /**/74_374_502_416_291_841/**/; +pub const WEIGHT_TO_FEE_COEFF: u64 = /**/75_962_815_059_666_771/**/; // Targeting 0.15 UNQ per transfer via ETH -pub const MIN_GAS_PRICE: u64 = /**/1_873_548_000_299/**/; +pub const MIN_GAS_PRICE: u64 = /**/1_877_088_260_690/**/; /// We assume that ~10% of the block weight is consumed by `on_initalize` handlers. /// This is used to limit the maximal weight of a single extrinsic. diff --git a/primitives/data-structs/src/bounded.rs b/primitives/data-structs/src/bounded.rs index 7d8c70771a..b5c647e48f 100644 --- a/primitives/data-structs/src/bounded.rs +++ b/primitives/data-structs/src/bounded.rs @@ -22,20 +22,18 @@ use frame_support::{ storage::{bounded_btree_map::BoundedBTreeMap, bounded_btree_set::BoundedBTreeSet}, BoundedVec, }; -use sp_std::{ - collections::{btree_map::BTreeMap, btree_set::BTreeSet}, - vec::Vec, -}; +use sp_std::collections::{btree_map::BTreeMap, btree_set::BTreeSet}; +#[cfg(not(feature = "std"))] +use sp_std::vec::Vec; /// [`serde`] implementations for [`BoundedVec`]. pub mod vec_serde { - use core::convert::TryFrom; - use frame_support::{traits::Get, BoundedVec}; use serde::{ de::{self, Deserialize, Error}, ser::{self, Serialize}, }; + #[cfg(not(feature = "std"))] use sp_std::vec::Vec; pub fn serialize(value: &BoundedVec, serializer: D) -> Result @@ -71,14 +69,13 @@ where #[allow(dead_code)] /// [`serde`] implementations for [`BoundedBTreeMap`]. pub mod map_serde { - use core::convert::TryFrom; - use frame_support::{storage::bounded_btree_map::BoundedBTreeMap, traits::Get}; use serde::{ de::{self, Deserialize, Error}, ser::{self, Serialize}, }; use sp_std::collections::btree_map::BTreeMap; + pub fn serialize( value: &BoundedBTreeMap, serializer: D, @@ -122,14 +119,13 @@ where #[allow(dead_code)] /// [`serde`] implementations for [`BoundedBTreeSet`]. pub mod set_serde { - use core::convert::TryFrom; - use frame_support::{storage::bounded_btree_set::BoundedBTreeSet, traits::Get}; use serde::{ de::{self, Deserialize, Error}, ser::{self, Serialize}, }; use sp_std::collections::btree_set::BTreeSet; + pub fn serialize( value: &BoundedBTreeSet, serializer: D, diff --git a/primitives/data-structs/src/lib.rs b/primitives/data-structs/src/lib.rs index 8853104d76..a529413ab9 100644 --- a/primitives/data-structs/src/lib.rs +++ b/primitives/data-structs/src/lib.rs @@ -20,11 +20,7 @@ #![cfg_attr(not(feature = "std"), no_std)] -use core::{ - convert::{TryFrom, TryInto}, - fmt, - ops::Deref, -}; +use core::{fmt, ops::Deref}; use bondrewd::Bitfields; use derivative::Derivative; @@ -38,8 +34,10 @@ use parity_scale_codec::{Decode, Encode, EncodeLike, MaxEncodedLen}; use scale_info::TypeInfo; use serde::{Deserialize, Serialize}; use sp_core::U256; -use sp_runtime::{sp_std::prelude::Vec, ArithmeticError}; +use sp_runtime::ArithmeticError; use sp_std::collections::btree_set::BTreeSet; +#[cfg(not(feature = "std"))] +use sp_std::vec::Vec; mod bondrewd_codec; mod bounded; diff --git a/runtime/common/config/ethereum.rs b/runtime/common/config/ethereum.rs index 6e7d8c45af..662bbefc2c 100644 --- a/runtime/common/config/ethereum.rs +++ b/runtime/common/config/ethereum.rs @@ -58,7 +58,8 @@ impl> FindAuthor for EthereumFindAuthor { I: 'a + IntoIterator, { if let Some(author_index) = F::find_author(digests) { - let authority_id = Aura::authorities()[author_index as usize].clone(); + let authority_id = + pallet_aura::Authorities::::get().to_vec()[author_index as usize].clone(); return Some(H160::from_slice(&authority_id.to_raw_vec()[4..24])); } None diff --git a/runtime/common/config/governance/fellowship.rs b/runtime/common/config/governance/fellowship.rs index 13b90dc0ff..2c6e7747ad 100644 --- a/runtime/common/config/governance/fellowship.rs +++ b/runtime/common/config/governance/fellowship.rs @@ -3,9 +3,7 @@ use pallet_ranked_collective::{Config as RankedConfig, Rank, TallyOf}; use sp_runtime::traits::ReplaceWithDefault; use super::*; -use crate::{ - FellowshipReferenda, Preimage, Runtime, RuntimeCall, RuntimeEvent, Scheduler, Treasury, -}; +use crate::FellowshipReferenda; pub const FELLOWSHIP_MODULE_ID: PalletId = PalletId(*b"flowship"); pub const DEMOCRACY_TRACK_ID: u16 = 10; @@ -68,6 +66,7 @@ impl RankedConfig for Runtime { type RemoveOrigin = FellowshipPromoteDemoteOrigin; type ExchangeOrigin = FellowshipPromoteDemoteOrigin; type MemberSwappedHandler = (); + type MaxMemberCount = (); type PromoteOrigin = FellowshipPromoteDemoteOrigin; type DemoteOrigin = FellowshipPromoteDemoteOrigin; type Polls = FellowshipReferenda; diff --git a/runtime/common/config/pallets/mod.rs b/runtime/common/config/pallets/mod.rs index a764a7d19d..b00ae8a67c 100644 --- a/runtime/common/config/pallets/mod.rs +++ b/runtime/common/config/pallets/mod.rs @@ -14,6 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Unique Network. If not, see . +#[cfg(not(feature = "std"))] use alloc::string::{String, ToString}; use frame_support::{ diff --git a/runtime/common/config/parachain.rs b/runtime/common/config/parachain.rs index 2b9cac95a6..31a98c47a9 100644 --- a/runtime/common/config/parachain.rs +++ b/runtime/common/config/parachain.rs @@ -14,6 +14,9 @@ // You should have received a copy of the GNU General Public License // along with Unique Network. If not, see . +use cumulus_pallet_parachain_system::{ + consensus_hook::UnincludedSegmentCapacity, RelayChainStateProof, +}; use cumulus_primitives_core::AggregateMessageOrigin; use frame_support::{parameter_types, traits::EnqueueWithOrigin, weights::Weight}; use up_common::constants::*; @@ -36,13 +39,9 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type ReservedDmpWeight = ReservedDmpWeight; type ReservedXcmpWeight = ReservedXcmpWeight; type XcmpMessageHandler = XcmpQueue; - #[cfg(not(feature = "lookahead"))] - type CheckAssociatedRelayNumber = cumulus_pallet_parachain_system::RelayNumberStrictlyIncreases; - #[cfg(feature = "lookahead")] type CheckAssociatedRelayNumber = cumulus_pallet_parachain_system::RelayNumberMonotonicallyIncreases; - #[cfg(feature = "lookahead")] - type ConsensusHook = ConsensusHook; + type ConsensusHook = ConsensusHookWrapper; } impl staging_parachain_info::Config for Runtime {} @@ -51,16 +50,26 @@ impl cumulus_pallet_aura_ext::Config for Runtime {} /// Maximum number of blocks simultaneously accepted by the Runtime, not yet included /// into the relay chain. -#[cfg(feature = "lookahead")] const UNINCLUDED_SEGMENT_CAPACITY: u32 = 3; /// How many parachain blocks are processed by the relay chain per parent. Limits the /// number of blocks authored per slot. -#[cfg(feature = "lookahead")] const BLOCK_PROCESSING_VELOCITY: u32 = 2; -#[cfg(feature = "lookahead")] pub type ConsensusHook = cumulus_pallet_aura_ext::FixedVelocityConsensusHook< Runtime, { MILLISECS_PER_RELAY_BLOCK as u32 }, BLOCK_PROCESSING_VELOCITY, UNINCLUDED_SEGMENT_CAPACITY, >; + +pub struct ConsensusHookWrapper; + +impl cumulus_pallet_parachain_system::ConsensusHook for ConsensusHookWrapper { + fn on_state_proof(state_proof: &RelayChainStateProof) -> (Weight, UnincludedSegmentCapacity) { + let slot = pallet_aura::CurrentSlot::::get(); + if *slot == 0 { + cumulus_pallet_parachain_system::ExpectParentIncluded::on_state_proof(state_proof) + } else { + ConsensusHook::on_state_proof(state_proof) + } + } +} diff --git a/runtime/common/config/substrate.rs b/runtime/common/config/substrate.rs index 5f54b46556..f4163cabd5 100644 --- a/runtime/common/config/substrate.rs +++ b/runtime/common/config/substrate.rs @@ -20,7 +20,7 @@ use frame_support::{ ord_parameter_types, parameter_types, traits::{ tokens::{PayFromAccount, UnityAssetBalanceConversion}, - ConstBool, ConstU32, ConstU64, Everything, NeverEnsureOrigin, + ConstBool, ConstU32, ConstU64, NeverEnsureOrigin, }, weights::{ constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight}, @@ -135,9 +135,6 @@ impl pallet_timestamp::Config for Runtime { /// A timestamp: milliseconds since the unix epoch. type Moment = u64; type OnTimestampSet = (); - #[cfg(not(feature = "lookahead"))] - type MinimumPeriod = ConstU64<{ SLOT_DURATION / 2 }>; - #[cfg(feature = "lookahead")] type MinimumPeriod = ConstU64<0>; type WeightInfo = (); } @@ -182,6 +179,7 @@ parameter_types! { impl pallet_transaction_payment::Config for Runtime { type RuntimeEvent = RuntimeEvent; + #[allow(deprecated)] type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type LengthToFee = ConstantMultiplier; type OperationalFeeMultiplier = OperationalFeeMultiplier; @@ -190,9 +188,6 @@ impl pallet_transaction_payment::Config for Runtime { } parameter_types! { - pub const ProposalBond: Permill = Permill::from_percent(5); - pub const ProposalBondMinimum: Balance = 1 * UNIQUE; - pub const ProposalBondMaximum: Balance = 1000 * UNIQUE; pub const SpendPeriod: BlockNumber = 5 * MINUTES; pub const Burn: Permill = Permill::from_percent(0); pub const TipCountdown: BlockNumber = 1 * DAYS; @@ -213,14 +208,9 @@ parameter_types! { impl pallet_treasury::Config for Runtime { type PalletId = TreasuryModuleId; type Currency = Balances; - type ApproveOrigin = EnsureRoot; type RejectOrigin = EnsureRoot; type SpendOrigin = NeverEnsureOrigin; type RuntimeEvent = RuntimeEvent; - type OnSlash = (); - type ProposalBond = ProposalBond; - type ProposalBondMinimum = ProposalBondMinimum; - type ProposalBondMaximum = ProposalBondMaximum; type SpendPeriod = SpendPeriod; type Burn = Burn; type BurnDestination = (); @@ -252,7 +242,6 @@ impl pallet_aura::Config for Runtime { type DisabledValidators = (); type MaxAuthorities = MaxAuthorities; type AllowMultipleBlocksPerSlot = ConstBool; - #[cfg(feature = "lookahead")] type SlotDuration = ConstU64; } diff --git a/runtime/common/config/xcm.rs b/runtime/common/config/xcm.rs index e7bdc32cf1..4d13f1dc70 100644 --- a/runtime/common/config/xcm.rs +++ b/runtime/common/config/xcm.rs @@ -192,6 +192,10 @@ where type SafeCallFilter = Nothing; type Aliasers = Nothing; type TransactionalProcessor = FrameTransactionalProcessor; + type HrmpNewChannelOpenRequestHandler = (); + type HrmpChannelAcceptedHandler = (); + type HrmpChannelClosingHandler = (); + type XcmRecorder = PolkadotXcm; } impl pallet_xcm::Config for Runtime { @@ -257,9 +261,10 @@ impl pallet_message_queue::Config for Runtime { // The XCMP queue pallet is only ever able to handle the `Sibling(ParaId)` origin: type QueueChangeHandler = NarrowOriginToSibling; type QueuePausedQuery = NarrowOriginToSibling; - type HeapSize = ConstU32<{ 64 * 1024 }>; + type HeapSize = ConstU32<{ 103 * 1024 }>; type MaxStale = ConstU32<8>; type ServiceWeight = MessageQueueServiceWeight; + type IdleMaxServiceWeight = (); } impl cumulus_pallet_xcmp_queue::Config for Runtime { @@ -267,6 +272,8 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; type XcmpQueue = TransformOrigin; type MaxInboundSuspended = ConstU32<1000>; + type MaxActiveOutboundChannels = ConstU32<128>; + type MaxPageSize = ConstU32<{ 103 * 1024 }>; type ChannelInfo = ParachainSystem; type VersionWrapper = PolkadotXcm; @@ -281,6 +288,12 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type PriceForSiblingDelivery = NoPriceForMessageDelivery; } +impl cumulus_pallet_xcmp_queue::migration::v5::V5Config for Runtime { + // https://github.com/polkadot-fellows/runtimes/blob/afc36ca73146d7e22887fb11c6631a7129d68dd2/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs#L700-L703. + type ChannelList = ::ChannelInfo; +} + +#[allow(deprecated)] impl cumulus_pallet_dmp_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; type WeightInfo = cumulus_pallet_dmp_queue::weights::SubstrateWeight; diff --git a/runtime/common/construct_runtime.rs b/runtime/common/construct_runtime.rs index a3137c8c96..be852ec529 100644 --- a/runtime/common/construct_runtime.rs +++ b/runtime/common/construct_runtime.rs @@ -18,7 +18,6 @@ macro_rules! construct_runtime { () => { frame_support::construct_runtime! { - pub enum Runtime { System: frame_system = 0, StateTrieMigration: pallet_state_trie_migration = 1, diff --git a/runtime/common/dispatch.rs b/runtime/common/dispatch.rs index 77879f367d..464c7ce73d 100644 --- a/runtime/common/dispatch.rs +++ b/runtime/common/dispatch.rs @@ -29,6 +29,7 @@ use pallet_refungible::{ }; use sp_core::H160; use sp_runtime::DispatchError; +#[cfg(not(feature = "std"))] use sp_std::{borrow::ToOwned, vec::Vec}; use up_data_structs::{ mapping::TokenAddressMapping, CollectionId, CollectionMode, CreateCollectionData, diff --git a/runtime/common/ethereum/precompiles/sr25519.rs b/runtime/common/ethereum/precompiles/sr25519.rs index 9d8fd23f40..27a695d7d2 100644 --- a/runtime/common/ethereum/precompiles/sr25519.rs +++ b/runtime/common/ethereum/precompiles/sr25519.rs @@ -68,16 +68,17 @@ impl Sr25519Precompile { let message: Vec = input.read::(gasometer)?.into(); // Parse signature - let signature_opt = sr25519::Signature::from_slice(&signature_bytes[..]); - - let signature = if let Some(sig) = signature_opt { - sig - } else { - // Return `false` if signature length is wrong - return Ok(PrecompileOutput { - exit_status: ExitSucceed::Returned, - output: EvmDataWriter::new().write(false).build(), - }); + let signature_opt = sr25519::Signature::try_from(&signature_bytes[..]); + + let signature = match signature_opt { + Ok(sig) => sig, + Err(_) => { + // Return `false` if signature length is wrong + return Ok(PrecompileOutput { + exit_status: ExitSucceed::Returned, + output: EvmDataWriter::new().write(false).build(), + }); + } }; log::trace!( diff --git a/runtime/common/ethereum/precompiles/utils/data.rs b/runtime/common/ethereum/precompiles/utils/data.rs index 9b0160f6c5..45fc5d7e89 100644 --- a/runtime/common/ethereum/precompiles/utils/data.rs +++ b/runtime/common/ethereum/precompiles/utils/data.rs @@ -19,7 +19,9 @@ use core::{any::type_name, ops::Range}; use sp_core::{H160, H256, U256}; -use sp_std::{borrow::ToOwned, convert::TryInto, vec, vec::Vec}; +use sp_std::vec; +#[cfg(not(feature = "std"))] +use sp_std::{borrow::ToOwned, vec::Vec}; use super::{EvmResult, Gasometer}; diff --git a/runtime/common/ethereum/precompiles/utils/mod.rs b/runtime/common/ethereum/precompiles/utils/mod.rs index c70b432243..37bf673818 100644 --- a/runtime/common/ethereum/precompiles/utils/mod.rs +++ b/runtime/common/ethereum/precompiles/utils/mod.rs @@ -18,7 +18,8 @@ use fp_evm::{Context, ExitRevert, PrecompileFailure}; use sp_core::U256; -use sp_std::{borrow::ToOwned, marker::PhantomData}; +#[cfg(not(feature = "std"))] +use sp_std::borrow::ToOwned; mod data; @@ -27,11 +28,6 @@ pub use data::{Bytes, EvmDataReader, EvmDataWriter}; /// Alias for Result returning an EVM precompile error. pub type EvmResult = Result; -/// Helper functions requiring a Runtime. -/// This runtime must of course implement `pallet_evm::Config`. -#[derive(Clone, Copy, Debug)] -pub struct RuntimeHelper(PhantomData); - /// Represents modifiers a Solidity function can be annotated with. #[derive(Copy, Clone, PartialEq, Eq)] pub enum FunctionModifier { diff --git a/runtime/common/ethereum/sponsoring.rs b/runtime/common/ethereum/sponsoring.rs index 18f90a62e7..7a9a131254 100644 --- a/runtime/common/ethereum/sponsoring.rs +++ b/runtime/common/ethereum/sponsoring.rs @@ -16,7 +16,7 @@ //! Implements EVM sponsoring logic via TransactionValidityHack -use core::{convert::TryInto, marker::PhantomData}; +use core::marker::PhantomData; use evm_coder::Call; use pallet_common::{eth::map_eth_to_id, CollectionHandle}; diff --git a/runtime/common/mod.rs b/runtime/common/mod.rs index 10e5d1c461..b41035284d 100644 --- a/runtime/common/mod.rs +++ b/runtime/common/mod.rs @@ -31,19 +31,24 @@ pub mod weights; pub mod tests; use frame_support::{ - traits::{Currency, Imbalance, OnUnbalanced}, + pallet_prelude::{GetStorageVersion, PalletInfoAccess}, + parameter_types, + traits::{OnRuntimeUpgrade, PalletInfo, StorageVersion}, weights::Weight, }; +use sp_core::Get; use sp_runtime::{ generic, impl_opaque_keys, traits::{BlakeTwo256, BlockNumberProvider}, }; +use sp_std::marker::PhantomData; +#[cfg(not(feature = "std"))] use sp_std::vec::Vec; #[cfg(feature = "std")] use sp_version::NativeVersion; use up_common::types::{AccountId, BlockNumber}; -use crate::{AllPalletsWithSystem, Aura, Balances, Runtime, RuntimeCall, Signature, Treasury}; +use crate::{AllPalletsWithSystem, Aura, Runtime, RuntimeCall, Signature, Treasury}; #[macro_export] macro_rules! unsupported { @@ -93,6 +98,7 @@ pub type SignedExtra = ( pallet_charge_transaction::ChargeTransactionPayment, //pallet_contract_helpers::ContractHelpersExtension, pallet_ethereum::FakeTransactionFinalizer, + frame_metadata_hash_extension::CheckMetadataHash, ); /// Executive: handles dispatch to the various modules. @@ -102,11 +108,9 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - AuraToCollatorSelection, + Migrations, >; -type NegativeImbalance = >::NegativeImbalance; - pub(crate) type DealWithFees = Treasury; pub struct RelayChainBlockNumberProvider(sp_std::marker::PhantomData); @@ -117,9 +121,7 @@ impl BlockNumberProvider type BlockNumber = BlockNumber; fn current_block_number() -> Self::BlockNumber { - cumulus_pallet_parachain_system::Pallet::::validation_data() - .map(|d| d.relay_parent_number) - .unwrap_or_default() + cumulus_pallet_parachain_system::RelaychainDataProvider::::current_block_number() } #[cfg(feature = "runtime-benchmarks")] fn set_block_number(block: Self::BlockNumber) { @@ -127,47 +129,152 @@ impl BlockNumberProvider } } -#[cfg(not(feature = "lookahead"))] -pub(crate) struct CheckInherents; - -#[cfg(not(feature = "lookahead"))] -impl cumulus_pallet_parachain_system::CheckInherents for CheckInherents { - fn check_inherents( - block: &Block, - relay_state_proof: &cumulus_pallet_parachain_system::RelayChainStateProof, - ) -> sp_inherents::CheckInherentsResult { - use crate::InherentDataExt; - - let relay_chain_slot = relay_state_proof - .read_slot() - .expect("Could not read the relay chain slot from the proof"); - - let inherent_data = - cumulus_primitives_timestamp::InherentDataProvider::from_relay_chain_slot_and_duration( - relay_chain_slot, - sp_std::time::Duration::from_secs(6), - ) - .create_inherent_data() - .expect("Could not create the timestamp inherent data"); - - inherent_data.check_extrinsics(block) - } -} - #[derive(parity_scale_codec::Encode, parity_scale_codec::Decode)] pub enum XCMPMessage { /// Transfer tokens to the given account from the Parachain account. TransferToken(XAccountId, XBalance), } +/// All migrations that will run on the next runtime upgrade. +pub type Migrations = (Unreleased, AuraToCollatorSelection); + +parameter_types! { + pub const PalletRefungibleBaseStorageVersion: StorageVersion = StorageVersion::new(1); + pub const PalletRefungibleTargetStorageVersion: StorageVersion = StorageVersion::new(2); + + pub const PalletXcmBaseStorageVersion: StorageVersion = StorageVersion::new(0); + pub const PalletXcmTargetStorageVersion: StorageVersion = StorageVersion::new(1); + + pub const PalletPreimageBaseStorageVersion: StorageVersion = StorageVersion::new(0); + pub const PalletPreimageTargetStorageVersion: StorageVersion = StorageVersion::new(1); + + pub const PalletDemocracyBaseStorageVersion: StorageVersion = StorageVersion::new(0); + pub const PalletDemocracyTargetStorageVersion: StorageVersion = StorageVersion::new(1); + + pub const PalletCollectiveBaseStorageVersion: StorageVersion = StorageVersion::new(0); + pub const PalletCollectiveTargetStorageVersion: StorageVersion = StorageVersion::new(4); + + pub const PalletMembershipBaseStorageVersion: StorageVersion = StorageVersion::new(0); + pub const PalletMembershipTargetStorageVersion: StorageVersion = StorageVersion::new(4); +} + +/// All migrations that will need to be removed after the current release. +pub type Unreleased = ( + // Workaround to fix the pallet_preimage version mismatch + // with what is stored on the chain. + // + // Preimage pallet was added when we used Polkadot SDK v0.9.37, but + // the migration provided by the pallet_preimage hasn't been applied. + // + // However, the migration provided by the pallet_preimage is unnecessary since + // we used the actual v1 types from the beginning. We only need to align + // the reported storage version with the actual format on the chain (already v1). + PalletVersionMigration< + Runtime, + crate::Preimage, + PalletPreimageBaseStorageVersion, + PalletPreimageTargetStorageVersion, + >, + // Workaround for pallet_democracy. + // The same situation as with the pallet_preimage. + PalletVersionMigration< + Runtime, + crate::Democracy, + PalletDemocracyBaseStorageVersion, + PalletDemocracyTargetStorageVersion, + >, + // Workaround for pallet_collective. + // + // Migrations in this pallet are only needed for renaming + // (moving from the old name to the new) and bumping the version from 0 to 4. + // The storage remains unchanged. + // + // In our case, we only need to bump the version, without renaming. + PalletVersionMigration< + Runtime, + crate::Council, + PalletCollectiveBaseStorageVersion, + PalletCollectiveTargetStorageVersion, + >, + PalletVersionMigration< + Runtime, + crate::TechnicalCommittee, + PalletCollectiveBaseStorageVersion, + PalletCollectiveTargetStorageVersion, + >, + // Workaround for pallet_membership. + // The same situation as with the pallet_collective. + PalletVersionMigration< + Runtime, + crate::CouncilMembership, + PalletMembershipBaseStorageVersion, + PalletMembershipTargetStorageVersion, + >, + PalletVersionMigration< + Runtime, + crate::TechnicalCommitteeMembership, + PalletMembershipBaseStorageVersion, + PalletMembershipTargetStorageVersion, + >, + // Fix pallet_refungible version for Unique. + // There was a discrepancy between the versions between Quartz and Unique + // for some historical reasons. + PalletVersionMigration< + Runtime, + crate::Refungible, + PalletRefungibleBaseStorageVersion, + PalletRefungibleTargetStorageVersion, + >, + // Xcm migration + PalletVersionMigration< + Runtime, + crate::PolkadotXcm, + PalletXcmBaseStorageVersion, + PalletXcmTargetStorageVersion, + >, + pallet_xcm::migration::MigrateToLatestXcmVersion, + // Good migrations + pallet_balances::migration::MigrateManyToTrackInactive, + pallet_referenda::migration::v1::MigrateV0ToV1, + cumulus_pallet_xcmp_queue::migration::v4::MigrationToV4, + cumulus_pallet_xcmp_queue::migration::v5::MigrateV4ToV5, +); + +pub struct PalletVersionMigration(PhantomData<(T, P, Base, Target)>); + +impl OnRuntimeUpgrade for PalletVersionMigration +where + T: frame_system::Config, + P: GetStorageVersion + PalletInfoAccess + 'static, + Base: Get, + Target: Get, +{ + fn on_runtime_upgrade() -> Weight { + let pallet_name = T::PalletInfo::name::

().unwrap(); + let base_version = Base::get(); + let target_version = Target::get(); + + let mut weight = T::DbWeight::get().reads(1); + + if StorageVersion::get::

() == base_version { + log::info!("🚚 Pallet \"{pallet_name}\" migrating version from {base_version:?} to {target_version:?}"); + + target_version.put::

(); + weight += T::DbWeight::get().writes(1); + } + + weight + } +} + pub struct AuraToCollatorSelection; -impl frame_support::traits::OnRuntimeUpgrade for AuraToCollatorSelection { +impl OnRuntimeUpgrade for AuraToCollatorSelection { fn on_runtime_upgrade() -> Weight { #[cfg(feature = "collator-selection")] { use frame_support::{storage::migration, BoundedVec}; use pallet_session::SessionManager; - use sp_runtime::{traits::OpaqueKeys, RuntimeAppPublic}; + use sp_runtime::RuntimeAppPublic; use crate::config::pallets::MaxCollators; @@ -187,7 +294,7 @@ impl frame_support::traits::OnRuntimeUpgrade for AuraToCollatorSelection { "Running migration of Aura authorities to Collator Selection invulnerables" ); - let invulnerables = pallet_aura::Pallet::::authorities() + let invulnerables = pallet_aura::Authorities::::get() .iter() .cloned() .filter_map(|authority_id| { @@ -228,6 +335,7 @@ impl frame_support::traits::OnRuntimeUpgrade for AuraToCollatorSelection { .collect::>(); for (account, val, keys) in keys.iter() { + use sp_runtime::traits::OpaqueKeys; for id in ::Keys::key_ids() { >::insert((*id, keys.get_raw(*id)), val) } diff --git a/runtime/common/runtime_apis.rs b/runtime/common/runtime_apis.rs index 71c8d280e2..b459c6662f 100644 --- a/runtime/common/runtime_apis.rs +++ b/runtime/common/runtime_apis.rs @@ -43,7 +43,7 @@ macro_rules! impl_common_runtime_apis { ApplyExtrinsicResult, DispatchError, ExtrinsicInclusionMode, }; use frame_support::{ - genesis_builder_helper::{build_config, create_default_config}, + genesis_builder_helper::{build_state, get_preset}, pallet_prelude::Weight, traits::OnFinalize, }; @@ -486,18 +486,13 @@ macro_rules! impl_common_runtime_apis { impl sp_consensus_aura::AuraApi for Runtime { fn slot_duration() -> sp_consensus_aura::SlotDuration { - #[cfg(not(feature = "lookahead"))] - { - sp_consensus_aura::SlotDuration::from_millis(Aura::slot_duration()) - } - #[cfg(feature = "lookahead")] { sp_consensus_aura::SlotDuration::from_millis(up_common::constants::SLOT_DURATION) } } fn authorities() -> Vec { - Aura::authorities().to_vec() + pallet_aura::Authorities::::get().to_vec() } } @@ -690,7 +685,6 @@ macro_rules! impl_common_runtime_apis { } } - #[cfg(feature = "lookahead")] impl cumulus_primitives_aura::AuraUnincludedSegmentApi for Runtime { fn can_build_upon( included_hash: ::Hash, @@ -703,9 +697,7 @@ macro_rules! impl_common_runtime_apis { /// Should never be used, yet still required because of https://github.com/paritytech/polkadot-sdk/issues/27 /// Not allowed to panic, because rpc may be called using native runtime, thus causing thread panic. impl fp_rpc::ConvertTransactionRuntimeApi for Runtime { - fn convert_transaction( - transaction: pallet_ethereum::Transaction - ) -> ::Extrinsic { + fn convert_transaction(transaction: pallet_ethereum::Transaction) -> ::Extrinsic { UncheckedExtrinsic::new_unsigned( pallet_ethereum::Call::::transact { transaction }.into(), ) @@ -713,12 +705,16 @@ macro_rules! impl_common_runtime_apis { } impl sp_genesis_builder::GenesisBuilder for Runtime { - fn create_default_config() -> Vec { - create_default_config::() + fn build_state(config: Vec) -> sp_genesis_builder::Result { + build_state::(config) + } + + fn get_preset(id: &Option) -> Option> { + get_preset::(id, |_| None) } - fn build_config(config: Vec) -> sp_genesis_builder::Result { - build_config::(config) + fn preset_names() -> Vec { + vec![] } } } diff --git a/runtime/common/tests/mod.rs b/runtime/common/tests/mod.rs index ae8f4ec732..2364933849 100644 --- a/runtime/common/tests/mod.rs +++ b/runtime/common/tests/mod.rs @@ -19,7 +19,7 @@ pub use sp_runtime::AccountId32 as AccountId; use sp_runtime::{BuildStorage, Storage}; use up_common::types::AuraId; -use crate::{ParachainInfoConfig, Runtime, RuntimeEvent, RuntimeGenesisConfig, System}; +use crate::{ParachainInfoConfig, Runtime, RuntimeGenesisConfig, System}; pub type Balance = u128; pub mod xcm; @@ -38,16 +38,6 @@ fn get_from_seed(seed: &str) -> ::Public .public() } -fn last_events(n: usize) -> Vec { - System::events() - .into_iter() - .map(|e| e.event) - .rev() - .take(n) - .rev() - .collect() -} - fn new_test_ext(balances: Vec<(AccountId, Balance)>) -> sp_io::TestExternalities { let mut storage = make_basic_storage(); @@ -126,5 +116,5 @@ fn make_basic_storage() -> Storage { ..Default::default() }; - cfg.build_storage().unwrap().into() + cfg.build_storage().unwrap() } diff --git a/runtime/common/tests/xcm.rs b/runtime/common/tests/xcm.rs index d3b8521d74..9e899549be 100644 --- a/runtime/common/tests/xcm.rs +++ b/runtime/common/tests/xcm.rs @@ -14,18 +14,11 @@ // You should have received a copy of the GNU General Public License // along with Unique Network. If not, see . -use frame_support::pallet_prelude::Weight; use parity_scale_codec::Encode; -use staging_xcm::{ - latest::{prelude::*, Error}, - VersionedXcm, -}; +use staging_xcm::latest::{prelude::*, Error}; -use super::{last_events, new_test_ext, AccountId}; -use crate::{ - runtime_common::config::xcm::XcmExecutorConfig, PolkadotXcm, Runtime, RuntimeCall, - RuntimeEvent, RuntimeOrigin, -}; +use super::{new_test_ext, AccountId}; +use crate::{runtime_common::config::xcm::XcmExecutorConfig, Runtime, RuntimeCall}; type XcmExecutor = staging_xcm_executor::XcmExecutor>; diff --git a/runtime/opal/Cargo.toml b/runtime/opal/Cargo.toml index a81aa2ccf9..9ea824121b 100644 --- a/runtime/opal/Cargo.toml +++ b/runtime/opal/Cargo.toml @@ -77,6 +77,7 @@ std = [ 'cumulus-primitives-utility/std', 'parachains-common/std', 'frame-executive/std', + "frame-metadata-hash-extension/std", 'frame-support/std', 'frame-system-rpc-runtime-api/std', 'frame-system/std', @@ -237,10 +238,11 @@ fast-inflation = [] foreign-assets = [] gov-test-timings = [] governance = [] -lookahead = ['cumulus-pallet-parachain-system/parameterized-consensus-hook', 'pallet-aura/experimental'] preimage = [] refungible = [] session-test-timings = [] +metadata-hash = ["substrate-wasm-builder/metadata-hash"] +on-chain-release-build = ["metadata-hash"] ################################################################################ # local dependencies @@ -257,6 +259,7 @@ cumulus-primitives-timestamp = { workspace = true } cumulus-primitives-utility = { workspace = true } parachains-common = { workspace = true } frame-executive = { workspace = true } +frame-metadata-hash-extension = { workspace = true } frame-support = { workspace = true } frame-system = { workspace = true } frame-system-rpc-runtime-api = { workspace = true } diff --git a/runtime/opal/build.rs b/runtime/opal/build.rs index 959643138f..5a281b9284 100644 --- a/runtime/opal/build.rs +++ b/runtime/opal/build.rs @@ -14,11 +14,17 @@ // You should have received a copy of the GNU General Public License // along with Unique Network. If not, see . +#[cfg(all(not(feature = "metadata-hash"), feature = "std"))] fn main() { - #[cfg(feature = "std")] - substrate_wasm_builder::WasmBuilder::new() - .with_current_project() - .import_memory() - .export_heap_base() - .build() + substrate_wasm_builder::WasmBuilder::build_using_defaults(); } + +#[cfg(all(feature = "metadata-hash", feature = "std"))] +fn main() { + substrate_wasm_builder::WasmBuilder::init_with_defaults() + .enable_metadata_hash("WND", 12) + .build(); +} + +#[cfg(not(feature = "std"))] +fn main() {} diff --git a/runtime/opal/src/lib.rs b/runtime/opal/src/lib.rs index 46e46988be..480ca5336d 100644 --- a/runtime/opal/src/lib.rs +++ b/runtime/opal/src/lib.rs @@ -21,6 +21,8 @@ #![recursion_limit = "1024"] #![allow(clippy::from_over_into, clippy::identity_op)] #![allow(clippy::fn_to_numeric_cast_with_truncation)] +// For `cumulus_pallet_dmp_queue`. +#![allow(deprecated)] // Make the WASM binary available. #[cfg(feature = "std")] include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); @@ -49,7 +51,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("opal"), impl_name: create_runtime_str!("opal"), authoring_version: 1, - spec_version: 10090072, + spec_version: 10140080, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 3, @@ -67,14 +69,6 @@ construct_runtime!(); impl_common_runtime_apis!(); -// CheckInherents is included in consensus hook -#[cfg(not(feature = "lookahead"))] -cumulus_pallet_parachain_system::register_validate_block!( - Runtime = Runtime, - BlockExecutor = cumulus_pallet_aura_ext::BlockExecutor::, - CheckInherents = CheckInherents, -); -#[cfg(feature = "lookahead")] cumulus_pallet_parachain_system::register_validate_block!( Runtime = Runtime, BlockExecutor = cumulus_pallet_aura_ext::BlockExecutor::, diff --git a/runtime/quartz/Cargo.toml b/runtime/quartz/Cargo.toml index 49715d7e53..ebd85fd4f8 100644 --- a/runtime/quartz/Cargo.toml +++ b/runtime/quartz/Cargo.toml @@ -69,10 +69,12 @@ std = [ 'cumulus-pallet-parachain-system/std', 'cumulus-pallet-xcm/std', 'cumulus-pallet-xcmp-queue/std', + 'cumulus-primitives-aura/std', 'cumulus-primitives-core/std', 'cumulus-primitives-utility/std', 'parachains-common/std', 'frame-executive/std', + "frame-metadata-hash-extension/std", 'frame-support/std', 'frame-system-rpc-runtime-api/std', 'frame-system/std', @@ -230,6 +232,8 @@ governance = [] preimage = [] refungible = [] session-test-timings = [] +metadata-hash = ["substrate-wasm-builder/metadata-hash"] +on-chain-release-build = ["metadata-hash"] ################################################################################ # local dependencies @@ -240,11 +244,13 @@ cumulus-pallet-dmp-queue = { workspace = true } cumulus-pallet-parachain-system = { workspace = true } cumulus-pallet-xcm = { workspace = true } cumulus-pallet-xcmp-queue = { workspace = true } +cumulus-primitives-aura = { workspace = true } cumulus-primitives-core = { workspace = true } cumulus-primitives-timestamp = { workspace = true } cumulus-primitives-utility = { workspace = true } parachains-common = { workspace = true } frame-executive = { workspace = true } +frame-metadata-hash-extension = { workspace = true } frame-support = { workspace = true } frame-system = { workspace = true } frame-system-rpc-runtime-api = { workspace = true } diff --git a/runtime/quartz/build.rs b/runtime/quartz/build.rs index 70b38d9eb4..270715b468 100644 --- a/runtime/quartz/build.rs +++ b/runtime/quartz/build.rs @@ -1,8 +1,14 @@ +#[cfg(all(not(feature = "metadata-hash"), feature = "std"))] fn main() { - #[cfg(feature = "std")] - substrate_wasm_builder::WasmBuilder::new() - .with_current_project() - .import_memory() - .export_heap_base() - .build() + substrate_wasm_builder::WasmBuilder::build_using_defaults(); } + +#[cfg(all(feature = "metadata-hash", feature = "std"))] +fn main() { + substrate_wasm_builder::WasmBuilder::init_with_defaults() + .enable_metadata_hash("WND", 12) + .build(); +} + +#[cfg(not(feature = "std"))] +fn main() {} diff --git a/runtime/quartz/src/lib.rs b/runtime/quartz/src/lib.rs index 2086eec4b4..6685065f3e 100644 --- a/runtime/quartz/src/lib.rs +++ b/runtime/quartz/src/lib.rs @@ -21,6 +21,8 @@ #![recursion_limit = "1024"] #![allow(clippy::from_over_into, clippy::identity_op)] #![allow(clippy::fn_to_numeric_cast_with_truncation)] +// For `cumulus_pallet_dmp_queue`. +#![allow(deprecated)] // Make the WASM binary available. #[cfg(feature = "std")] include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); @@ -51,7 +53,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { impl_name: create_runtime_str!("quartz"), authoring_version: 1, - spec_version: 10090072, + spec_version: 10140080, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 3, @@ -64,7 +66,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { impl_name: create_runtime_str!("sapphire"), authoring_version: 1, - spec_version: 10090072, + spec_version: 10140080, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 3, @@ -94,5 +96,4 @@ impl_common_runtime_apis!(); cumulus_pallet_parachain_system::register_validate_block!( Runtime = Runtime, BlockExecutor = cumulus_pallet_aura_ext::BlockExecutor::, - CheckInherents = CheckInherents, ); diff --git a/runtime/unique/Cargo.toml b/runtime/unique/Cargo.toml index 16ce1ac045..eeee86ccb5 100644 --- a/runtime/unique/Cargo.toml +++ b/runtime/unique/Cargo.toml @@ -68,10 +68,12 @@ std = [ 'cumulus-pallet-parachain-system/std', 'cumulus-pallet-xcm/std', 'cumulus-pallet-xcmp-queue/std', + 'cumulus-primitives-aura/std', 'cumulus-primitives-core/std', 'cumulus-primitives-utility/std', 'parachains-common/std', 'frame-executive/std', + "frame-metadata-hash-extension/std", 'frame-support/std', 'frame-system-rpc-runtime-api/std', 'frame-system/std', @@ -234,6 +236,8 @@ governance = [] preimage = [] refungible = [] session-test-timings = [] +metadata-hash = ["substrate-wasm-builder/metadata-hash"] +on-chain-release-build = ["metadata-hash"] ################################################################################ # local dependencies @@ -244,11 +248,13 @@ cumulus-pallet-dmp-queue = { workspace = true } cumulus-pallet-parachain-system = { workspace = true } cumulus-pallet-xcm = { workspace = true } cumulus-pallet-xcmp-queue = { workspace = true } +cumulus-primitives-aura = { workspace = true } cumulus-primitives-core = { workspace = true } cumulus-primitives-timestamp = { workspace = true } cumulus-primitives-utility = { workspace = true } parachains-common = { workspace = true } frame-executive = { workspace = true } +frame-metadata-hash-extension = { workspace = true } frame-support = { workspace = true } frame-system = { workspace = true } frame-system-rpc-runtime-api = { workspace = true } diff --git a/runtime/unique/build.rs b/runtime/unique/build.rs index 70b38d9eb4..270715b468 100644 --- a/runtime/unique/build.rs +++ b/runtime/unique/build.rs @@ -1,8 +1,14 @@ +#[cfg(all(not(feature = "metadata-hash"), feature = "std"))] fn main() { - #[cfg(feature = "std")] - substrate_wasm_builder::WasmBuilder::new() - .with_current_project() - .import_memory() - .export_heap_base() - .build() + substrate_wasm_builder::WasmBuilder::build_using_defaults(); } + +#[cfg(all(feature = "metadata-hash", feature = "std"))] +fn main() { + substrate_wasm_builder::WasmBuilder::init_with_defaults() + .enable_metadata_hash("WND", 12) + .build(); +} + +#[cfg(not(feature = "std"))] +fn main() {} diff --git a/runtime/unique/src/lib.rs b/runtime/unique/src/lib.rs index c460c66a44..1facf46038 100644 --- a/runtime/unique/src/lib.rs +++ b/runtime/unique/src/lib.rs @@ -21,6 +21,8 @@ #![recursion_limit = "1024"] #![allow(clippy::from_over_into, clippy::identity_op)] #![allow(clippy::fn_to_numeric_cast_with_truncation)] +// For `cumulus_pallet_dmp_queue`. +#![allow(deprecated)] // Make the WASM binary available. #[cfg(feature = "std")] include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); @@ -49,7 +51,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("unique"), impl_name: create_runtime_str!("unique"), authoring_version: 1, - spec_version: 10090072, + spec_version: 10140080, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 3, @@ -70,5 +72,4 @@ impl_common_runtime_apis!(); cumulus_pallet_parachain_system::register_validate_block!( Runtime = Runtime, BlockExecutor = cumulus_pallet_aura_ext::BlockExecutor::, - CheckInherents = CheckInherents, );