diff --git a/.github/workflows/cargo-audit.yml b/.github/workflows/cargo-audit.yml
index 5ced91529c..86dc1b0f78 100644
--- a/.github/workflows/cargo-audit.yml
+++ b/.github/workflows/cargo-audit.yml
@@ -13,7 +13,7 @@ concurrency:
jobs:
cargo-audit:
name: cargo audit
- runs-on: SubtensorCI
+ runs-on: [self-hosted, type-ccx13]
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-cargo-audit') }}
steps:
- name: Check-out repositoroy under $GITHUB_WORKSPACE
@@ -21,8 +21,13 @@ jobs:
- name: Install dependencies
run: |
- sudo apt-get update &&
- sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" build-essential clang curl libssl-dev llvm libudev-dev protobuf-compiler pkg-config
+
+ - name: Install Rust
+ uses: actions-rs/toolchain@v1
+ with:
+ toolchain: stable
- name: Utilize Shared Rust Cache
uses: Swatinem/rust-cache@v2
@@ -38,12 +43,6 @@ jobs:
- name: cargo audit
run: |
- cargo audit --ignore RUSTSEC-2024-0336 \
- --ignore RUSTSEC-2021-0127 \
- --ignore RUSTSEC-2024-0370 \
- --ignore RUSTSEC-2022-0080 \
- --ignore RUSTSEC-2022-0061 \
- --ignore RUSTSEC-2020-0168 \
- --ignore RUSTSEC-2024-0384 \
- --ignore RUSTSEC-2024-0388 \
- --ignore RUSTSEC-2024-0421
+ cargo audit --ignore RUSTSEC-2023-0091 \
+ --ignore RUSTSEC-2025-0009 \
+ --ignore RUSTSEC-2024-0438
diff --git a/.github/workflows/check-bittensor-e2e-tests.yml.yml b/.github/workflows/check-bittensor-e2e-tests.yml.yml
index fcaaf9ff0f..54ca03e775 100644
--- a/.github/workflows/check-bittensor-e2e-tests.yml.yml
+++ b/.github/workflows/check-bittensor-e2e-tests.yml.yml
@@ -26,10 +26,15 @@ env:
jobs:
check-label:
- runs-on: ubuntu-latest
+ runs-on: [self-hosted, type-ccx13]
outputs:
skip-bittensor-e2e-tests: ${{ steps.get-labels.outputs.skip-bittensor-e2e-tests }}
steps:
+ - name: Install dependencies
+ run: |
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" gh jq
+
- name: Check out repository
uses: actions/checkout@v4
with:
@@ -52,10 +57,15 @@ jobs:
find-btcli-e2e-tests:
needs: check-label
if: needs.check-label.outputs.skip-bittensor-e2e-tests == 'false'
- runs-on: ubuntu-latest
+ runs-on: [self-hosted, type-ccx13]
outputs:
test-files: ${{ steps.get-btcli-tests.outputs.test-files }}
steps:
+ - name: Install dependencies
+ run: |
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" jq
+
- name: Research preparation
working-directory: ${{ github.workspace }}
run: git clone https://github.com/opentensor/btcli.git
@@ -64,9 +74,6 @@ jobs:
working-directory: ${{ github.workspace }}/btcli
run: git checkout staging
- - name: Install dependencies
- run: sudo apt-get install -y jq
-
- name: Find e2e test files
id: get-btcli-tests
run: |
@@ -77,10 +84,15 @@ jobs:
find-sdk-e2e-tests:
needs: check-label
if: needs.check-label.outputs.skip-bittensor-e2e-tests == 'false'
- runs-on: ubuntu-latest
+ runs-on: [self-hosted, type-ccx13]
outputs:
test-files: ${{ steps.get-sdk-tests.outputs.test-files }}
steps:
+ - name: Install dependencies
+ run: |
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" jq
+
- name: Research preparation
working-directory: ${{ github.workspace }}
run: git clone https://github.com/opentensor/bittensor.git
@@ -89,9 +101,6 @@ jobs:
working-directory: ${{ github.workspace }}/bittensor
run: git checkout staging
- - name: Install dependencies
- run: sudo apt-get install -y jq
-
- name: Find e2e test files
id: get-sdk-tests
run: |
@@ -101,7 +110,7 @@ jobs:
build-image-with-current-branch:
needs: check-label
- runs-on: SubtensorCI
+ runs-on: [self-hosted, type-ccx33]
steps:
- name: Checkout code
uses: actions/checkout@v4
@@ -139,7 +148,7 @@ jobs:
- find-btcli-e2e-tests
- build-image-with-current-branch
if: needs.check-label.outputs.skip-bittensor-e2e-tests == 'false'
- runs-on: ubuntu-latest
+ runs-on: [self-hosted, type-ccx13]
strategy:
fail-fast: false
max-parallel: 16
@@ -175,7 +184,7 @@ jobs:
- name: Create Python virtual environment
working-directory: ${{ github.workspace }}
- run: uv venv ${{ github.workspace }}/venv
+ run: uv venv --seed ${{ github.workspace }}/venv
- name: Clone Bittensor CLI repo
working-directory: ${{ github.workspace }}
@@ -239,7 +248,7 @@ jobs:
- find-sdk-e2e-tests
- build-image-with-current-branch
if: needs.check-label.outputs.skip-bittensor-e2e-tests == 'false'
- runs-on: ubuntu-latest
+ runs-on: [self-hosted, type-ccx13]
strategy:
fail-fast: false
max-parallel: 16
@@ -275,7 +284,7 @@ jobs:
- name: Create Python virtual environment
working-directory: ${{ github.workspace }}
- run: uv venv ${{ github.workspace }}/venv
+ run: uv venv --seed ${{ github.workspace }}/venv
- name: Clone Bittensor SDK repo
working-directory: ${{ github.workspace }}
diff --git a/.github/workflows/check-devnet.yml b/.github/workflows/check-devnet.yml
index 867102a315..8d3db55001 100644
--- a/.github/workflows/check-devnet.yml
+++ b/.github/workflows/check-devnet.yml
@@ -4,6 +4,10 @@ on:
pull_request:
branches: [devnet, devnet-ready]
types: [labeled, unlabeled, synchronize, opened]
+
+concurrency:
+ group: check-devnet-${{ github.ref }}
+ cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
@@ -11,14 +15,18 @@ env:
jobs:
check-spec-version:
name: Check spec_version bump
- runs-on: SubtensorCI
+ runs-on: [self-hosted, type-ccx33]
if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-spec-version-bump') }}
steps:
- name: Dependencies
run: |
- sudo apt-get update &&
- sudo apt-get install -y curl clang curl libssl-dev llvm \
- libudev-dev protobuf-compiler
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" build-essential clang curl libssl-dev llvm libudev-dev protobuf-compiler pkg-config
+
+ - name: Install Rust
+ uses: actions-rs/toolchain@v1
+ with:
+ toolchain: stable
- name: Check-out repository under $GITHUB_WORKSPACE
uses: actions/checkout@v4
@@ -38,7 +46,7 @@ jobs:
spec_version=$(PATH=$PATH:$HOME/.cargo/.bin substrate-spec-version wss://dev.chain.opentensor.ai:443 | tr -d '\n')
echo "network spec_version: $spec_version"
: ${spec_version:?bad spec version}
- local_spec_version=$(cargo run -p node-subtensor-runtime --bin spec_version | tr -d '\n')
+ local_spec_version=$(cargo run -p subtensor-tools --bin spec-version | tr -d '\n')
echo "local spec_version: $local_spec_version"
echo "network spec_version: $spec_version"
if (( $(echo "$local_spec_version <= $spec_version" | bc -l) )); then echo "$local_spec_version ≯ $spec_version ❌"; exit 1; fi
diff --git a/.github/workflows/check-docker.yml b/.github/workflows/check-docker.yml
index 0cf17bfcf8..da5054fd6d 100644
--- a/.github/workflows/check-docker.yml
+++ b/.github/workflows/check-docker.yml
@@ -2,10 +2,14 @@ name: Build Docker Image
on:
pull_request:
+
+concurrency:
+ group: check-docker-${{ github.ref }}
+ cancel-in-progress: true
jobs:
build:
- runs-on: SubtensorCI
+ runs-on: [self-hosted, type-ccx33]
steps:
- name: Checkout code
diff --git a/.github/workflows/check-finney.yml b/.github/workflows/check-finney.yml
index 4a99df7868..6b056ef97e 100644
--- a/.github/workflows/check-finney.yml
+++ b/.github/workflows/check-finney.yml
@@ -4,6 +4,10 @@ on:
pull_request:
branches: [finney, main]
types: [labeled, unlabeled, synchronize, opened]
+
+concurrency:
+ group: check-finney-${{ github.ref }}
+ cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
@@ -11,14 +15,18 @@ env:
jobs:
check-spec-version:
name: Check spec_version bump
- runs-on: SubtensorCI
+ runs-on: [self-hosted, type-ccx33]
if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-spec-version-bump') }}
steps:
- name: Dependencies
run: |
- sudo apt-get update &&
- sudo apt-get install -y curl clang curl libssl-dev llvm \
- libudev-dev protobuf-compiler
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" build-essential clang curl libssl-dev llvm libudev-dev protobuf-compiler pkg-config
+
+ - name: Install Rust
+ uses: actions-rs/toolchain@v1
+ with:
+ toolchain: stable
- name: Check-out repository under $GITHUB_WORKSPACE
uses: actions/checkout@v4
@@ -36,7 +44,7 @@ jobs:
spec_version=$(PATH=$PATH:$HOME/.cargo/.bin substrate-spec-version wss://entrypoint-finney.opentensor.ai:443 | tr -d '\n')
echo "network spec_version: $spec_version"
: ${spec_version:?bad spec version}
- local_spec_version=$(cargo run -p node-subtensor-runtime --bin spec_version | tr -d '\n')
+ local_spec_version=$(cargo run -p subtensor-tools --bin spec-version | tr -d '\n')
echo "local spec_version: $local_spec_version"
echo "network spec_version: $spec_version"
if (( $(echo "$local_spec_version <= $spec_version" | bc -l) )); then echo "$local_spec_version ≯ $spec_version ❌"; exit 1; fi
diff --git a/.github/workflows/check-rust.yml b/.github/workflows/check-rust.yml
index 6206f7efa2..6cdc56f26a 100644
--- a/.github/workflows/check-rust.yml
+++ b/.github/workflows/check-rust.yml
@@ -23,7 +23,7 @@ jobs:
# runs cargo fmt
cargo-fmt:
name: cargo fmt
- runs-on: SubtensorCI
+ runs-on: [self-hosted, type-ccx13]
env:
RUST_BACKTRACE: full
steps:
@@ -31,12 +31,15 @@ jobs:
uses: actions/checkout@v4
- name: Install dependencies
- run: sudo apt-get update && sudo apt-get install -y build-essential
+ run: |
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" build-essential
- name: Install Rust Nightly
- run: |
- rustup install nightly
- rustup component add --toolchain nightly-x86_64-unknown-linux-gnu rustfmt
+ uses: actions-rs/toolchain@v1
+ with:
+ toolchain: nightly
+ components: rustfmt
- name: Utilize Shared Rust Cache
uses: Swatinem/rust-cache@v2
@@ -49,7 +52,7 @@ jobs:
cargo-clippy-default-features:
name: cargo clippy
- runs-on: SubtensorCI
+ runs-on: [self-hosted, type-ccx13]
env:
RUST_BACKTRACE: full
SKIP_WASM_BUILD: 1
@@ -59,8 +62,14 @@ jobs:
- name: Install dependencies
run: |
- sudo apt-get update &&
- sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" build-essential clang curl git make libssl-dev llvm libudev-dev protobuf-compiler pkg-config
+
+ - name: Install Rust
+ uses: actions-rs/toolchain@v1
+ with:
+ toolchain: stable
+ components: clippy
- name: Utilize Shared Rust Cache
uses: Swatinem/rust-cache@v2
@@ -73,7 +82,7 @@ jobs:
cargo-check-lints:
name: check custom lints
- runs-on: SubtensorCI
+ runs-on: [self-hosted, type-ccx13]
env:
RUSTFLAGS: -D warnings
RUST_BACKTRACE: full
@@ -84,8 +93,13 @@ jobs:
- name: Install dependencies
run: |
- sudo apt-get update &&
- sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" build-essential clang curl git make libssl-dev llvm libudev-dev protobuf-compiler pkg-config
+
+ - name: Install Rust
+ uses: actions-rs/toolchain@v1
+ with:
+ toolchain: stable
- name: Utilize Shared Rust Cache
uses: Swatinem/rust-cache@v2
@@ -101,7 +115,7 @@ jobs:
cargo-clippy-all-features:
name: cargo clippy --all-features
- runs-on: SubtensorCI
+ runs-on: [self-hosted, type-ccx13]
env:
RUST_BACKTRACE: full
SKIP_WASM_BUILD: 1
@@ -111,8 +125,14 @@ jobs:
- name: Install dependencies
run: |
- sudo apt-get update &&
- sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" build-essential clang curl git make libssl-dev llvm libudev-dev protobuf-compiler pkg-config
+
+ - name: Install Rust
+ uses: actions-rs/toolchain@v1
+ with:
+ toolchain: stable
+ components: clippy
- name: Utilize Shared Rust Cache
uses: Swatinem/rust-cache@v2
@@ -126,7 +146,7 @@ jobs:
# runs cargo test --workspace --all-features
cargo-test:
name: cargo test
- runs-on: SubtensorCI
+ runs-on: [self-hosted, type-ccx43]
env:
RUST_BACKTRACE: full
SKIP_WASM_BUILD: 1
@@ -136,8 +156,13 @@ jobs:
- name: Install dependencies
run: |
- sudo apt-get update &&
- sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" build-essential clang curl git make libssl-dev llvm libudev-dev protobuf-compiler pkg-config
+
+ - name: Install Rust
+ uses: actions-rs/toolchain@v1
+ with:
+ toolchain: stable
- name: Utilize Shared Rust Cache
uses: Swatinem/rust-cache@v2
@@ -151,7 +176,7 @@ jobs:
# ensures cargo fix has no trivial changes that can be applied
cargo-fix:
name: cargo fix
- runs-on: SubtensorCI
+ runs-on: [self-hosted, type-ccx13]
env:
RUST_BACKTRACE: full
SKIP_WASM_BUILD: 1
@@ -161,8 +186,13 @@ jobs:
- name: Install dependencies
run: |
- sudo apt-get update &&
- sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" build-essential clang curl git make libssl-dev llvm libudev-dev protobuf-compiler pkg-config
+
+ - name: Install Rust
+ uses: actions-rs/toolchain@v1
+ with:
+ toolchain: stable
- name: Utilize Shared Rust Cache
uses: Swatinem/rust-cache@v2
@@ -185,7 +215,7 @@ jobs:
check-feature-propagation:
name: zepter run check
- runs-on: SubtensorCI
+ runs-on: [self-hosted, type-ccx13]
steps:
- name: Checkout
@@ -193,6 +223,16 @@ jobs:
with:
fetch-depth: 0 # Dont clone historic commits.
+ - name: Install dependencies
+ run: |
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" build-essential clang curl libssl-dev llvm libudev-dev protobuf-compiler pkg-config
+
+ - name: Install Rust
+ uses: actions-rs/toolchain@v1
+ with:
+ toolchain: stable
+
- name: Utilize Shared Rust Cache
uses: Swatinem/rust-cache@v2
with:
diff --git a/.github/workflows/check-testnet.yml b/.github/workflows/check-testnet.yml
index 919af25637..219d99051f 100644
--- a/.github/workflows/check-testnet.yml
+++ b/.github/workflows/check-testnet.yml
@@ -5,20 +5,28 @@ on:
branches: [testnet, testnet-ready]
types: [labeled, unlabeled, synchronize, opened]
+concurrency:
+ group: check-testnet-${{ github.ref }}
+ cancel-in-progress: true
+
env:
CARGO_TERM_COLOR: always
jobs:
check-spec-version:
name: Check spec_version bump
- runs-on: SubtensorCI
+ runs-on: [self-hosted, type-ccx33]
if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-spec-version-bump') }}
steps:
- name: Dependencies
run: |
- sudo apt-get update &&
- sudo apt-get install -y curl clang curl libssl-dev llvm \
- libudev-dev protobuf-compiler
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" build-essential clang curl libssl-dev llvm libudev-dev protobuf-compiler pkg-config
+
+ - name: Install Rust
+ uses: actions-rs/toolchain@v1
+ with:
+ toolchain: stable
- name: Check-out repository under $GITHUB_WORKSPACE
uses: actions/checkout@v4
@@ -37,7 +45,7 @@ jobs:
spec_version=$(PATH=$PATH:$HOME/.cargo/.bin substrate-spec-version wss://test.finney.opentensor.ai:443 | tr -d '\n')
echo "network spec_version: $spec_version"
: ${spec_version:?bad spec version}
- local_spec_version=$(cargo run -p node-subtensor-runtime --bin spec_version | tr -d '\n')
+ local_spec_version=$(cargo run -p subtensor-tools --bin spec-version | tr -d '\n')
echo "local spec_version: $local_spec_version"
echo "network spec_version: $spec_version"
if (( $(echo "$local_spec_version <= $spec_version" | bc -l) )); then echo "$local_spec_version ≯ $spec_version ❌"; exit 1; fi
diff --git a/.github/workflows/docker-localnet.yml b/.github/workflows/docker-localnet.yml
index b8e2f3eb09..96f3ca56a0 100644
--- a/.github/workflows/docker-localnet.yml
+++ b/.github/workflows/docker-localnet.yml
@@ -15,6 +15,10 @@ on:
- main
- testnet
- devnet
+
+concurrency:
+ group: docker-localnet-${{ github.ref }}
+ cancel-in-progress: true
permissions:
contents: read
@@ -24,7 +28,7 @@ permissions:
jobs:
publish:
- runs-on: SubtensorCI
+ runs-on: [self-hosted, type-ccx33]
steps:
- name: Determine Docker tag and ref
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index 6bc8c03132..f0cfd84853 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -14,6 +14,10 @@ on:
- devnet-ready
- devnet
- testnet
+
+concurrency:
+ group: docker-${{ github.ref }}
+ cancel-in-progress: true
permissions:
contents: read
@@ -23,7 +27,7 @@ permissions:
jobs:
publish:
- runs-on: SubtensorCI
+ runs-on: [self-hosted, type-ccx33]
steps:
- name: Determine Docker tag and ref
diff --git a/.github/workflows/evm-tests.yml b/.github/workflows/evm-tests.yml
index 355e2b873f..7df1eb9733 100644
--- a/.github/workflows/evm-tests.yml
+++ b/.github/workflows/evm-tests.yml
@@ -11,19 +11,31 @@ on:
required: false
default: ""
+concurrency:
+ group: evm-tests-${{ github.ref }}
+ cancel-in-progress: true
+
env:
CARGO_TERM_COLOR: always
VERBOSE: ${{ github.events.input.verbose }}
+permissions:
+ contents: read
+
jobs:
run:
- runs-on: SubtensorCI
+ runs-on: [self-hosted, type-ccx33]
env:
RUST_BACKTRACE: full
steps:
- name: Check-out repository under $GITHUB_WORKSPACE
uses: actions/checkout@v4
+ - name: Install Rust
+ uses: actions-rs/toolchain@v1
+ with:
+ toolchain: stable
+
- name: Utilize Shared Rust Cache
uses: Swatinem/rust-cache@v2
@@ -34,11 +46,16 @@ jobs:
- name: Install dependencies
run: |
- sudo apt-get update &&
- sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler nodejs
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" build-essential clang curl libssl-dev llvm libudev-dev protobuf-compiler nodejs pkg-config
- name: Run tests
- working-directory: ${{ github.workspace }}
- run: |
- npm install --global yarn
- ./evm-tests/run-ci.sh
+ uses: nick-fields/retry@v3
+ with:
+ timeout_minutes: 60
+ max_attempts: 3
+ retry_wait_seconds: 60
+ command: |
+ cd ${{ github.workspace }}
+ npm install --global yarn
+ ./evm-tests/run-ci.sh
diff --git a/.github/workflows/hotfixes.yml b/.github/workflows/hotfixes.yml
index 5292747692..7fcf28efb6 100644
--- a/.github/workflows/hotfixes.yml
+++ b/.github/workflows/hotfixes.yml
@@ -10,7 +10,7 @@ permissions:
jobs:
handle-hotfix-pr:
- runs-on: ubuntu-latest
+ runs-on: [self-hosted, type-ccx13]
steps:
- name: Check if PR is a hotfix into `main`
if: >
@@ -19,6 +19,11 @@ jobs:
run: |
echo "Hotfix PR detected. Proceeding to label and comment."
+ - name: Install dependencies
+ run: |
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" curl jq
+
- name: Add `hotfix` label
if: >
github.event.pull_request.base.ref == 'main' &&
diff --git a/.github/workflows/label-triggers.yml b/.github/workflows/label-triggers.yml
index bcf43e4c23..8c7803b2e3 100644
--- a/.github/workflows/label-triggers.yml
+++ b/.github/workflows/label-triggers.yml
@@ -13,7 +13,7 @@ permissions:
jobs:
comment_on_breaking_change:
- runs-on: ubuntu-latest
+ runs-on: [self-hosted, type-ccx13]
steps:
- name: Check if 'breaking change' label is added
if: github.event.label.name == 'breaking-change'
diff --git a/.github/workflows/require-clean-merges.yml b/.github/workflows/require-clean-merges.yml
index ac0a5f31fe..dd7a8829e7 100644
--- a/.github/workflows/require-clean-merges.yml
+++ b/.github/workflows/require-clean-merges.yml
@@ -9,7 +9,7 @@ on:
jobs:
assert-clean-merges:
- runs-on: ubuntu-latest
+ runs-on: [self-hosted, type-ccx13]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
diff --git a/.github/workflows/run-benchmarks.yml b/.github/workflows/run-benchmarks.yml
index fbdcd8e5c0..4d814c766b 100644
--- a/.github/workflows/run-benchmarks.yml
+++ b/.github/workflows/run-benchmarks.yml
@@ -16,7 +16,7 @@ concurrency:
jobs:
validate-benchmarks:
- runs-on: Benchmarking
+ runs-on: [self-hosted, type-ccx33]
env:
SKIP_BENCHMARKS: "0"
@@ -35,8 +35,8 @@ jobs:
- name: Install GitHub CLI
if: ${{ env.SKIP_BENCHMARKS != '1' }}
run: |
- sudo apt-get update
- sudo apt-get install -y gh
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" gh
echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token
# (1) — first skip‑label check
@@ -54,8 +54,8 @@ jobs:
- name: Install system dependencies
if: ${{ env.SKIP_BENCHMARKS != '1' }}
run: |
- sudo apt-get update
- sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" build-essential clang curl libssl-dev llvm libudev-dev protobuf-compiler pkg-config
# (2)
- name: Check skip label
@@ -126,9 +126,14 @@ jobs:
- name: Run & validate benchmarks
if: ${{ env.SKIP_BENCHMARKS != '1' }}
- run: |
- chmod +x scripts/benchmark_action.sh
- scripts/benchmark_action.sh
+ uses: nick-fields/retry@v3
+ with:
+ timeout_minutes: 180
+ max_attempts: 3
+ retry_wait_seconds: 60
+ command: |
+ chmod +x scripts/benchmark_action.sh
+ scripts/benchmark_action.sh
# (6) — final check after run
- name: Check skip label after run
diff --git a/.github/workflows/rustdocs.yml b/.github/workflows/rustdocs.yml
index 61d23644a1..5b3b1d5baf 100644
--- a/.github/workflows/rustdocs.yml
+++ b/.github/workflows/rustdocs.yml
@@ -6,17 +6,26 @@ on:
- main
workflow_dispatch:
+concurrency:
+ group: rustdocs-${{ github.ref }}
+ cancel-in-progress: true
+
env:
CARGO_TERM_COLOR: always
jobs:
build:
- runs-on: SubtensorCI
+ runs-on: [self-hosted, type-ccx13]
steps:
- name: Checkout code
uses: actions/checkout@v3
+ - name: Install dependencies
+ run: |
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" build-essential clang curl libssl-dev llvm libudev-dev protobuf-compiler pkg-config
+
- name: Install rustup
uses: actions-rs/toolchain@v1
with:
@@ -45,7 +54,7 @@ jobs:
deploy:
needs: build
- runs-on: SubtensorCI
+ runs-on: [self-hosted, type-ccx13]
permissions:
pages: write
diff --git a/.github/workflows/try-runtime.yml b/.github/workflows/try-runtime.yml
index 13383feb9b..98fa613d6a 100644
--- a/.github/workflows/try-runtime.yml
+++ b/.github/workflows/try-runtime.yml
@@ -3,6 +3,10 @@ name: Try Runtime
on:
pull_request:
+concurrency:
+ group: try-runtime-${{ github.ref }}
+ cancel-in-progress: true
+
env:
CARGO_TERM_COLOR: always
@@ -10,11 +14,21 @@ jobs:
check-devnet:
name: check devnet
if: github.base_ref != 'main'
- runs-on: SubtensorCI
+ runs-on: [self-hosted, type-ccx33]
steps:
- name: Checkout sources
uses: actions/checkout@v4
+ - name: Install dependencies
+ run: |
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" build-essential clang curl git make libssl-dev llvm libudev-dev protobuf-compiler pkg-config unzip
+
+ - name: Install Rust
+ uses: actions-rs/toolchain@v1
+ with:
+ toolchain: stable
+
- name: Utilize Shared Rust Cache
uses: Swatinem/rust-cache@v2
with:
@@ -31,11 +45,21 @@ jobs:
check-testnet:
name: check testnet
if: github.base_ref != 'main'
- runs-on: SubtensorCI
+ runs-on: [self-hosted, type-ccx33]
steps:
- name: Checkout sources
uses: actions/checkout@v4
+ - name: Install dependencies
+ run: |
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" build-essential clang curl git make libssl-dev llvm libudev-dev protobuf-compiler pkg-config unzip
+
+ - name: Install Rust
+ uses: actions-rs/toolchain@v1
+ with:
+ toolchain: stable
+
- name: Utilize Shared Rust Cache
uses: Swatinem/rust-cache@v2
with:
@@ -52,11 +76,21 @@ jobs:
check-finney:
name: check finney
# if: github.base_ref == 'testnet' || github.base_ref == 'devnet' || github.base_ref == 'main'
- runs-on: SubtensorCI
+ runs-on: [self-hosted, type-ccx33]
steps:
- name: Checkout sources
uses: actions/checkout@v4
+ - name: Install dependencies
+ run: |
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" build-essential clang curl git make libssl-dev llvm libudev-dev protobuf-compiler pkg-config unzip
+
+ - name: Install Rust
+ uses: actions-rs/toolchain@v1
+ with:
+ toolchain: stable
+
- name: Utilize Shared Rust Cache
uses: Swatinem/rust-cache@v2
with:
diff --git a/.github/workflows/update-chainspec.yml b/.github/workflows/update-chainspec.yml
index 1aedfeaa4a..ad7f0fc943 100644
--- a/.github/workflows/update-chainspec.yml
+++ b/.github/workflows/update-chainspec.yml
@@ -5,8 +5,6 @@ concurrency:
cancel-in-progress: true
on:
- pull_request:
-
workflow_dispatch:
inputs:
verbose:
@@ -20,7 +18,7 @@ env:
jobs:
update-chainspecs:
- runs-on: SubtensorCI
+ runs-on: [self-hosted, type-ccx33]
permissions:
contents: write
if: >
@@ -37,8 +35,13 @@ jobs:
- name: Install dependencies
run: |
- sudo apt-get update &&
- sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update
+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" build-essential clang curl libssl-dev llvm libudev-dev protobuf-compiler pkg-config
+
+ - name: Install Rust
+ uses: actions-rs/toolchain@v1
+ with:
+ toolchain: stable
- name: Utilize Shared Rust Cache
uses: Swatinem/rust-cache@v2
diff --git a/Cargo.lock b/Cargo.lock
index 2e8bd3f74f..f70c3dc20c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -246,7 +246,7 @@ version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fb00293ba84f51ce3bd026bd0de55899c4e68f0a39a5728cebae3a73ffdc0a4f"
dependencies = [
- "ark-ec",
+ "ark-ec 0.4.2",
"ark-ff 0.4.2",
"ark-std 0.4.0",
]
@@ -258,7 +258,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "20c7021f180a0cbea0380eba97c2af3c57074cdaffe0eef7e840e1c9f2841e55"
dependencies = [
"ark-bls12-377",
- "ark-ec",
+ "ark-ec 0.4.2",
"ark-models-ext",
"ark-std 0.4.0",
]
@@ -269,20 +269,32 @@ version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c775f0d12169cba7aae4caeb547bb6a50781c7449a8aa53793827c9ec4abf488"
dependencies = [
- "ark-ec",
+ "ark-ec 0.4.2",
"ark-ff 0.4.2",
"ark-serialize 0.4.2",
"ark-std 0.4.0",
]
+[[package]]
+name = "ark-bls12-381"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3df4dcc01ff89867cd86b0da835f23c3f02738353aaee7dde7495af71363b8d5"
+dependencies = [
+ "ark-ec 0.5.0",
+ "ark-ff 0.5.0",
+ "ark-serialize 0.5.0",
+ "ark-std 0.5.0",
+]
+
[[package]]
name = "ark-bls12-381-ext"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b1dc4b3d08f19e8ec06e949712f95b8361e43f1391d94f65e4234df03480631c"
dependencies = [
- "ark-bls12-381",
- "ark-ec",
+ "ark-bls12-381 0.4.0",
+ "ark-ec 0.4.2",
"ark-ff 0.4.2",
"ark-models-ext",
"ark-serialize 0.4.2",
@@ -296,7 +308,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2e0605daf0cc5aa2034b78d008aaf159f56901d92a52ee4f6ecdfdac4f426700"
dependencies = [
"ark-bls12-377",
- "ark-ec",
+ "ark-ec 0.4.2",
"ark-ff 0.4.2",
"ark-std 0.4.0",
]
@@ -308,7 +320,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ccee5fba47266f460067588ee1bf070a9c760bf2050c1c509982c5719aadb4f2"
dependencies = [
"ark-bw6-761",
- "ark-ec",
+ "ark-ec 0.4.2",
"ark-ff 0.4.2",
"ark-models-ext",
"ark-std 0.4.0",
@@ -320,7 +332,7 @@ version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1f3a13b34da09176a8baba701233fdffbaa7c1b1192ce031a3da4e55ce1f1a56"
dependencies = [
- "ark-ec",
+ "ark-ec 0.4.2",
"ark-ff 0.4.2",
"ark-r1cs-std",
"ark-relations",
@@ -341,7 +353,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "defd9a439d56ac24968cca0571f598a61bc8c55f71d50a89cda591cb750670ba"
dependencies = [
"ark-ff 0.4.2",
- "ark-poly",
+ "ark-poly 0.4.2",
"ark-serialize 0.4.2",
"ark-std 0.4.0",
"derivative",
@@ -352,6 +364,27 @@ dependencies = [
"zeroize",
]
+[[package]]
+name = "ark-ec"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "43d68f2d516162846c1238e755a7c4d131b892b70cc70c471a8e3ca3ed818fce"
+dependencies = [
+ "ahash 0.8.12",
+ "ark-ff 0.5.0",
+ "ark-poly 0.5.0",
+ "ark-serialize 0.5.0",
+ "ark-std 0.5.0",
+ "educe",
+ "fnv",
+ "hashbrown 0.15.4",
+ "itertools 0.13.0",
+ "num-bigint",
+ "num-integer",
+ "num-traits",
+ "zeroize",
+]
+
[[package]]
name = "ark-ed-on-bls12-377"
version = "0.4.0"
@@ -359,7 +392,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b10d901b9ac4b38f9c32beacedfadcdd64e46f8d7f8e88c1ae1060022cf6f6c6"
dependencies = [
"ark-bls12-377",
- "ark-ec",
+ "ark-ec 0.4.2",
"ark-ff 0.4.2",
"ark-std 0.4.0",
]
@@ -370,7 +403,7 @@ version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "524a4fb7540df2e1a8c2e67a83ba1d1e6c3947f4f9342cc2359fc2e789ad731d"
dependencies = [
- "ark-ec",
+ "ark-ec 0.4.2",
"ark-ed-on-bls12-377",
"ark-ff 0.4.2",
"ark-models-ext",
@@ -383,20 +416,32 @@ version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f9cde0f2aa063a2a5c28d39b47761aa102bda7c13c84fc118a61b87c7b2f785c"
dependencies = [
- "ark-bls12-381",
- "ark-ec",
+ "ark-bls12-381 0.4.0",
+ "ark-ec 0.4.2",
"ark-ff 0.4.2",
"ark-std 0.4.0",
]
+[[package]]
+name = "ark-ed-on-bls12-381-bandersnatch"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1786b2e3832f6f0f7c8d62d5d5a282f6952a1ab99981c54cd52b6ac1d8f02df5"
+dependencies = [
+ "ark-bls12-381 0.5.0",
+ "ark-ec 0.5.0",
+ "ark-ff 0.5.0",
+ "ark-std 0.5.0",
+]
+
[[package]]
name = "ark-ed-on-bls12-381-bandersnatch-ext"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d15185f1acb49a07ff8cbe5f11a1adc5a93b19e211e325d826ae98e98e124346"
dependencies = [
- "ark-ec",
- "ark-ed-on-bls12-381-bandersnatch",
+ "ark-ec 0.4.2",
+ "ark-ed-on-bls12-381-bandersnatch 0.4.0",
"ark-ff 0.4.2",
"ark-models-ext",
"ark-std 0.4.0",
@@ -440,6 +485,26 @@ dependencies = [
"zeroize",
]
+[[package]]
+name = "ark-ff"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a177aba0ed1e0fbb62aa9f6d0502e9b46dad8c2eab04c14258a1212d2557ea70"
+dependencies = [
+ "ark-ff-asm 0.5.0",
+ "ark-ff-macros 0.5.0",
+ "ark-serialize 0.5.0",
+ "ark-std 0.5.0",
+ "arrayvec 0.7.6",
+ "digest 0.10.7",
+ "educe",
+ "itertools 0.13.0",
+ "num-bigint",
+ "num-traits",
+ "paste",
+ "zeroize",
+]
+
[[package]]
name = "ark-ff-asm"
version = "0.3.0"
@@ -460,6 +525,16 @@ dependencies = [
"syn 1.0.109",
]
+[[package]]
+name = "ark-ff-asm"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "62945a2f7e6de02a31fe400aa489f0e0f5b2502e69f95f853adb82a96c7a6b60"
+dependencies = [
+ "quote",
+ "syn 2.0.104",
+]
+
[[package]]
name = "ark-ff-macros"
version = "0.3.0"
@@ -485,13 +560,26 @@ dependencies = [
"syn 1.0.109",
]
+[[package]]
+name = "ark-ff-macros"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "09be120733ee33f7693ceaa202ca41accd5653b779563608f1234f78ae07c4b3"
+dependencies = [
+ "num-bigint",
+ "num-traits",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.104",
+]
+
[[package]]
name = "ark-models-ext"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3e9eab5d4b5ff2f228b763d38442adc9b084b0a465409b059fac5c2308835ec2"
dependencies = [
- "ark-ec",
+ "ark-ec 0.4.2",
"ark-ff 0.4.2",
"ark-serialize 0.4.2",
"ark-std 0.4.0",
@@ -511,13 +599,28 @@ dependencies = [
"hashbrown 0.13.2",
]
+[[package]]
+name = "ark-poly"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "579305839da207f02b89cd1679e50e67b4331e2f9294a57693e5051b7703fe27"
+dependencies = [
+ "ahash 0.8.12",
+ "ark-ff 0.5.0",
+ "ark-serialize 0.5.0",
+ "ark-std 0.5.0",
+ "educe",
+ "fnv",
+ "hashbrown 0.15.4",
+]
+
[[package]]
name = "ark-r1cs-std"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "de1d1472e5cb020cb3405ce2567c91c8d43f21b674aef37b0202f5c3304761db"
dependencies = [
- "ark-ec",
+ "ark-ec 0.4.2",
"ark-ff 0.4.2",
"ark-relations",
"ark-std 0.4.0",
@@ -546,7 +649,7 @@ version = "0.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "51bd73bb6ddb72630987d37fa963e99196896c0d0ea81b7c894567e74a2f83af"
dependencies = [
- "ark-ec",
+ "ark-ec 0.4.2",
"ark-ff 0.4.2",
"ark-serialize 0.4.2",
"ark-std 0.4.0",
@@ -560,7 +663,7 @@ version = "0.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5f69c00b3b529be29528a6f2fd5fa7b1790f8bed81b9cdca17e326538545a179"
dependencies = [
- "ark-ec",
+ "ark-ec 0.4.2",
"ark-ff 0.4.2",
"ark-serialize 0.4.2",
"ark-std 0.4.0",
@@ -584,12 +687,25 @@ version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "adb7b85a02b83d2f22f89bd5cac66c9c89474240cb6207cb1efc16d098e822a5"
dependencies = [
- "ark-serialize-derive",
+ "ark-serialize-derive 0.4.2",
"ark-std 0.4.0",
"digest 0.10.7",
"num-bigint",
]
+[[package]]
+name = "ark-serialize"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3f4d068aaf107ebcd7dfb52bc748f8030e0fc930ac8e360146ca54c1203088f7"
+dependencies = [
+ "ark-serialize-derive 0.5.0",
+ "ark-std 0.5.0",
+ "arrayvec 0.7.6",
+ "digest 0.10.7",
+ "num-bigint",
+]
+
[[package]]
name = "ark-serialize-derive"
version = "0.4.2"
@@ -601,6 +717,17 @@ dependencies = [
"syn 1.0.109",
]
+[[package]]
+name = "ark-serialize-derive"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "213888f660fddcca0d257e88e54ac05bca01885f258ccdf695bafd77031bb69d"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.104",
+]
+
[[package]]
name = "ark-snark"
version = "0.4.0"
@@ -634,6 +761,49 @@ dependencies = [
"rayon",
]
+[[package]]
+name = "ark-std"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "246a225cc6131e9ee4f24619af0f19d67761fff15d7ccc22e42b80846e69449a"
+dependencies = [
+ "num-traits",
+ "rand 0.8.5",
+]
+
+[[package]]
+name = "ark-transcript"
+version = "0.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "47c1c928edb9d8ff24cb5dcb7651d3a98494fff3099eee95c2404cd813a9139f"
+dependencies = [
+ "ark-ff 0.5.0",
+ "ark-serialize 0.5.0",
+ "ark-std 0.5.0",
+ "digest 0.10.7",
+ "rand_core 0.6.4",
+ "sha3",
+]
+
+[[package]]
+name = "ark-vrf"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9501da18569b2afe0eb934fb7afd5a247d238b94116155af4dd068f319adfe6d"
+dependencies = [
+ "ark-bls12-381 0.5.0",
+ "ark-ec 0.5.0",
+ "ark-ed-on-bls12-381-bandersnatch 0.5.0",
+ "ark-ff 0.5.0",
+ "ark-serialize 0.5.0",
+ "ark-std 0.5.0",
+ "digest 0.10.7",
+ "rand_chacha 0.3.1",
+ "sha2 0.10.9",
+ "w3f-ring-proof",
+ "zeroize",
+]
+
[[package]]
name = "array-bytes"
version = "6.2.3"
@@ -663,12 +833,12 @@ checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
[[package]]
name = "asn1-rs"
-version = "0.5.2"
+version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7f6fd5ddaf0351dff5b8da21b2fb4ff8e08ddd02857f0bf69c47639106c0fff0"
+checksum = "5493c3bedbacf7fd7382c6346bbd66687d12bbaad3a89a2d2c303ee6cf20b048"
dependencies = [
- "asn1-rs-derive 0.4.0",
- "asn1-rs-impl 0.1.0",
+ "asn1-rs-derive 0.5.1",
+ "asn1-rs-impl",
"displaydoc",
"nom",
"num-traits",
@@ -684,7 +854,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "56624a96882bb8c26d61312ae18cb45868e5a9992ea73c58e45c3101e56a1e60"
dependencies = [
"asn1-rs-derive 0.6.0",
- "asn1-rs-impl 0.2.0",
+ "asn1-rs-impl",
"displaydoc",
"nom",
"num-traits",
@@ -695,14 +865,14 @@ dependencies = [
[[package]]
name = "asn1-rs-derive"
-version = "0.4.0"
+version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "726535892e8eae7e70657b4c8ea93d26b8553afb1ce617caee529ef96d7dee6c"
+checksum = "965c2d33e53cb6b267e148a4cb0760bc01f4904c1cd4bb4002a085bb016d1490"
dependencies = [
"proc-macro2",
"quote",
- "syn 1.0.109",
- "synstructure 0.12.6",
+ "syn 2.0.104",
+ "synstructure 0.13.2",
]
[[package]]
@@ -717,17 +887,6 @@ dependencies = [
"synstructure 0.13.2",
]
-[[package]]
-name = "asn1-rs-impl"
-version = "0.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2777730b2039ac0f95f093556e61b6d26cebed5393ca6f152717777cec3a42ed"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 1.0.109",
-]
-
[[package]]
name = "asn1-rs-impl"
version = "0.2.0"
@@ -784,9 +943,9 @@ dependencies = [
[[package]]
name = "async-fs"
-version = "2.1.2"
+version = "2.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ebcd09b382f40fcd159c2d695175b2ae620ffa5f3bd6f664131efff4e8b9e04a"
+checksum = "09f7e37c0ed80b2a977691c47dae8625cfb21e205827106c64f7c588766b2e50"
dependencies = [
"async-lock",
"blocking",
@@ -795,9 +954,9 @@ dependencies = [
[[package]]
name = "async-io"
-version = "2.4.1"
+version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1237c0ae75a0f3765f58910ff9cdd0a12eeb39ab2f4c7de23262f337f0aacbb3"
+checksum = "19634d6336019ef220f09fd31168ce5c184b295cbf80345437cc36094ef223ca"
dependencies = [
"async-lock",
"cfg-if",
@@ -808,8 +967,7 @@ dependencies = [
"polling",
"rustix 1.0.8",
"slab",
- "tracing",
- "windows-sys 0.59.0",
+ "windows-sys 0.60.2",
]
[[package]]
@@ -836,9 +994,9 @@ dependencies = [
[[package]]
name = "async-process"
-version = "2.3.1"
+version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cde3f4e40e6021d7acffc90095cbd6dc54cb593903d1de5832f435eb274b85dc"
+checksum = "65daa13722ad51e6ab1a1b9c01299142bc75135b337923cfa10e79bbbd669f00"
dependencies = [
"async-channel 2.5.0",
"async-io",
@@ -850,14 +1008,13 @@ dependencies = [
"event-listener 5.4.0",
"futures-lite",
"rustix 1.0.8",
- "tracing",
]
[[package]]
name = "async-signal"
-version = "0.2.11"
+version = "0.2.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d7605a4e50d4b06df3898d5a70bf5fde51ed9059b0434b73105193bc27acce0d"
+checksum = "f567af260ef69e1d52c2b560ce0ea230763e6fbb9214a85d768760a920e3e3c1"
dependencies = [
"async-io",
"async-lock",
@@ -868,7 +1025,7 @@ dependencies = [
"rustix 1.0.8",
"signal-hook-registry",
"slab",
- "windows-sys 0.59.0",
+ "windows-sys 0.60.2",
]
[[package]]
@@ -901,6 +1058,19 @@ dependencies = [
"pin-project-lite",
]
+[[package]]
+name = "asynchronous-codec"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a860072022177f903e59730004fb5dc13db9275b79bb2aef7ba8ce831956c233"
+dependencies = [
+ "bytes",
+ "futures-sink",
+ "futures-util",
+ "memchr",
+ "pin-project-lite",
+]
+
[[package]]
name = "atoi"
version = "2.0.0"
@@ -983,12 +1153,6 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6107fe1be6682a68940da878d9e9f5e90ca5745b3dec9fd1bb393c8777d4f581"
-[[package]]
-name = "base64"
-version = "0.13.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8"
-
[[package]]
name = "base64"
version = "0.21.7"
@@ -1007,19 +1171,10 @@ version = "1.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "55248b47b0caf0546f7988906588779981c43bb1bc9d0c44087278f80cdb44ba"
-[[package]]
-name = "beef"
-version = "0.5.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1"
-dependencies = [
- "serde",
-]
-
[[package]]
name = "binary-merkle-tree"
version = "16.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"hash-db",
"log",
@@ -1079,7 +1234,7 @@ version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "43d193de1f7487df1914d3a568b772458861d33f9c54249612cc2893d6915054"
dependencies = [
- "bitcoin_hashes",
+ "bitcoin_hashes 0.13.0",
"serde",
"unicode-normalization",
]
@@ -1105,6 +1260,12 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9425c3bf7089c983facbae04de54513cce73b41c7f9ff8c845b54e7bc64ebbfb"
+[[package]]
+name = "bitcoin-io"
+version = "0.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0b47c4ab7a93edb0c7198c5535ed9b52b63095f4e9b45279c6736cec4b856baf"
+
[[package]]
name = "bitcoin_hashes"
version = "0.13.0"
@@ -1112,7 +1273,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1930a4dabfebb8d7d9992db18ebe3ae2876f0a305fab206fd168df931ede293b"
dependencies = [
"bitcoin-internals",
- "hex-conservative",
+ "hex-conservative 0.1.2",
+]
+
+[[package]]
+name = "bitcoin_hashes"
+version = "0.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bb18c03d0db0247e147a21a6faafd5a7eb851c743db062de72018b6b7e8e4d16"
+dependencies = [
+ "bitcoin-io",
+ "hex-conservative 0.2.1",
]
[[package]]
@@ -1373,9 +1544,9 @@ checksum = "fd6c0e7b807d60291f42f33f58480c0bfafe28ed08286446f45e463728cf9c1c"
[[package]]
name = "cc"
-version = "1.2.29"
+version = "1.2.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c1599538de2394445747c8cf7935946e3cc27e9625f889d979bfb2aaf569362"
+checksum = "deec109607ca693028562ed836a5f1c4b8bd77755c4e132fc5ce11b0b6211ae7"
dependencies = [
"jobserver",
"libc",
@@ -1531,9 +1702,9 @@ dependencies = [
[[package]]
name = "clap"
-version = "4.5.41"
+version = "4.5.42"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "be92d32e80243a54711e5d7ce823c35c41c9d929dc4ab58e1276f625841aadf9"
+checksum = "ed87a9d530bb41a67537289bafcac159cb3ee28460e0a4571123d2a778a6a882"
dependencies = [
"clap_builder",
"clap_derive",
@@ -1541,14 +1712,14 @@ dependencies = [
[[package]]
name = "clap_builder"
-version = "4.5.41"
+version = "4.5.42"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "707eab41e9622f9139419d573eca0900137718000c517d47da73045f54331c3d"
+checksum = "64f4f3f3c77c94aff3c7e9aac9a2ca1974a5adf392a8bb751e827d6d127ab966"
dependencies = [
"anstream",
"anstyle",
"clap_lex",
- "strsim 0.11.1",
+ "strsim",
"terminal_size",
]
@@ -1717,12 +1888,6 @@ version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7c74b8349d32d297c9134b8c88677813a227df8f779daa29bfc29c183fe3dca6"
-[[package]]
-name = "constcat"
-version = "0.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cd7e35aee659887cbfb97aaf227ac12cad1a9d7c71e55ff3376839ed4e282d08"
-
[[package]]
name = "convert_case"
version = "0.4.0"
@@ -1979,7 +2144,7 @@ checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
dependencies = [
"generic-array 0.14.7",
"rand_core 0.6.4",
- "typenum 1.18.0",
+ "typenum",
]
[[package]]
@@ -2002,6 +2167,21 @@ dependencies = [
"subtle 2.6.1",
]
+[[package]]
+name = "crypto_secretbox"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b9d6cf87adf719ddf43a805e92c6870a531aedda35ff640442cbaf8674e141e1"
+dependencies = [
+ "aead",
+ "cipher 0.4.4",
+ "generic-array 0.14.7",
+ "poly1305",
+ "salsa20",
+ "subtle 2.6.1",
+ "zeroize",
+]
+
[[package]]
name = "ctr"
version = "0.9.2"
@@ -2013,8 +2193,8 @@ dependencies = [
[[package]]
name = "cumulus-client-parachain-inherent"
-version = "0.15.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.16.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"async-trait",
"cumulus-primitives-core",
@@ -2023,20 +2203,18 @@ dependencies = [
"cumulus-test-relay-sproof-builder",
"parity-scale-codec",
"sc-client-api",
- "sp-api",
- "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
"sp-inherents",
"sp-runtime",
"sp-state-machine",
"sp-storage 22.0.0",
- "sp-trie",
"tracing",
]
[[package]]
name = "cumulus-primitives-core"
-version = "0.17.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.18.1"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"parity-scale-codec",
"polkadot-core-primitives",
@@ -2051,8 +2229,8 @@ dependencies = [
[[package]]
name = "cumulus-primitives-parachain-inherent"
-version = "0.17.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.18.1"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"async-trait",
"cumulus-primitives-core",
@@ -2065,18 +2243,18 @@ dependencies = [
[[package]]
name = "cumulus-primitives-proof-size-hostfunction"
-version = "0.11.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.12.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"sp-externalities 0.30.0",
- "sp-runtime-interface 29.0.0",
+ "sp-runtime-interface 29.0.1",
"sp-trie",
]
[[package]]
name = "cumulus-primitives-storage-weight-reclaim"
-version = "9.1.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "11.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"cumulus-primitives-core",
"cumulus-primitives-proof-size-hostfunction",
@@ -2092,13 +2270,13 @@ dependencies = [
[[package]]
name = "cumulus-relay-chain-interface"
-version = "0.21.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.22.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"async-trait",
"cumulus-primitives-core",
"futures",
- "jsonrpsee-core 0.24.9",
+ "jsonrpsee-core",
"parity-scale-codec",
"polkadot-overseer",
"sc-client-api",
@@ -2111,8 +2289,8 @@ dependencies = [
[[package]]
name = "cumulus-test-relay-sproof-builder"
-version = "0.17.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.19.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"cumulus-primitives-core",
"parity-scale-codec",
@@ -2151,9 +2329,9 @@ dependencies = [
[[package]]
name = "cxx"
-version = "1.0.160"
+version = "1.0.161"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "be1149bab7a5580cb267215751389597c021bfad13c0bb00c54e19559333764c"
+checksum = "a3523cc02ad831111491dd64b27ad999f1ae189986728e477604e61b81f828df"
dependencies = [
"cc",
"cxxbridge-cmd",
@@ -2165,9 +2343,9 @@ dependencies = [
[[package]]
name = "cxx-build"
-version = "1.0.160"
+version = "1.0.161"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6aeeaf1aefae8e0f5141920a7ecbc64a22ab038d4b4ac59f2d19e0effafd5b53"
+checksum = "212b754247a6f07b10fa626628c157593f0abf640a3dd04cce2760eca970f909"
dependencies = [
"cc",
"codespan-reporting",
@@ -2180,9 +2358,9 @@ dependencies = [
[[package]]
name = "cxxbridge-cmd"
-version = "1.0.160"
+version = "1.0.161"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c36ac1f9a72064b1f41fd7b49a4c1b3bf33b9ccb1274874dda6d264f57c55964"
+checksum = "f426a20413ec2e742520ba6837c9324b55ffac24ead47491a6e29f933c5b135a"
dependencies = [
"clap",
"codespan-reporting",
@@ -2194,15 +2372,15 @@ dependencies = [
[[package]]
name = "cxxbridge-flags"
-version = "1.0.160"
+version = "1.0.161"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "170c6ff5d009663866857a91ebee55b98ea4d4b34e7d7aba6dc4a4c95cc7b748"
+checksum = "a258b6069020b4e5da6415df94a50ee4f586a6c38b037a180e940a43d06a070d"
[[package]]
name = "cxxbridge-macro"
-version = "1.0.160"
+version = "1.0.161"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4984a142211026786011a7e79fa22faa1eca1e9cbf0e60bffecfd57fd3db88f1"
+checksum = "e8dec184b52be5008d6eaf7e62fc1802caf1ad1227d11b3b7df2c409c7ffc3f4"
dependencies = [
"indexmap 2.10.0",
"proc-macro2",
@@ -2211,38 +2389,14 @@ dependencies = [
"syn 2.0.104",
]
-[[package]]
-name = "darling"
-version = "0.14.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7b750cb3417fd1b327431a470f388520309479ab0bf5e323505daf0290cd3850"
-dependencies = [
- "darling_core 0.14.4",
- "darling_macro 0.14.4",
-]
-
[[package]]
name = "darling"
version = "0.20.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee"
dependencies = [
- "darling_core 0.20.11",
- "darling_macro 0.20.11",
-]
-
-[[package]]
-name = "darling_core"
-version = "0.14.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "109c1ca6e6b7f82cc233a97004ea8ed7ca123a9af07a8230878fcfda9b158bf0"
-dependencies = [
- "fnv",
- "ident_case",
- "proc-macro2",
- "quote",
- "strsim 0.10.0",
- "syn 1.0.109",
+ "darling_core",
+ "darling_macro",
]
[[package]]
@@ -2255,28 +2409,17 @@ dependencies = [
"ident_case",
"proc-macro2",
"quote",
- "strsim 0.11.1",
+ "strsim",
"syn 2.0.104",
]
-[[package]]
-name = "darling_macro"
-version = "0.14.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e"
-dependencies = [
- "darling_core 0.14.4",
- "quote",
- "syn 1.0.109",
-]
-
[[package]]
name = "darling_macro"
version = "0.20.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead"
dependencies = [
- "darling_core 0.20.11",
+ "darling_core",
"quote",
"syn 2.0.104",
]
@@ -2332,11 +2475,11 @@ dependencies = [
[[package]]
name = "der-parser"
-version = "8.2.0"
+version = "9.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dbd676fbbab537128ef0278adb5576cf363cff6aa22a7b24effe97347cfab61e"
+checksum = "5cd0a5c643689626bec213c4d8bd4d96acc8ffdb4ad4bb6bc16abf27d5f4b553"
dependencies = [
- "asn1-rs 0.5.2",
+ "asn1-rs 0.6.2",
"displaydoc",
"nom",
"num-bigint",
@@ -2441,6 +2584,7 @@ dependencies = [
"proc-macro2",
"quote",
"syn 2.0.104",
+ "unicode-xid",
]
[[package]]
@@ -2455,12 +2599,6 @@ dependencies = [
"unicode-xid",
]
-[[package]]
-name = "difflib"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8"
-
[[package]]
name = "digest"
version = "0.8.1"
@@ -2510,6 +2648,15 @@ dependencies = [
"dirs-sys-next",
]
+[[package]]
+name = "dirs"
+version = "5.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225"
+dependencies = [
+ "dirs-sys",
+]
+
[[package]]
name = "dirs-sys"
version = "0.4.1"
@@ -2618,9 +2765,9 @@ dependencies = [
[[package]]
name = "dyn-clone"
-version = "1.0.19"
+version = "1.0.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1c7a8fb8a9fbf66c1f703fe16184d10ca0ee9d23be5b4436400408ba54a95005"
+checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555"
[[package]]
name = "ecdsa"
@@ -2678,8 +2825,20 @@ dependencies = [
]
[[package]]
-name = "either"
-version = "1.15.0"
+name = "educe"
+version = "0.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1d7bc049e1bd8cdeb31b68bbd586a9464ecf9f3944af3958a7a9d0f8b9799417"
+dependencies = [
+ "enum-ordinalize",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.104",
+]
+
+[[package]]
+name = "either"
+version = "1.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
dependencies = [
@@ -2714,23 +2873,31 @@ checksum = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0"
[[package]]
name = "enum-as-inner"
-version = "0.5.1"
+version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c9720bba047d567ffc8a3cba48bf19126600e249ab7f128e9233e6376976a116"
+checksum = "a1e6a265c649f3f5979b601d26f1d05ada116434c87741c9493cb56218f76cbc"
dependencies = [
- "heck 0.4.1",
+ "heck 0.5.0",
"proc-macro2",
"quote",
- "syn 1.0.109",
+ "syn 2.0.104",
]
[[package]]
-name = "enum-as-inner"
-version = "0.6.1"
+name = "enum-ordinalize"
+version = "4.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a1e6a265c649f3f5979b601d26f1d05ada116434c87741c9493cb56218f76cbc"
+checksum = "fea0dcfa4e54eeb516fe454635a95753ddd39acda650ce703031c6973e315dd5"
+dependencies = [
+ "enum-ordinalize-derive",
+]
+
+[[package]]
+name = "enum-ordinalize-derive"
+version = "4.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0d28318a75d4aead5c4db25382e8ef717932d0346600cacae6357eb5941bc5ff"
dependencies = [
- "heck 0.5.0",
"proc-macro2",
"quote",
"syn 2.0.104",
@@ -2822,7 +2989,7 @@ dependencies = [
[[package]]
name = "ethereum"
version = "0.15.0"
-source = "git+https://github.com/rust-ethereum/ethereum?rev=3be0d8fd4c2ad1ba216b69ef65b9382612efc8ba#3be0d8fd4c2ad1ba216b69ef65b9382612efc8ba"
+source = "git+https://github.com/rust-ethereum/ethereum?rev=bbb544622208ef6e9890a2dbc224248f6dd13318#bbb544622208ef6e9890a2dbc224248f6dd13318"
dependencies = [
"bytes",
"ethereum-types 0.15.1",
@@ -2872,16 +3039,6 @@ version = "2.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0"
-[[package]]
-name = "event-listener"
-version = "4.0.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e"
-dependencies = [
- "concurrent-queue",
- "pin-project-lite",
-]
-
[[package]]
name = "event-listener"
version = "5.4.0"
@@ -2906,7 +3063,7 @@ dependencies = [
[[package]]
name = "evm"
version = "0.42.0"
-source = "git+https://github.com/rust-ethereum/evm?rev=e81732d6bb47e3d3d68d233e43919c4522598361#e81732d6bb47e3d3d68d233e43919c4522598361"
+source = "git+https://github.com/rust-ethereum/evm?branch=v0.x#6ca5a72bc8942f4860137155dd9033526fd362a5"
dependencies = [
"auto_impl",
"environmental",
@@ -2926,7 +3083,7 @@ dependencies = [
[[package]]
name = "evm-core"
version = "0.42.0"
-source = "git+https://github.com/rust-ethereum/evm?rev=e81732d6bb47e3d3d68d233e43919c4522598361#e81732d6bb47e3d3d68d233e43919c4522598361"
+source = "git+https://github.com/rust-ethereum/evm?branch=v0.x#6ca5a72bc8942f4860137155dd9033526fd362a5"
dependencies = [
"parity-scale-codec",
"primitive-types 0.13.1",
@@ -2937,7 +3094,7 @@ dependencies = [
[[package]]
name = "evm-gasometer"
version = "0.42.0"
-source = "git+https://github.com/rust-ethereum/evm?rev=e81732d6bb47e3d3d68d233e43919c4522598361#e81732d6bb47e3d3d68d233e43919c4522598361"
+source = "git+https://github.com/rust-ethereum/evm?branch=v0.x#6ca5a72bc8942f4860137155dd9033526fd362a5"
dependencies = [
"environmental",
"evm-core",
@@ -2948,7 +3105,7 @@ dependencies = [
[[package]]
name = "evm-runtime"
version = "0.42.0"
-source = "git+https://github.com/rust-ethereum/evm?rev=e81732d6bb47e3d3d68d233e43919c4522598361#e81732d6bb47e3d3d68d233e43919c4522598361"
+source = "git+https://github.com/rust-ethereum/evm?branch=v0.x#6ca5a72bc8942f4860137155dd9033526fd362a5"
dependencies = [
"auto_impl",
"environmental",
@@ -3048,7 +3205,7 @@ dependencies = [
[[package]]
name = "fc-api"
version = "1.0.0-dev"
-source = "git+https://github.com/opentensor/frontier?rev=fe6976888fda696771cd15f78dbbdd71ee6c1216#fe6976888fda696771cd15f78dbbdd71ee6c1216"
+source = "git+https://github.com/opentensor/frontier?rev=c591df98c524e1599c45f93cf4685248088ac014#c591df98c524e1599c45f93cf4685248088ac014"
dependencies = [
"async-trait",
"fp-storage",
@@ -3060,7 +3217,7 @@ dependencies = [
[[package]]
name = "fc-aura"
version = "1.0.0-dev"
-source = "git+https://github.com/opentensor/frontier?rev=fe6976888fda696771cd15f78dbbdd71ee6c1216#fe6976888fda696771cd15f78dbbdd71ee6c1216"
+source = "git+https://github.com/opentensor/frontier?rev=c591df98c524e1599c45f93cf4685248088ac014#c591df98c524e1599c45f93cf4685248088ac014"
dependencies = [
"fc-rpc",
"fp-storage",
@@ -3076,7 +3233,7 @@ dependencies = [
[[package]]
name = "fc-consensus"
version = "2.0.0-dev"
-source = "git+https://github.com/opentensor/frontier?rev=fe6976888fda696771cd15f78dbbdd71ee6c1216#fe6976888fda696771cd15f78dbbdd71ee6c1216"
+source = "git+https://github.com/opentensor/frontier?rev=c591df98c524e1599c45f93cf4685248088ac014#c591df98c524e1599c45f93cf4685248088ac014"
dependencies = [
"async-trait",
"fp-consensus",
@@ -3092,7 +3249,7 @@ dependencies = [
[[package]]
name = "fc-db"
version = "2.0.0-dev"
-source = "git+https://github.com/opentensor/frontier?rev=fe6976888fda696771cd15f78dbbdd71ee6c1216#fe6976888fda696771cd15f78dbbdd71ee6c1216"
+source = "git+https://github.com/opentensor/frontier?rev=c591df98c524e1599c45f93cf4685248088ac014#c591df98c524e1599c45f93cf4685248088ac014"
dependencies = [
"async-trait",
"ethereum",
@@ -3122,7 +3279,7 @@ dependencies = [
[[package]]
name = "fc-mapping-sync"
version = "2.0.0-dev"
-source = "git+https://github.com/opentensor/frontier?rev=fe6976888fda696771cd15f78dbbdd71ee6c1216#fe6976888fda696771cd15f78dbbdd71ee6c1216"
+source = "git+https://github.com/opentensor/frontier?rev=c591df98c524e1599c45f93cf4685248088ac014#c591df98c524e1599c45f93cf4685248088ac014"
dependencies = [
"fc-db",
"fc-storage",
@@ -3145,7 +3302,7 @@ dependencies = [
[[package]]
name = "fc-rpc"
version = "2.0.0-dev"
-source = "git+https://github.com/opentensor/frontier?rev=fe6976888fda696771cd15f78dbbdd71ee6c1216#fe6976888fda696771cd15f78dbbdd71ee6c1216"
+source = "git+https://github.com/opentensor/frontier?rev=c591df98c524e1599c45f93cf4685248088ac014#c591df98c524e1599c45f93cf4685248088ac014"
dependencies = [
"ethereum",
"ethereum-types 0.15.1",
@@ -3159,13 +3316,13 @@ dependencies = [
"fp-storage",
"futures",
"hex",
- "jsonrpsee 0.24.9",
+ "jsonrpsee",
"libsecp256k1",
"log",
"pallet-evm",
"parity-scale-codec",
"prometheus",
- "rand 0.9.1",
+ "rand 0.9.2",
"rlp 0.6.1",
"sc-client-api",
"sc-network",
@@ -3196,22 +3353,22 @@ dependencies = [
[[package]]
name = "fc-rpc-core"
version = "1.1.0-dev"
-source = "git+https://github.com/opentensor/frontier?rev=fe6976888fda696771cd15f78dbbdd71ee6c1216#fe6976888fda696771cd15f78dbbdd71ee6c1216"
+source = "git+https://github.com/opentensor/frontier?rev=c591df98c524e1599c45f93cf4685248088ac014#c591df98c524e1599c45f93cf4685248088ac014"
dependencies = [
"ethereum",
"ethereum-types 0.15.1",
- "jsonrpsee 0.24.9",
+ "jsonrpsee",
"rlp 0.6.1",
"rustc-hex",
"serde",
"serde_json",
- "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
]
[[package]]
name = "fc-storage"
version = "1.0.0-dev"
-source = "git+https://github.com/opentensor/frontier?rev=fe6976888fda696771cd15f78dbbdd71ee6c1216#fe6976888fda696771cd15f78dbbdd71ee6c1216"
+source = "git+https://github.com/opentensor/frontier?rev=c591df98c524e1599c45f93cf4685248088ac014#c591df98c524e1599c45f93cf4685248088ac014"
dependencies = [
"ethereum",
"ethereum-types 0.15.1",
@@ -3299,16 +3456,6 @@ dependencies = [
"scale-info",
]
-[[package]]
-name = "finito"
-version = "0.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2384245d85162258a14b43567a9ee3598f5ae746a1581fb5d3d2cb780f0dbf95"
-dependencies = [
- "futures-timer",
- "pin-project",
-]
-
[[package]]
name = "fixed-hash"
version = "0.8.0"
@@ -3327,15 +3474,6 @@ version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
-[[package]]
-name = "float-cmp"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "98de4bbd547a563b716d8dfa9aad1cb19bfab00f4fa09a6a4ed21dbcf44ce9c4"
-dependencies = [
- "num-traits",
-]
-
[[package]]
name = "flume"
version = "0.11.1"
@@ -3377,7 +3515,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
[[package]]
name = "fork-tree"
version = "13.0.1"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"parity-scale-codec",
]
@@ -3404,7 +3542,7 @@ dependencies = [
[[package]]
name = "fp-account"
version = "1.0.0-dev"
-source = "git+https://github.com/opentensor/frontier?rev=fe6976888fda696771cd15f78dbbdd71ee6c1216#fe6976888fda696771cd15f78dbbdd71ee6c1216"
+source = "git+https://github.com/opentensor/frontier?rev=c591df98c524e1599c45f93cf4685248088ac014#c591df98c524e1599c45f93cf4685248088ac014"
dependencies = [
"hex",
"impl-serde 0.5.0",
@@ -3416,14 +3554,14 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-runtime-interface 29.0.0",
+ "sp-runtime-interface 29.0.1",
"staging-xcm",
]
[[package]]
name = "fp-consensus"
version = "2.0.0-dev"
-source = "git+https://github.com/opentensor/frontier?rev=fe6976888fda696771cd15f78dbbdd71ee6c1216#fe6976888fda696771cd15f78dbbdd71ee6c1216"
+source = "git+https://github.com/opentensor/frontier?rev=c591df98c524e1599c45f93cf4685248088ac014#c591df98c524e1599c45f93cf4685248088ac014"
dependencies = [
"ethereum",
"parity-scale-codec",
@@ -3434,7 +3572,7 @@ dependencies = [
[[package]]
name = "fp-ethereum"
version = "1.0.0-dev"
-source = "git+https://github.com/opentensor/frontier?rev=fe6976888fda696771cd15f78dbbdd71ee6c1216#fe6976888fda696771cd15f78dbbdd71ee6c1216"
+source = "git+https://github.com/opentensor/frontier?rev=c591df98c524e1599c45f93cf4685248088ac014#c591df98c524e1599c45f93cf4685248088ac014"
dependencies = [
"ethereum",
"ethereum-types 0.15.1",
@@ -3446,7 +3584,7 @@ dependencies = [
[[package]]
name = "fp-evm"
version = "3.0.0-dev"
-source = "git+https://github.com/opentensor/frontier?rev=fe6976888fda696771cd15f78dbbdd71ee6c1216#fe6976888fda696771cd15f78dbbdd71ee6c1216"
+source = "git+https://github.com/opentensor/frontier?rev=c591df98c524e1599c45f93cf4685248088ac014#c591df98c524e1599c45f93cf4685248088ac014"
dependencies = [
"environmental",
"evm",
@@ -3462,7 +3600,7 @@ dependencies = [
[[package]]
name = "fp-rpc"
version = "3.0.0-dev"
-source = "git+https://github.com/opentensor/frontier?rev=fe6976888fda696771cd15f78dbbdd71ee6c1216#fe6976888fda696771cd15f78dbbdd71ee6c1216"
+source = "git+https://github.com/opentensor/frontier?rev=c591df98c524e1599c45f93cf4685248088ac014#c591df98c524e1599c45f93cf4685248088ac014"
dependencies = [
"ethereum",
"ethereum-types 0.15.1",
@@ -3478,7 +3616,7 @@ dependencies = [
[[package]]
name = "fp-self-contained"
version = "1.0.0-dev"
-source = "git+https://github.com/opentensor/frontier?rev=fe6976888fda696771cd15f78dbbdd71ee6c1216#fe6976888fda696771cd15f78dbbdd71ee6c1216"
+source = "git+https://github.com/opentensor/frontier?rev=c591df98c524e1599c45f93cf4685248088ac014#c591df98c524e1599c45f93cf4685248088ac014"
dependencies = [
"frame-support",
"parity-scale-codec",
@@ -3490,7 +3628,7 @@ dependencies = [
[[package]]
name = "fp-storage"
version = "2.0.0"
-source = "git+https://github.com/opentensor/frontier?rev=fe6976888fda696771cd15f78dbbdd71ee6c1216#fe6976888fda696771cd15f78dbbdd71ee6c1216"
+source = "git+https://github.com/opentensor/frontier?rev=c591df98c524e1599c45f93cf4685248088ac014#c591df98c524e1599c45f93cf4685248088ac014"
dependencies = [
"parity-scale-codec",
"serde",
@@ -3504,8 +3642,8 @@ checksum = "28dd6caf6059519a65843af8fe2a3ae298b14b80179855aeb4adc2c1934ee619"
[[package]]
name = "frame-benchmarking"
-version = "39.1.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "40.2.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"frame-support",
"frame-support-procedural",
@@ -3521,15 +3659,15 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-runtime-interface 29.0.0",
+ "sp-runtime-interface 29.0.1",
"sp-storage 22.0.0",
"static_assertions",
]
[[package]]
name = "frame-benchmarking-cli"
-version = "46.2.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "47.2.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"Inflector",
"array-bytes",
@@ -3543,7 +3681,6 @@ dependencies = [
"frame-system",
"gethostname",
"handlebars",
- "hex",
"itertools 0.11.0",
"linked-hash-map",
"log",
@@ -3558,7 +3695,7 @@ dependencies = [
"sc-client-api",
"sc-client-db",
"sc-executor",
- "sc-executor-common",
+ "sc-runtime-utilities",
"sc-service",
"sc-sysinfo",
"serde",
@@ -3567,7 +3704,6 @@ dependencies = [
"sp-block-builder",
"sp-blockchain",
"sp-core",
- "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
"sp-database",
"sp-externalities 0.30.0",
"sp-genesis-builder",
@@ -3588,10 +3724,24 @@ dependencies = [
"thousands",
]
+[[package]]
+name = "frame-decode"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6027a409bac4fe95b4d107f965fcdbc252fc89d884a360d076b3070b6128c094"
+dependencies = [
+ "frame-metadata 17.0.0",
+ "parity-scale-codec",
+ "scale-decode 0.14.0",
+ "scale-info",
+ "scale-type-resolver",
+ "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
[[package]]
name = "frame-executive"
-version = "39.1.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "40.0.1"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"aquamarine",
"frame-support",
@@ -3603,25 +3753,14 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-tracing 17.0.1",
-]
-
-[[package]]
-name = "frame-metadata"
-version = "15.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "878babb0b136e731cc77ec2fd883ff02745ff21e6fb662729953d44923df009c"
-dependencies = [
- "cfg-if",
- "parity-scale-codec",
- "scale-info",
+ "sp-tracing 17.1.0",
]
[[package]]
name = "frame-metadata"
-version = "16.0.0"
+version = "17.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "87cf1549fba25a6fcac22785b61698317d958e96cac72a59102ea45b9ae64692"
+checksum = "701bac17e9b55e0f95067c428ebcb46496587f08e8cf4ccc0fe5903bea10dbb8"
dependencies = [
"cfg-if",
"parity-scale-codec",
@@ -3631,9 +3770,9 @@ dependencies = [
[[package]]
name = "frame-metadata"
-version = "18.0.0"
+version = "20.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "daaf440c68eb2c3d88e5760fe8c7af3f9fee9181fab6c2f2c4e7cc48dcc40bb8"
+checksum = "26de808fa6461f2485dc51811aefed108850064994fb4a62b3ac21ffa62ac8df"
dependencies = [
"cfg-if",
"parity-scale-codec",
@@ -3643,8 +3782,8 @@ dependencies = [
[[package]]
name = "frame-metadata-hash-extension"
-version = "0.7.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.8.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"array-bytes",
"const-hex",
@@ -3659,8 +3798,8 @@ dependencies = [
[[package]]
name = "frame-support"
-version = "39.1.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "40.1.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"aquamarine",
"array-bytes",
@@ -3668,7 +3807,7 @@ dependencies = [
"bitflags 1.3.2",
"docify",
"environmental",
- "frame-metadata 18.0.0",
+ "frame-metadata 20.0.0",
"frame-support-procedural",
"impl-trait-for-tuples",
"k256",
@@ -3679,12 +3818,11 @@ dependencies = [
"scale-info",
"serde",
"serde_json",
- "smallvec",
"sp-api",
"sp-arithmetic",
"sp-core",
"sp-crypto-hashing-proc-macro",
- "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
"sp-genesis-builder",
"sp-inherents",
"sp-io",
@@ -3692,18 +3830,17 @@ dependencies = [
"sp-runtime",
"sp-staking",
"sp-state-machine",
- "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
- "sp-tracing 17.0.1",
+ "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
+ "sp-tracing 17.1.0",
"sp-trie",
"sp-weights",
- "static_assertions",
"tt-call",
]
[[package]]
name = "frame-support-procedural"
-version = "31.1.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "33.0.1"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"Inflector",
"cfg-expr",
@@ -3713,10 +3850,10 @@ dependencies = [
"frame-support-procedural-tools 13.0.1",
"itertools 0.11.0",
"macro_magic",
- "proc-macro-warning 1.84.1",
+ "proc-macro-warning",
"proc-macro2",
"quote",
- "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
"syn 2.0.104",
]
@@ -3736,7 +3873,7 @@ dependencies = [
[[package]]
name = "frame-support-procedural-tools"
version = "13.0.1"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"frame-support-procedural-tools-derive 12.0.0",
"proc-macro-crate 3.3.0",
@@ -3759,7 +3896,7 @@ dependencies = [
[[package]]
name = "frame-support-procedural-tools-derive"
version = "12.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"proc-macro2",
"quote",
@@ -3768,8 +3905,8 @@ dependencies = [
[[package]]
name = "frame-system"
-version = "39.1.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "40.1.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"cfg-if",
"docify",
@@ -3781,15 +3918,14 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
"sp-version",
"sp-weights",
]
[[package]]
name = "frame-system-benchmarking"
-version = "39.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "40.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -3802,8 +3938,8 @@ dependencies = [
[[package]]
name = "frame-system-rpc-runtime-api"
-version = "35.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "36.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"docify",
"parity-scale-codec",
@@ -3812,8 +3948,8 @@ dependencies = [
[[package]]
name = "frame-try-runtime"
-version = "0.45.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.46.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"frame-support",
"parity-scale-codec",
@@ -3863,9 +3999,9 @@ dependencies = [
[[package]]
name = "futures-bounded"
-version = "0.1.0"
+version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b07bbbe7d7e78809544c6f718d875627addc73a7c3582447abc052cd3dc67e0"
+checksum = "91f328e7fb845fc832912fb6a34f40cf6d1888c92f974d1893a54e97b5ff542e"
dependencies = [
"futures-timer",
"futures-util",
@@ -3942,12 +4078,13 @@ dependencies = [
[[package]]
name = "futures-rustls"
-version = "0.24.0"
+version = "0.26.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "35bd3cf68c183738046838e300353e4716c674dc5e56890de4826801a6622a28"
+checksum = "a8f2f12607f92c69b12ed746fabf9ca4f5c482cba46679c1a75b874ed7c26adb"
dependencies = [
"futures-io",
- "rustls 0.21.12",
+ "rustls",
+ "rustls-pki-types",
]
[[package]]
@@ -4015,7 +4152,7 @@ version = "0.12.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ffdf9f34f1447443d37393cc6c2b8313aebddcd96906caf34e54c68d8e57d7bd"
dependencies = [
- "typenum 1.18.0",
+ "typenum",
]
[[package]]
@@ -4024,7 +4161,7 @@ version = "0.14.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
dependencies = [
- "typenum 1.18.0",
+ "typenum",
"version_check",
"zeroize",
]
@@ -4046,8 +4183,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592"
dependencies = [
"cfg-if",
+ "js-sys",
"libc",
"wasi 0.11.1+wasi-snapshot-preview1",
+ "wasm-bindgen",
]
[[package]]
@@ -4057,9 +4196,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4"
dependencies = [
"cfg-if",
+ "js-sys",
"libc",
"r-efi",
"wasi 0.14.2+wasi-0.2.4",
+ "wasm-bindgen",
]
[[package]]
@@ -4095,20 +4236,14 @@ dependencies = [
[[package]]
name = "gimli"
-version = "0.28.1"
+version = "0.31.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253"
+checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f"
dependencies = [
"fallible-iterator 0.3.0",
"stable_deref_trait",
]
-[[package]]
-name = "gimli"
-version = "0.31.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f"
-
[[package]]
name = "glob"
version = "0.3.2"
@@ -4316,12 +4451,46 @@ version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "212ab92002354b4819390025006c897e8140934349e8635c9b077f47b4dcbd20"
+[[package]]
+name = "hex-conservative"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5313b072ce3c597065a808dbf612c4c8e8590bdbf8b579508bf7a762c5eae6cd"
+dependencies = [
+ "arrayvec 0.7.6",
+]
+
[[package]]
name = "hex-literal"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46"
+[[package]]
+name = "hickory-proto"
+version = "0.24.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "92652067c9ce6f66ce53cc38d1169daa36e6e7eb7dd3b63b5103bd9d97117248"
+dependencies = [
+ "async-trait",
+ "cfg-if",
+ "data-encoding",
+ "enum-as-inner",
+ "futures-channel",
+ "futures-io",
+ "futures-util",
+ "idna",
+ "ipnet",
+ "once_cell",
+ "rand 0.8.5",
+ "socket2 0.5.10",
+ "thiserror 1.0.69",
+ "tinyvec",
+ "tokio",
+ "tracing",
+ "url",
+]
+
[[package]]
name = "hickory-proto"
version = "0.25.2"
@@ -4331,14 +4500,14 @@ dependencies = [
"async-trait",
"cfg-if",
"data-encoding",
- "enum-as-inner 0.6.1",
+ "enum-as-inner",
"futures-channel",
"futures-io",
"futures-util",
- "idna 1.0.3",
+ "idna",
"ipnet",
"once_cell",
- "rand 0.9.1",
+ "rand 0.9.2",
"ring 0.17.14",
"thiserror 2.0.12",
"tinyvec",
@@ -4347,6 +4516,27 @@ dependencies = [
"url",
]
+[[package]]
+name = "hickory-resolver"
+version = "0.24.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cbb117a1ca520e111743ab2f6688eddee69db4e0ea242545a604dce8a66fd22e"
+dependencies = [
+ "cfg-if",
+ "futures-util",
+ "hickory-proto 0.24.4",
+ "ipconfig",
+ "lru-cache",
+ "once_cell",
+ "parking_lot 0.12.4",
+ "rand 0.8.5",
+ "resolv-conf",
+ "smallvec",
+ "thiserror 1.0.69",
+ "tokio",
+ "tracing",
+]
+
[[package]]
name = "hickory-resolver"
version = "0.25.2"
@@ -4355,12 +4545,12 @@ checksum = "dc62a9a99b0bfb44d2ab95a7208ac952d31060efc16241c87eaf36406fecf87a"
dependencies = [
"cfg-if",
"futures-util",
- "hickory-proto",
+ "hickory-proto 0.25.2",
"ipconfig",
"moka",
"once_cell",
"parking_lot 0.12.4",
- "rand 0.9.1",
+ "rand 0.9.2",
"resolv-conf",
"smallvec",
"thiserror 2.0.12",
@@ -4526,22 +4716,6 @@ dependencies = [
"want",
]
-[[package]]
-name = "hyper-rustls"
-version = "0.24.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590"
-dependencies = [
- "futures-util",
- "http 0.2.12",
- "hyper 0.14.32",
- "log",
- "rustls 0.21.12",
- "rustls-native-certs 0.6.3",
- "tokio",
- "tokio-rustls 0.24.1",
-]
-
[[package]]
name = "hyper-rustls"
version = "0.27.7"
@@ -4552,19 +4726,19 @@ dependencies = [
"hyper 1.6.0",
"hyper-util",
"log",
- "rustls 0.23.29",
- "rustls-native-certs 0.8.1",
+ "rustls",
+ "rustls-native-certs",
"rustls-pki-types",
"tokio",
- "tokio-rustls 0.26.2",
+ "tokio-rustls",
"tower-service",
]
[[package]]
name = "hyper-util"
-version = "0.1.15"
+version = "0.1.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7f66d5bd4c6f02bf0542fad85d626775bab9258cf795a4256dcaf3161114d1df"
+checksum = "8d9b05277c7e8da2c93a568989bb6207bef0112e8d17df7a6eda4a3cf143bc5e"
dependencies = [
"bytes",
"futures-channel",
@@ -4575,7 +4749,7 @@ dependencies = [
"hyper 1.6.0",
"libc",
"pin-project-lite",
- "socket2 0.5.10",
+ "socket2 0.6.0",
"tokio",
"tower-service",
"tracing",
@@ -4697,27 +4871,6 @@ version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
-[[package]]
-name = "idna"
-version = "0.2.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8"
-dependencies = [
- "matches",
- "unicode-bidi",
- "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 = "1.0.3"
@@ -4905,6 +5058,7 @@ checksum = "fe4cd85333e22411419a0bcae1297d25e58c9443848b11dc6a86fefe8c78a661"
dependencies = [
"equivalent",
"hashbrown 0.15.4",
+ "serde",
]
[[package]]
@@ -4953,9 +5107,9 @@ dependencies = [
[[package]]
name = "io-uring"
-version = "0.7.8"
+version = "0.7.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b86e202f00093dcba4275d4636b93ef9dd75d025ae560d2521b45ea28ab49013"
+checksum = "d93587f37623a1a17d94ef2bc9ada592f5465fe7732084ab7beefabe5c77c0c4"
dependencies = [
"bitflags 2.9.1",
"cfg-if",
@@ -5030,6 +5184,15 @@ dependencies = [
"either",
]
+[[package]]
+name = "itertools"
+version = "0.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
+dependencies = [
+ "either",
+]
+
[[package]]
name = "itertools"
version = "0.14.0"
@@ -5047,16 +5210,18 @@ checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
[[package]]
name = "jni"
-version = "0.19.0"
+version = "0.21.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c6df18c2e3db7e453d3c6ac5b3e9d5182664d28788126d39b91f2d1e22b017ec"
+checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97"
dependencies = [
"cesu8",
+ "cfg-if",
"combine",
"jni-sys",
"log",
"thiserror 1.0.69",
"walkdir",
+ "windows-sys 0.45.0",
]
[[package]]
@@ -5085,82 +5250,40 @@ dependencies = [
"wasm-bindgen",
]
-[[package]]
-name = "jsonrpsee"
-version = "0.22.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cfdb12a2381ea5b2e68c3469ec604a007b367778cdb14d09612c8069ebd616ad"
-dependencies = [
- "jsonrpsee-client-transport 0.22.5",
- "jsonrpsee-core 0.22.5",
- "jsonrpsee-http-client",
- "jsonrpsee-types 0.22.5",
-]
-
-[[package]]
-name = "jsonrpsee"
-version = "0.23.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "62b089779ad7f80768693755a031cc14a7766aba707cbe886674e3f79e9b7e47"
-dependencies = [
- "jsonrpsee-core 0.23.2",
- "jsonrpsee-types 0.23.2",
- "jsonrpsee-ws-client",
-]
-
[[package]]
name = "jsonrpsee"
version = "0.24.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "37b26c20e2178756451cfeb0661fb74c47dd5988cb7e3939de7e9241fd604d42"
dependencies = [
- "jsonrpsee-core 0.24.9",
+ "jsonrpsee-client-transport",
+ "jsonrpsee-core",
"jsonrpsee-proc-macros",
"jsonrpsee-server",
- "jsonrpsee-types 0.24.9",
- "tokio",
- "tracing",
-]
-
-[[package]]
-name = "jsonrpsee-client-transport"
-version = "0.22.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4978087a58c3ab02efc5b07c5e5e2803024536106fd5506f558db172c889b3aa"
-dependencies = [
- "futures-util",
- "http 0.2.12",
- "jsonrpsee-core 0.22.5",
- "pin-project",
- "rustls-native-certs 0.7.3",
- "rustls-pki-types",
- "soketto 0.7.1",
- "thiserror 1.0.69",
+ "jsonrpsee-types",
+ "jsonrpsee-ws-client",
"tokio",
- "tokio-rustls 0.25.0",
- "tokio-util",
"tracing",
- "url",
]
[[package]]
name = "jsonrpsee-client-transport"
-version = "0.23.2"
+version = "0.24.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "08163edd8bcc466c33d79e10f695cdc98c00d1e6ddfb95cec41b6b0279dd5432"
+checksum = "bacb85abf4117092455e1573625e21b8f8ef4dec8aff13361140b2dc266cdff2"
dependencies = [
"base64 0.22.1",
"futures-util",
"http 1.3.1",
- "jsonrpsee-core 0.23.2",
+ "jsonrpsee-core",
"pin-project",
- "rustls 0.23.29",
+ "rustls",
"rustls-pki-types",
"rustls-platform-verifier",
- "soketto 0.8.1",
+ "soketto",
"thiserror 1.0.69",
"tokio",
- "tokio-rustls 0.26.2",
+ "tokio-rustls",
"tokio-util",
"tracing",
"url",
@@ -5168,19 +5291,22 @@ dependencies = [
[[package]]
name = "jsonrpsee-core"
-version = "0.22.5"
+version = "0.24.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b4b257e1ec385e07b0255dde0b933f948b5c8b8c28d42afda9587c3a967b896d"
+checksum = "456196007ca3a14db478346f58c7238028d55ee15c1df15115596e411ff27925"
dependencies = [
- "anyhow",
"async-trait",
- "beef",
+ "bytes",
"futures-timer",
"futures-util",
- "hyper 0.14.32",
- "jsonrpsee-types 0.22.5",
+ "http 1.3.1",
+ "http-body 1.0.1",
+ "http-body-util",
+ "jsonrpsee-types",
+ "parking_lot 0.12.4",
"pin-project",
- "rustc-hash 1.1.0",
+ "rand 0.8.5",
+ "rustc-hash 2.1.1",
"serde",
"serde_json",
"thiserror 1.0.69",
@@ -5190,75 +5316,10 @@ dependencies = [
]
[[package]]
-name = "jsonrpsee-core"
-version = "0.23.2"
+name = "jsonrpsee-proc-macros"
+version = "0.24.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "79712302e737d23ca0daa178e752c9334846b08321d439fd89af9a384f8c830b"
-dependencies = [
- "anyhow",
- "async-trait",
- "beef",
- "futures-timer",
- "futures-util",
- "jsonrpsee-types 0.23.2",
- "pin-project",
- "rustc-hash 1.1.0",
- "serde",
- "serde_json",
- "thiserror 1.0.69",
- "tokio",
- "tokio-stream",
- "tracing",
-]
-
-[[package]]
-name = "jsonrpsee-core"
-version = "0.24.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "456196007ca3a14db478346f58c7238028d55ee15c1df15115596e411ff27925"
-dependencies = [
- "async-trait",
- "bytes",
- "futures-util",
- "http 1.3.1",
- "http-body 1.0.1",
- "http-body-util",
- "jsonrpsee-types 0.24.9",
- "parking_lot 0.12.4",
- "rand 0.8.5",
- "rustc-hash 2.1.1",
- "serde",
- "serde_json",
- "thiserror 1.0.69",
- "tokio",
- "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 0.14.32",
- "hyper-rustls 0.24.2",
- "jsonrpsee-core 0.22.5",
- "jsonrpsee-types 0.22.5",
- "serde",
- "serde_json",
- "thiserror 1.0.69",
- "tokio",
- "tower",
- "tracing",
- "url",
-]
-
-[[package]]
-name = "jsonrpsee-proc-macros"
-version = "0.24.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5e65763c942dfc9358146571911b0cd1c361c2d63e2d2305622d40d36376ca80"
+checksum = "5e65763c942dfc9358146571911b0cd1c361c2d63e2d2305622d40d36376ca80"
dependencies = [
"heck 0.5.0",
"proc-macro-crate 3.3.0",
@@ -5279,13 +5340,13 @@ dependencies = [
"http-body-util",
"hyper 1.6.0",
"hyper-util",
- "jsonrpsee-core 0.24.9",
- "jsonrpsee-types 0.24.9",
+ "jsonrpsee-core",
+ "jsonrpsee-types",
"pin-project",
"route-recognizer",
"serde",
"serde_json",
- "soketto 0.8.1",
+ "soketto",
"thiserror 1.0.69",
"tokio",
"tokio-stream",
@@ -5294,32 +5355,6 @@ dependencies = [
"tracing",
]
-[[package]]
-name = "jsonrpsee-types"
-version = "0.22.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "150d6168405890a7a3231a3c74843f58b8959471f6df76078db2619ddee1d07d"
-dependencies = [
- "anyhow",
- "beef",
- "serde",
- "serde_json",
- "thiserror 1.0.69",
-]
-
-[[package]]
-name = "jsonrpsee-types"
-version = "0.23.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d9c465fbe385238e861fdc4d1c85e04ada6c1fd246161d26385c1b311724d2af"
-dependencies = [
- "beef",
- "http 1.3.1",
- "serde",
- "serde_json",
- "thiserror 1.0.69",
-]
-
[[package]]
name = "jsonrpsee-types"
version = "0.24.9"
@@ -5334,14 +5369,14 @@ dependencies = [
[[package]]
name = "jsonrpsee-ws-client"
-version = "0.23.2"
+version = "0.24.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1c28759775f5cb2f1ea9667672d3fe2b0e701d1f4b7b67954e60afe7fd058b5e"
+checksum = "01b3323d890aa384f12148e8d2a1fd18eb66e9e7e825f9de4fa53bcc19b93eef"
dependencies = [
"http 1.3.1",
- "jsonrpsee-client-transport 0.23.2",
- "jsonrpsee-core 0.23.2",
- "jsonrpsee-types 0.23.2",
+ "jsonrpsee-client-transport",
+ "jsonrpsee-core",
+ "jsonrpsee-types",
"url",
]
@@ -5380,11 +5415,11 @@ dependencies = [
[[package]]
name = "keccak-hash"
-version = "0.10.0"
+version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4b286e6b663fb926e1eeb68528e69cb70ed46c6d65871a21b2215ae8154c6d3c"
+checksum = "3e1b8590eb6148af2ea2d75f38e7d29f5ca970d5a4df456b3ef19b8b415d0264"
dependencies = [
- "primitive-types 0.12.2",
+ "primitive-types 0.13.1",
"tiny-keccak",
]
@@ -5455,7 +5490,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "07033963ba89ebaf1584d767badaa2e8fcec21aedea6b8c0346d487d49c28667"
dependencies = [
"cfg-if",
- "windows-targets 0.53.2",
+ "windows-targets 0.53.3",
]
[[package]]
@@ -5466,16 +5501,15 @@ checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de"
[[package]]
name = "libp2p"
-version = "0.52.4"
+version = "0.54.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e94495eb319a85b70a68b85e2389a95bb3555c71c49025b78c691a854a7e6464"
+checksum = "bbbe80f9c7e00526cd6b838075b9c171919404a4732cb2fa8ece0a093223bfc4"
dependencies = [
"bytes",
"either",
"futures",
"futures-timer",
"getrandom 0.2.16",
- "instant",
"libp2p-allow-block-list",
"libp2p-connection-limits",
"libp2p-core",
@@ -5492,7 +5526,6 @@ dependencies = [
"libp2p-swarm",
"libp2p-tcp",
"libp2p-upnp",
- "libp2p-wasm-ext",
"libp2p-websocket",
"libp2p-yamux",
"multiaddr 0.18.2",
@@ -5503,9 +5536,9 @@ dependencies = [
[[package]]
name = "libp2p-allow-block-list"
-version = "0.2.0"
+version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "55b46558c5c0bf99d3e2a1a38fd54ff5476ca66dd1737b12466a1824dd219311"
+checksum = "d1027ccf8d70320ed77e984f273bc8ce952f623762cb9bf2d126df73caef8041"
dependencies = [
"libp2p-core",
"libp2p-identity",
@@ -5515,9 +5548,9 @@ dependencies = [
[[package]]
name = "libp2p-connection-limits"
-version = "0.2.1"
+version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2f5107ad45cb20b2f6c3628c7b6014b996fcb13a88053f4569c872c6e30abf58"
+checksum = "8d003540ee8baef0d254f7b6bfd79bac3ddf774662ca0abf69186d517ef82ad8"
dependencies = [
"libp2p-core",
"libp2p-identity",
@@ -5527,17 +5560,15 @@ dependencies = [
[[package]]
name = "libp2p-core"
-version = "0.40.1"
+version = "0.42.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dd44289ab25e4c9230d9246c475a22241e301b23e8f4061d3bdef304a1a99713"
+checksum = "a61f26c83ed111104cd820fe9bc3aaabbac5f1652a1d213ed6e900b7918a1298"
dependencies = [
"either",
"fnv",
"futures",
"futures-timer",
- "instant",
"libp2p-identity",
- "log",
"multiaddr 0.18.2",
"multihash 0.19.3",
"multistream-select",
@@ -5549,33 +5580,35 @@ dependencies = [
"rw-stream-sink",
"smallvec",
"thiserror 1.0.69",
- "unsigned-varint 0.7.2",
+ "tracing",
+ "unsigned-varint 0.8.0",
"void",
+ "web-time",
]
[[package]]
name = "libp2p-dns"
-version = "0.40.1"
+version = "0.42.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e6a18db73084b4da2871438f6239fef35190b05023de7656e877c18a00541a3b"
+checksum = "97f37f30d5c7275db282ecd86e54f29dd2176bd3ac656f06abf43bedb21eb8bd"
dependencies = [
"async-trait",
"futures",
+ "hickory-resolver 0.24.4",
"libp2p-core",
"libp2p-identity",
- "log",
"parking_lot 0.12.4",
"smallvec",
- "trust-dns-resolver",
+ "tracing",
]
[[package]]
name = "libp2p-identify"
-version = "0.43.1"
+version = "0.45.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "45a96638a0a176bec0a4bcaebc1afa8cf909b114477209d7456ade52c61cd9cd"
+checksum = "1711b004a273be4f30202778856368683bd9a83c4c7dcc8f848847606831a4e3"
dependencies = [
- "asynchronous-codec",
+ "asynchronous-codec 0.7.0",
"either",
"futures",
"futures-bounded",
@@ -5583,12 +5616,12 @@ dependencies = [
"libp2p-core",
"libp2p-identity",
"libp2p-swarm",
- "log",
"lru 0.12.5",
"quick-protobuf",
"quick-protobuf-codec",
"smallvec",
"thiserror 1.0.69",
+ "tracing",
"void",
]
@@ -5612,83 +5645,84 @@ dependencies = [
[[package]]
name = "libp2p-kad"
-version = "0.44.6"
+version = "0.46.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "16ea178dabba6dde6ffc260a8e0452ccdc8f79becf544946692fff9d412fc29d"
+checksum = "ced237d0bd84bbebb7c2cad4c073160dacb4fe40534963c32ed6d4c6bb7702a3"
dependencies = [
"arrayvec 0.7.6",
- "asynchronous-codec",
+ "asynchronous-codec 0.7.0",
"bytes",
"either",
"fnv",
"futures",
+ "futures-bounded",
"futures-timer",
- "instant",
"libp2p-core",
"libp2p-identity",
"libp2p-swarm",
- "log",
"quick-protobuf",
"quick-protobuf-codec",
"rand 0.8.5",
"sha2 0.10.9",
"smallvec",
"thiserror 1.0.69",
+ "tracing",
"uint 0.9.5",
- "unsigned-varint 0.7.2",
"void",
+ "web-time",
]
[[package]]
name = "libp2p-mdns"
-version = "0.44.0"
+version = "0.46.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "42a2567c305232f5ef54185e9604579a894fd0674819402bb0ac0246da82f52a"
+checksum = "14b8546b6644032565eb29046b42744aee1e9f261ed99671b2c93fb140dba417"
dependencies = [
"data-encoding",
"futures",
+ "hickory-proto 0.24.4",
"if-watch",
"libp2p-core",
"libp2p-identity",
"libp2p-swarm",
- "log",
"rand 0.8.5",
"smallvec",
"socket2 0.5.10",
"tokio",
- "trust-dns-proto 0.22.0",
+ "tracing",
"void",
]
[[package]]
name = "libp2p-metrics"
-version = "0.13.1"
+version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "239ba7d28f8d0b5d77760dc6619c05c7e88e74ec8fbbe97f856f20a56745e620"
+checksum = "77ebafa94a717c8442d8db8d3ae5d1c6a15e30f2d347e0cd31d057ca72e42566"
dependencies = [
- "instant",
+ "futures",
"libp2p-core",
"libp2p-identify",
"libp2p-identity",
"libp2p-kad",
"libp2p-ping",
"libp2p-swarm",
- "once_cell",
+ "pin-project",
"prometheus-client",
+ "web-time",
]
[[package]]
name = "libp2p-noise"
-version = "0.43.2"
+version = "0.45.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2eeec39ad3ad0677551907dd304b2f13f17208ccebe333bef194076cd2e8921"
+checksum = "36b137cb1ae86ee39f8e5d6245a296518912014eaa87427d24e6ff58cfc1b28c"
dependencies = [
+ "asynchronous-codec 0.7.0",
"bytes",
"curve25519-dalek",
"futures",
"libp2p-core",
"libp2p-identity",
- "log",
"multiaddr 0.18.2",
"multihash 0.19.3",
"once_cell",
@@ -5698,33 +5732,34 @@ dependencies = [
"snow",
"static_assertions",
"thiserror 1.0.69",
+ "tracing",
"x25519-dalek",
"zeroize",
]
[[package]]
name = "libp2p-ping"
-version = "0.43.1"
+version = "0.45.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e702d75cd0827dfa15f8fd92d15b9932abe38d10d21f47c50438c71dd1b5dae3"
+checksum = "005a34420359223b974ee344457095f027e51346e992d1e0dcd35173f4cdd422"
dependencies = [
"either",
"futures",
"futures-timer",
- "instant",
"libp2p-core",
"libp2p-identity",
"libp2p-swarm",
- "log",
"rand 0.8.5",
+ "tracing",
"void",
+ "web-time",
]
[[package]]
name = "libp2p-quic"
-version = "0.9.3"
+version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "130d451d83f21b81eb7b35b360bc7972aeafb15177784adc56528db082e6b927"
+checksum = "46352ac5cd040c70e88e7ff8257a2ae2f891a4076abad2c439584a31c15fd24e"
dependencies = [
"bytes",
"futures",
@@ -5733,66 +5768,68 @@ dependencies = [
"libp2p-core",
"libp2p-identity",
"libp2p-tls",
- "log",
"parking_lot 0.12.4",
"quinn",
"rand 0.8.5",
- "ring 0.16.20",
- "rustls 0.21.12",
+ "ring 0.17.14",
+ "rustls",
"socket2 0.5.10",
"thiserror 1.0.69",
"tokio",
+ "tracing",
]
[[package]]
name = "libp2p-request-response"
-version = "0.25.3"
+version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d8e3b4d67870478db72bac87bfc260ee6641d0734e0e3e275798f089c3fecfd4"
+checksum = "1356c9e376a94a75ae830c42cdaea3d4fe1290ba409a22c809033d1b7dcab0a6"
dependencies = [
"async-trait",
"futures",
- "instant",
+ "futures-bounded",
+ "futures-timer",
"libp2p-core",
"libp2p-identity",
"libp2p-swarm",
- "log",
"rand 0.8.5",
"smallvec",
+ "tracing",
"void",
+ "web-time",
]
[[package]]
name = "libp2p-swarm"
-version = "0.43.7"
+version = "0.45.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "580189e0074af847df90e75ef54f3f30059aedda37ea5a1659e8b9fca05c0141"
+checksum = "d7dd6741793d2c1fb2088f67f82cf07261f25272ebe3c0b0c311e0c6b50e851a"
dependencies = [
"either",
"fnv",
"futures",
"futures-timer",
- "instant",
"libp2p-core",
"libp2p-identity",
"libp2p-swarm-derive",
- "log",
+ "lru 0.12.5",
"multistream-select",
"once_cell",
"rand 0.8.5",
"smallvec",
"tokio",
+ "tracing",
"void",
+ "web-time",
]
[[package]]
name = "libp2p-swarm-derive"
-version = "0.33.0"
+version = "0.35.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c4d5ec2a3df00c7836d7696c136274c9c59705bac69133253696a6c932cd1d74"
+checksum = "206e0aa0ebe004d778d79fb0966aa0de996c19894e2c0605ba2f8524dd4443d8"
dependencies = [
- "heck 0.4.1",
- "proc-macro-warning 0.4.2",
+ "heck 0.5.0",
"proc-macro2",
"quote",
"syn 2.0.104",
@@ -5800,9 +5837,9 @@ dependencies = [
[[package]]
name = "libp2p-tcp"
-version = "0.40.1"
+version = "0.42.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b558dd40d1bcd1aaaed9de898e9ec6a436019ecc2420dd0016e712fbb61c5508"
+checksum = "ad964f312c59dcfcac840acd8c555de8403e295d39edf96f5240048b5fcaa314"
dependencies = [
"futures",
"futures-timer",
@@ -5810,103 +5847,91 @@ dependencies = [
"libc",
"libp2p-core",
"libp2p-identity",
- "log",
"socket2 0.5.10",
"tokio",
+ "tracing",
]
[[package]]
name = "libp2p-tls"
-version = "0.2.1"
+version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8218d1d5482b122ccae396bbf38abdcb283ecc96fa54760e1dfd251f0546ac61"
+checksum = "47b23dddc2b9c355f73c1e36eb0c3ae86f7dc964a3715f0731cfad352db4d847"
dependencies = [
"futures",
"futures-rustls",
"libp2p-core",
"libp2p-identity",
"rcgen",
- "ring 0.16.20",
- "rustls 0.21.12",
+ "ring 0.17.14",
+ "rustls",
"rustls-webpki 0.101.7",
"thiserror 1.0.69",
- "x509-parser 0.15.1",
+ "x509-parser 0.16.0",
"yasna",
]
[[package]]
name = "libp2p-upnp"
-version = "0.1.1"
+version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "82775a47b34f10f787ad3e2a22e2c1541e6ebef4fe9f28f3ac553921554c94c1"
+checksum = "01bf2d1b772bd3abca049214a3304615e6a36fa6ffc742bdd1ba774486200b8f"
dependencies = [
"futures",
"futures-timer",
"igd-next",
"libp2p-core",
"libp2p-swarm",
- "log",
"tokio",
+ "tracing",
"void",
]
-[[package]]
-name = "libp2p-wasm-ext"
-version = "0.40.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e5d8e3a9e07da0ef5b55a9f26c009c8fb3c725d492d8bb4b431715786eea79c"
-dependencies = [
- "futures",
- "js-sys",
- "libp2p-core",
- "send_wrapper",
- "wasm-bindgen",
- "wasm-bindgen-futures",
-]
-
[[package]]
name = "libp2p-websocket"
-version = "0.42.2"
+version = "0.44.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "004ee9c4a4631435169aee6aad2f62e3984dc031c43b6d29731e8e82a016c538"
+checksum = "888b2ff2e5d8dcef97283daab35ad1043d18952b65e05279eecbe02af4c6e347"
dependencies = [
"either",
"futures",
"futures-rustls",
"libp2p-core",
"libp2p-identity",
- "log",
"parking_lot 0.12.4",
"pin-project-lite",
"rw-stream-sink",
- "soketto 0.8.1",
+ "soketto",
"thiserror 1.0.69",
+ "tracing",
"url",
- "webpki-roots 0.25.4",
+ "webpki-roots",
]
[[package]]
name = "libp2p-yamux"
-version = "0.44.1"
+version = "0.46.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8eedcb62824c4300efb9cfd4e2a6edaf3ca097b9e68b36dabe45a44469fd6a85"
+checksum = "788b61c80789dba9760d8c669a5bedb642c8267555c803fabd8396e4ca5c5882"
dependencies = [
+ "either",
"futures",
"libp2p-core",
- "log",
"thiserror 1.0.69",
+ "tracing",
"yamux 0.12.1",
+ "yamux 0.13.6",
]
[[package]]
name = "libredox"
-version = "0.1.4"
+version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1580801010e535496706ba011c15f8532df6b42297d2e471fec38ceadd8c0638"
+checksum = "391290121bad3d37fbddad76d8f5d1c1c314cfc646d143d7e07a3086ddff0ce3"
dependencies = [
"bitflags 2.9.1",
"libc",
- "redox_syscall 0.5.13",
+ "redox_syscall 0.5.17",
]
[[package]]
@@ -5940,7 +5965,7 @@ dependencies = [
"rand 0.8.5",
"serde",
"sha2 0.9.9",
- "typenum 1.18.0",
+ "typenum",
]
[[package]]
@@ -6076,10 +6101,10 @@ dependencies = [
"ed25519-dalek",
"futures",
"futures-timer",
- "hickory-resolver",
+ "hickory-resolver 0.25.2",
"indexmap 2.10.0",
"libc",
- "mockall 0.13.1",
+ "mockall",
"multiaddr 0.17.1",
"multihash 0.17.0",
"network-interface",
@@ -6105,7 +6130,7 @@ dependencies = [
"url",
"x25519-dalek",
"x509-parser 0.17.0",
- "yamux 0.13.5",
+ "yamux 0.13.6",
"yasna",
"zeroize",
]
@@ -6166,6 +6191,12 @@ dependencies = [
"linked-hash-map",
]
+[[package]]
+name = "lru-slab"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154"
+
[[package]]
name = "lz4"
version = "1.28.1"
@@ -6251,12 +6282,6 @@ dependencies = [
"regex-automata 0.1.10",
]
-[[package]]
-name = "matches"
-version = "0.1.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5"
-
[[package]]
name = "matrixmultiply"
version = "0.3.10"
@@ -6320,15 +6345,15 @@ dependencies = [
[[package]]
name = "merkleized-metadata"
-version = "0.2.0"
+version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "38c592efaf1b3250df14c8f3c2d952233f0302bb81d3586db2f303666c1cd607"
+checksum = "dc9b7ac0ce054412d9a85ff39bac27aec27483b06cef8756b57d9c29d448d081"
dependencies = [
"array-bytes",
"blake3",
- "frame-metadata 18.0.0",
+ "frame-metadata 20.0.0",
"parity-scale-codec",
- "scale-decode",
+ "scale-decode 0.13.1",
"scale-info",
]
@@ -6395,21 +6420,6 @@ dependencies = [
"zeroize",
]
-[[package]]
-name = "mockall"
-version = "0.11.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c84490118f2ee2d74570d114f3d0493cbf02790df303d2707606c3e14e07c96"
-dependencies = [
- "cfg-if",
- "downcast",
- "fragile",
- "lazy_static",
- "mockall_derive 0.11.4",
- "predicates 2.1.5",
- "predicates-tree",
-]
-
[[package]]
name = "mockall"
version = "0.13.1"
@@ -6419,23 +6429,11 @@ dependencies = [
"cfg-if",
"downcast",
"fragile",
- "mockall_derive 0.13.1",
- "predicates 3.1.3",
+ "mockall_derive",
+ "predicates",
"predicates-tree",
]
-[[package]]
-name = "mockall_derive"
-version = "0.11.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "22ce75669015c4f47b289fd4d4f56e894e4c96003ffdf3ac51313126f94c6cbb"
-dependencies = [
- "cfg-if",
- "proc-macro2",
- "quote",
- "syn 1.0.109",
-]
-
[[package]]
name = "mockall_derive"
version = "0.13.1"
@@ -6467,6 +6465,12 @@ dependencies = [
"uuid",
]
+[[package]]
+name = "multi-stash"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "685a9ac4b61f4e728e1d2c6a7844609c16527aeb5e6c865915c08e619c16410f"
+
[[package]]
name = "multiaddr"
version = "0.17.1"
@@ -6589,7 +6593,7 @@ dependencies = [
"num-rational",
"num-traits",
"simba",
- "typenum 1.18.0",
+ "typenum",
]
[[package]]
@@ -6703,13 +6707,13 @@ dependencies = [
[[package]]
name = "network-interface"
-version = "2.0.1"
+version = "2.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c3329f515506e4a2de3aa6e07027a6758e22e0f0e8eaf64fa47261cec2282602"
+checksum = "862f41f1276e7148fb597fc55ed8666423bebe045199a1298c3515a73ec5cdd9"
dependencies = [
"cc",
"libc",
- "thiserror 1.0.69",
+ "thiserror 2.0.12",
"winapi",
]
@@ -6730,12 +6734,6 @@ version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b93853da6d84c2e3c7d730d6473e8817692dd89be387eb01b94d7f108ecb5b8c"
-[[package]]
-name = "no-std-net"
-version = "0.6.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "43794a0ace135be66a25d3ae77d41b91615fb68ae937f904090203e81f755b65"
-
[[package]]
name = "node-subtensor"
version = "4.0.0-dev"
@@ -6760,7 +6758,7 @@ dependencies = [
"frame-system-rpc-runtime-api",
"futures",
"hex",
- "jsonrpsee 0.24.9",
+ "jsonrpsee",
"memmap2 0.9.7",
"node-subtensor-runtime",
"num-traits",
@@ -6771,7 +6769,6 @@ dependencies = [
"pallet-transaction-payment",
"pallet-transaction-payment-rpc",
"pallet-transaction-payment-rpc-runtime-api",
- "parity-scale-codec",
"sc-basic-authorship",
"sc-chain-spec",
"sc-chain-spec-derive",
@@ -6819,7 +6816,6 @@ dependencies = [
"subtensor-custom-rpc",
"subtensor-custom-rpc-runtime-api",
"subtensor-runtime-common",
- "thiserror 1.0.69",
]
[[package]]
@@ -6833,7 +6829,7 @@ dependencies = [
"fp-self-contained",
"frame-benchmarking",
"frame-executive",
- "frame-metadata 18.0.0",
+ "frame-metadata 20.0.0",
"frame-metadata-hash-extension",
"frame-support",
"frame-system",
@@ -6892,9 +6888,9 @@ dependencies = [
"sp-offchain",
"sp-runtime",
"sp-session",
- "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
"sp-storage 22.0.0",
- "sp-tracing 17.0.1",
+ "sp-tracing 17.1.0",
"sp-transaction-pool",
"sp-version",
"substrate-fixed",
@@ -6904,6 +6900,7 @@ dependencies = [
"subtensor-precompiles",
"subtensor-runtime-common",
"subtensor-swap-interface",
+ "subtensor-transaction-fee",
"tle",
"w3f-bls",
]
@@ -6942,12 +6939,6 @@ version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "38bf9645c8b145698bb0b18a4637dcacbc421ea49bef2317e4fd8065a387cf21"
-[[package]]
-name = "normalize-line-endings"
-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"
@@ -6997,6 +6988,17 @@ version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"
+[[package]]
+name = "num-derive"
+version = "0.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.104",
+]
+
[[package]]
name = "num-format"
version = "0.4.4"
@@ -7092,15 +7094,6 @@ dependencies = [
"memchr",
]
-[[package]]
-name = "object"
-version = "0.32.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441"
-dependencies = [
- "memchr",
-]
-
[[package]]
name = "object"
version = "0.36.7"
@@ -7112,11 +7105,11 @@ dependencies = [
[[package]]
name = "oid-registry"
-version = "0.6.1"
+version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9bedf36ffb6ba96c2eb7144ef6270557b52e54b20c0a8e1eb2ff99a6c6959bff"
+checksum = "a8d8034d9489cdaf79228eb9f6a3b8d7bb32ba00d6645ebd48eef4077ceb5bd9"
dependencies = [
- "asn1-rs 0.5.2",
+ "asn1-rs 0.6.2",
]
[[package]]
@@ -7269,8 +7262,8 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
- "sp-tracing 17.0.1",
+ "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
+ "sp-tracing 17.1.0",
"sp-weights",
"substrate-fixed",
"subtensor-macros",
@@ -7280,8 +7273,8 @@ dependencies = [
[[package]]
name = "pallet-aura"
-version = "38.1.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "39.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"frame-support",
"frame-system",
@@ -7296,8 +7289,8 @@ dependencies = [
[[package]]
name = "pallet-authorship"
-version = "39.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "40.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"frame-support",
"frame-system",
@@ -7309,8 +7302,8 @@ dependencies = [
[[package]]
name = "pallet-balances"
-version = "40.1.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "41.1.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"docify",
"frame-benchmarking",
@@ -7319,13 +7312,14 @@ dependencies = [
"log",
"parity-scale-codec",
"scale-info",
+ "sp-core",
"sp-runtime",
]
[[package]]
name = "pallet-base-fee"
version = "1.0.0"
-source = "git+https://github.com/opentensor/frontier?rev=fe6976888fda696771cd15f78dbbdd71ee6c1216#fe6976888fda696771cd15f78dbbdd71ee6c1216"
+source = "git+https://github.com/opentensor/frontier?rev=c591df98c524e1599c45f93cf4685248088ac014#c591df98c524e1599c45f93cf4685248088ac014"
dependencies = [
"fp-evm",
"frame-support",
@@ -7349,7 +7343,7 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
"subtensor-macros",
]
@@ -7374,7 +7368,7 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
"subtensor-macros",
"subtensor-runtime-common",
"tle",
@@ -7396,7 +7390,7 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
"subtensor-macros",
]
@@ -7405,9 +7399,9 @@ name = "pallet-drand"
version = "0.0.1"
dependencies = [
"anyhow",
- "ark-bls12-381",
+ "ark-bls12-381 0.4.0",
"ark-crypto-primitives",
- "ark-ec",
+ "ark-ec 0.4.2",
"ark-ff 0.4.2",
"ark-scale 0.0.11",
"ark-serialize 0.4.2",
@@ -7436,7 +7430,7 @@ dependencies = [
[[package]]
name = "pallet-ethereum"
version = "4.0.0-dev"
-source = "git+https://github.com/opentensor/frontier?rev=fe6976888fda696771cd15f78dbbdd71ee6c1216#fe6976888fda696771cd15f78dbbdd71ee6c1216"
+source = "git+https://github.com/opentensor/frontier?rev=c591df98c524e1599c45f93cf4685248088ac014#c591df98c524e1599c45f93cf4685248088ac014"
dependencies = [
"ethereum",
"ethereum-types 0.15.1",
@@ -7459,7 +7453,7 @@ dependencies = [
[[package]]
name = "pallet-evm"
version = "6.0.0-dev"
-source = "git+https://github.com/opentensor/frontier?rev=fe6976888fda696771cd15f78dbbdd71ee6c1216#fe6976888fda696771cd15f78dbbdd71ee6c1216"
+source = "git+https://github.com/opentensor/frontier?rev=c591df98c524e1599c45f93cf4685248088ac014#c591df98c524e1599c45f93cf4685248088ac014"
dependencies = [
"cumulus-primitives-storage-weight-reclaim",
"environmental",
@@ -7483,7 +7477,7 @@ dependencies = [
[[package]]
name = "pallet-evm-chain-id"
version = "1.0.0-dev"
-source = "git+https://github.com/opentensor/frontier?rev=fe6976888fda696771cd15f78dbbdd71ee6c1216#fe6976888fda696771cd15f78dbbdd71ee6c1216"
+source = "git+https://github.com/opentensor/frontier?rev=c591df98c524e1599c45f93cf4685248088ac014#c591df98c524e1599c45f93cf4685248088ac014"
dependencies = [
"frame-support",
"frame-system",
@@ -7494,7 +7488,7 @@ dependencies = [
[[package]]
name = "pallet-evm-precompile-bn128"
version = "2.0.0-dev"
-source = "git+https://github.com/opentensor/frontier?rev=fe6976888fda696771cd15f78dbbdd71ee6c1216#fe6976888fda696771cd15f78dbbdd71ee6c1216"
+source = "git+https://github.com/opentensor/frontier?rev=c591df98c524e1599c45f93cf4685248088ac014#c591df98c524e1599c45f93cf4685248088ac014"
dependencies = [
"fp-evm",
"sp-core",
@@ -7504,7 +7498,7 @@ dependencies = [
[[package]]
name = "pallet-evm-precompile-dispatch"
version = "2.0.0-dev"
-source = "git+https://github.com/opentensor/frontier?rev=fe6976888fda696771cd15f78dbbdd71ee6c1216#fe6976888fda696771cd15f78dbbdd71ee6c1216"
+source = "git+https://github.com/opentensor/frontier?rev=c591df98c524e1599c45f93cf4685248088ac014#c591df98c524e1599c45f93cf4685248088ac014"
dependencies = [
"fp-evm",
"frame-support",
@@ -7516,7 +7510,7 @@ dependencies = [
[[package]]
name = "pallet-evm-precompile-modexp"
version = "2.0.0-dev"
-source = "git+https://github.com/opentensor/frontier?rev=fe6976888fda696771cd15f78dbbdd71ee6c1216#fe6976888fda696771cd15f78dbbdd71ee6c1216"
+source = "git+https://github.com/opentensor/frontier?rev=c591df98c524e1599c45f93cf4685248088ac014#c591df98c524e1599c45f93cf4685248088ac014"
dependencies = [
"fp-evm",
"num",
@@ -7525,7 +7519,7 @@ dependencies = [
[[package]]
name = "pallet-evm-precompile-sha3fips"
version = "2.0.0-dev"
-source = "git+https://github.com/opentensor/frontier?rev=fe6976888fda696771cd15f78dbbdd71ee6c1216#fe6976888fda696771cd15f78dbbdd71ee6c1216"
+source = "git+https://github.com/opentensor/frontier?rev=c591df98c524e1599c45f93cf4685248088ac014#c591df98c524e1599c45f93cf4685248088ac014"
dependencies = [
"fp-evm",
"tiny-keccak",
@@ -7534,7 +7528,7 @@ dependencies = [
[[package]]
name = "pallet-evm-precompile-simple"
version = "2.0.0-dev"
-source = "git+https://github.com/opentensor/frontier?rev=fe6976888fda696771cd15f78dbbdd71ee6c1216#fe6976888fda696771cd15f78dbbdd71ee6c1216"
+source = "git+https://github.com/opentensor/frontier?rev=c591df98c524e1599c45f93cf4685248088ac014#c591df98c524e1599c45f93cf4685248088ac014"
dependencies = [
"fp-evm",
"ripemd",
@@ -7543,8 +7537,8 @@ dependencies = [
[[package]]
name = "pallet-grandpa"
-version = "39.1.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "40.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7566,7 +7560,7 @@ dependencies = [
[[package]]
name = "pallet-hotfix-sufficients"
version = "1.0.0"
-source = "git+https://github.com/opentensor/frontier?rev=fe6976888fda696771cd15f78dbbdd71ee6c1216#fe6976888fda696771cd15f78dbbdd71ee6c1216"
+source = "git+https://github.com/opentensor/frontier?rev=c591df98c524e1599c45f93cf4685248088ac014#c591df98c524e1599c45f93cf4685248088ac014"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7580,21 +7574,19 @@ dependencies = [
[[package]]
name = "pallet-insecure-randomness-collective-flip"
-version = "27.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "28.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
- "frame-support",
- "frame-system",
"parity-scale-codec",
+ "polkadot-sdk-frame",
"safe-mix",
"scale-info",
- "sp-runtime",
]
[[package]]
name = "pallet-membership"
-version = "39.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "40.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7609,8 +7601,8 @@ dependencies = [
[[package]]
name = "pallet-multisig"
-version = "39.1.1"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "40.1.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"log",
"parity-scale-codec",
@@ -7620,8 +7612,8 @@ dependencies = [
[[package]]
name = "pallet-preimage"
-version = "39.1.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "40.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7653,8 +7645,8 @@ dependencies = [
[[package]]
name = "pallet-proxy"
-version = "39.1.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "40.1.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"parity-scale-codec",
"polkadot-sdk-frame",
@@ -7674,14 +7666,14 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
"subtensor-macros",
]
[[package]]
name = "pallet-root-testing"
-version = "15.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "16.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"frame-support",
"frame-system",
@@ -7694,16 +7686,16 @@ dependencies = [
[[package]]
name = "pallet-safe-mode"
-version = "20.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "21.1.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"docify",
"frame-benchmarking",
"frame-support",
"frame-system",
"pallet-balances",
- "pallet-proxy 39.1.0",
- "pallet-utility 39.1.0",
+ "pallet-proxy 40.1.0",
+ "pallet-utility 40.0.0",
"parity-scale-codec",
"scale-info",
"sp-arithmetic",
@@ -7712,8 +7704,8 @@ dependencies = [
[[package]]
name = "pallet-scheduler"
-version = "40.2.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "41.2.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"docify",
"frame-benchmarking",
@@ -7729,8 +7721,8 @@ dependencies = [
[[package]]
name = "pallet-session"
-version = "39.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "40.0.1"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"frame-support",
"frame-system",
@@ -7753,7 +7745,7 @@ name = "pallet-subtensor"
version = "4.0.0-dev"
dependencies = [
"approx",
- "ark-bls12-381",
+ "ark-bls12-381 0.4.0",
"ark-serialize 0.4.2",
"frame-benchmarking",
"frame-support",
@@ -7791,8 +7783,8 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
- "sp-tracing 17.0.1",
+ "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
+ "sp-tracing 17.1.0",
"sp-version",
"substrate-fixed",
"subtensor-macros",
@@ -7821,8 +7813,8 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
- "sp-tracing 17.0.1",
+ "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
+ "sp-tracing 17.1.0",
"substrate-fixed",
"subtensor-macros",
"subtensor-runtime-common",
@@ -7833,7 +7825,7 @@ dependencies = [
name = "pallet-subtensor-swap-rpc"
version = "1.0.0"
dependencies = [
- "jsonrpsee 0.24.9",
+ "jsonrpsee",
"pallet-subtensor-swap-runtime-api",
"parity-scale-codec",
"sp-api",
@@ -7848,13 +7840,13 @@ dependencies = [
"parity-scale-codec",
"scale-info",
"sp-api",
- "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
]
[[package]]
name = "pallet-sudo"
-version = "39.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "40.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"docify",
"frame-benchmarking",
@@ -7868,8 +7860,8 @@ dependencies = [
[[package]]
name = "pallet-timestamp"
-version = "38.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "39.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"docify",
"frame-benchmarking",
@@ -7887,8 +7879,8 @@ dependencies = [
[[package]]
name = "pallet-transaction-payment"
-version = "39.1.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "40.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7903,10 +7895,10 @@ dependencies = [
[[package]]
name = "pallet-transaction-payment-rpc"
-version = "42.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "43.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
- "jsonrpsee 0.24.9",
+ "jsonrpsee",
"pallet-transaction-payment-rpc-runtime-api",
"parity-scale-codec",
"sp-api",
@@ -7919,8 +7911,8 @@ dependencies = [
[[package]]
name = "pallet-transaction-payment-rpc-runtime-api"
-version = "39.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "40.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"pallet-transaction-payment",
"parity-scale-codec",
@@ -7950,8 +7942,8 @@ dependencies = [
[[package]]
name = "pallet-utility"
-version = "39.1.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "40.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7969,7 +7961,7 @@ version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4e69bf016dc406eff7d53a7d3f7cf1c2e72c82b9088aac1118591e36dd2cd3e9"
dependencies = [
- "bitcoin_hashes",
+ "bitcoin_hashes 0.13.0",
"rand 0.8.5",
"rand_core 0.6.4",
"serde",
@@ -8110,7 +8102,7 @@ checksum = "bc838d2a56b5b1a6c25f55575dfc605fabb63bb2365f6c2353ef9159aa69e4a5"
dependencies = [
"cfg-if",
"libc",
- "redox_syscall 0.5.13",
+ "redox_syscall 0.5.17",
"smallvec",
"windows-targets 0.52.6",
]
@@ -8145,6 +8137,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2"
dependencies = [
"digest 0.10.7",
+ "hmac 0.12.1",
"password-hash",
]
@@ -8156,11 +8149,12 @@ checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099"
[[package]]
name = "pem"
-version = "1.1.1"
+version = "3.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a8835c273a76a90455d7344889b0964598e3316e2a79ede8e36f16bdcf2228b8"
+checksum = "38af38e8470ac9dee3ce1bae1af9c1671fffc44ddfd8bd1d0a3445bf349a8ef3"
dependencies = [
- "base64 0.13.1",
+ "base64 0.22.1",
+ "serde",
]
[[package]]
@@ -8284,8 +8278,8 @@ checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c"
[[package]]
name = "polkadot-core-primitives"
-version = "16.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "17.1.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -8295,13 +8289,12 @@ dependencies = [
[[package]]
name = "polkadot-node-metrics"
-version = "21.1.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "22.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"bs58",
"futures",
"futures-timer",
- "log",
"parity-scale-codec",
"polkadot-primitives",
"prioritized-metered-channel",
@@ -8309,13 +8302,12 @@ dependencies = [
"sc-service",
"sc-tracing",
"substrate-prometheus-endpoint",
- "tracing-gum",
]
[[package]]
name = "polkadot-node-network-protocol"
-version = "21.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "22.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"async-channel 1.9.0",
"async-trait",
@@ -8339,8 +8331,8 @@ dependencies = [
[[package]]
name = "polkadot-node-primitives"
-version = "17.0.1"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "19.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"bitvec",
"bounded-vec",
@@ -8355,21 +8347,18 @@ dependencies = [
"sp-application-crypto",
"sp-consensus-babe",
"sp-consensus-slots",
- "sp-core",
"sp-keystore",
"sp-maybe-compressed-blob",
- "sp-runtime",
"thiserror 1.0.69",
"zstd 0.12.4",
]
[[package]]
name = "polkadot-node-subsystem-types"
-version = "21.0.1"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "22.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"async-trait",
- "bitvec",
"derive_more 0.99.20",
"fatality",
"futures",
@@ -8394,21 +8383,19 @@ dependencies = [
[[package]]
name = "polkadot-overseer"
-version = "21.1.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "22.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"async-trait",
"futures",
"futures-timer",
"orchestra",
- "parking_lot 0.12.4",
"polkadot-node-metrics",
"polkadot-node-network-protocol",
"polkadot-node-primitives",
"polkadot-node-subsystem-types",
"polkadot-primitives",
"sc-client-api",
- "sp-api",
"sp-core",
"tikv-jemalloc-ctl",
"tracing-gum",
@@ -8416,8 +8403,8 @@ dependencies = [
[[package]]
name = "polkadot-parachain-primitives"
-version = "15.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "16.1.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"bounded-collections",
"derive_more 0.99.20",
@@ -8432,8 +8419,8 @@ dependencies = [
[[package]]
name = "polkadot-primitives"
-version = "17.1.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "18.1.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"bitvec",
"hex-literal",
@@ -8454,14 +8441,23 @@ dependencies = [
"sp-keystore",
"sp-runtime",
"sp-staking",
- "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
"thiserror 1.0.69",
]
+[[package]]
+name = "polkadot-sdk"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "eb819108697967452fa6d8d96ab4c0d48cbaa423b3156499dcb24f1cf95d6775"
+dependencies = [
+ "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
[[package]]
name = "polkadot-sdk-frame"
-version = "0.8.1"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.9.1"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"docify",
"frame-benchmarking",
@@ -8474,6 +8470,7 @@ dependencies = [
"log",
"parity-scale-codec",
"scale-info",
+ "serde",
"sp-api",
"sp-arithmetic",
"sp-block-builder",
@@ -8494,44 +8491,44 @@ dependencies = [
[[package]]
name = "polkadot-statement-table"
-version = "17.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "19.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"parity-scale-codec",
"polkadot-primitives",
- "sp-core",
"tracing-gum",
]
[[package]]
name = "polkavm"
-version = "0.9.3"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8a3693e5efdb2bf74e449cd25fd777a28bd7ed87e41f5d5da75eb31b4de48b94"
+checksum = "dd044ab1d3b11567ab6b98ca71259a992b4034220d5972988a0e96518e5d343d"
dependencies = [
"libc",
"log",
"polkavm-assembler",
- "polkavm-common 0.9.0",
+ "polkavm-common 0.18.0",
"polkavm-linux-raw",
]
[[package]]
name = "polkavm-assembler"
-version = "0.9.0"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1fa96d6d868243acc12de813dd48e756cbadcc8e13964c70d272753266deadc1"
+checksum = "eaad38dc420bfed79e6f731471c973ce5ff5e47ab403e63cf40358fef8a6368f"
dependencies = [
"log",
]
[[package]]
name = "polkavm-common"
-version = "0.9.0"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d9428a5cfcc85c5d7b9fc4b6a18c4b802d0173d768182a51cc7751640f08b92"
+checksum = "31ff33982a807d8567645d4784b9b5d7ab87bcb494f534a57cadd9012688e102"
dependencies = [
"log",
+ "polkavm-assembler",
]
[[package]]
@@ -8542,11 +8539,11 @@ checksum = "49a5794b695626ba70d29e66e3f4f4835767452a6723f3a0bc20884b07088fe8"
[[package]]
name = "polkavm-derive"
-version = "0.9.1"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ae8c4bea6f3e11cd89bb18bcdddac10bd9a24015399bd1c485ad68a985a19606"
+checksum = "c2eb703f3b6404c13228402e98a5eae063fd16b8f58afe334073ec105ee4117e"
dependencies = [
- "polkavm-derive-impl-macro 0.9.0",
+ "polkavm-derive-impl-macro 0.18.0",
]
[[package]]
@@ -8560,11 +8557,11 @@ dependencies = [
[[package]]
name = "polkavm-derive-impl"
-version = "0.9.0"
+version = "0.18.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c4fdfc49717fb9a196e74a5d28e0bc764eb394a2c803eb11133a31ac996c60c"
+checksum = "2f2116a92e6e96220a398930f4c8a6cda1264206f3e2034fc9982bfd93f261f7"
dependencies = [
- "polkavm-common 0.9.0",
+ "polkavm-common 0.18.0",
"proc-macro2",
"quote",
"syn 2.0.104",
@@ -8584,11 +8581,11 @@ dependencies = [
[[package]]
name = "polkavm-derive-impl-macro"
-version = "0.9.0"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429"
+checksum = "48c16669ddc7433e34c1007d31080b80901e3e8e523cb9d4b441c3910cf9294b"
dependencies = [
- "polkavm-derive-impl 0.9.0",
+ "polkavm-derive-impl 0.18.1",
"syn 2.0.104",
]
@@ -8604,38 +8601,38 @@ dependencies = [
[[package]]
name = "polkavm-linker"
-version = "0.9.2"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9c7be503e60cf56c0eb785f90aaba4b583b36bff00e93997d93fef97f9553c39"
+checksum = "e9bfe793b094d9ea5c99b7c43ba46e277b0f8f48f4bbfdbabf8d3ebf701a4bd3"
dependencies = [
- "gimli 0.28.1",
+ "dirs",
+ "gimli 0.31.1",
"hashbrown 0.14.5",
"log",
- "object 0.32.2",
- "polkavm-common 0.9.0",
+ "object 0.36.7",
+ "polkavm-common 0.18.0",
"regalloc2 0.9.3",
"rustc-demangle",
]
[[package]]
name = "polkavm-linux-raw"
-version = "0.9.0"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "26e85d3456948e650dff0cfc85603915847faf893ed1e66b020bb82ef4557120"
+checksum = "23eff02c070c70f31878a3d915e88a914ecf3e153741e2fb572dde28cce20fde"
[[package]]
name = "polling"
-version = "3.8.0"
+version = "3.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b53a684391ad002dd6a596ceb6c74fd004fdce75f4be2e3f615068abbea5fd50"
+checksum = "8ee9b2fa7a4517d2c91ff5bc6c297a427a96749d15f98fcdbb22c05571a4d4b7"
dependencies = [
"cfg-if",
"concurrent-queue",
"hermit-abi 0.5.2",
"pin-project-lite",
"rustix 1.0.8",
- "tracing",
- "windows-sys 0.59.0",
+ "windows-sys 0.60.2",
]
[[package]]
@@ -8694,7 +8691,7 @@ dependencies = [
[[package]]
name = "precompile-utils"
version = "0.1.0"
-source = "git+https://github.com/opentensor/frontier?rev=fe6976888fda696771cd15f78dbbdd71ee6c1216#fe6976888fda696771cd15f78dbbdd71ee6c1216"
+source = "git+https://github.com/opentensor/frontier?rev=c591df98c524e1599c45f93cf4685248088ac014#c591df98c524e1599c45f93cf4685248088ac014"
dependencies = [
"environmental",
"evm",
@@ -8718,31 +8715,17 @@ dependencies = [
[[package]]
name = "precompile-utils-macro"
version = "0.1.0"
-source = "git+https://github.com/opentensor/frontier?rev=fe6976888fda696771cd15f78dbbdd71ee6c1216#fe6976888fda696771cd15f78dbbdd71ee6c1216"
+source = "git+https://github.com/opentensor/frontier?rev=c591df98c524e1599c45f93cf4685248088ac014#c591df98c524e1599c45f93cf4685248088ac014"
dependencies = [
"case",
"num_enum",
"prettyplease",
"proc-macro2",
"quote",
- "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
"syn 2.0.104",
]
-[[package]]
-name = "predicates"
-version = "2.1.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "59230a63c37f3e18569bdb90e4a89cbf5bf8b06fea0b84e65ea10cc4df47addd"
-dependencies = [
- "difflib",
- "float-cmp",
- "itertools 0.10.5",
- "normalize-line-endings",
- "predicates-core",
- "regex",
-]
-
[[package]]
name = "predicates"
version = "3.1.3"
@@ -8771,9 +8754,9 @@ dependencies = [
[[package]]
name = "prettyplease"
-version = "0.2.35"
+version = "0.2.36"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "061c1221631e079b26479d25bbf2275bfe5917ae8419cd7e34f13bfc2aa7539a"
+checksum = "ff24dfcda44452b9816fff4cd4227e1bb73ff5a2f1bc1105aa92fb8565ce44d2"
dependencies = [
"proc-macro2",
"syn 2.0.104",
@@ -8789,7 +8772,6 @@ dependencies = [
"impl-codec 0.6.0",
"impl-rlp 0.3.0",
"impl-serde 0.4.0",
- "scale-info",
"uint 0.9.5",
]
@@ -8868,13 +8850,24 @@ dependencies = [
]
[[package]]
-name = "proc-macro-warning"
-version = "0.4.2"
+name = "proc-macro-error-attr2"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e"
+checksum = "96de42df36bb9bba5542fe9f1a054b8cc87e172759a1868aa05c1f3acc89dfc5"
dependencies = [
"proc-macro2",
"quote",
+]
+
+[[package]]
+name = "proc-macro-error2"
+version = "2.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "11ec05c52be0a07b08061f7dd003e7d7092e0472bc731b4af7bb1ef876109802"
+dependencies = [
+ "proc-macro-error-attr2",
+ "proc-macro2",
+ "quote",
"syn 2.0.104",
]
@@ -8909,11 +8902,11 @@ dependencies = [
"frame-support-procedural-tools 10.0.0",
"itertools 0.10.5",
"macro_magic",
- "proc-macro-warning 1.84.1",
+ "proc-macro-warning",
"proc-macro2",
"quote",
"regex",
- "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
"syn 2.0.104",
]
@@ -8933,9 +8926,9 @@ dependencies = [
[[package]]
name = "prometheus-client"
-version = "0.21.2"
+version = "0.22.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3c99afa9a01501019ac3a14d71d9f94050346f55ca471ce90c799a15c58f61e2"
+checksum = "504ee9ff529add891127c4827eb481bd69dc0ebc72e9a682e187db4caa60c3ca"
dependencies = [
"dtoa",
"itoa",
@@ -8965,7 +8958,7 @@ dependencies = [
"bitflags 2.9.1",
"lazy_static",
"num-traits",
- "rand 0.9.1",
+ "rand 0.9.2",
"rand_chacha 0.9.0",
"rand_xorshift",
"regex-syntax 0.8.5",
@@ -9090,63 +9083,71 @@ dependencies = [
[[package]]
name = "quick-protobuf-codec"
-version = "0.2.0"
+version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8ededb1cd78531627244d51dd0c7139fbe736c7d57af0092a76f0ffb2f56e98"
+checksum = "15a0580ab32b169745d7a39db2ba969226ca16738931be152a3209b409de2474"
dependencies = [
- "asynchronous-codec",
+ "asynchronous-codec 0.7.0",
"bytes",
"quick-protobuf",
"thiserror 1.0.69",
- "unsigned-varint 0.7.2",
+ "unsigned-varint 0.8.0",
]
[[package]]
name = "quinn"
-version = "0.10.2"
+version = "0.11.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8cc2c5017e4b43d5995dcea317bc46c1e09404c0a9664d2908f7f02dfe943d75"
+checksum = "626214629cda6781b6dc1d316ba307189c85ba657213ce642d9c77670f8202c8"
dependencies = [
"bytes",
+ "cfg_aliases 0.2.1",
"futures-io",
"pin-project-lite",
"quinn-proto",
"quinn-udp",
- "rustc-hash 1.1.0",
- "rustls 0.21.12",
- "thiserror 1.0.69",
+ "rustc-hash 2.1.1",
+ "rustls",
+ "socket2 0.5.10",
+ "thiserror 2.0.12",
"tokio",
"tracing",
+ "web-time",
]
[[package]]
name = "quinn-proto"
-version = "0.10.6"
+version = "0.11.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "141bf7dfde2fbc246bfd3fe12f2455aa24b0fbd9af535d8c86c7bd1381ff2b1a"
+checksum = "49df843a9161c85bb8aae55f101bc0bac8bcafd637a620d9122fd7e0b2f7422e"
dependencies = [
"bytes",
- "rand 0.8.5",
- "ring 0.16.20",
- "rustc-hash 1.1.0",
- "rustls 0.21.12",
+ "getrandom 0.3.3",
+ "lru-slab",
+ "rand 0.9.2",
+ "ring 0.17.14",
+ "rustc-hash 2.1.1",
+ "rustls",
+ "rustls-pki-types",
"slab",
- "thiserror 1.0.69",
+ "thiserror 2.0.12",
"tinyvec",
"tracing",
+ "web-time",
]
[[package]]
name = "quinn-udp"
-version = "0.4.1"
+version = "0.5.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "055b4e778e8feb9f93c4e439f71dc2156ef13360b432b799e179a8c4cdf0b1d7"
+checksum = "fcebb1209ee276352ef14ff8732e24cc2b02bbac986cd74a4c81bcb2f9881970"
dependencies = [
- "bytes",
+ "cfg_aliases 0.2.1",
"libc",
+ "once_cell",
"socket2 0.5.10",
"tracing",
- "windows-sys 0.48.0",
+ "windows-sys 0.59.0",
]
[[package]]
@@ -9183,9 +9184,9 @@ dependencies = [
[[package]]
name = "rand"
-version = "0.9.1"
+version = "0.9.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9fbfd9d094a40bf3ae768db9361049ace4c0e04a4fd6b359518bd7b73a73dd97"
+checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1"
dependencies = [
"rand_chacha 0.9.0",
"rand_core 0.9.3",
@@ -9294,9 +9295,9 @@ dependencies = [
[[package]]
name = "rcgen"
-version = "0.10.0"
+version = "0.11.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ffbe84efe2f38dea12e9bfc1f65377fdf03e53a18cb3b995faedf7934c7e785b"
+checksum = "52c4f3084aa3bc7dfbba4eff4fab2a54db4324965d8872ab933565e6fbd83bc6"
dependencies = [
"pem",
"ring 0.16.20",
@@ -9304,22 +9305,6 @@ dependencies = [
"yasna",
]
-[[package]]
-name = "reconnecting-jsonrpsee-ws-client"
-version = "0.4.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "06fa4f17e09edfc3131636082faaec633c7baa269396b4004040bc6c52f49f65"
-dependencies = [
- "cfg_aliases 0.2.1",
- "finito",
- "futures",
- "jsonrpsee 0.23.2",
- "serde_json",
- "thiserror 1.0.69",
- "tokio",
- "tracing",
-]
-
[[package]]
name = "redox_syscall"
version = "0.2.16"
@@ -9331,9 +9316,9 @@ dependencies = [
[[package]]
name = "redox_syscall"
-version = "0.5.13"
+version = "0.5.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0d04b7d0ee6b4a0207a0a7adb104d23ecb0b47d6beae7152d0fa34b692b29fd6"
+checksum = "5407465600fb0548f1442edf71dd20683c6ed326200ace4b1ef0763521bb3b77"
dependencies = [
"bitflags 2.9.1",
]
@@ -9598,7 +9583,7 @@ dependencies = [
"primitive-types 0.12.2",
"proptest",
"rand 0.8.5",
- "rand 0.9.1",
+ "rand 0.9.2",
"rlp 0.5.2",
"ruint-macro",
"serde",
@@ -9614,9 +9599,9 @@ checksum = "48fd7bd8a6377e15ad9d42a8ec25371b94ddc67abe7c8b9127bec79bebaaae18"
[[package]]
name = "rustc-demangle"
-version = "0.1.25"
+version = "0.1.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "989e6739f80c4ad5b13e0fd7fe89531180375b18520cc8c82080e4dc4035b84f"
+checksum = "56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace"
[[package]]
name = "rustc-hash"
@@ -9714,35 +9699,9 @@ dependencies = [
[[package]]
name = "rustls"
-version = "0.21.12"
+version = "0.23.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e"
-dependencies = [
- "log",
- "ring 0.17.14",
- "rustls-webpki 0.101.7",
- "sct",
-]
-
-[[package]]
-name = "rustls"
-version = "0.22.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432"
-dependencies = [
- "log",
- "ring 0.17.14",
- "rustls-pki-types",
- "rustls-webpki 0.102.8",
- "subtle 2.6.1",
- "zeroize",
-]
-
-[[package]]
-name = "rustls"
-version = "0.23.29"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2491382039b29b9b11ff08b76ff6c97cf287671dbb74f0be44bda389fffe9bd1"
+checksum = "c0ebcbd2f03de0fc1122ad9bb24b127a5a6cd51d72604a3f3c50ac459762b6cc"
dependencies = [
"log",
"once_cell",
@@ -9753,31 +9712,6 @@ dependencies = [
"zeroize",
]
-[[package]]
-name = "rustls-native-certs"
-version = "0.6.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00"
-dependencies = [
- "openssl-probe",
- "rustls-pemfile 1.0.4",
- "schannel",
- "security-framework 2.11.1",
-]
-
-[[package]]
-name = "rustls-native-certs"
-version = "0.7.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5bfb394eeed242e909609f56089eecfe5fda225042e8b171791b9c95f5931e5"
-dependencies = [
- "openssl-probe",
- "rustls-pemfile 2.2.0",
- "rustls-pki-types",
- "schannel",
- "security-framework 2.11.1",
-]
-
[[package]]
name = "rustls-native-certs"
version = "0.8.1"
@@ -9790,52 +9724,35 @@ dependencies = [
"security-framework 3.2.0",
]
-[[package]]
-name = "rustls-pemfile"
-version = "1.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c"
-dependencies = [
- "base64 0.21.7",
-]
-
-[[package]]
-name = "rustls-pemfile"
-version = "2.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50"
-dependencies = [
- "rustls-pki-types",
-]
-
[[package]]
name = "rustls-pki-types"
version = "1.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "229a4a4c221013e7e1f1a043678c5cc39fe5171437c88fb47151a21e6f5b5c79"
dependencies = [
+ "web-time",
"zeroize",
]
[[package]]
name = "rustls-platform-verifier"
-version = "0.3.4"
+version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "afbb878bdfdf63a336a5e63561b1835e7a8c91524f51621db870169eac84b490"
+checksum = "19787cda76408ec5404443dc8b31795c87cd8fec49762dc75fa727740d34acc1"
dependencies = [
- "core-foundation 0.9.4",
+ "core-foundation 0.10.1",
"core-foundation-sys",
"jni",
"log",
"once_cell",
- "rustls 0.23.29",
- "rustls-native-certs 0.7.3",
+ "rustls",
+ "rustls-native-certs",
"rustls-platform-verifier-android",
- "rustls-webpki 0.102.8",
- "security-framework 2.11.1",
+ "rustls-webpki 0.103.4",
+ "security-framework 3.2.0",
"security-framework-sys",
- "webpki-roots 0.26.11",
- "winapi",
+ "webpki-root-certs 0.26.11",
+ "windows-sys 0.59.0",
]
[[package]]
@@ -9854,17 +9771,6 @@ dependencies = [
"untrusted 0.9.0",
]
-[[package]]
-name = "rustls-webpki"
-version = "0.102.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9"
-dependencies = [
- "ring 0.17.14",
- "rustls-pki-types",
- "untrusted 0.9.0",
-]
-
[[package]]
name = "rustls-webpki"
version = "0.103.4"
@@ -9896,13 +9802,12 @@ dependencies = [
[[package]]
name = "ruzstd"
-version = "0.5.0"
+version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "58c4eb8a81997cf040a091d1f7e1938aeab6749d3a0dfa73af43cdc32393483d"
+checksum = "5174a470eeb535a721ae9fdd6e291c2411a906b96592182d05217591d5c5cf7b"
dependencies = [
"byteorder",
"derive_more 0.99.20",
- "twox-hash",
]
[[package]]
@@ -9928,7 +9833,7 @@ version = "0.1.0"
dependencies = [
"num-traits",
"sp-arithmetic",
- "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
"substrate-fixed",
]
@@ -9950,6 +9855,15 @@ dependencies = [
"bytemuck",
]
+[[package]]
+name = "salsa20"
+version = "0.10.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "97a22f5af31f73a954c10289c93e8a50cc23d971e80ee446f1f6f7137a088213"
+dependencies = [
+ "cipher 0.4.4",
+]
+
[[package]]
name = "same-file"
version = "1.0.6"
@@ -9961,8 +9875,8 @@ dependencies = [
[[package]]
name = "sc-allocator"
-version = "30.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "31.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"log",
"sp-core",
@@ -9972,17 +9886,15 @@ dependencies = [
[[package]]
name = "sc-authority-discovery"
-version = "0.48.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.49.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"async-trait",
"futures",
"futures-timer",
"ip_network",
- "libp2p",
"linked_hash_set",
"log",
- "multihash 0.19.3",
"parity-scale-codec",
"prost 0.12.6",
"prost-build",
@@ -10002,11 +9914,10 @@ dependencies = [
[[package]]
name = "sc-basic-authorship"
-version = "0.48.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.49.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"futures",
- "futures-timer",
"log",
"parity-scale-codec",
"sc-block-builder",
@@ -10024,8 +9935,8 @@ dependencies = [
[[package]]
name = "sc-block-builder"
-version = "0.43.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.44.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"parity-scale-codec",
"sp-api",
@@ -10039,12 +9950,11 @@ dependencies = [
[[package]]
name = "sc-chain-spec"
-version = "41.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "42.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"array-bytes",
"docify",
- "log",
"memmap2 0.9.7",
"parity-scale-codec",
"sc-chain-spec-derive",
@@ -10056,18 +9966,18 @@ dependencies = [
"serde_json",
"sp-blockchain",
"sp-core",
- "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
"sp-genesis-builder",
"sp-io",
"sp-runtime",
"sp-state-machine",
- "sp-tracing 17.0.1",
+ "sp-tracing 17.1.0",
]
[[package]]
name = "sc-chain-spec-derive"
version = "12.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"proc-macro-crate 3.3.0",
"proc-macro2",
@@ -10077,8 +9987,8 @@ dependencies = [
[[package]]
name = "sc-cli"
-version = "0.50.1"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.51.1"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"array-bytes",
"chrono",
@@ -10119,8 +10029,8 @@ dependencies = [
[[package]]
name = "sc-client-api"
-version = "38.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "39.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"fnv",
"futures",
@@ -10138,7 +10048,6 @@ dependencies = [
"sp-externalities 0.30.0",
"sp-runtime",
"sp-state-machine",
- "sp-statement-store",
"sp-storage 22.0.0",
"sp-trie",
"substrate-prometheus-endpoint",
@@ -10146,8 +10055,8 @@ dependencies = [
[[package]]
name = "sc-client-db"
-version = "0.45.1"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.46.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"hash-db",
"kvdb",
@@ -10172,19 +10081,18 @@ dependencies = [
[[package]]
name = "sc-consensus"
-version = "0.47.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.48.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"async-trait",
"futures",
"log",
- "mockall 0.11.4",
+ "mockall",
"parking_lot 0.12.4",
"sc-client-api",
"sc-network-types",
"sc-utils",
"serde",
- "sp-api",
"sp-blockchain",
"sp-consensus",
"sp-core",
@@ -10196,8 +10104,8 @@ dependencies = [
[[package]]
name = "sc-consensus-aura"
-version = "0.48.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.49.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"async-trait",
"futures",
@@ -10225,8 +10133,8 @@ dependencies = [
[[package]]
name = "sc-consensus-babe"
-version = "0.48.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.49.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"async-trait",
"fork-tree",
@@ -10251,7 +10159,7 @@ dependencies = [
"sp-consensus-babe",
"sp-consensus-slots",
"sp-core",
- "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
"sp-inherents",
"sp-keystore",
"sp-runtime",
@@ -10261,8 +10169,8 @@ dependencies = [
[[package]]
name = "sc-consensus-epochs"
-version = "0.47.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.48.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"fork-tree",
"parity-scale-codec",
@@ -10275,7 +10183,7 @@ dependencies = [
[[package]]
name = "sc-consensus-grandpa"
version = "0.33.0"
-source = "git+https://github.com/opentensor/grandpa.git?rev=b3ba2f67d510559edfb4963523de86ed89439d74#b3ba2f67d510559edfb4963523de86ed89439d74"
+source = "git+https://github.com/opentensor/grandpa.git?rev=67ff75e915bd44586b8f8443e457b5b101920da8#67ff75e915bd44586b8f8443e457b5b101920da8"
dependencies = [
"ahash 0.8.12",
"array-bytes",
@@ -10309,7 +10217,7 @@ dependencies = [
"sp-consensus",
"sp-consensus-grandpa",
"sp-core",
- "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
"sp-keystore",
"sp-runtime",
"substrate-prometheus-endpoint",
@@ -10318,12 +10226,12 @@ dependencies = [
[[package]]
name = "sc-consensus-grandpa-rpc"
-version = "0.33.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.34.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"finality-grandpa",
"futures",
- "jsonrpsee 0.24.9",
+ "jsonrpsee",
"log",
"parity-scale-codec",
"sc-client-api",
@@ -10338,14 +10246,14 @@ dependencies = [
[[package]]
name = "sc-consensus-manual-seal"
-version = "0.49.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.50.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"assert_matches",
"async-trait",
"futures",
"futures-timer",
- "jsonrpsee 0.24.9",
+ "jsonrpsee",
"log",
"parity-scale-codec",
"sc-client-api",
@@ -10373,8 +10281,8 @@ dependencies = [
[[package]]
name = "sc-consensus-slots"
-version = "0.47.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.48.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"async-trait",
"futures",
@@ -10396,8 +10304,8 @@ dependencies = [
[[package]]
name = "sc-executor"
-version = "0.41.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.42.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"parity-scale-codec",
"parking_lot 0.12.4",
@@ -10410,7 +10318,7 @@ dependencies = [
"sp-externalities 0.30.0",
"sp-io",
"sp-panic-handler",
- "sp-runtime-interface 29.0.0",
+ "sp-runtime-interface 29.0.1",
"sp-trie",
"sp-version",
"sp-wasm-interface 21.0.1",
@@ -10419,8 +10327,8 @@ dependencies = [
[[package]]
name = "sc-executor-common"
-version = "0.36.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.38.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"polkavm",
"sc-allocator",
@@ -10432,8 +10340,8 @@ dependencies = [
[[package]]
name = "sc-executor-polkavm"
-version = "0.33.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.35.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"log",
"polkavm",
@@ -10443,26 +10351,24 @@ dependencies = [
[[package]]
name = "sc-executor-wasmtime"
-version = "0.36.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.38.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"anyhow",
- "cfg-if",
- "libc",
"log",
"parking_lot 0.12.4",
"rustix 0.36.17",
"sc-allocator",
"sc-executor-common",
- "sp-runtime-interface 29.0.0",
+ "sp-runtime-interface 29.0.1",
"sp-wasm-interface 21.0.1",
"wasmtime",
]
[[package]]
name = "sc-informant"
-version = "0.47.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.48.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"console",
"futures",
@@ -10470,7 +10376,6 @@ dependencies = [
"log",
"sc-client-api",
"sc-network",
- "sc-network-common",
"sc-network-sync",
"sp-blockchain",
"sp-runtime",
@@ -10478,8 +10383,8 @@ dependencies = [
[[package]]
name = "sc-keystore"
-version = "34.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "35.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"array-bytes",
"parking_lot 0.12.4",
@@ -10492,8 +10397,8 @@ dependencies = [
[[package]]
name = "sc-mixnet"
-version = "0.18.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.19.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"array-bytes",
"arrayvec 0.7.6",
@@ -10503,7 +10408,6 @@ dependencies = [
"futures-timer",
"log",
"mixnet",
- "multiaddr 0.18.2",
"parity-scale-codec",
"parking_lot 0.12.4",
"sc-client-api",
@@ -10521,13 +10425,13 @@ dependencies = [
[[package]]
name = "sc-network"
-version = "0.48.4"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.49.2"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"array-bytes",
"async-channel 1.9.0",
"async-trait",
- "asynchronous-codec",
+ "asynchronous-codec 0.6.2",
"bytes",
"cid 0.9.0",
"either",
@@ -10539,8 +10443,7 @@ dependencies = [
"linked_hash_set",
"litep2p",
"log",
- "mockall 0.11.4",
- "once_cell",
+ "mockall",
"parity-scale-codec",
"parking_lot 0.12.4",
"partial_sort",
@@ -10572,26 +10475,18 @@ dependencies = [
[[package]]
name = "sc-network-common"
-version = "0.47.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.48.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
- "async-trait",
"bitflags 1.3.2",
- "futures",
- "libp2p-identity",
"parity-scale-codec",
- "prost-build",
- "sc-consensus",
- "sc-network-types",
- "sp-consensus",
- "sp-consensus-grandpa",
"sp-runtime",
]
[[package]]
name = "sc-network-gossip"
-version = "0.48.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.49.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"ahash 0.8.12",
"futures",
@@ -10609,8 +10504,8 @@ dependencies = [
[[package]]
name = "sc-network-light"
-version = "0.47.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.48.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"array-bytes",
"async-channel 1.9.0",
@@ -10630,17 +10525,16 @@ dependencies = [
[[package]]
name = "sc-network-sync"
-version = "0.47.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.48.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"array-bytes",
"async-channel 1.9.0",
"async-trait",
"fork-tree",
"futures",
- "futures-timer",
"log",
- "mockall 0.11.4",
+ "mockall",
"parity-scale-codec",
"prost 0.12.6",
"prost-build",
@@ -10666,8 +10560,8 @@ dependencies = [
[[package]]
name = "sc-network-transactions"
-version = "0.47.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.48.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"array-bytes",
"futures",
@@ -10685,12 +10579,14 @@ dependencies = [
[[package]]
name = "sc-network-types"
-version = "0.15.2"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.15.4"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"bs58",
+ "bytes",
"ed25519-dalek",
"libp2p-identity",
+ "libp2p-kad",
"litep2p",
"log",
"multiaddr 0.18.2",
@@ -10702,28 +10598,25 @@ dependencies = [
[[package]]
name = "sc-offchain"
-version = "43.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "44.0.1"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
- "array-bytes",
"bytes",
"fnv",
"futures",
"futures-timer",
"http-body-util",
"hyper 1.6.0",
- "hyper-rustls 0.27.7",
+ "hyper-rustls",
"hyper-util",
- "log",
"num_cpus",
"once_cell",
"parity-scale-codec",
"parking_lot 0.12.4",
"rand 0.8.5",
- "rustls 0.23.29",
+ "rustls",
"sc-client-api",
"sc-network",
- "sc-network-common",
"sc-network-types",
"sc-transaction-pool-api",
"sc-utils",
@@ -10739,8 +10632,8 @@ dependencies = [
[[package]]
name = "sc-proposer-metrics"
-version = "0.18.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.20.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"log",
"substrate-prometheus-endpoint",
@@ -10748,11 +10641,11 @@ dependencies = [
[[package]]
name = "sc-rpc"
-version = "43.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "44.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"futures",
- "jsonrpsee 0.24.9",
+ "jsonrpsee",
"log",
"parity-scale-codec",
"parking_lot 0.12.4",
@@ -10780,10 +10673,10 @@ dependencies = [
[[package]]
name = "sc-rpc-api"
-version = "0.47.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.48.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
- "jsonrpsee 0.24.9",
+ "jsonrpsee",
"parity-scale-codec",
"sc-chain-spec",
"sc-mixnet",
@@ -10800,8 +10693,8 @@ dependencies = [
[[package]]
name = "sc-rpc-server"
-version = "20.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "21.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"dyn-clone",
"forwarded-header-value",
@@ -10811,7 +10704,7 @@ dependencies = [
"http-body-util",
"hyper 1.6.0",
"ip_network",
- "jsonrpsee 0.24.9",
+ "jsonrpsee",
"log",
"sc-rpc-api",
"serde",
@@ -10824,15 +10717,15 @@ dependencies = [
[[package]]
name = "sc-rpc-spec-v2"
-version = "0.48.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.49.1"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"array-bytes",
"futures",
"futures-util",
"hex",
"itertools 0.11.0",
- "jsonrpsee 0.24.9",
+ "jsonrpsee",
"log",
"parity-scale-codec",
"parking_lot 0.12.4",
@@ -10854,17 +10747,32 @@ dependencies = [
"tokio-stream",
]
+[[package]]
+name = "sc-runtime-utilities"
+version = "0.2.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
+dependencies = [
+ "parity-scale-codec",
+ "sc-executor",
+ "sc-executor-common",
+ "sp-core",
+ "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
+ "sp-state-machine",
+ "sp-wasm-interface 21.0.1",
+ "thiserror 1.0.69",
+]
+
[[package]]
name = "sc-service"
-version = "0.49.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.50.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"async-trait",
"directories",
"exit-future",
"futures",
"futures-timer",
- "jsonrpsee 0.24.9",
+ "jsonrpsee",
"log",
"parity-scale-codec",
"parking_lot 0.12.4",
@@ -10920,8 +10828,8 @@ dependencies = [
[[package]]
name = "sc-state-db"
-version = "0.37.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.38.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"log",
"parity-scale-codec",
@@ -10931,8 +10839,8 @@ dependencies = [
[[package]]
name = "sc-sysinfo"
-version = "41.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "42.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"derive_more 0.99.20",
"futures",
@@ -10945,15 +10853,14 @@ dependencies = [
"serde",
"serde_json",
"sp-core",
- "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
"sp-io",
- "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
]
[[package]]
name = "sc-telemetry"
-version = "28.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "28.1.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"chrono",
"futures",
@@ -10962,7 +10869,6 @@ dependencies = [
"parking_lot 0.12.4",
"pin-project",
"rand 0.8.5",
- "sc-network",
"sc-utils",
"serde",
"serde_json",
@@ -10972,8 +10878,8 @@ dependencies = [
[[package]]
name = "sc-tracing"
-version = "38.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "39.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"chrono",
"console",
@@ -10991,7 +10897,7 @@ dependencies = [
"sp-core",
"sp-rpc",
"sp-runtime",
- "sp-tracing 17.0.1",
+ "sp-tracing 17.1.0",
"thiserror 1.0.69",
"tracing",
"tracing-log",
@@ -11000,8 +10906,8 @@ dependencies = [
[[package]]
name = "sc-tracing-proc-macro"
-version = "11.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "11.1.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"proc-macro-crate 3.3.0",
"proc-macro2",
@@ -11011,8 +10917,8 @@ dependencies = [
[[package]]
name = "sc-transaction-pool"
-version = "38.1.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "39.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"async-trait",
"futures",
@@ -11030,23 +10936,25 @@ dependencies = [
"sp-api",
"sp-blockchain",
"sp-core",
- "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
"sp-runtime",
- "sp-tracing 17.0.1",
+ "sp-tracing 17.1.0",
"sp-transaction-pool",
"substrate-prometheus-endpoint",
"thiserror 1.0.69",
"tokio",
"tokio-stream",
+ "tracing",
]
[[package]]
name = "sc-transaction-pool-api"
-version = "38.1.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "39.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"async-trait",
"futures",
+ "indexmap 2.10.0",
"log",
"parity-scale-codec",
"serde",
@@ -11058,8 +10966,8 @@ dependencies = [
[[package]]
name = "sc-utils"
-version = "18.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "18.0.1"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"async-channel 1.9.0",
"futures",
@@ -11090,7 +10998,20 @@ checksum = "e98f3262c250d90e700bb802eb704e1f841e03331c2eb815e46516c4edbf5b27"
dependencies = [
"derive_more 0.99.20",
"parity-scale-codec",
- "primitive-types 0.12.2",
+ "scale-bits",
+ "scale-type-resolver",
+ "smallvec",
+]
+
+[[package]]
+name = "scale-decode"
+version = "0.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f8ae9cc099ae85ff28820210732b00f019546f36f33225f509fe25d5816864a0"
+dependencies = [
+ "derive_more 1.0.0",
+ "parity-scale-codec",
+ "primitive-types 0.13.1",
"scale-bits",
"scale-decode-derive",
"scale-type-resolver",
@@ -11099,25 +11020,25 @@ dependencies = [
[[package]]
name = "scale-decode-derive"
-version = "0.13.1"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9bb22f574168103cdd3133b19281639ca65ad985e24612728f727339dcaf4021"
+checksum = "5ed9401effa946b493f9f84dc03714cca98119b230497df6f3df6b84a2b03648"
dependencies = [
- "darling 0.14.4",
+ "darling",
"proc-macro2",
"quote",
- "syn 1.0.109",
+ "syn 2.0.104",
]
[[package]]
name = "scale-encode"
-version = "0.7.2"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "528464e6ae6c8f98e2b79633bf79ef939552e795e316579dab09c61670d56602"
+checksum = "5f9271284d05d0749c40771c46180ce89905fd95aa72a2a2fddb4b7c0aa424db"
dependencies = [
- "derive_more 0.99.20",
+ "derive_more 1.0.0",
"parity-scale-codec",
- "primitive-types 0.12.2",
+ "primitive-types 0.13.1",
"scale-bits",
"scale-encode-derive",
"scale-type-resolver",
@@ -11126,11 +11047,11 @@ dependencies = [
[[package]]
name = "scale-encode-derive"
-version = "0.7.2"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bef2618f123c88da9cd8853b69d766068f1eddc7692146d7dfe9b89e25ce2efd"
+checksum = "102fbc6236de6c53906c0b262f12c7aa69c2bdc604862c12728f5f4d370bc137"
dependencies = [
- "darling 0.20.11",
+ "darling",
"proc-macro-crate 3.3.0",
"proc-macro2",
"quote",
@@ -11175,9 +11096,9 @@ dependencies = [
[[package]]
name = "scale-typegen"
-version = "0.8.0"
+version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "498d1aecf2ea61325d4511787c115791639c0fd21ef4f8e11e49dd09eff2bbac"
+checksum = "0dc4c70c7fea2eef1740f0081d3fe385d8bee1eef11e9272d3bec7dc8e5438e0"
dependencies = [
"proc-macro2",
"quote",
@@ -11188,18 +11109,17 @@ dependencies = [
[[package]]
name = "scale-value"
-version = "0.16.3"
+version = "0.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8cd6ab090d823e75cfdb258aad5fe92e13f2af7d04b43a55d607d25fcc38c811"
+checksum = "f5e0ef2a0ee1e02a69ada37feb87ea1616ce9808aca072befe2d3131bf28576e"
dependencies = [
"base58",
"blake2 0.10.6",
- "derive_more 0.99.20",
+ "derive_more 1.0.0",
"either",
- "frame-metadata 15.1.0",
"parity-scale-codec",
"scale-bits",
- "scale-decode",
+ "scale-decode 0.14.0",
"scale-encode",
"scale-info",
"scale-type-resolver",
@@ -11216,6 +11136,30 @@ dependencies = [
"windows-sys 0.59.0",
]
+[[package]]
+name = "schemars"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4cd191f9397d57d581cddd31014772520aa448f65ef991055d7f61582c65165f"
+dependencies = [
+ "dyn-clone",
+ "ref-cast",
+ "serde",
+ "serde_json",
+]
+
+[[package]]
+name = "schemars"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "82d20c4491bc164fa2f6c5d44565947a52ad80b9505d8e36f8d54c27c739fcd0"
+dependencies = [
+ "dyn-clone",
+ "ref-cast",
+ "serde",
+ "serde_json",
+]
+
[[package]]
name = "schnellru"
version = "0.2.4"
@@ -11265,13 +11209,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9f6280af86e5f559536da57a45ebc84948833b3bee313a7dd25232e09c878a52"
[[package]]
-name = "sct"
-version = "0.7.1"
+name = "scrypt"
+version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414"
+checksum = "0516a385866c09368f0b5bcd1caff3366aace790fcd46e2bb032697bb172fd1f"
dependencies = [
- "ring 0.17.14",
- "untrusted 0.9.0",
+ "password-hash",
+ "pbkdf2",
+ "salsa20",
+ "sha2 0.10.9",
]
[[package]]
@@ -11307,6 +11253,17 @@ dependencies = [
"secp256k1-sys 0.9.2",
]
+[[package]]
+name = "secp256k1"
+version = "0.30.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b50c5943d326858130af85e049f2661ba3c78b26589b8ab98e65e80ae44a1252"
+dependencies = [
+ "bitcoin_hashes 0.14.0",
+ "rand 0.8.5",
+ "secp256k1-sys 0.10.1",
+]
+
[[package]]
name = "secp256k1-sys"
version = "0.8.2"
@@ -11325,6 +11282,15 @@ dependencies = [
"cc",
]
+[[package]]
+name = "secp256k1-sys"
+version = "0.10.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d4387882333d3aa8cb20530a17c69a3752e97837832f34f6dccc760e715001d9"
+dependencies = [
+ "cc",
+]
+
[[package]]
name = "secrecy"
version = "0.8.0"
@@ -11334,6 +11300,15 @@ dependencies = [
"zeroize",
]
+[[package]]
+name = "secrecy"
+version = "0.10.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e891af845473308773346dc847b2c23ee78fe442e0472ac50e22a18a93d3ae5a"
+dependencies = [
+ "zeroize",
+]
+
[[package]]
name = "security-framework"
version = "2.11.1"
@@ -11344,7 +11319,6 @@ dependencies = [
"core-foundation 0.9.4",
"core-foundation-sys",
"libc",
- "num-bigint",
"security-framework-sys",
]
@@ -11422,12 +11396,6 @@ dependencies = [
"pest",
]
-[[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.219"
@@ -11478,9 +11446,9 @@ dependencies = [
[[package]]
name = "serde_json"
-version = "1.0.140"
+version = "1.0.141"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373"
+checksum = "30b9eff21ebe718216c6ec64e1d9ac57087aad11efc64e32002bce4a0d4c03d3"
dependencies = [
"itoa",
"memchr",
@@ -11511,15 +11479,19 @@ dependencies = [
[[package]]
name = "serde_with"
-version = "2.0.0"
+version = "3.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "89df7a26519371a3cce44fbb914c2819c84d9b897890987fa3ab096491cc0ea8"
+checksum = "f2c45cd61fefa9db6f254525d46e392b852e0e61d9a1fd36e5bd183450a556d5"
dependencies = [
- "base64 0.13.1",
+ "base64 0.22.1",
"chrono",
"hex",
"indexmap 1.9.3",
+ "indexmap 2.10.0",
+ "schemars 0.9.0",
+ "schemars 1.0.4",
"serde",
+ "serde_derive",
"serde_json",
"serde_with_macros",
"time",
@@ -11527,11 +11499,11 @@ dependencies = [
[[package]]
name = "serde_with_macros"
-version = "2.3.3"
+version = "3.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "881b6f881b17d13214e5d494c939ebab463d01264ce1811e9d4ac3a882e7695f"
+checksum = "de90945e6565ce0d9a25098082ed4ee4002e047cb59892c318d66821e14bb30f"
dependencies = [
- "darling 0.20.11",
+ "darling",
"proc-macro2",
"quote",
"syn 2.0.104",
@@ -11547,19 +11519,6 @@ dependencies = [
"serde",
]
-[[package]]
-name = "sha-1"
-version = "0.9.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6"
-dependencies = [
- "block-buffer 0.9.0",
- "cfg-if",
- "cpufeatures",
- "digest 0.9.0",
- "opaque-debug 0.3.1",
-]
-
[[package]]
name = "sha1"
version = "0.10.6"
@@ -11629,7 +11588,7 @@ name = "share-pool"
version = "0.1.0"
dependencies = [
"safe-math",
- "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
"substrate-fixed",
]
@@ -11735,14 +11694,14 @@ dependencies = [
[[package]]
name = "smoldot"
-version = "0.16.0"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e6d1eaa97d77be4d026a1e7ffad1bb3b78448763b357ea6f8188d3e6f736a9b9"
+checksum = "966e72d77a3b2171bb7461d0cb91f43670c63558c62d7cf42809cae6c8b6b818"
dependencies = [
"arrayvec 0.7.6",
"async-lock",
"atomic-take",
- "base64 0.21.7",
+ "base64 0.22.1",
"bip39",
"blake2-rfc",
"bs58",
@@ -11751,18 +11710,17 @@ dependencies = [
"derive_more 0.99.20",
"ed25519-zebra",
"either",
- "event-listener 4.0.3",
+ "event-listener 5.4.0",
"fnv",
"futures-lite",
"futures-util",
"hashbrown 0.14.5",
"hex",
"hmac 0.12.1",
- "itertools 0.12.1",
+ "itertools 0.13.0",
"libm",
"libsecp256k1",
"merlin",
- "no-std-net",
"nom",
"num-bigint",
"num-rational",
@@ -11781,7 +11739,7 @@ dependencies = [
"siphasher 1.0.1",
"slab",
"smallvec",
- "soketto 0.7.1",
+ "soketto",
"twox-hash",
"wasmi",
"x25519-dalek",
@@ -11790,27 +11748,27 @@ dependencies = [
[[package]]
name = "smoldot-light"
-version = "0.14.0"
+version = "0.16.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5496f2d116b7019a526b1039ec2247dd172b8670633b1a64a614c9ea12c9d8c7"
+checksum = "2a33b06891f687909632ce6a4e3fd7677b24df930365af3d0bcb078310129f3f"
dependencies = [
"async-channel 2.5.0",
"async-lock",
- "base64 0.21.7",
+ "base64 0.22.1",
"blake2-rfc",
+ "bs58",
"derive_more 0.99.20",
"either",
- "event-listener 4.0.3",
+ "event-listener 5.4.0",
"fnv",
"futures-channel",
"futures-lite",
"futures-util",
"hashbrown 0.14.5",
"hex",
- "itertools 0.12.1",
+ "itertools 0.13.0",
"log",
"lru 0.12.5",
- "no-std-net",
"parking_lot 0.12.4",
"pin-project",
"rand 0.8.5",
@@ -11847,16 +11805,6 @@ dependencies = [
"subtle 2.6.1",
]
-[[package]]
-name = "socket2"
-version = "0.4.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d"
-dependencies = [
- "libc",
- "winapi",
-]
-
[[package]]
name = "socket2"
version = "0.5.10"
@@ -11868,18 +11816,13 @@ dependencies = [
]
[[package]]
-name = "soketto"
-version = "0.7.1"
+name = "socket2"
+version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "41d1c5305e39e09653383c2c7244f2f78b3bcae37cf50c64cb4789c9f5096ec2"
+checksum = "233504af464074f9d066d7b5416c5f9b894a5862a6506e306f7b816cdd6f1807"
dependencies = [
- "base64 0.13.1",
- "bytes",
- "futures",
- "httparse",
- "log",
- "rand 0.8.5",
- "sha-1",
+ "libc",
+ "windows-sys 0.59.0",
]
[[package]]
@@ -11900,8 +11843,8 @@ dependencies = [
[[package]]
name = "sp-api"
-version = "35.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "36.0.1"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"docify",
"hash-db",
@@ -11913,7 +11856,7 @@ dependencies = [
"sp-externalities 0.30.0",
"sp-metadata-ir",
"sp-runtime",
- "sp-runtime-interface 29.0.0",
+ "sp-runtime-interface 29.0.1",
"sp-state-machine",
"sp-trie",
"sp-version",
@@ -11922,8 +11865,8 @@ dependencies = [
[[package]]
name = "sp-api-proc-macro"
-version = "21.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "22.0.1"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"Inflector",
"blake2 0.10.6",
@@ -11936,8 +11879,8 @@ dependencies = [
[[package]]
name = "sp-application-crypto"
-version = "39.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "40.1.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -11948,8 +11891,8 @@ dependencies = [
[[package]]
name = "sp-arithmetic"
-version = "26.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "26.1.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"docify",
"integer-sqrt",
@@ -11971,8 +11914,8 @@ dependencies = [
[[package]]
name = "sp-authority-discovery"
-version = "35.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "36.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -11983,8 +11926,8 @@ dependencies = [
[[package]]
name = "sp-block-builder"
-version = "35.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "36.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"sp-api",
"sp-inherents",
@@ -11993,8 +11936,8 @@ dependencies = [
[[package]]
name = "sp-blockchain"
-version = "38.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "39.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"futures",
"parity-scale-codec",
@@ -12012,13 +11955,12 @@ dependencies = [
[[package]]
name = "sp-consensus"
-version = "0.41.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.42.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"async-trait",
"futures",
"log",
- "sp-core",
"sp-inherents",
"sp-runtime",
"sp-state-machine",
@@ -12027,8 +11969,8 @@ dependencies = [
[[package]]
name = "sp-consensus-aura"
-version = "0.41.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.42.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"async-trait",
"parity-scale-codec",
@@ -12043,8 +11985,8 @@ dependencies = [
[[package]]
name = "sp-consensus-babe"
-version = "0.41.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.42.1"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"async-trait",
"parity-scale-codec",
@@ -12061,8 +12003,8 @@ dependencies = [
[[package]]
name = "sp-consensus-grandpa"
-version = "22.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "23.1.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"finality-grandpa",
"log",
@@ -12078,8 +12020,8 @@ dependencies = [
[[package]]
name = "sp-consensus-slots"
-version = "0.41.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.42.1"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -12089,9 +12031,10 @@ dependencies = [
[[package]]
name = "sp-core"
-version = "35.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "36.1.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
+ "ark-vrf",
"array-bytes",
"bitflags 1.3.2",
"blake2 0.10.6",
@@ -12117,13 +12060,13 @@ dependencies = [
"scale-info",
"schnorrkel",
"secp256k1 0.28.2",
- "secrecy",
+ "secrecy 0.8.0",
"serde",
- "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
- "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
+ "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
"sp-externalities 0.30.0",
- "sp-runtime-interface 29.0.0",
- "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-runtime-interface 29.0.1",
+ "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
"sp-storage 22.0.0",
"ss58-registry",
"substrate-bip39",
@@ -12136,18 +12079,18 @@ dependencies = [
[[package]]
name = "sp-crypto-ec-utils"
version = "0.10.0"
-source = "git+https://github.com/paritytech/polkadot-sdk#495d5a24c8078a0da1eb5e0fe8742a09f1f1bd5c"
+source = "git+https://github.com/paritytech/polkadot-sdk#177b03958c766fe053f28424ee6f6748644bb794"
dependencies = [
"ark-bls12-377",
"ark-bls12-377-ext",
- "ark-bls12-381",
+ "ark-bls12-381 0.4.0",
"ark-bls12-381-ext",
"ark-bw6-761",
"ark-bw6-761-ext",
- "ark-ec",
+ "ark-ec 0.4.2",
"ark-ed-on-bls12-377",
"ark-ed-on-bls12-377-ext",
- "ark-ed-on-bls12-381-bandersnatch",
+ "ark-ed-on-bls12-381-bandersnatch 0.4.0",
"ark-ed-on-bls12-381-bandersnatch-ext",
"ark-scale 0.0.12",
"sp-runtime-interface 24.0.0",
@@ -12156,21 +12099,21 @@ dependencies = [
[[package]]
name = "sp-crypto-ec-utils"
version = "0.15.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"ark-bls12-377",
"ark-bls12-377-ext",
- "ark-bls12-381",
+ "ark-bls12-381 0.4.0",
"ark-bls12-381-ext",
"ark-bw6-761",
"ark-bw6-761-ext",
- "ark-ec",
+ "ark-ec 0.4.2",
"ark-ed-on-bls12-377",
"ark-ed-on-bls12-377-ext",
- "ark-ed-on-bls12-381-bandersnatch",
+ "ark-ed-on-bls12-381-bandersnatch 0.4.0",
"ark-ed-on-bls12-381-bandersnatch-ext",
"ark-scale 0.0.12",
- "sp-runtime-interface 29.0.0",
+ "sp-runtime-interface 29.0.1",
]
[[package]]
@@ -12190,7 +12133,7 @@ dependencies = [
[[package]]
name = "sp-crypto-hashing"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"blake2b_simd",
"byteorder",
@@ -12203,17 +12146,17 @@ dependencies = [
[[package]]
name = "sp-crypto-hashing-proc-macro"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"quote",
- "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
"syn 2.0.104",
]
[[package]]
name = "sp-database"
version = "10.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"kvdb",
"parking_lot 0.12.4",
@@ -12222,7 +12165,7 @@ dependencies = [
[[package]]
name = "sp-debug-derive"
version = "14.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"proc-macro2",
"quote",
@@ -12232,7 +12175,7 @@ dependencies = [
[[package]]
name = "sp-debug-derive"
version = "14.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk#495d5a24c8078a0da1eb5e0fe8742a09f1f1bd5c"
+source = "git+https://github.com/paritytech/polkadot-sdk#177b03958c766fe053f28424ee6f6748644bb794"
dependencies = [
"proc-macro2",
"quote",
@@ -12242,7 +12185,7 @@ dependencies = [
[[package]]
name = "sp-externalities"
version = "0.25.0"
-source = "git+https://github.com/paritytech/polkadot-sdk#495d5a24c8078a0da1eb5e0fe8742a09f1f1bd5c"
+source = "git+https://github.com/paritytech/polkadot-sdk#177b03958c766fe053f28424ee6f6748644bb794"
dependencies = [
"environmental",
"parity-scale-codec",
@@ -12252,7 +12195,7 @@ dependencies = [
[[package]]
name = "sp-externalities"
version = "0.30.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"environmental",
"parity-scale-codec",
@@ -12261,8 +12204,8 @@ dependencies = [
[[package]]
name = "sp-genesis-builder"
-version = "0.16.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.17.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -12273,8 +12216,8 @@ dependencies = [
[[package]]
name = "sp-inherents"
-version = "35.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "36.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"async-trait",
"impl-trait-for-tuples",
@@ -12286,8 +12229,8 @@ dependencies = [
[[package]]
name = "sp-io"
-version = "39.0.1"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "40.0.1"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"bytes",
"docify",
@@ -12295,16 +12238,16 @@ dependencies = [
"libsecp256k1",
"log",
"parity-scale-codec",
- "polkavm-derive 0.9.1",
+ "polkavm-derive 0.18.0",
"rustversion",
"secp256k1 0.28.2",
"sp-core",
- "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
"sp-externalities 0.30.0",
"sp-keystore",
- "sp-runtime-interface 29.0.0",
+ "sp-runtime-interface 29.0.1",
"sp-state-machine",
- "sp-tracing 17.0.1",
+ "sp-tracing 17.1.0",
"sp-trie",
"tracing",
"tracing-core",
@@ -12312,8 +12255,8 @@ dependencies = [
[[package]]
name = "sp-keyring"
-version = "40.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "41.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"sp-core",
"sp-runtime",
@@ -12322,8 +12265,8 @@ dependencies = [
[[package]]
name = "sp-keystore"
-version = "0.41.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.42.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"parity-scale-codec",
"parking_lot 0.12.4",
@@ -12334,7 +12277,7 @@ dependencies = [
[[package]]
name = "sp-maybe-compressed-blob"
version = "11.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"thiserror 1.0.69",
"zstd 0.12.4",
@@ -12342,18 +12285,18 @@ dependencies = [
[[package]]
name = "sp-metadata-ir"
-version = "0.8.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.10.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
- "frame-metadata 18.0.0",
+ "frame-metadata 20.0.0",
"parity-scale-codec",
"scale-info",
]
[[package]]
name = "sp-mixnet"
-version = "0.13.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.14.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -12363,8 +12306,8 @@ dependencies = [
[[package]]
name = "sp-offchain"
-version = "35.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "36.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"sp-api",
"sp-core",
@@ -12373,8 +12316,8 @@ dependencies = [
[[package]]
name = "sp-panic-handler"
-version = "13.0.1"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "13.0.2"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"backtrace",
"regex",
@@ -12382,8 +12325,8 @@ dependencies = [
[[package]]
name = "sp-rpc"
-version = "33.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "34.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"rustc-hash 1.1.0",
"serde",
@@ -12392,8 +12335,8 @@ dependencies = [
[[package]]
name = "sp-runtime"
-version = "40.1.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "41.1.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"binary-merkle-tree",
"docify",
@@ -12412,7 +12355,7 @@ dependencies = [
"sp-arithmetic",
"sp-core",
"sp-io",
- "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
"sp-trie",
"sp-weights",
"tracing",
@@ -12422,13 +12365,12 @@ dependencies = [
[[package]]
name = "sp-runtime-interface"
version = "24.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk#495d5a24c8078a0da1eb5e0fe8742a09f1f1bd5c"
+source = "git+https://github.com/paritytech/polkadot-sdk#177b03958c766fe053f28424ee6f6748644bb794"
dependencies = [
"bytes",
"impl-trait-for-tuples",
"parity-scale-codec",
"polkavm-derive 0.26.0",
- "primitive-types 0.13.1",
"sp-externalities 0.25.0",
"sp-runtime-interface-proc-macro 17.0.0",
"sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk)",
@@ -12440,19 +12382,19 @@ dependencies = [
[[package]]
name = "sp-runtime-interface"
-version = "29.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "29.0.1"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"bytes",
"impl-trait-for-tuples",
"parity-scale-codec",
- "polkavm-derive 0.9.1",
+ "polkavm-derive 0.18.0",
"primitive-types 0.13.1",
"sp-externalities 0.30.0",
"sp-runtime-interface-proc-macro 18.0.0",
- "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
"sp-storage 22.0.0",
- "sp-tracing 17.0.1",
+ "sp-tracing 17.1.0",
"sp-wasm-interface 21.0.1",
"static_assertions",
]
@@ -12460,7 +12402,7 @@ dependencies = [
[[package]]
name = "sp-runtime-interface-proc-macro"
version = "17.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk#495d5a24c8078a0da1eb5e0fe8742a09f1f1bd5c"
+source = "git+https://github.com/paritytech/polkadot-sdk#177b03958c766fe053f28424ee6f6748644bb794"
dependencies = [
"Inflector",
"expander",
@@ -12473,7 +12415,7 @@ dependencies = [
[[package]]
name = "sp-runtime-interface-proc-macro"
version = "18.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"Inflector",
"expander",
@@ -12485,8 +12427,8 @@ dependencies = [
[[package]]
name = "sp-session"
-version = "37.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "38.1.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -12499,8 +12441,8 @@ dependencies = [
[[package]]
name = "sp-staking"
-version = "37.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "38.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"impl-trait-for-tuples",
"parity-scale-codec",
@@ -12512,8 +12454,8 @@ dependencies = [
[[package]]
name = "sp-state-machine"
-version = "0.44.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.45.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"hash-db",
"log",
@@ -12532,8 +12474,8 @@ dependencies = [
[[package]]
name = "sp-statement-store"
-version = "19.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "20.1.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"aes-gcm",
"curve25519-dalek",
@@ -12546,10 +12488,10 @@ dependencies = [
"sp-api",
"sp-application-crypto",
"sp-core",
- "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
"sp-externalities 0.30.0",
"sp-runtime",
- "sp-runtime-interface 29.0.0",
+ "sp-runtime-interface 29.0.1",
"thiserror 1.0.69",
"x25519-dalek",
]
@@ -12557,17 +12499,17 @@ dependencies = [
[[package]]
name = "sp-std"
version = "14.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
[[package]]
name = "sp-std"
version = "14.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk#495d5a24c8078a0da1eb5e0fe8742a09f1f1bd5c"
+source = "git+https://github.com/paritytech/polkadot-sdk#177b03958c766fe053f28424ee6f6748644bb794"
[[package]]
name = "sp-storage"
version = "19.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk#495d5a24c8078a0da1eb5e0fe8742a09f1f1bd5c"
+source = "git+https://github.com/paritytech/polkadot-sdk#177b03958c766fe053f28424ee6f6748644bb794"
dependencies = [
"impl-serde 0.5.0",
"parity-scale-codec",
@@ -12579,19 +12521,19 @@ dependencies = [
[[package]]
name = "sp-storage"
version = "22.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"impl-serde 0.5.0",
"parity-scale-codec",
"ref-cast",
"serde",
- "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
]
[[package]]
name = "sp-timestamp"
-version = "35.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "36.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"async-trait",
"parity-scale-codec",
@@ -12603,7 +12545,7 @@ dependencies = [
[[package]]
name = "sp-tracing"
version = "16.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk#495d5a24c8078a0da1eb5e0fe8742a09f1f1bd5c"
+source = "git+https://github.com/paritytech/polkadot-sdk#177b03958c766fe053f28424ee6f6748644bb794"
dependencies = [
"parity-scale-codec",
"regex",
@@ -12614,8 +12556,8 @@ dependencies = [
[[package]]
name = "sp-tracing"
-version = "17.0.1"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "17.1.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"parity-scale-codec",
"tracing",
@@ -12625,8 +12567,8 @@ dependencies = [
[[package]]
name = "sp-transaction-pool"
-version = "35.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "36.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"sp-api",
"sp-runtime",
@@ -12634,8 +12576,8 @@ dependencies = [
[[package]]
name = "sp-transaction-storage-proof"
-version = "35.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "36.1.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"async-trait",
"parity-scale-codec",
@@ -12648,8 +12590,8 @@ dependencies = [
[[package]]
name = "sp-trie"
-version = "38.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "39.1.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"ahash 0.8.12",
"hash-db",
@@ -12670,8 +12612,8 @@ dependencies = [
[[package]]
name = "sp-version"
-version = "38.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "39.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"impl-serde 0.5.0",
"parity-scale-codec",
@@ -12680,7 +12622,7 @@ dependencies = [
"serde",
"sp-crypto-hashing-proc-macro",
"sp-runtime",
- "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
"sp-version-proc-macro",
"thiserror 1.0.69",
]
@@ -12688,10 +12630,10 @@ dependencies = [
[[package]]
name = "sp-version-proc-macro"
version = "15.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"parity-scale-codec",
- "proc-macro-warning 1.84.1",
+ "proc-macro-warning",
"proc-macro2",
"quote",
"syn 2.0.104",
@@ -12700,7 +12642,7 @@ dependencies = [
[[package]]
name = "sp-wasm-interface"
version = "20.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk#495d5a24c8078a0da1eb5e0fe8742a09f1f1bd5c"
+source = "git+https://github.com/paritytech/polkadot-sdk#177b03958c766fe053f28424ee6f6748644bb794"
dependencies = [
"anyhow",
"impl-trait-for-tuples",
@@ -12711,7 +12653,7 @@ dependencies = [
[[package]]
name = "sp-wasm-interface"
version = "21.0.1"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"anyhow",
"impl-trait-for-tuples",
@@ -12722,8 +12664,8 @@ dependencies = [
[[package]]
name = "sp-weights"
-version = "31.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "31.1.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"bounded-collections",
"parity-scale-codec",
@@ -12731,7 +12673,7 @@ dependencies = [
"serde",
"smallvec",
"sp-arithmetic",
- "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
]
[[package]]
@@ -12896,12 +12838,12 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
[[package]]
name = "staging-xcm"
-version = "15.1.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "16.2.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"array-bytes",
"bounded-collections",
- "derivative",
+ "derive-where",
"environmental",
"frame-support",
"hex-literal",
@@ -12950,10 +12892,14 @@ dependencies = [
]
[[package]]
-name = "strsim"
-version = "0.10.0"
+name = "string-interner"
+version = "0.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
+checksum = "1c6a0d765f5807e98a091107bae0a56ea3799f66a5de47b2c84c94a39c09974e"
+dependencies = [
+ "cfg-if",
+ "hashbrown 0.14.5",
+]
[[package]]
name = "strsim"
@@ -13005,7 +12951,7 @@ dependencies = [
[[package]]
name = "substrate-bip39"
version = "0.6.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"hmac 0.12.1",
"pbkdf2",
@@ -13030,28 +12976,28 @@ dependencies = [
[[package]]
name = "substrate-build-script-utils"
version = "11.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
[[package]]
name = "substrate-fixed"
-version = "0.5.9"
-source = "git+https://github.com/opentensor/substrate-fixed.git?tag=v0.5.9#a4fb461aae6205ffc55bed51254a40c52be04e5d"
+version = "0.6.0"
+source = "git+https://github.com/encointer/substrate-fixed.git?tag=v0.6.0#d5f70362f2e05b5f33fb51cd7baa825323e4e6c5"
dependencies = [
"parity-scale-codec",
"scale-info",
"serde",
- "typenum 1.16.0",
+ "substrate-typenum",
]
[[package]]
name = "substrate-frame-rpc-system"
-version = "42.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "43.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"docify",
"frame-system-rpc-runtime-api",
"futures",
- "jsonrpsee 0.24.9",
+ "jsonrpsee",
"log",
"parity-scale-codec",
"sc-rpc-api",
@@ -13065,8 +13011,8 @@ dependencies = [
[[package]]
name = "substrate-prometheus-endpoint"
-version = "0.17.1"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "0.17.2"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"http-body-util",
"hyper 1.6.0",
@@ -13077,17 +13023,27 @@ dependencies = [
"tokio",
]
+[[package]]
+name = "substrate-typenum"
+version = "1.17.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9cd64d3efe988228b8496698197ee60cfbfcedbf226961300e559870c1a3e8e0"
+dependencies = [
+ "parity-scale-codec",
+ "scale-info",
+]
+
[[package]]
name = "substrate-wasm-builder"
-version = "25.0.1"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "26.0.1"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"array-bytes",
"build-helper",
"cargo_metadata",
"console",
"filetime",
- "frame-metadata 18.0.0",
+ "frame-metadata 20.0.0",
"jobserver",
"merkleized-metadata",
"parity-scale-codec",
@@ -13098,7 +13054,7 @@ dependencies = [
"sp-core",
"sp-io",
"sp-maybe-compressed-blob",
- "sp-tracing 17.0.1",
+ "sp-tracing 17.1.0",
"sp-version",
"strum 0.26.3",
"tempfile",
@@ -13111,8 +13067,6 @@ dependencies = [
name = "subtensor"
version = "0.1.0"
dependencies = [
- "node-subtensor",
- "node-subtensor-runtime",
"proc-macro2",
"quote",
"rayon",
@@ -13125,7 +13079,7 @@ dependencies = [
name = "subtensor-custom-rpc"
version = "0.0.2"
dependencies = [
- "jsonrpsee 0.24.9",
+ "jsonrpsee",
"pallet-subtensor",
"parity-scale-codec",
"serde",
@@ -13196,7 +13150,7 @@ dependencies = [
"sp-core",
"sp-io",
"sp-runtime",
- "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6)",
+ "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
"substrate-fixed",
"subtensor-runtime-common",
"subtensor-swap-interface",
@@ -13234,10 +13188,45 @@ version = "0.1.0"
dependencies = [
"anyhow",
"clap",
+ "node-subtensor-runtime",
"semver 1.0.26",
"toml_edit",
]
+[[package]]
+name = "subtensor-transaction-fee"
+version = "0.1.0"
+dependencies = [
+ "frame-executive",
+ "frame-support",
+ "frame-system",
+ "log",
+ "pallet-balances",
+ "pallet-crowdloan",
+ "pallet-drand",
+ "pallet-evm-chain-id",
+ "pallet-grandpa",
+ "pallet-preimage",
+ "pallet-scheduler",
+ "pallet-subtensor",
+ "pallet-subtensor-swap",
+ "pallet-transaction-payment",
+ "parity-scale-codec",
+ "scale-info",
+ "smallvec",
+ "sp-consensus-aura",
+ "sp-consensus-grandpa",
+ "sp-core",
+ "sp-io",
+ "sp-runtime",
+ "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6)",
+ "sp-tracing 17.1.0",
+ "sp-weights",
+ "substrate-fixed",
+ "subtensor-runtime-common",
+ "subtensor-swap-interface",
+]
+
[[package]]
name = "subtle"
version = "1.0.0"
@@ -13252,50 +13241,47 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
[[package]]
name = "subxt"
-version = "0.37.0"
+version = "0.38.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a160cba1edbf3ec4fbbeaea3f1a185f70448116a6bccc8276bb39adb3b3053bd"
+checksum = "1c17d7ec2359d33133b63c97e28c8b7cd3f0a5bc6ce567ae3aef9d9e85be3433"
dependencies = [
"async-trait",
"derive-where",
"either",
- "frame-metadata 16.0.0",
+ "frame-metadata 17.0.0",
"futures",
"hex",
- "impl-serde 0.4.0",
- "instant",
- "jsonrpsee 0.22.5",
+ "impl-serde 0.5.0",
+ "jsonrpsee",
"parity-scale-codec",
- "primitive-types 0.12.2",
- "reconnecting-jsonrpsee-ws-client",
+ "polkadot-sdk",
+ "primitive-types 0.13.1",
"scale-bits",
- "scale-decode",
+ "scale-decode 0.14.0",
"scale-encode",
"scale-info",
"scale-value",
"serde",
"serde_json",
- "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"subxt-core",
"subxt-lightclient",
"subxt-macro",
"subxt-metadata",
"thiserror 1.0.69",
+ "tokio",
"tokio-util",
"tracing",
"url",
+ "web-time",
]
[[package]]
name = "subxt-codegen"
-version = "0.37.0"
+version = "0.38.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d703dca0905cc5272d7cc27a4ac5f37dcaae7671acc7fef0200057cc8c317786"
+checksum = "6550ef451c77db6e3bc7c56fb6fe1dca9398a2c8fc774b127f6a396a769b9c5b"
dependencies = [
- "frame-metadata 16.0.0",
"heck 0.5.0",
- "hex",
- "jsonrpsee 0.22.5",
"parity-scale-codec",
"proc-macro2",
"quote",
@@ -13304,41 +13290,42 @@ dependencies = [
"subxt-metadata",
"syn 2.0.104",
"thiserror 1.0.69",
- "tokio",
]
[[package]]
name = "subxt-core"
-version = "0.37.1"
+version = "0.38.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3af3b36405538a36b424d229dc908d1396ceb0994c90825ce928709eac1a159a"
+checksum = "cb7a1bc6c9c1724971636a66e3225a7253cdb35bb6efb81524a6c71c04f08c59"
dependencies = [
"base58",
"blake2 0.10.6",
"derive-where",
- "frame-metadata 16.0.0",
+ "frame-decode",
+ "frame-metadata 17.0.0",
"hashbrown 0.14.5",
"hex",
- "impl-serde 0.4.0",
+ "impl-serde 0.5.0",
+ "keccak-hash",
"parity-scale-codec",
- "primitive-types 0.12.2",
+ "polkadot-sdk",
+ "primitive-types 0.13.1",
"scale-bits",
- "scale-decode",
+ "scale-decode 0.14.0",
"scale-encode",
"scale-info",
"scale-value",
"serde",
"serde_json",
- "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"subxt-metadata",
"tracing",
]
[[package]]
name = "subxt-lightclient"
-version = "0.37.0"
+version = "0.38.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9d9406fbdb9548c110803cb8afa750f8b911d51eefdf95474b11319591d225d9"
+checksum = "89ebc9131da4d0ba1f7814495b8cc79698798ccd52cacd7bcefe451e415bd945"
dependencies = [
"futures",
"futures-util",
@@ -13353,56 +13340,74 @@ dependencies = [
[[package]]
name = "subxt-macro"
-version = "0.37.0"
+version = "0.38.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1c195f803d70687e409aba9be6c87115b5da8952cd83c4d13f2e043239818fcd"
+checksum = "7819c5e09aae0319981ee853869f2fcd1fac4db8babd0d004c17161297aadc05"
dependencies = [
- "darling 0.20.11",
+ "darling",
"parity-scale-codec",
- "proc-macro-error",
+ "proc-macro-error2",
"quote",
"scale-typegen",
"subxt-codegen",
+ "subxt-utils-fetchmetadata",
"syn 2.0.104",
]
[[package]]
name = "subxt-metadata"
-version = "0.37.0"
+version = "0.38.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "738be5890fdeff899bbffff4d9c0f244fe2a952fb861301b937e3aa40ebb55da"
+checksum = "aacd4e7484fef58deaa2dcb32d94753a864b208a668c0dd0c28be1d8abeeadb2"
dependencies = [
- "frame-metadata 16.0.0",
+ "frame-decode",
+ "frame-metadata 17.0.0",
"hashbrown 0.14.5",
"parity-scale-codec",
+ "polkadot-sdk",
"scale-info",
- "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "subxt-signer"
-version = "0.37.0"
+version = "0.38.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f49888ae6ae90fe01b471193528eea5bd4ed52d8eecd2d13f4a2333b87388850"
+checksum = "d680352d04665b1e4eb6f9d2a54b800c4d8e1b20478e69be1b7d975b08d9fc34"
dependencies = [
+ "base64 0.22.1",
"bip32",
"bip39",
"cfg-if",
+ "crypto_secretbox",
"hex",
"hmac 0.12.1",
"keccak-hash",
"parity-scale-codec",
"pbkdf2",
+ "polkadot-sdk",
"regex",
"schnorrkel",
- "secp256k1 0.28.2",
- "secrecy",
+ "scrypt",
+ "secp256k1 0.30.0",
+ "secrecy 0.10.3",
+ "serde",
+ "serde_json",
"sha2 0.10.9",
- "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"subxt-core",
"zeroize",
]
+[[package]]
+name = "subxt-utils-fetchmetadata"
+version = "0.38.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a3c53bc3eeaacc143a2f29ace4082edd2edaccab37b69ad20befba9fb00fdb3d"
+dependencies = [
+ "hex",
+ "parity-scale-codec",
+ "thiserror 1.0.69",
+]
+
[[package]]
name = "syn"
version = "1.0.109"
@@ -13682,10 +13687,10 @@ source = "git+https://github.com/ideal-lab5/timelock?rev=5416406cfd32799e31e1795
dependencies = [
"aes-gcm",
"ark-bls12-377",
- "ark-bls12-381",
- "ark-ec",
+ "ark-bls12-381 0.4.0",
+ "ark-ec 0.4.2",
"ark-ff 0.4.2",
- "ark-poly",
+ "ark-poly 0.4.2",
"ark-serialize 0.4.2",
"ark-std 0.4.0",
"array-bytes",
@@ -13705,9 +13710,9 @@ dependencies = [
[[package]]
name = "tokio"
-version = "1.46.1"
+version = "1.47.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0cc3a2344dafbe23a245241fe8b09735b521110d30fcefbbd5feb1797ca35d17"
+checksum = "43864ed400b6043a4757a25c7a64a8efde741aed79a056a2fb348a406701bb35"
dependencies = [
"backtrace",
"bytes",
@@ -13718,9 +13723,9 @@ dependencies = [
"pin-project-lite",
"signal-hook-registry",
"slab",
- "socket2 0.5.10",
+ "socket2 0.6.0",
"tokio-macros",
- "windows-sys 0.52.0",
+ "windows-sys 0.59.0",
]
[[package]]
@@ -13734,34 +13739,13 @@ dependencies = [
"syn 2.0.104",
]
-[[package]]
-name = "tokio-rustls"
-version = "0.24.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081"
-dependencies = [
- "rustls 0.21.12",
- "tokio",
-]
-
-[[package]]
-name = "tokio-rustls"
-version = "0.25.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "775e0c0f0adb3a2f22a00c4745d728b479985fc15ee7ca6a2608388c5569860f"
-dependencies = [
- "rustls 0.22.4",
- "rustls-pki-types",
- "tokio",
-]
-
[[package]]
name = "tokio-rustls"
version = "0.26.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8e727b36a1a0e8b74c376ac2211e40c2c8af09fb4013c60d910495810f008e9b"
dependencies = [
- "rustls 0.23.29",
+ "rustls",
"tokio",
]
@@ -13785,11 +13769,11 @@ checksum = "7a9daff607c6d2bf6c16fd681ccb7eecc83e4e2cdc1ca067ffaadfca5de7f084"
dependencies = [
"futures-util",
"log",
- "rustls 0.23.29",
- "rustls-native-certs 0.8.1",
+ "rustls",
+ "rustls-native-certs",
"rustls-pki-types",
"tokio",
- "tokio-rustls 0.26.2",
+ "tokio-rustls",
"tungstenite",
]
@@ -13945,8 +13929,8 @@ dependencies = [
[[package]]
name = "tracing-gum"
-version = "17.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "19.0.0"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"coarsetime",
"polkadot-primitives",
@@ -13957,7 +13941,7 @@ dependencies = [
[[package]]
name = "tracing-gum-proc-macro"
version = "5.0.0"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"expander",
"proc-macro-crate 3.3.0",
@@ -14008,9 +13992,9 @@ dependencies = [
[[package]]
name = "trie-db"
-version = "0.29.1"
+version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c992b4f40c234a074d48a757efeabb1a6be88af84c0c23f7ca158950cb0ae7f"
+checksum = "6c0670ab45a6b7002c7df369fee950a27cf29ae0474343fd3a15aa15f691e7a6"
dependencies = [
"hash-db",
"log",
@@ -14027,78 +14011,6 @@ dependencies = [
"hash-db",
]
-[[package]]
-name = "trust-dns-proto"
-version = "0.22.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4f7f83d1e4a0e4358ac54c5c3681e5d7da5efc5a7a632c90bb6d6669ddd9bc26"
-dependencies = [
- "async-trait",
- "cfg-if",
- "data-encoding",
- "enum-as-inner 0.5.1",
- "futures-channel",
- "futures-io",
- "futures-util",
- "idna 0.2.3",
- "ipnet",
- "lazy_static",
- "rand 0.8.5",
- "smallvec",
- "socket2 0.4.10",
- "thiserror 1.0.69",
- "tinyvec",
- "tokio",
- "tracing",
- "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 0.8.5",
- "smallvec",
- "thiserror 1.0.69",
- "tinyvec",
- "tokio",
- "tracing",
- "url",
-]
-
-[[package]]
-name = "trust-dns-resolver"
-version = "0.23.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "10a3e6c3aff1718b3c73e395d1f35202ba2ffa847c6a62eea0db8fb4cfe30be6"
-dependencies = [
- "cfg-if",
- "futures-util",
- "ipconfig",
- "lru-cache",
- "once_cell",
- "parking_lot 0.12.4",
- "rand 0.8.5",
- "resolv-conf",
- "smallvec",
- "thiserror 1.0.69",
- "tokio",
- "tracing",
- "trust-dns-proto 0.23.2",
-]
-
[[package]]
name = "try-lock"
version = "0.2.5"
@@ -14122,8 +14034,8 @@ dependencies = [
"http 1.3.1",
"httparse",
"log",
- "rand 0.9.1",
- "rustls 0.23.29",
+ "rand 0.9.2",
+ "rustls",
"rustls-pki-types",
"sha1",
"thiserror 2.0.12",
@@ -14149,15 +14061,6 @@ dependencies = [
"static_assertions",
]
-[[package]]
-name = "typenum"
-version = "1.16.0"
-source = "git+https://github.com/encointer/typenum?tag=v1.16.0#4c8dddaa8bdd13130149e43b4085ad14e960617f"
-dependencies = [
- "parity-scale-codec",
- "scale-info",
-]
-
[[package]]
name = "typenum"
version = "1.18.0"
@@ -14200,12 +14103,6 @@ version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94"
-[[package]]
-name = "unicode-bidi"
-version = "0.3.18"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5"
-
[[package]]
name = "unicode-ident"
version = "1.0.18"
@@ -14255,7 +14152,7 @@ version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6889a77d49f1f013504cec6bf97a2c730394adedaeb1deb5ea08949a50541105"
dependencies = [
- "asynchronous-codec",
+ "asynchronous-codec 0.6.2",
"bytes",
"futures-io",
"futures-util",
@@ -14290,7 +14187,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60"
dependencies = [
"form_urlencoded",
- "idna 1.0.3",
+ "idna",
"percent-encoding",
]
@@ -14350,27 +14247,70 @@ checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d"
[[package]]
name = "w3f-bls"
version = "0.1.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7335e4c132c28cc43caef6adb339789e599e39adbe78da0c4d547fad48cbc331"
+source = "git+https://github.com/opentensor/bls?branch=fix-no-std#4ac443d11a6c9fdebe329d113702ad7387ba1688"
dependencies = [
"ark-bls12-377",
- "ark-bls12-381",
- "ark-ec",
+ "ark-bls12-381 0.4.0",
+ "ark-ec 0.4.2",
"ark-ff 0.4.2",
"ark-serialize 0.4.2",
- "ark-serialize-derive",
+ "ark-serialize-derive 0.4.2",
"arrayref",
- "constcat",
"digest 0.10.7",
"rand 0.8.5",
"rand_chacha 0.3.1",
"rand_core 0.6.4",
"sha2 0.10.9",
"sha3",
- "thiserror 1.0.69",
"zeroize",
]
+[[package]]
+name = "w3f-pcs"
+version = "0.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fbe7a8d5c914b69392ab3b267f679a2e546fe29afaddce47981772ac71bd02e1"
+dependencies = [
+ "ark-ec 0.5.0",
+ "ark-ff 0.5.0",
+ "ark-poly 0.5.0",
+ "ark-serialize 0.5.0",
+ "ark-std 0.5.0",
+ "merlin",
+]
+
+[[package]]
+name = "w3f-plonk-common"
+version = "0.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1aca389e494fe08c5c108b512e2328309036ee1c0bc7bdfdb743fef54d448c8c"
+dependencies = [
+ "ark-ec 0.5.0",
+ "ark-ff 0.5.0",
+ "ark-poly 0.5.0",
+ "ark-serialize 0.5.0",
+ "ark-std 0.5.0",
+ "getrandom_or_panic",
+ "rand_core 0.6.4",
+ "w3f-pcs",
+]
+
+[[package]]
+name = "w3f-ring-proof"
+version = "0.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8a639379402ad51504575dbd258740383291ac8147d3b15859bdf1ea48c677de"
+dependencies = [
+ "ark-ec 0.5.0",
+ "ark-ff 0.5.0",
+ "ark-poly 0.5.0",
+ "ark-serialize 0.5.0",
+ "ark-std 0.5.0",
+ "ark-transcript",
+ "w3f-pcs",
+ "w3f-plonk-common",
+]
+
[[package]]
name = "wait-timeout"
version = "0.2.1"
@@ -14560,28 +14500,37 @@ dependencies = [
[[package]]
name = "wasmi"
-version = "0.31.2"
+version = "0.32.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "77a8281d1d660cdf54c76a3efa9ddd0c270cada1383a995db3ccb43d166456c7"
+checksum = "50386c99b9c32bd2ed71a55b6dd4040af2580530fae8bdb9a6576571a80d0cca"
dependencies = [
+ "arrayvec 0.7.6",
+ "multi-stash",
+ "num-derive",
+ "num-traits",
"smallvec",
"spin 0.9.8",
- "wasmi_arena",
+ "wasmi_collections",
"wasmi_core",
"wasmparser-nostd",
]
[[package]]
-name = "wasmi_arena"
-version = "0.4.1"
+name = "wasmi_collections"
+version = "0.32.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "104a7f73be44570cac297b3035d76b169d6599637631cf37a1703326a0727073"
+checksum = "9c128c039340ffd50d4195c3f8ce31aac357f06804cfc494c8b9508d4b30dca4"
+dependencies = [
+ "ahash 0.8.12",
+ "hashbrown 0.14.5",
+ "string-interner",
+]
[[package]]
name = "wasmi_core"
-version = "0.13.0"
+version = "0.32.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dcf1a7db34bff95b85c261002720c00c3a6168256dcb93041d3fa2054d19856a"
+checksum = "a23b3a7f6c8c3ceeec6b83531ee61f0013c56e51cbf2b14b0f213548b23a4b41"
dependencies = [
"downcast-rs",
"libm",
@@ -14824,29 +14773,29 @@ dependencies = [
]
[[package]]
-name = "webpki-roots"
-version = "0.25.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1"
-
-[[package]]
-name = "webpki-roots"
+name = "webpki-root-certs"
version = "0.26.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9"
+checksum = "75c7f0ef91146ebfb530314f5f1d24528d7f0767efbfd31dce919275413e393e"
dependencies = [
- "webpki-roots 1.0.1",
+ "webpki-root-certs 1.0.2",
]
[[package]]
-name = "webpki-roots"
-version = "1.0.1"
+name = "webpki-root-certs"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8782dd5a41a24eed3a4f40b606249b3e236ca61adf1f25ea4d45c73de122b502"
+checksum = "4e4ffd8df1c57e87c325000a3d6ef93db75279dc3a231125aac571650f22b12a"
dependencies = [
"rustls-pki-types",
]
+[[package]]
+name = "webpki-roots"
+version = "0.25.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1"
+
[[package]]
name = "wide"
version = "0.7.33"
@@ -15067,7 +15016,7 @@ version = "0.60.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb"
dependencies = [
- "windows-targets 0.53.2",
+ "windows-targets 0.53.3",
]
[[package]]
@@ -15118,10 +15067,11 @@ dependencies = [
[[package]]
name = "windows-targets"
-version = "0.53.2"
+version = "0.53.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c66f69fcc9ce11da9966ddb31a40968cad001c5bedeb5c2b82ede4253ab48aef"
+checksum = "d5fe6031c4041849d7c496a8ded650796e7b6ecc19df1a431c1a363342e5dc91"
dependencies = [
+ "windows-link",
"windows_aarch64_gnullvm 0.53.0",
"windows_aarch64_msvc 0.53.0",
"windows_i686_gnu 0.53.0",
@@ -15378,16 +15328,16 @@ dependencies = [
[[package]]
name = "x509-parser"
-version = "0.15.1"
+version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7069fba5b66b9193bd2c5d3d4ff12b839118f6bcbef5328efafafb5395cf63da"
+checksum = "fcbc162f30700d6f3f82a24bf7cc62ffe7caea42c0b2cba8bf7f3ae50cf51f69"
dependencies = [
- "asn1-rs 0.5.2",
+ "asn1-rs 0.6.2",
"data-encoding",
- "der-parser 8.2.0",
+ "der-parser 9.0.0",
"lazy_static",
"nom",
- "oid-registry 0.6.1",
+ "oid-registry 0.7.1",
"rusticata-macros",
"thiserror 1.0.69",
"time",
@@ -15412,8 +15362,8 @@ dependencies = [
[[package]]
name = "xcm-procedural"
-version = "11.0.1"
-source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753"
+version = "11.0.2"
+source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2503-6#598feddb893f5ad3923a62e41a2f179b6e10c30c"
dependencies = [
"Inflector",
"proc-macro2",
@@ -15453,16 +15403,16 @@ dependencies = [
[[package]]
name = "yamux"
-version = "0.13.5"
+version = "0.13.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3da1acad1c2dc53f0dde419115a38bd8221d8c3e47ae9aeceaf453266d29307e"
+checksum = "2b2dd50a6d6115feb3e5d7d0efd45e8ca364b6c83722c1e9c602f5764e0e9597"
dependencies = [
"futures",
"log",
"nohash-hasher",
"parking_lot 0.12.4",
"pin-project",
- "rand 0.9.1",
+ "rand 0.9.2",
"static_assertions",
"web-time",
]
diff --git a/Cargo.toml b/Cargo.toml
index 32ec158a85..33df163f67 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -9,15 +9,17 @@ license = "Unlicense"
publish = false
repository = "https://github.com/opentensor/subtensor"
-[dependencies]
-node-subtensor = { path = "node", version = "4.0.0-dev" }
-node-subtensor-runtime = { path = "runtime", version = "4.0.0-dev" }
-
[build-dependencies]
subtensor-linting = { path = "support/linting", version = "0.1.0" }
-syn.workspace = true
+syn = { workspace = true, features = [
+ "full",
+ "visit-mut",
+ "visit",
+ "extra-traits",
+ "parsing",
+] }
quote.workspace = true
-proc-macro2.workspace = true
+proc-macro2 = { workspace = true, features = ["span-locations"] }
walkdir.workspace = true
rayon = "1.10"
@@ -56,22 +58,22 @@ pallet-subtensor = { default-features = false, path = "pallets/subtensor" }
pallet-subtensor-swap = { default-features = false, path = "pallets/swap" }
pallet-subtensor-swap-runtime-api = { default-features = false, path = "pallets/swap/runtime-api" }
pallet-subtensor-swap-rpc = { default-features = false, path = "pallets/swap/rpc" }
+procedural-fork = { path = "support/procedural-fork", default-features = false }
safe-math = { default-features = false, path = "primitives/safe-math" }
+share-pool = { path = "primitives/share-pool", default-features = false }
+subtensor-macros = { path = "support/macros", default-features = false }
subtensor-custom-rpc = { default-features = false, path = "pallets/subtensor/rpc" }
subtensor-custom-rpc-runtime-api = { default-features = false, path = "pallets/subtensor/runtime-api" }
subtensor-precompiles = { default-features = false, path = "precompiles" }
subtensor-runtime-common = { default-features = false, path = "common" }
subtensor-swap-interface = { default-features = false, path = "pallets/swap-interface" }
+subtensor-transaction-fee = { default-features = false, path = "pallets/transaction-fee" }
+ed25519-dalek = { version = "2.1.0", default-features = false }
async-trait = "0.1"
cargo-husky = { version = "1", default-features = false }
clap = "4.5.4"
-codec = { package = "parity-scale-codec", version = "3.7.5", default-features = false, features = [
- "derive",
-] }
-ed25519-dalek = { version = "2.1.0", default-features = false, features = [
- "alloc",
-] }
+codec = { package = "parity-scale-codec", version = "3.7.5", default-features = false }
enumflags2 = "0.7.9"
futures = "0.3.30"
hex = { version = "0.4", default-features = false }
@@ -83,183 +85,172 @@ memmap2 = "0.9.4"
ndarray = { version = "0.15.6", default-features = false }
parity-util-mem = "0.12.0"
rand = "0.8.5"
-scale-codec = { package = "parity-scale-codec", version = "3.6.12", default-features = false, features = [
- "derive",
-] }
scale-info = { version = "2.11.2", default-features = false }
serde = { version = "1.0.214", default-features = false }
serde-tuple-vec-map = { version = "1.0.1", default-features = false }
serde_bytes = { version = "0.11.14", default-features = false }
-serde_json = { version = "1.0.121", default-features = false }
-serde_with = { version = "=2.0.0", default-features = false }
+serde_json = { version = "1.0.141", default-features = false }
+serde_with = { version = "3.14.0", default-features = false }
smallvec = "1.13.2"
-litep2p = { git = "https://github.com/paritytech/litep2p", tag = "v0.7.0" }
-syn = { version = "2.0.87", features = [
- "full",
- "visit-mut",
- "visit",
- "extra-traits",
- "parsing",
-] }
-quote = "1"
-proc-macro2 = { version = "1", features = ["span-locations"] }
-thiserror = "1.0"
+litep2p = { git = "https://github.com/paritytech/litep2p", tag = "v0.7.0", default-features = false }
+syn = { version = "2.0.87", default-features = false }
+quote = { version = "1", default-features = false }
+proc-macro2 = { version = "1", default-features = false }
walkdir = "2"
approx = "0.5"
alloy-primitives = { version = "0.8.23", default-features = false }
+num-traits = { version = "0.2.19", default-features = false }
+semver = "1.0"
+toml_edit = "0.22"
+derive-syn-parse = "0.2"
+Inflector = "0.11"
+cfg-expr = "0.15"
+itertools = "0.10"
+macro_magic = { version = "0.5", default-features = false }
+frame-support-procedural-tools = { version = "10.0.0", default-features = false }
+proc-macro-warning = { version = "1", default-features = false }
+expander = "2"
+ahash = { version = "0.8", default-features = false }
+regex = { version = "1.11.1", default-features = false }
-subtensor-macros = { path = "support/macros" }
-frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6" }
-frame-executive = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-frame-metadata-hash-extension = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-frame-system-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-frame-try-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-frame-metadata = "18.0.0"
+frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+frame-executive = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+frame-metadata-hash-extension = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+frame-system-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+frame-try-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+frame-metadata = { version = "20.0.0", default-features = false }
-pallet-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-pallet-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-pallet-insecure-randomness-collective-flip = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-pallet-membership = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-pallet-preimage = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
pallet-proxy = { path = "pallets/proxy", default-features = false }
-pallet-safe-mode = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6" }
-pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
pallet-utility = { path = "pallets/utility", default-features = false }
-pallet-root-testing = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
+pallet-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+pallet-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+pallet-insecure-randomness-collective-flip = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+pallet-membership = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+pallet-preimage = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+pallet-safe-mode = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+pallet-root-testing = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
-sc-basic-authorship = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6" }
-sc-cli = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6" }
-sc-client-api = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6" }
-sc-consensus = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6" }
-sc-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6" }
-sc-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6" }
-sc-consensus-grandpa-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6" }
-sc-chain-spec-derive = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6" }
-sc-chain-spec = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6" }
-sc-consensus-slots = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6" }
-sc-executor = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6" }
-sc-keystore = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6" }
-sc-network = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6" }
-sc-offchain = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6" }
-sc-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6" }
-sc-rpc-api = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6" }
-sc-service = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6" }
-sc-telemetry = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6" }
-sc-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6" }
-sc-transaction-pool-api = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6" }
+sc-basic-authorship = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sc-cli = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sc-client-api = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sc-consensus = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sc-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sc-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sc-consensus-grandpa-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sc-chain-spec-derive = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sc-chain-spec = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sc-consensus-slots = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sc-executor = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sc-keystore = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sc-network = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sc-offchain = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sc-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sc-rpc-api = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sc-service = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sc-telemetry = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sc-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sc-transaction-pool-api = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sc-consensus-manual-seal = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sc-network-sync = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
-sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-sp-consensus = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6" }
-sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-sp-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-sp-genesis-builder = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-sp-keyring = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-sp-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-sp-session = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-sp-storage = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6" }
-sp-tracing = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-sp-version = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-sp-weights = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
+sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sp-consensus = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sp-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sp-genesis-builder = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sp-keyring = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sp-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sp-session = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sp-storage = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sp-tracing = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sp-version = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sp-weights = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+sp-crypto-hashing = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
-substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6" }
-substrate-fixed = { git = "https://github.com/opentensor/substrate-fixed.git", tag = "v0.5.9" }
-substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6" }
-substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6" }
+substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+substrate-fixed = { git = "https://github.com/encointer/substrate-fixed.git", tag = "v0.6.0", default-features = false }
+substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+substrate-prometheus-endpoint = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
-sc-consensus-manual-seal = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-sc-network-sync = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-substrate-prometheus-endpoint = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
+cumulus-primitives-proof-size-hostfunction = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
# Frontier
-fp-evm = { git = "https://github.com/opentensor/frontier", rev = "fe6976888fda696771cd15f78dbbdd71ee6c1216", default-features = false }
-fp-rpc = { git = "https://github.com/opentensor/frontier", rev = "fe6976888fda696771cd15f78dbbdd71ee6c1216", default-features = false }
-fp-self-contained = { git = "https://github.com/opentensor/frontier", rev = "fe6976888fda696771cd15f78dbbdd71ee6c1216", default-features = false, features = [
- "serde",
-] }
-fp-account = { git = "https://github.com/opentensor/frontier", rev = "fe6976888fda696771cd15f78dbbdd71ee6c1216", default-features = false }
-fc-storage = { git = "https://github.com/opentensor/frontier", rev = "fe6976888fda696771cd15f78dbbdd71ee6c1216", default-features = false }
-fc-db = { git = "https://github.com/opentensor/frontier", rev = "fe6976888fda696771cd15f78dbbdd71ee6c1216", default-features = false }
-fc-consensus = { git = "https://github.com/opentensor/frontier", rev = "fe6976888fda696771cd15f78dbbdd71ee6c1216", default-features = false }
-fp-consensus = { git = "https://github.com/opentensor/frontier", rev = "fe6976888fda696771cd15f78dbbdd71ee6c1216", default-features = false }
-fp-dynamic-fee = { git = "https://github.com/opentensor/frontier", rev = "fe6976888fda696771cd15f78dbbdd71ee6c1216", default-features = false }
-fc-api = { git = "https://github.com/opentensor/frontier", rev = "fe6976888fda696771cd15f78dbbdd71ee6c1216", default-features = false }
-fc-rpc = { git = "https://github.com/opentensor/frontier", rev = "fe6976888fda696771cd15f78dbbdd71ee6c1216", default-features = false, features = [
- "rpc-binary-search-estimate",
-] }
-fc-rpc-core = { git = "https://github.com/opentensor/frontier", rev = "fe6976888fda696771cd15f78dbbdd71ee6c1216", default-features = false }
-fc-aura = { git = "https://github.com/opentensor/frontier", rev = "fe6976888fda696771cd15f78dbbdd71ee6c1216", default-features = false }
-fc-mapping-sync = { git = "https://github.com/opentensor/frontier", rev = "fe6976888fda696771cd15f78dbbdd71ee6c1216", default-features = false }
-precompile-utils = { git = "https://github.com/opentensor/frontier", rev = "fe6976888fda696771cd15f78dbbdd71ee6c1216", default-features = false }
+fp-evm = { git = "https://github.com/opentensor/frontier", rev = "c591df98c524e1599c45f93cf4685248088ac014", default-features = false }
+fp-rpc = { git = "https://github.com/opentensor/frontier", rev = "c591df98c524e1599c45f93cf4685248088ac014", default-features = false }
+fp-self-contained = { git = "https://github.com/opentensor/frontier", rev = "c591df98c524e1599c45f93cf4685248088ac014", default-features = false }
+fp-account = { git = "https://github.com/opentensor/frontier", rev = "c591df98c524e1599c45f93cf4685248088ac014", default-features = false }
+fc-storage = { git = "https://github.com/opentensor/frontier", rev = "c591df98c524e1599c45f93cf4685248088ac014", default-features = false }
+fc-db = { git = "https://github.com/opentensor/frontier", rev = "c591df98c524e1599c45f93cf4685248088ac014", default-features = false }
+fc-consensus = { git = "https://github.com/opentensor/frontier", rev = "c591df98c524e1599c45f93cf4685248088ac014", default-features = false }
+fp-consensus = { git = "https://github.com/opentensor/frontier", rev = "c591df98c524e1599c45f93cf4685248088ac014", default-features = false }
+fp-dynamic-fee = { git = "https://github.com/opentensor/frontier", rev = "c591df98c524e1599c45f93cf4685248088ac014", default-features = false }
+fc-api = { git = "https://github.com/opentensor/frontier", rev = "c591df98c524e1599c45f93cf4685248088ac014", default-features = false }
+fc-rpc = { git = "https://github.com/opentensor/frontier", rev = "c591df98c524e1599c45f93cf4685248088ac014", default-features = false }
+fc-rpc-core = { git = "https://github.com/opentensor/frontier", rev = "c591df98c524e1599c45f93cf4685248088ac014", default-features = false }
+fc-aura = { git = "https://github.com/opentensor/frontier", rev = "c591df98c524e1599c45f93cf4685248088ac014", default-features = false }
+fc-mapping-sync = { git = "https://github.com/opentensor/frontier", rev = "c591df98c524e1599c45f93cf4685248088ac014", default-features = false }
+precompile-utils = { git = "https://github.com/opentensor/frontier", rev = "c591df98c524e1599c45f93cf4685248088ac014", default-features = false }
# Frontier FRAME
-pallet-base-fee = { git = "https://github.com/opentensor/frontier", rev = "fe6976888fda696771cd15f78dbbdd71ee6c1216", default-features = false }
-pallet-dynamic-fee = { git = "https://github.com/opentensor/frontier", rev = "fe6976888fda696771cd15f78dbbdd71ee6c1216", default-features = false }
-pallet-ethereum = { git = "https://github.com/opentensor/frontier", rev = "fe6976888fda696771cd15f78dbbdd71ee6c1216", default-features = false }
-pallet-evm = { git = "https://github.com/opentensor/frontier", rev = "fe6976888fda696771cd15f78dbbdd71ee6c1216", default-features = false }
-pallet-evm-precompile-dispatch = { git = "https://github.com/opentensor/frontier", rev = "fe6976888fda696771cd15f78dbbdd71ee6c1216", default-features = false }
-pallet-evm-chain-id = { git = "https://github.com/opentensor/frontier", rev = "fe6976888fda696771cd15f78dbbdd71ee6c1216", default-features = false }
-pallet-evm-precompile-modexp = { git = "https://github.com/opentensor/frontier", rev = "fe6976888fda696771cd15f78dbbdd71ee6c1216", default-features = false }
-pallet-evm-precompile-sha3fips = { git = "https://github.com/opentensor/frontier", rev = "fe6976888fda696771cd15f78dbbdd71ee6c1216", default-features = false }
-pallet-evm-precompile-simple = { git = "https://github.com/opentensor/frontier", rev = "fe6976888fda696771cd15f78dbbdd71ee6c1216", default-features = false }
-pallet-evm-precompile-bn128 = { git = "https://github.com/opentensor/frontier", rev = "fe6976888fda696771cd15f78dbbdd71ee6c1216", default-features = false }
-pallet-hotfix-sufficients = { git = "https://github.com/opentensor/frontier", rev = "fe6976888fda696771cd15f78dbbdd71ee6c1216", default-features = false }
+pallet-base-fee = { git = "https://github.com/opentensor/frontier", rev = "c591df98c524e1599c45f93cf4685248088ac014", default-features = false }
+pallet-dynamic-fee = { git = "https://github.com/opentensor/frontier", rev = "c591df98c524e1599c45f93cf4685248088ac014", default-features = false }
+pallet-ethereum = { git = "https://github.com/opentensor/frontier", rev = "c591df98c524e1599c45f93cf4685248088ac014", default-features = false }
+pallet-evm = { git = "https://github.com/opentensor/frontier", rev = "c591df98c524e1599c45f93cf4685248088ac014", default-features = false }
+pallet-evm-precompile-dispatch = { git = "https://github.com/opentensor/frontier", rev = "c591df98c524e1599c45f93cf4685248088ac014", default-features = false }
+pallet-evm-chain-id = { git = "https://github.com/opentensor/frontier", rev = "c591df98c524e1599c45f93cf4685248088ac014", default-features = false }
+pallet-evm-precompile-modexp = { git = "https://github.com/opentensor/frontier", rev = "c591df98c524e1599c45f93cf4685248088ac014", default-features = false }
+pallet-evm-precompile-sha3fips = { git = "https://github.com/opentensor/frontier", rev = "c591df98c524e1599c45f93cf4685248088ac014", default-features = false }
+pallet-evm-precompile-simple = { git = "https://github.com/opentensor/frontier", rev = "c591df98c524e1599c45f93cf4685248088ac014", default-features = false }
+pallet-evm-precompile-bn128 = { git = "https://github.com/opentensor/frontier", rev = "c591df98c524e1599c45f93cf4685248088ac014", default-features = false }
+pallet-hotfix-sufficients = { git = "https://github.com/opentensor/frontier", rev = "c591df98c524e1599c45f93cf4685248088ac014", default-features = false }
#DRAND
pallet-drand = { path = "pallets/drand", default-features = false }
-sp-crypto-ec-utils = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", features = [
- "bls12-381",
-] }
-getrandom = { version = "0.2.15", features = [
+sp-crypto-ec-utils = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+getrandom = { version = "0.2.15", default-features = false, features = [
"custom",
-], default-features = false }
-sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
-w3f-bls = { version = "=0.1.3", default-features = false }
-ark-crypto-primitives = { version = "0.4.0", default-features = false, features = [
- "r1cs",
- "snark",
-] }
-ark-scale = { version = "0.0.11", default-features = false, features = [
- "hazmat",
] }
+sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2503-6", default-features = false }
+w3f-bls = { git = "https://github.com/opentensor/bls", branch = "fix-no-std", default-features = false }
+ark-crypto-primitives = { version = "0.4.0", default-features = false }
+ark-scale = { version = "0.0.11", default-features = false }
sp-ark-bls12-381 = { git = "https://github.com/paritytech/substrate-curves", default-features = false }
-ark-bls12-381 = { version = "0.4.0", features = [
- "curve",
-], default-features = false }
-ark-serialize = { version = "0.4.0", features = [
- "derive",
-], default-features = false }
+ark-bls12-381 = { version = "0.4.0", default-features = false }
+ark-serialize = { version = "0.4.0", default-features = false }
ark-ff = { version = "0.4.0", default-features = false }
ark-ec = { version = "0.4.0", default-features = false }
ark-std = { version = "0.4.0", default-features = false }
-anyhow = "1.0.81"
+anyhow = { version = "1.0.81", default-features = false }
sha2 = { version = "0.10.8", default-features = false }
rand_chacha = { version = "0.3.1", default-features = false }
tle = { git = "https://github.com/ideal-lab5/timelock", rev = "5416406cfd32799e31e1795393d4916894de4468", default-features = false }
-cumulus-primitives-proof-size-hostfunction = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", package = "cumulus-primitives-proof-size-hostfunction", default-features = false }
+# Primitives
[profile.release]
panic = "unwind"
@@ -274,16 +265,10 @@ codegen-units = 1
[features]
default = []
-try-runtime = [
- "node-subtensor/try-runtime",
- "node-subtensor-runtime/try-runtime",
-]
-runtime-benchmarks = [
- "node-subtensor/runtime-benchmarks",
- "node-subtensor-runtime/runtime-benchmarks",
-]
-metadata-hash = ["node-subtensor-runtime/metadata-hash"]
pow-faucet = []
[patch."https://github.com/paritytech/polkadot-sdk.git"]
-sc-consensus-grandpa = { git = "https://github.com/opentensor/grandpa.git", rev = "b3ba2f67d510559edfb4963523de86ed89439d74" }
+sc-consensus-grandpa = { git = "https://github.com/opentensor/grandpa.git", rev = "67ff75e915bd44586b8f8443e457b5b101920da8" }
+
+[patch.crates-io]
+w3f-bls = { git = "https://github.com/opentensor/bls", branch = "fix-no-std" }
diff --git a/common/Cargo.toml b/common/Cargo.toml
index c0de294180..b1b0f1bbf2 100644
--- a/common/Cargo.toml
+++ b/common/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "subtensor-runtime-common"
version = "0.1.0"
-edition = "2024"
+edition.workspace = true
authors = ["Opentensor Foundation "]
homepage = "https://opentensor.ai/"
publish = false
@@ -11,16 +11,15 @@ repository = "https://github.com/opentensor/subtensor/"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
-codec = { workspace = true }
-frame-support = { workspace = true }
-scale-info = { workspace = true }
-serde = { workspace = true }
-sp-core = { workspace = true }
-sp-runtime = { workspace = true }
-substrate-fixed = { workspace = true }
-subtensor-macros = { workspace = true }
-
-approx = {workspace = true, optional = true}
+codec = { workspace = true, features = ["derive"] }
+frame-support.workspace = true
+scale-info.workspace = true
+serde.workspace = true
+sp-core.workspace = true
+sp-runtime.workspace = true
+substrate-fixed.workspace = true
+subtensor-macros.workspace = true
+approx = { workspace = true, optional = true }
[lints]
workspace = true
diff --git a/common/src/currency.rs b/common/src/currency.rs
index f50e2bc9a1..8233383e95 100644
--- a/common/src/currency.rs
+++ b/common/src/currency.rs
@@ -3,14 +3,16 @@ use core::ops::{Add, AddAssign, Div, DivAssign, Mul, MulAssign, Sub, SubAssign};
#[cfg(feature = "approx")]
use approx::AbsDiffEq;
-use codec::{Compact, CompactAs, Decode, Encode, Error as CodecError, MaxEncodedLen};
+use codec::{
+ Compact, CompactAs, Decode, DecodeWithMemTracking, Encode, Error as CodecError, MaxEncodedLen,
+};
use frame_support::pallet_prelude::*;
use scale_info::TypeInfo;
use serde::{Deserialize, Serialize};
use substrate_fixed::traits::{Fixed, ToFixed};
use subtensor_macros::freeze_struct;
-#[freeze_struct("b21dcd0434b67c67")]
+#[freeze_struct("40205476b6d995b2")]
#[repr(transparent)]
#[derive(
Deserialize,
@@ -18,6 +20,7 @@ use subtensor_macros::freeze_struct;
Clone,
Copy,
Decode,
+ DecodeWithMemTracking,
Default,
Encode,
Eq,
@@ -30,103 +33,101 @@ use subtensor_macros::freeze_struct;
)]
pub struct AlphaCurrency(u64);
-impl TypeInfo for AlphaCurrency {
- type Identity = ::Identity;
- fn type_info() -> scale_info::Type {
- ::type_info()
- }
-}
-
-impl Display for AlphaCurrency {
- fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result {
- Display::fmt(&self.0, f)
- }
-}
-
-impl CompactAs for AlphaCurrency {
- type As = u64;
-
- fn encode_as(&self) -> &Self::As {
- &self.0
- }
-
- fn decode_from(v: Self::As) -> Result {
- Ok(Self(v))
- }
-}
-
-impl From> for AlphaCurrency {
- fn from(c: Compact) -> Self {
- c.0
- }
-}
-
-impl From for u64 {
- fn from(val: AlphaCurrency) -> Self {
- val.0
- }
-}
+#[freeze_struct("4d1bcb31c40c2594")]
+#[repr(transparent)]
+#[derive(
+ Deserialize,
+ Serialize,
+ Clone,
+ Copy,
+ Decode,
+ DecodeWithMemTracking,
+ Default,
+ Encode,
+ Eq,
+ Hash,
+ MaxEncodedLen,
+ Ord,
+ PartialEq,
+ PartialOrd,
+ RuntimeDebug,
+)]
+pub struct TaoCurrency(u64);
-impl From for AlphaCurrency {
- fn from(value: u64) -> Self {
- Self(value)
- }
-}
+// implements traits required by the Currency trait (ToFixed + Into + From) and CompactAs,
+// TypeInfo and Display. It expects a wrapper structure for u64 (CurrencyT(u64)).
+macro_rules! impl_currency_reqs {
+ ($currency_type:ident) => {
+ impl $currency_type {
+ pub const fn new(inner: u64) -> Self {
+ Self(inner)
+ }
+ }
-impl ToFixed for AlphaCurrency {
- fn to_fixed(self) -> F {
- self.0.to_fixed()
- }
+ impl TypeInfo for $currency_type {
+ type Identity = ::Identity;
+ fn type_info() -> scale_info::Type {
+ ::type_info()
+ }
+ }
- fn checked_to_fixed(self) -> Option {
- self.0.checked_to_fixed()
- }
+ impl Display for $currency_type {
+ fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result {
+ Display::fmt(&self.0, f)
+ }
+ }
- fn saturating_to_fixed(self) -> F {
- self.0.saturating_to_fixed()
- }
- fn wrapping_to_fixed(self) -> F {
- self.0.wrapping_to_fixed()
- }
+ impl CompactAs for $currency_type {
+ type As = u64;
- fn overflowing_to_fixed(self) -> (F, bool) {
- self.0.overflowing_to_fixed()
- }
-}
+ fn encode_as(&self) -> &Self::As {
+ &self.0
+ }
-impl Currency for AlphaCurrency {
- const MAX: Self = Self(u64::MAX);
- const ZERO: Self = Self(0);
-}
+ fn decode_from(v: Self::As) -> Result {
+ Ok(Self(v))
+ }
+ }
-pub trait Currency: ToFixed + Into + From + Clone + Copy {
- const MAX: Self;
- const ZERO: Self;
+ impl From> for $currency_type {
+ fn from(c: Compact<$currency_type>) -> Self {
+ c.0
+ }
+ }
- fn is_zero(&self) -> bool {
- Into::::into(*self) == 0
- }
+ impl From<$currency_type> for u64 {
+ fn from(val: $currency_type) -> Self {
+ val.0
+ }
+ }
- fn to_u64(&self) -> u64 {
- (*self).into()
- }
+ impl From for $currency_type {
+ fn from(value: u64) -> Self {
+ Self(value)
+ }
+ }
- fn saturating_add(&self, rhv: Self) -> Self {
- Into::::into(*self).saturating_add(rhv.into()).into()
- }
+ impl ToFixed for $currency_type {
+ fn to_fixed(self) -> F {
+ self.0.to_fixed()
+ }
- #[allow(clippy::arithmetic_side_effects)]
- fn saturating_div(&self, rhv: Self) -> Self {
- Into::::into(*self).saturating_div(rhv.into()).into()
- }
+ fn checked_to_fixed(self) -> Option {
+ self.0.checked_to_fixed()
+ }
- fn saturating_sub(&self, rhv: Self) -> Self {
- Into::::into(*self).saturating_sub(rhv.into()).into()
- }
+ fn saturating_to_fixed(self) -> F {
+ self.0.saturating_to_fixed()
+ }
+ fn wrapping_to_fixed(self) -> F {
+ self.0.wrapping_to_fixed()
+ }
- fn saturating_mul(&self, rhv: Self) -> Self {
- Into::::into(*self).saturating_mul(rhv.into()).into()
- }
+ fn overflowing_to_fixed(self) -> (F, bool) {
+ self.0.overflowing_to_fixed()
+ }
+ }
+ };
}
macro_rules! impl_arithmetic_operators {
@@ -205,8 +206,6 @@ macro_rules! impl_arithmetic_operators {
};
}
-impl_arithmetic_operators!(AlphaCurrency);
-
macro_rules! impl_approx {
($currency_type:ident) => {
#[cfg(feature = "approx")]
@@ -228,4 +227,50 @@ macro_rules! impl_approx {
};
}
+pub trait Currency: ToFixed + Into + From + Clone + Copy {
+ const MAX: Self;
+ const ZERO: Self;
+
+ fn is_zero(&self) -> bool {
+ Into::::into(*self) == 0
+ }
+
+ fn to_u64(&self) -> u64 {
+ (*self).into()
+ }
+
+ fn saturating_add(&self, rhv: Self) -> Self {
+ Into::::into(*self).saturating_add(rhv.into()).into()
+ }
+
+ #[allow(clippy::arithmetic_side_effects)]
+ fn saturating_div(&self, rhv: Self) -> Self {
+ Into::::into(*self).saturating_div(rhv.into()).into()
+ }
+
+ fn saturating_sub(&self, rhv: Self) -> Self {
+ Into::::into(*self).saturating_sub(rhv.into()).into()
+ }
+
+ fn saturating_mul(&self, rhv: Self) -> Self {
+ Into::::into(*self).saturating_mul(rhv.into()).into()
+ }
+}
+
+impl_arithmetic_operators!(AlphaCurrency);
impl_approx!(AlphaCurrency);
+impl_currency_reqs!(AlphaCurrency);
+
+impl_arithmetic_operators!(TaoCurrency);
+impl_approx!(TaoCurrency);
+impl_currency_reqs!(TaoCurrency);
+
+impl Currency for AlphaCurrency {
+ const MAX: Self = Self(u64::MAX);
+ const ZERO: Self = Self(0);
+}
+
+impl Currency for TaoCurrency {
+ const MAX: Self = Self(u64::MAX);
+ const ZERO: Self = Self(0);
+}
diff --git a/common/src/lib.rs b/common/src/lib.rs
index 44b7fb879a..abec6ed7c8 100644
--- a/common/src/lib.rs
+++ b/common/src/lib.rs
@@ -1,7 +1,9 @@
#![cfg_attr(not(feature = "std"), no_std)]
use core::fmt::{self, Display, Formatter};
-use codec::{Compact, CompactAs, Decode, Encode, Error as CodecError, MaxEncodedLen};
+use codec::{
+ Compact, CompactAs, Decode, DecodeWithMemTracking, Encode, Error as CodecError, MaxEncodedLen,
+};
use frame_support::pallet_prelude::*;
use scale_info::TypeInfo;
use serde::{Deserialize, Serialize};
@@ -39,7 +41,7 @@ pub type Nonce = u32;
/// Transfers below SMALL_TRANSFER_LIMIT are considered small transfers
pub const SMALL_TRANSFER_LIMIT: Balance = 500_000_000; // 0.5 TAO
-#[freeze_struct("9b6be98fb98e9b17")]
+#[freeze_struct("c972489bff40ae48")]
#[repr(transparent)]
#[derive(
Deserialize,
@@ -47,6 +49,7 @@ pub const SMALL_TRANSFER_LIMIT: Balance = 500_000_000; // 0.5 TAO
Clone,
Copy,
Decode,
+ DecodeWithMemTracking,
Default,
Encode,
Eq,
@@ -124,7 +127,18 @@ impl TypeInfo for NetUid {
}
#[derive(
- Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Encode, Decode, Debug, MaxEncodedLen, TypeInfo,
+ Copy,
+ Clone,
+ Eq,
+ PartialEq,
+ Ord,
+ PartialOrd,
+ Encode,
+ Decode,
+ DecodeWithMemTracking,
+ Debug,
+ MaxEncodedLen,
+ TypeInfo,
)]
pub enum ProxyType {
Any,
@@ -154,7 +168,7 @@ impl Default for ProxyType {
}
pub trait SubnetInfo {
- fn tao_reserve(netuid: NetUid) -> u64;
+ fn tao_reserve(netuid: NetUid) -> TaoCurrency;
fn alpha_reserve(netuid: NetUid) -> AlphaCurrency;
fn exists(netuid: NetUid) -> bool;
fn mechanism(netuid: NetUid) -> u16;
@@ -162,10 +176,13 @@ pub trait SubnetInfo {
}
pub trait BalanceOps {
- fn tao_balance(account_id: &AccountId) -> u64;
+ fn tao_balance(account_id: &AccountId) -> TaoCurrency;
fn alpha_balance(netuid: NetUid, coldkey: &AccountId, hotkey: &AccountId) -> AlphaCurrency;
- fn increase_balance(coldkey: &AccountId, tao: u64);
- fn decrease_balance(coldkey: &AccountId, tao: u64) -> Result;
+ fn increase_balance(coldkey: &AccountId, tao: TaoCurrency);
+ fn decrease_balance(
+ coldkey: &AccountId,
+ tao: TaoCurrency,
+ ) -> Result;
fn increase_stake(
coldkey: &AccountId,
hotkey: &AccountId,
@@ -178,8 +195,8 @@ pub trait BalanceOps {
netuid: NetUid,
alpha: AlphaCurrency,
) -> Result;
- fn increase_provided_tao_reserve(netuid: NetUid, tao: u64);
- fn decrease_provided_tao_reserve(netuid: NetUid, tao: u64);
+ fn increase_provided_tao_reserve(netuid: NetUid, tao: TaoCurrency);
+ fn decrease_provided_tao_reserve(netuid: NetUid, tao: TaoCurrency);
fn increase_provided_alpha_reserve(netuid: NetUid, alpha: AlphaCurrency);
fn decrease_provided_alpha_reserve(netuid: NetUid, alpha: AlphaCurrency);
}
diff --git a/evm-tests/test/crowdloan.precompile.test.ts b/evm-tests/test/crowdloan.precompile.test.ts
index 314e19e82d..70c93ca5f4 100644
--- a/evm-tests/test/crowdloan.precompile.test.ts
+++ b/evm-tests/test/crowdloan.precompile.test.ts
@@ -1,3 +1,5 @@
+import * as assert from "assert";
+
import { PublicClient } from "viem";
import { ETH_LOCAL_URL } from "../src/config";
import { generateRandomEthersWallet, getPublicClient } from "../src/utils";
@@ -9,7 +11,6 @@ import { getAliceSigner, getDevnetApi, waitForFinalizedBlock } from "../src/subs
import { forceSetBalanceToEthAddress } from "../src/subtensor";
import { decodeAddress } from "@polkadot/util-crypto";
import { u8aToHex } from "@polkadot/util";
-import { assert } from "chai";
import { convertH160ToSS58 } from "../src/address-utils";
describe("Test Crowdloan precompile", () => {
@@ -50,7 +51,7 @@ describe("Test Crowdloan precompile", () => {
const crowdloan = await api.query.Crowdloan.Crowdloans.getValue(nextId);
const crowdloanInfo = await crowdloanContract.getCrowdloan(nextId);
- assert.isDefined(crowdloan);
+ assert.ok(crowdloan);
assert.equal(crowdloanInfo[0], u8aToHex(decodeAddress(crowdloan.creator)));
assert.equal(crowdloanInfo[1], crowdloan.deposit);
assert.equal(crowdloanInfo[2], crowdloan.min_contribution);
@@ -83,7 +84,7 @@ describe("Test Crowdloan precompile", () => {
await tx.wait();
const crowdloan = await api.query.Crowdloan.Crowdloans.getValue(nextId);
- assert.isDefined(crowdloan);
+ assert.ok(crowdloan);
assert.equal(crowdloan.creator, convertH160ToSS58(wallet1.address));
assert.equal(crowdloan.deposit, deposit);
assert.equal(crowdloan.min_contribution, minContribution);
@@ -123,7 +124,7 @@ describe("Test Crowdloan precompile", () => {
}).signAndSubmit(alice);
let crowdloan = await api.query.Crowdloan.Crowdloans.getValue(nextId);
- assert.isDefined(crowdloan);
+ assert.ok(crowdloan);
assert.equal(crowdloan.raised, deposit);
assert.equal(crowdloan.contributors_count, 1);
@@ -138,10 +139,10 @@ describe("Test Crowdloan precompile", () => {
await tx.wait();
let balanceAfter = await api.query.System.Account.getValue(convertH160ToSS58(wallet1.address));
- assert.approximately(Number(balanceBefore.data.free - balanceAfter.data.free), Number(contribution), 1_000_000);
+ assert.ok(Number(balanceBefore.data.free - balanceAfter.data.free) - Number(contribution) < 1_000_000);
crowdloan = await api.query.Crowdloan.Crowdloans.getValue(nextId);
- assert.isDefined(crowdloan);
+ assert.ok(crowdloan);
assert.equal(crowdloan.raised, deposit + contribution);
assert.equal(crowdloan.contributors_count, 2);
@@ -155,10 +156,10 @@ describe("Test Crowdloan precompile", () => {
await tx2.wait();
balanceAfter = await api.query.System.Account.getValue(convertH160ToSS58(wallet1.address));
- assert.approximately(Number(balanceAfter.data.free), Number(balanceBefore.data.free + contribution), 1_000_000);
+ assert.ok(Number(balanceAfter.data.free) - Number(balanceBefore.data.free + contribution) < 1_000_000);
crowdloan = await api.query.Crowdloan.Crowdloans.getValue(nextId);
- assert.isDefined(crowdloan);
+ assert.ok(crowdloan);
assert.equal(crowdloan.raised, deposit);
assert.equal(crowdloan.contributors_count, 1);
@@ -188,10 +189,10 @@ describe("Test Crowdloan precompile", () => {
await tx.wait();
let balanceAfter = await api.query.System.Account.getValue(convertH160ToSS58(wallet1.address));
- assert.approximately(Number(balanceBefore.data.free - balanceAfter.data.free), Number(deposit), 1_000_000);
+ assert.ok(Number(balanceBefore.data.free - balanceAfter.data.free) - Number(deposit) < 1_000_000);
let crowdloan = await api.query.Crowdloan.Crowdloans.getValue(nextId);
- assert.isDefined(crowdloan);
+ assert.ok(crowdloan);
assert.equal(crowdloan.raised, deposit);
assert.equal(crowdloan.contributors_count, 1);
@@ -207,10 +208,10 @@ describe("Test Crowdloan precompile", () => {
await tx.wait();
balanceAfter = await api.query.System.Account.getValue(convertH160ToSS58(wallet2.address));
- assert.approximately(Number(balanceBefore.data.free - balanceAfter.data.free), Number(contribution), 1_000_000);
+ assert.ok(Number(balanceBefore.data.free - balanceAfter.data.free) - Number(contribution) < 1_000_000);
crowdloan = await api.query.Crowdloan.Crowdloans.getValue(nextId);
- assert.isDefined(crowdloan);
+ assert.ok(crowdloan);
assert.equal(crowdloan.raised, deposit + contribution);
assert.equal(crowdloan.contributors_count, 2);
@@ -224,10 +225,10 @@ describe("Test Crowdloan precompile", () => {
await tx2.wait();
balanceAfter = await api.query.System.Account.getValue(convertH160ToSS58(wallet2.address));
- assert.approximately(Number(balanceAfter.data.free), Number(balanceBefore.data.free + contribution), 1_000_000);
+ assert.ok(Number(balanceAfter.data.free) - Number(balanceBefore.data.free + contribution) < 1_000_000);
crowdloan = await api.query.Crowdloan.Crowdloans.getValue(nextId);
- assert.isDefined(crowdloan);
+ assert.ok(crowdloan);
assert.equal(crowdloan.raised, deposit);
assert.equal(crowdloan.contributors_count, 1);
@@ -268,11 +269,11 @@ describe("Test Crowdloan precompile", () => {
await tx.wait();
const crowdloan = await api.query.Crowdloan.Crowdloans.getValue(nextId);
- assert.isDefined(crowdloan);
- assert.isTrue(crowdloan.finalized);
+ assert.ok(crowdloan);
+ assert.equal(crowdloan.finalized, true);
const crowdloanInfo = await crowdloanContract.getCrowdloan(nextId);
- assert.isTrue(crowdloanInfo[9]);
+ assert.equal(crowdloanInfo[9], true);
const balanceAfter = await api.query.System.Account.getValue(convertH160ToSS58(targetAddress.address));
assert.equal(balanceAfter.data.free, cap);
@@ -316,7 +317,7 @@ describe("Test Crowdloan precompile", () => {
await waitForFinalizedBlock(api, end);
let crowdloan = await api.query.Crowdloan.Crowdloans.getValue(nextId);
- assert.isDefined(crowdloan);
+ assert.ok(crowdloan);
assert.equal(crowdloan.raised, deposit + contribution * BigInt(3));
assert.equal(crowdloan.contributors_count, 4);
@@ -328,14 +329,14 @@ describe("Test Crowdloan precompile", () => {
await tx.wait();
const balanceAfter2 = await api.query.System.Account.getValue(convertH160ToSS58(wallet2.address));
- assert.approximately(Number(balanceAfter2.data.free), Number(balanceBefore2.data.free), 1_000_000);
+ assert.ok(Number(balanceAfter2.data.free) - Number(balanceBefore2.data.free) < 1_000_000);
const balanceAfter3 = await api.query.System.Account.getValue(convertH160ToSS58(wallet3.address));
- assert.approximately(Number(balanceAfter3.data.free), Number(balanceBefore3.data.free), 1_000_000);
+ assert.ok(Number(balanceAfter3.data.free) - Number(balanceBefore3.data.free) < 1_000_000);
const balanceAfter4 = await api.query.System.Account.getValue(convertH160ToSS58(wallet4.address));
- assert.approximately(Number(balanceAfter4.data.free), Number(balanceBefore4.data.free), 1_000_000);
+ assert.ok(Number(balanceAfter4.data.free) - Number(balanceBefore4.data.free) < 1_000_000);
crowdloan = await api.query.Crowdloan.Crowdloans.getValue(nextId);
- assert.isDefined(crowdloan);
+ assert.ok(crowdloan);
assert.equal(crowdloan.raised, deposit);
assert.equal(crowdloan.contributors_count, 1);
@@ -347,10 +348,10 @@ describe("Test Crowdloan precompile", () => {
await tx.wait();
crowdloan = await api.query.Crowdloan.Crowdloans.getValue(nextId);
- assert.isUndefined(crowdloan);
+ assert.equal(crowdloan, undefined);
const balanceAfter1 = await api.query.System.Account.getValue(convertH160ToSS58(wallet1.address));
- assert.approximately(Number(balanceAfter1.data.free), Number(balanceBefore1.data.free), 2_000_000);
+ assert.ok(Number(balanceAfter1.data.free) - Number(balanceBefore1.data.free) < 2_000_000);
});
it("updates the min contribution", async () => {
@@ -372,7 +373,7 @@ describe("Test Crowdloan precompile", () => {
await tx.wait();
const crowdloan = await api.query.Crowdloan.Crowdloans.getValue(nextId);
- assert.isDefined(crowdloan);
+ assert.ok(crowdloan);
assert.equal(crowdloan.min_contribution, BigInt(1_000_000_000));
const newMinContribution = BigInt(2_000_000_000);
@@ -380,7 +381,7 @@ describe("Test Crowdloan precompile", () => {
await tx.wait();
const updatedCrowdloan = await api.query.Crowdloan.Crowdloans.getValue(nextId);
- assert.isDefined(updatedCrowdloan);
+ assert.ok(updatedCrowdloan);
assert.equal(updatedCrowdloan.min_contribution, newMinContribution);
const updatedCrowdloanInfo = await crowdloanContract.getCrowdloan(nextId);
@@ -406,7 +407,7 @@ describe("Test Crowdloan precompile", () => {
await tx.wait();
const crowdloan = await api.query.Crowdloan.Crowdloans.getValue(nextId);
- assert.isDefined(crowdloan);
+ assert.ok(crowdloan);
assert.equal(crowdloan.end, end);
const newEnd = end + 200;
@@ -414,7 +415,7 @@ describe("Test Crowdloan precompile", () => {
await tx2.wait();
const updatedCrowdloan = await api.query.Crowdloan.Crowdloans.getValue(nextId);
- assert.isDefined(updatedCrowdloan);
+ assert.ok(updatedCrowdloan);
assert.equal(updatedCrowdloan.end, newEnd);
const updatedCrowdloanInfo = await crowdloanContract.getCrowdloan(nextId);
@@ -440,7 +441,7 @@ describe("Test Crowdloan precompile", () => {
await tx.wait();
const crowdloan = await api.query.Crowdloan.Crowdloans.getValue(nextId);
- assert.isDefined(crowdloan);
+ assert.ok(crowdloan);
assert.equal(crowdloan.cap, BigInt(200_000_000_000));
const newCap = BigInt(300_000_000_000);
@@ -448,7 +449,7 @@ describe("Test Crowdloan precompile", () => {
await tx2.wait();
const updatedCrowdloan = await api.query.Crowdloan.Crowdloans.getValue(nextId);
- assert.isDefined(updatedCrowdloan);
+ assert.ok(updatedCrowdloan);
assert.equal(updatedCrowdloan.cap, newCap);
const updatedCrowdloanInfo = await crowdloanContract.getCrowdloan(nextId);
diff --git a/evm-tests/test/leasing.precompile.test.ts b/evm-tests/test/leasing.precompile.test.ts
index 53bbbf8334..7ea45c0509 100644
--- a/evm-tests/test/leasing.precompile.test.ts
+++ b/evm-tests/test/leasing.precompile.test.ts
@@ -1,3 +1,5 @@
+import * as assert from "assert";
+
import { PublicClient } from "viem";
import { ETH_LOCAL_URL } from "../src/config";
import { generateRandomEthersWallet, getPublicClient } from "../src/utils";
@@ -11,7 +13,6 @@ import { u8aToHex } from "@polkadot/util";
import { ILEASING_ADDRESS, ILeasingABI } from "../src/contracts/leasing";
import { ICROWDLOAN_ADDRESS, ICrowdloanABI } from "../src/contracts/crowdloan";
import { INEURON_ADDRESS, INeuronABI } from "../src/contracts/neuron";
-import { assert } from "chai";
import { convertH160ToPublicKey, convertH160ToSS58 } from "../src/address-utils";
describe("Test Leasing precompile", () => {
@@ -20,7 +21,6 @@ describe("Test Leasing precompile", () => {
let wallet1: ethers.Wallet;
let wallet2: ethers.Wallet;
- let wallet3: ethers.Wallet;
let leaseContract: ethers.Contract;
let crowdloanContract: ethers.Contract;
let neuronContract: ethers.Contract;
@@ -34,22 +34,18 @@ describe("Test Leasing precompile", () => {
wallet1 = generateRandomEthersWallet();
wallet2 = generateRandomEthersWallet();
- wallet3 = generateRandomEthersWallet();
leaseContract = new ethers.Contract(ILEASING_ADDRESS, ILeasingABI, wallet1);
crowdloanContract = new ethers.Contract(ICROWDLOAN_ADDRESS, ICrowdloanABI, wallet1);
neuronContract = new ethers.Contract(INEURON_ADDRESS, INeuronABI, wallet1);
await forceSetBalanceToEthAddress(api, wallet1.address);
await forceSetBalanceToEthAddress(api, wallet2.address);
- await forceSetBalanceToEthAddress(api, wallet3.address);
- await neuronContract.burnedRegister(1, convertH160ToPublicKey(wallet3.address));
- await forceSetBalanceToEthAddress(api, wallet1.address);
});
it("gets an existing lease created on substrate side, its subnet id and its contributor shares", async () => {
const nextCrowdloanId = await api.query.Crowdloan.NextCrowdloanId.getValue();
const crowdloanDeposit = BigInt(100_000_000_000); // 100 TAO
- const crowdloanCap = BigInt(10_000_000_000_000); // 10000 TAO
+ const crowdloanCap = await api.query.SubtensorModule.NetworkLastLockCost.getValue() * BigInt(2);
const crowdloanEnd = await api.query.System.Number.getValue() + 100;
const leaseEmissionsShare = 15;
const leaseEnd = await api.query.System.Number.getValue() + 300;
@@ -79,7 +75,7 @@ describe("Test Leasing precompile", () => {
const lease = await api.query.SubtensorModule.SubnetLeases.getValue(nextLeaseId);
const leaseInfo = await leaseContract.getLease(nextLeaseId);
- assert.isDefined(lease);
+ assert.ok(lease);
assert.equal(leaseInfo[0], u8aToHex(decodeAddress(lease.beneficiary)));
assert.equal(leaseInfo[1], u8aToHex(decodeAddress(lease.coldkey)));
assert.equal(leaseInfo[2], u8aToHex(decodeAddress(lease.hotkey)));
@@ -104,7 +100,7 @@ describe("Test Leasing precompile", () => {
const nextCrowdloanId = await api.query.Crowdloan.NextCrowdloanId.getValue();
const crowdloanDeposit = BigInt(100_000_000_000); // 100 TAO
const crowdloanMinContribution = BigInt(1_000_000_000); // 1 TAO
- const crowdloanCap = BigInt(10_000_000_000_000); // 10000 TAO
+ const crowdloanCap = await api.query.SubtensorModule.NetworkLastLockCost.getValue() * BigInt(2);
const crowdloanEnd = await api.query.System.Number.getValue() + 100;
const leasingEmissionsShare = 15;
const leasingEndBlock = await api.query.System.Number.getValue() + 300;
@@ -131,7 +127,7 @@ describe("Test Leasing precompile", () => {
await tx.wait();
const lease = await api.query.SubtensorModule.SubnetLeases.getValue(nextLeaseId);
- assert.isDefined(lease);
+ assert.ok(lease);
assert.equal(lease.beneficiary, convertH160ToSS58(wallet1.address));
assert.equal(lease.emissions_share, leasingEmissionsShare);
assert.equal(lease.end_block, leasingEndBlock);
@@ -158,15 +154,19 @@ describe("Test Leasing precompile", () => {
});
it("terminates a lease", async () => {
+ const hotkey = generateRandomEthersWallet();
+ let tx = await neuronContract.burnedRegister(1, convertH160ToPublicKey(hotkey.address));
+ await tx.wait();
+
const nextCrowdloanId = await api.query.Crowdloan.NextCrowdloanId.getValue();
const crowdloanDeposit = BigInt(100_000_000_000); // 100 TAO
const crowdloanMinContribution = BigInt(1_000_000_000); // 1 TAO
- const crowdloanCap = BigInt(10_000_000_000_000); // 10000 TAO
+ const crowdloanCap = await api.query.SubtensorModule.NetworkLastLockCost.getValue() * BigInt(2);
const crowdloanEnd = await api.query.System.Number.getValue() + 100;
const leasingEmissionsShare = 15;
const leasingEndBlock = await api.query.System.Number.getValue() + 200;
- let tx = await leaseContract.createLeaseCrowdloan(
+ tx = await leaseContract.createLeaseCrowdloan(
crowdloanDeposit,
crowdloanMinContribution,
crowdloanCap,
@@ -190,19 +190,19 @@ describe("Test Leasing precompile", () => {
await waitForFinalizedBlock(api, leasingEndBlock);
let lease = await api.query.SubtensorModule.SubnetLeases.getValue(nextLeaseId);
- assert.isDefined(lease);
+ assert.ok(lease);
const netuid = lease.netuid;
- tx = await leaseContract.terminateLease(nextLeaseId, convertH160ToPublicKey(wallet3.address));
+ tx = await leaseContract.terminateLease(nextLeaseId, convertH160ToPublicKey(hotkey.address));
await tx.wait();
lease = await api.query.SubtensorModule.SubnetLeases.getValue(nextLeaseId);
- assert.isUndefined(lease);
+ assert.strictEqual(lease, undefined);
// Ensure that the subnet ownership has been transferred
const ownerColdkey = await api.query.SubtensorModule.SubnetOwner.getValue(netuid);
const ownerHotkey = await api.query.SubtensorModule.SubnetOwnerHotkey.getValue(netuid);
assert.equal(ownerColdkey, convertH160ToSS58(wallet1.address));
- assert.equal(ownerHotkey, convertH160ToSS58(wallet3.address));
+ assert.equal(ownerHotkey, convertH160ToSS58(hotkey.address));
});
})
\ No newline at end of file
diff --git a/evm-tests/yarn.lock b/evm-tests/yarn.lock
index 043a97f2ef..38c4c5bde2 100644
--- a/evm-tests/yarn.lock
+++ b/evm-tests/yarn.lock
@@ -26,10 +26,10 @@
resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz"
integrity sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==
-"@commander-js/extra-typings@^13.1.0":
- version "13.1.0"
- resolved "https://registry.npmjs.org/@commander-js/extra-typings/-/extra-typings-13.1.0.tgz"
- integrity sha512-q5P52BYb1hwVWE6dtID7VvuJWrlfbCv4klj7BjUUOqMz4jbSZD4C9fJ9lRjL2jnBGTg+gDDlaXN51rkWcLk4fg==
+"@commander-js/extra-typings@^14.0.0":
+ version "14.0.0"
+ resolved "https://registry.yarnpkg.com/@commander-js/extra-typings/-/extra-typings-14.0.0.tgz#a48b73e8e9c80d5c7538d361f9c1fb9b231643d7"
+ integrity sha512-hIn0ncNaJRLkZrxBIp5AsW/eXEHNKYQBh0aPdoUqNgD+Io3NIykQqpKFyKcuasZhicGaEZJX/JBSIkZ4e5x8Dg==
"@cspotcode/source-map-support@^0.8.0":
version "0.8.1"
@@ -80,12 +80,12 @@
"@esbuild/darwin-arm64@0.21.5":
version "0.21.5"
- resolved "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz"
+ resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz#e495b539660e51690f3928af50a76fb0a6ccff2a"
integrity sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==
"@esbuild/darwin-arm64@0.25.5":
version "0.25.5"
- resolved "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.5.tgz"
+ resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.25.5.tgz#49d8bf8b1df95f759ac81eb1d0736018006d7e34"
integrity sha512-GtaBgammVvdF7aPIgH2jxMDdivezgFu6iKpmT+48+F8Hhg5J/sfnDieg0aeG/jfSvkYQU2/pceFPDKlqZzwnfQ==
"@esbuild/darwin-x64@0.21.5":
@@ -200,12 +200,12 @@
"@esbuild/linux-x64@0.21.5":
version "0.21.5"
- resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz#6d8f0c768e070e64309af8004bb94e68ab2bb3b0"
+ resolved "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz"
integrity sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==
"@esbuild/linux-x64@0.25.5":
version "0.25.5"
- resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.25.5.tgz#b2357dd153aa49038967ddc1ffd90c68a9d2a0d4"
+ resolved "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.5.tgz"
integrity sha512-uhj8N2obKTE6pSZ+aMUbqq+1nXxNjZIIjCjGLfsWvVpy7gKCOL6rsY1MhRh9zLtUtAI7vpgLMK6DxjO8Qm9lJw==
"@esbuild/netbsd-arm64@0.25.5":
@@ -381,60 +381,60 @@
resolved "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz"
integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==
-"@polkadot-api/cli@0.13.0":
- version "0.13.0"
- resolved "https://registry.npmjs.org/@polkadot-api/cli/-/cli-0.13.0.tgz"
- integrity sha512-uumqacO1+YxuhHYOr75czxvV0KmRxm3DaZtRKzxIf2zpICnj/QnBTpJwlxU56g+pQDU5P/hTR0Thh0vrnUTNVw==
+"@polkadot-api/cli@0.14.5":
+ version "0.14.5"
+ resolved "https://registry.yarnpkg.com/@polkadot-api/cli/-/cli-0.14.5.tgz#e87cef726d6844d720170e917d00d86b7b4955d8"
+ integrity sha512-510nvNWsOOYQJZq1ZJKPlvQ81sNXmwlmb8Ww9UI5THgarFJcuUvPe7W/kCRAUBdrK5yp5hziVrxuy84p55pWDQ==
dependencies:
- "@commander-js/extra-typings" "^13.1.0"
- "@polkadot-api/codegen" "0.16.0"
- "@polkadot-api/ink-contracts" "0.3.2"
+ "@commander-js/extra-typings" "^14.0.0"
+ "@polkadot-api/codegen" "0.17.1"
+ "@polkadot-api/ink-contracts" "0.3.7"
"@polkadot-api/json-rpc-provider" "0.0.4"
- "@polkadot-api/known-chains" "0.7.6"
- "@polkadot-api/metadata-compatibility" "0.2.3"
- "@polkadot-api/observable-client" "0.11.0"
+ "@polkadot-api/known-chains" "0.9.3"
+ "@polkadot-api/metadata-compatibility" "0.3.2"
+ "@polkadot-api/observable-client" "0.13.4"
"@polkadot-api/polkadot-sdk-compat" "2.3.2"
"@polkadot-api/sm-provider" "0.1.7"
- "@polkadot-api/smoldot" "0.3.8"
- "@polkadot-api/substrate-bindings" "0.13.0"
- "@polkadot-api/substrate-client" "0.3.0"
- "@polkadot-api/utils" "0.1.2"
- "@polkadot-api/wasm-executor" "^0.1.2"
- "@polkadot-api/ws-provider" "0.4.0"
- "@types/node" "^22.15.18"
- commander "^13.1.0"
- execa "^9.5.3"
+ "@polkadot-api/smoldot" "0.3.10"
+ "@polkadot-api/substrate-bindings" "0.15.1"
+ "@polkadot-api/substrate-client" "0.4.2"
+ "@polkadot-api/utils" "0.2.0"
+ "@polkadot-api/wasm-executor" "^0.2.1"
+ "@polkadot-api/ws-provider" "0.4.1"
+ "@types/node" "^24.0.14"
+ commander "^14.0.0"
+ execa "^9.6.0"
fs.promises.exists "^1.1.4"
ora "^8.2.0"
read-pkg "^9.0.1"
rxjs "^7.8.2"
tsc-prog "^2.3.0"
- tsup "^8.4.0"
+ tsup "^8.5.0"
typescript "^5.8.3"
write-package "^7.1.0"
-"@polkadot-api/codegen@0.16.0":
- version "0.16.0"
- resolved "https://registry.npmjs.org/@polkadot-api/codegen/-/codegen-0.16.0.tgz"
- integrity sha512-2Sq/fkB7a9Oi3t7nGc0EbTt1Nd8Pb8XGiKKS9i/wwFAdCLN2oXd33DxmRQTX0Hm2/nrBzXYh1zBuyxRUb9+Sdw==
+"@polkadot-api/codegen@0.17.1":
+ version "0.17.1"
+ resolved "https://registry.yarnpkg.com/@polkadot-api/codegen/-/codegen-0.17.1.tgz#53af24167656cbf327ec7a0e418225957f438108"
+ integrity sha512-JAbKbnqNH5W/siIA2tYJqCsDehzXOVStTrSgiWuIjfly+6fvXig/tKqoreNpY6NAmAe9BBkVw8kSfZs4mm/UfA==
dependencies:
- "@polkadot-api/ink-contracts" "0.3.2"
- "@polkadot-api/metadata-builders" "0.12.1"
- "@polkadot-api/metadata-compatibility" "0.2.3"
- "@polkadot-api/substrate-bindings" "0.13.0"
- "@polkadot-api/utils" "0.1.2"
+ "@polkadot-api/ink-contracts" "0.3.7"
+ "@polkadot-api/metadata-builders" "0.13.1"
+ "@polkadot-api/metadata-compatibility" "0.3.2"
+ "@polkadot-api/substrate-bindings" "0.15.1"
+ "@polkadot-api/utils" "0.2.0"
"@polkadot-api/descriptors@file:.papi/descriptors":
- version "0.1.0-autogenerated.9294084971075542043"
+ version "0.1.0-autogenerated.1186735750961316967"
-"@polkadot-api/ink-contracts@0.3.2":
- version "0.3.2"
- resolved "https://registry.npmjs.org/@polkadot-api/ink-contracts/-/ink-contracts-0.3.2.tgz"
- integrity sha512-ipWuClaySrPI7XHIomiswXhIZfU4q/EmHmLFIwLdn9iNhLd7YLuUtGF6kacSQu76YtWd3tkLe2rGx4cRRaLjOA==
+"@polkadot-api/ink-contracts@0.3.7":
+ version "0.3.7"
+ resolved "https://registry.yarnpkg.com/@polkadot-api/ink-contracts/-/ink-contracts-0.3.7.tgz#d3f3800c542a8bfd149373686a5190397d450e30"
+ integrity sha512-n72H9xu7E7gvVB3+YhRRcYuD5ozc5u2Camv/NyYRrKg+omoL3qtn6k9ucPb1j77GbrZA1dLXpBYmjd9fVuQ4Xg==
dependencies:
- "@polkadot-api/metadata-builders" "0.12.1"
- "@polkadot-api/substrate-bindings" "0.13.0"
- "@polkadot-api/utils" "0.1.2"
+ "@polkadot-api/metadata-builders" "0.13.1"
+ "@polkadot-api/substrate-bindings" "0.15.1"
+ "@polkadot-api/utils" "0.2.0"
"@polkadot-api/json-rpc-provider-proxy@0.2.4":
version "0.2.4"
@@ -456,10 +456,15 @@
resolved "https://registry.npmjs.org/@polkadot-api/json-rpc-provider/-/json-rpc-provider-0.0.4.tgz"
integrity sha512-9cDijLIxzHOBuq6yHqpqjJ9jBmXrctjc1OFqU+tQrS96adQze3mTIH6DTgfb/0LMrqxzxffz1HQGrIlEH00WrA==
-"@polkadot-api/known-chains@0.7.6":
- version "0.7.6"
- resolved "https://registry.npmjs.org/@polkadot-api/known-chains/-/known-chains-0.7.6.tgz"
- integrity sha512-em+p9AVfTYulC4U10I+nO42wdczN9ZSAEyb5ppQsxxsKAxaJVPVe4xsDkWzlhheheEN6OBojNHnoYNBVG6X2bg==
+"@polkadot-api/json-rpc-provider@workspace:*":
+ version "0.0.4"
+ resolved "https://registry.yarnpkg.com/@polkadot-api/json-rpc-provider/-/json-rpc-provider-0.0.4.tgz#15d0c6a7ec14aa6d0dd64039f931bebea83ffdb3"
+ integrity sha512-9cDijLIxzHOBuq6yHqpqjJ9jBmXrctjc1OFqU+tQrS96adQze3mTIH6DTgfb/0LMrqxzxffz1HQGrIlEH00WrA==
+
+"@polkadot-api/known-chains@0.9.3":
+ version "0.9.3"
+ resolved "https://registry.yarnpkg.com/@polkadot-api/known-chains/-/known-chains-0.9.3.tgz#e0a65be93fef367cc27cd4dfc3cef3b877846547"
+ integrity sha512-zP+6R8JrrkDfFa5p6pBtRGCxuc0vJlzbgJ/EXokpe+FHl4HyVobj0fgo9UXklOXXbV2iTQnNXOsXiE8QfLBwIQ==
"@polkadot-api/logs-provider@0.0.6":
version "0.0.6"
@@ -468,22 +473,22 @@
dependencies:
"@polkadot-api/json-rpc-provider" "0.0.4"
-"@polkadot-api/merkleize-metadata@1.1.17":
- version "1.1.17"
- resolved "https://registry.npmjs.org/@polkadot-api/merkleize-metadata/-/merkleize-metadata-1.1.17.tgz"
- integrity sha512-3wlLrYjpBluN5l8M1H9zgXlFHfJhqIXYvSVXTvkBYcEVKxZt0PO0f43Zgskeabg29Lx83OiPINcEHFWF8ndAzg==
+"@polkadot-api/merkleize-metadata@1.1.20":
+ version "1.1.20"
+ resolved "https://registry.yarnpkg.com/@polkadot-api/merkleize-metadata/-/merkleize-metadata-1.1.20.tgz#bcda511fa3fdc7f9c465396f4843987e4e1dd575"
+ integrity sha512-biHRZbMJkKhmzBegiOk4W+iwiVNgNQ1YV5QzMrgmFwFeGBhm8iaNILnz0iB7t48+IaiWczQYnT3ZqYMTJslXwg==
dependencies:
- "@polkadot-api/metadata-builders" "0.12.1"
- "@polkadot-api/substrate-bindings" "0.13.0"
- "@polkadot-api/utils" "0.1.2"
+ "@polkadot-api/metadata-builders" "0.13.1"
+ "@polkadot-api/substrate-bindings" "0.15.1"
+ "@polkadot-api/utils" "0.2.0"
-"@polkadot-api/metadata-builders@0.12.1":
- version "0.12.1"
- resolved "https://registry.npmjs.org/@polkadot-api/metadata-builders/-/metadata-builders-0.12.1.tgz"
- integrity sha512-heGt+WgcxrS1CqMm9XwD2DC+fI6azMKJf2ToMP+H12yw6FAy++nijASDZ3MlV/0ZpA/QGZpuZmgQmxKh6jbxVg==
+"@polkadot-api/metadata-builders@0.13.1":
+ version "0.13.1"
+ resolved "https://registry.yarnpkg.com/@polkadot-api/metadata-builders/-/metadata-builders-0.13.1.tgz#9c78bffa3f28bbb0da0c059b95c012de2efb9638"
+ integrity sha512-a0vnN/BmSBnpsC/rD52Uej8dIiwWwdVy0K67NKw8jmRgl2LXYbsy4YSLB49WDwCD6p9AGm5chydNDCGYq4wOMw==
dependencies:
- "@polkadot-api/substrate-bindings" "0.13.0"
- "@polkadot-api/utils" "0.1.2"
+ "@polkadot-api/substrate-bindings" "0.15.1"
+ "@polkadot-api/utils" "0.2.0"
"@polkadot-api/metadata-builders@0.3.2":
version "0.3.2"
@@ -493,22 +498,22 @@
"@polkadot-api/substrate-bindings" "0.6.0"
"@polkadot-api/utils" "0.1.0"
-"@polkadot-api/metadata-compatibility@0.2.3":
- version "0.2.3"
- resolved "https://registry.npmjs.org/@polkadot-api/metadata-compatibility/-/metadata-compatibility-0.2.3.tgz"
- integrity sha512-rtym491RA2yl8qGdEDJVujiCya+DK0CW5AwB6InSo85Um04/WWMq7oboRiXQZmspwLkfm2vYBusl/Q9k4Rxshw==
+"@polkadot-api/metadata-compatibility@0.3.2":
+ version "0.3.2"
+ resolved "https://registry.yarnpkg.com/@polkadot-api/metadata-compatibility/-/metadata-compatibility-0.3.2.tgz#940c5ae355edc2fa17d8eef36668d467bbf9ccf0"
+ integrity sha512-3RE2e4hyeucx1uSvYt5sVQozjLLAEX3RDBM0XWqjHHjTqomihF8c+ozuoXtprR2h92x9UdiHg/jYuDT6/cL24w==
dependencies:
- "@polkadot-api/metadata-builders" "0.12.1"
- "@polkadot-api/substrate-bindings" "0.13.0"
+ "@polkadot-api/metadata-builders" "0.13.1"
+ "@polkadot-api/substrate-bindings" "0.15.1"
-"@polkadot-api/observable-client@0.11.0":
- version "0.11.0"
- resolved "https://registry.npmjs.org/@polkadot-api/observable-client/-/observable-client-0.11.0.tgz"
- integrity sha512-cyXyih+RI73vPcUQ6GxyMelm1Z3bGDvBIow8W3MqBdpUy4mZ87QGQXGpyBC0Op/qnIxrUFP1cLyT38fUe0i6KQ==
+"@polkadot-api/observable-client@0.13.4":
+ version "0.13.4"
+ resolved "https://registry.yarnpkg.com/@polkadot-api/observable-client/-/observable-client-0.13.4.tgz#d9a913469e042211c1d3461e76ee2dade24b07a6"
+ integrity sha512-UYdssmUSMS0YKBtoQx9hFeSYDKg27iYx0FQZKmPHRfZ9Mk8EYZq4Mls71sTjuqXTl34GwYMgjrPUaSpK7jBL0w==
dependencies:
- "@polkadot-api/metadata-builders" "0.12.1"
- "@polkadot-api/substrate-bindings" "0.13.0"
- "@polkadot-api/utils" "0.1.2"
+ "@polkadot-api/metadata-builders" "0.13.1"
+ "@polkadot-api/substrate-bindings" "0.15.1"
+ "@polkadot-api/utils" "0.2.0"
"@polkadot-api/observable-client@^0.3.0":
version "0.3.2"
@@ -519,16 +524,16 @@
"@polkadot-api/substrate-bindings" "0.6.0"
"@polkadot-api/utils" "0.1.0"
-"@polkadot-api/pjs-signer@0.6.8":
- version "0.6.8"
- resolved "https://registry.npmjs.org/@polkadot-api/pjs-signer/-/pjs-signer-0.6.8.tgz"
- integrity sha512-YBp+uF2mPZFH4VjT5xgIU462EXbdLrFz09D6vY4SgoS2FRbPV7ktnqiNK2BykKJPGV4TiqpEjNB4OtX6ZLzafg==
+"@polkadot-api/pjs-signer@0.6.11":
+ version "0.6.11"
+ resolved "https://registry.yarnpkg.com/@polkadot-api/pjs-signer/-/pjs-signer-0.6.11.tgz#0dd235c8d37c9ee411df92ba1d4e250418f66b66"
+ integrity sha512-tgv4l/PsCzOxJ8TXXd4x1QEZPow7Mt8WaUSIt+dUFLMKO+ZPWS0WEsBc0oMvHbriJuDSILmEi7YVXPFukF5OIA==
dependencies:
- "@polkadot-api/metadata-builders" "0.12.1"
+ "@polkadot-api/metadata-builders" "0.13.1"
"@polkadot-api/polkadot-signer" "0.1.6"
- "@polkadot-api/signers-common" "0.1.9"
- "@polkadot-api/substrate-bindings" "0.13.0"
- "@polkadot-api/utils" "0.1.2"
+ "@polkadot-api/signers-common" "0.1.12"
+ "@polkadot-api/substrate-bindings" "0.15.1"
+ "@polkadot-api/utils" "0.2.0"
"@polkadot-api/polkadot-sdk-compat@2.3.2":
version "2.3.2"
@@ -542,27 +547,34 @@
resolved "https://registry.npmjs.org/@polkadot-api/polkadot-signer/-/polkadot-signer-0.1.6.tgz"
integrity sha512-X7ghAa4r7doETtjAPTb50IpfGtrBmy3BJM5WCfNKa1saK04VFY9w+vDn+hwEcM4p0PcDHt66Ts74hzvHq54d9A==
-"@polkadot-api/signer@0.2.1":
- version "0.2.1"
- resolved "https://registry.npmjs.org/@polkadot-api/signer/-/signer-0.2.1.tgz"
- integrity sha512-z3BPDIglLh/hghQExQVVHR3xgIijjEVcIA2P+xLan5vO4cglGm4U6vIBXgKBuU2oxKlG494ixH8BkXSv5F79zw==
+"@polkadot-api/raw-client@0.1.0":
+ version "0.1.0"
+ resolved "https://registry.yarnpkg.com/@polkadot-api/raw-client/-/raw-client-0.1.0.tgz#495c9cd65c2e34927bf4a737051c21e09db296ed"
+ integrity sha512-gHhPxTy9jbpoX3MBKT5QwPKX4gNmapJ+dC+ACZ5AXuqMraAUnFR1lu0QeUWH04Tc2gykVH1Eigz1kTDCSpN+zA==
+ dependencies:
+ "@polkadot-api/json-rpc-provider" "workspace:*"
+
+"@polkadot-api/signer@0.2.4":
+ version "0.2.4"
+ resolved "https://registry.yarnpkg.com/@polkadot-api/signer/-/signer-0.2.4.tgz#36a36bb4f7f0f2c1d1477798fff1ba4eb0da4d01"
+ integrity sha512-DOTUCnVwvWWEnJ1u/oyPbVk/RplDKJpRKJUOUGraoYh+J0PBicLvdVQF8680Guo/GJf7GBQpSFnev3mIcma6Pg==
dependencies:
"@noble/hashes" "^1.8.0"
- "@polkadot-api/merkleize-metadata" "1.1.17"
+ "@polkadot-api/merkleize-metadata" "1.1.20"
"@polkadot-api/polkadot-signer" "0.1.6"
- "@polkadot-api/signers-common" "0.1.9"
- "@polkadot-api/substrate-bindings" "0.13.0"
- "@polkadot-api/utils" "0.1.2"
+ "@polkadot-api/signers-common" "0.1.12"
+ "@polkadot-api/substrate-bindings" "0.15.1"
+ "@polkadot-api/utils" "0.2.0"
-"@polkadot-api/signers-common@0.1.9":
- version "0.1.9"
- resolved "https://registry.npmjs.org/@polkadot-api/signers-common/-/signers-common-0.1.9.tgz"
- integrity sha512-eOAPfnNpa0kJrtM/OPHOt+jlFP97c4CWZmzfcPzOqfrLUgyyLzVCFzgBipffpzPXNPQsToM6FM+7DQEgQmoDuA==
+"@polkadot-api/signers-common@0.1.12":
+ version "0.1.12"
+ resolved "https://registry.yarnpkg.com/@polkadot-api/signers-common/-/signers-common-0.1.12.tgz#e3e08dcad3f7ec356e0dd726c7ac2cf1621e82ed"
+ integrity sha512-wnNe08BbH1nG6XUy3hNbpRKsbAXFU0m4YovXp74hEDw0ycyjni0RnO2sUEV/vaghej8xFtD+7abjzE/lzmnHRA==
dependencies:
- "@polkadot-api/metadata-builders" "0.12.1"
+ "@polkadot-api/metadata-builders" "0.13.1"
"@polkadot-api/polkadot-signer" "0.1.6"
- "@polkadot-api/substrate-bindings" "0.13.0"
- "@polkadot-api/utils" "0.1.2"
+ "@polkadot-api/substrate-bindings" "0.15.1"
+ "@polkadot-api/utils" "0.2.0"
"@polkadot-api/sm-provider@0.1.7":
version "0.1.7"
@@ -572,22 +584,22 @@
"@polkadot-api/json-rpc-provider" "0.0.4"
"@polkadot-api/json-rpc-provider-proxy" "0.2.4"
-"@polkadot-api/smoldot@0.3.8":
- version "0.3.8"
- resolved "https://registry.npmjs.org/@polkadot-api/smoldot/-/smoldot-0.3.8.tgz"
- integrity sha512-dbJSMRFtELDW+rZIWRwKE/K8oy7+gYaGl+DvaOjARoBW2n80rJ7RAMOCCu+b5h2zgl3elftFBwMNAuAWgHT/Zg==
+"@polkadot-api/smoldot@0.3.10":
+ version "0.3.10"
+ resolved "https://registry.yarnpkg.com/@polkadot-api/smoldot/-/smoldot-0.3.10.tgz#e7d9316546f5c214d4ce083b5458f3fc5cc69531"
+ integrity sha512-oL0Qsq2p3h2mU1/+gNq4h2rC/S99WoDiqkpmxg/phzknjXcbYXouYLSvhGbECygE1vWPVPl3IWAOjW/gcKdYKw==
dependencies:
- "@types/node" "^22.9.0"
- smoldot "2.0.34"
+ "@types/node" "^22.15.30"
+ smoldot "2.0.36"
-"@polkadot-api/substrate-bindings@0.13.0":
- version "0.13.0"
- resolved "https://registry.npmjs.org/@polkadot-api/substrate-bindings/-/substrate-bindings-0.13.0.tgz"
- integrity sha512-M/60lXtHr4flwx4K7L4xv2jLk44EhD8UB4jvah+jbZM195I89nZGXKo2JOkgyR5DHoLj//TAoBkLedZmaaAiaQ==
+"@polkadot-api/substrate-bindings@0.15.1":
+ version "0.15.1"
+ resolved "https://registry.yarnpkg.com/@polkadot-api/substrate-bindings/-/substrate-bindings-0.15.1.tgz#d6fbd758eb87fb4b3617ea170ef4ca326f4b9ac9"
+ integrity sha512-zQqgjjEqx7aQtssu5OMm+nLOGDQXvPZUrWGwtbT6rWJNDB5s3FcMhG5RBiBB2HUwjWPrC28XO/A2c8dNUtRKOw==
dependencies:
"@noble/hashes" "^1.8.0"
- "@polkadot-api/utils" "0.1.2"
- "@scure/base" "^1.2.5"
+ "@polkadot-api/utils" "0.2.0"
+ "@scure/base" "^1.2.6"
scale-ts "^1.6.1"
"@polkadot-api/substrate-bindings@0.6.0":
@@ -600,13 +612,14 @@
"@scure/base" "^1.1.1"
scale-ts "^1.6.0"
-"@polkadot-api/substrate-client@0.3.0":
- version "0.3.0"
- resolved "https://registry.npmjs.org/@polkadot-api/substrate-client/-/substrate-client-0.3.0.tgz"
- integrity sha512-0hEvQLKH2zhaFzE8DPkWehvJilec8u2O2wbIEUStm0OJ8jIFtJ40MFjXQfB01dXBWUz1KaVBqS6xd3sZA90Dpw==
+"@polkadot-api/substrate-client@0.4.2":
+ version "0.4.2"
+ resolved "https://registry.yarnpkg.com/@polkadot-api/substrate-client/-/substrate-client-0.4.2.tgz#74fda584e9646066233a80eec5eccc3248ab1257"
+ integrity sha512-RXOqIy0h1EsiHiubPxZedVNbwBJR3Z/+bBlDFIxS81CSjP8eohs8xHQ/SDUm+4279XATwHdb8qeWnotFNcpl8A==
dependencies:
"@polkadot-api/json-rpc-provider" "0.0.4"
- "@polkadot-api/utils" "0.1.2"
+ "@polkadot-api/raw-client" "0.1.0"
+ "@polkadot-api/utils" "0.2.0"
"@polkadot-api/substrate-client@^0.1.2":
version "0.1.4"
@@ -621,24 +634,24 @@
resolved "https://registry.npmjs.org/@polkadot-api/utils/-/utils-0.1.0.tgz"
integrity sha512-MXzWZeuGxKizPx2Xf/47wx9sr/uxKw39bVJUptTJdsaQn/TGq+z310mHzf1RCGvC1diHM8f593KrnDgc9oNbJA==
-"@polkadot-api/utils@0.1.2":
- version "0.1.2"
- resolved "https://registry.npmjs.org/@polkadot-api/utils/-/utils-0.1.2.tgz"
- integrity sha512-yhs5k2a8N1SBJcz7EthZoazzLQUkZxbf+0271Xzu42C5AEM9K9uFLbsB+ojzHEM72O5X8lPtSwGKNmS7WQyDyg==
+"@polkadot-api/utils@0.2.0":
+ version "0.2.0"
+ resolved "https://registry.yarnpkg.com/@polkadot-api/utils/-/utils-0.2.0.tgz#812d4c4ee282691440aed4b6ddf863651e804444"
+ integrity sha512-nY3i5fQJoAxU4n3bD7Fs208/KR2J95SGfVc58kDjbRYN5a84kWaGEqzjBNtP9oqht49POM8Bm9mbIrkvC1Bzuw==
-"@polkadot-api/wasm-executor@^0.1.2":
- version "0.1.2"
- resolved "https://registry.npmjs.org/@polkadot-api/wasm-executor/-/wasm-executor-0.1.2.tgz"
- integrity sha512-a5wGenltB3EFPdf72u8ewi6HsUg2qubUAf3ekJprZf24lTK3+w8a/GUF/y6r08LJF35MALZ32SAtLqtVTIOGnQ==
+"@polkadot-api/wasm-executor@^0.2.1":
+ version "0.2.1"
+ resolved "https://registry.yarnpkg.com/@polkadot-api/wasm-executor/-/wasm-executor-0.2.1.tgz#632b2ebc243b55eda4b1dd71cc457b51406a229e"
+ integrity sha512-EN3qtu9Aurz1PoEjvrvL/Z9lSMrLkRU2K1fOjzWFpI5siBgQ2eN/tMLbX1VjaSk1VhvXmbXPaqBrkfdMCxLdsg==
-"@polkadot-api/ws-provider@0.4.0":
- version "0.4.0"
- resolved "https://registry.npmjs.org/@polkadot-api/ws-provider/-/ws-provider-0.4.0.tgz"
- integrity sha512-ZurjUHHAlQ1Ux8HiZz7mtkg1qjq6LmqxcHljcZxne0U7foCZrXdWHsohwlV8kUQUir5kXuDsNvdZN/MFCUMaVw==
+"@polkadot-api/ws-provider@0.4.1":
+ version "0.4.1"
+ resolved "https://registry.yarnpkg.com/@polkadot-api/ws-provider/-/ws-provider-0.4.1.tgz#8e0eb0e189cfa6c1fa2d0282ad5ab9fc8a11fc60"
+ integrity sha512-C4SM3IExBghHAaNIGL7Xi1Pg8+1dJCOgYQ4HmdYUqqP2rcNtUUN68jx5vTfPFtCPw4z7kldP4DvL0BU0YtmauQ==
dependencies:
"@polkadot-api/json-rpc-provider" "0.0.4"
"@polkadot-api/json-rpc-provider-proxy" "0.2.4"
- ws "^8.18.1"
+ ws "^8.18.3"
"@polkadot-labs/hdkd-helpers@0.0.10":
version "0.0.10"
@@ -733,20 +746,20 @@
tslib "^2.8.0"
"@polkadot/keyring@^13.2.3":
- version "13.4.3"
- resolved "https://registry.npmjs.org/@polkadot/keyring/-/keyring-13.4.3.tgz"
- integrity sha512-2ePNcvBTznDN2luKbZM5fdxgAnj7V8m276qSTgrHlqKVvg9FsQpRCR6CAU+AjhnHzpe7uiZO+UH+jlXWefI3AA==
+ version "13.5.4"
+ resolved "https://registry.npmjs.org/@polkadot/keyring/-/keyring-13.5.4.tgz"
+ integrity sha512-dQ/yq2OAl6jvjH+drxyqcfprsU2J9h74GSy5X4499W6YNwCt/2pxAJbmsM3lDWUlGOV1Wnp/aNHHs9kjb8GaJw==
dependencies:
- "@polkadot/util" "13.4.3"
- "@polkadot/util-crypto" "13.4.3"
+ "@polkadot/util" "13.5.4"
+ "@polkadot/util-crypto" "13.5.4"
tslib "^2.8.0"
-"@polkadot/networks@13.4.3", "@polkadot/networks@^13.2.3":
- version "13.4.3"
- resolved "https://registry.npmjs.org/@polkadot/networks/-/networks-13.4.3.tgz"
- integrity sha512-Z+YZkltBt//CtkVH8ZYJ1z66qYxdI0yPamzkzZAqw6gj3gjgSxKtxB4baA/rcAw05QTvN2R3dLkkmKr2mnHovQ==
+"@polkadot/networks@13.5.4", "@polkadot/networks@^13.2.3":
+ version "13.5.4"
+ resolved "https://registry.npmjs.org/@polkadot/networks/-/networks-13.5.4.tgz"
+ integrity sha512-JD7brNZsWTWbT3bDnEsAYkJfESvmn1XcoFMLoivVrg8dPXqYxoWcYveKPORjPyMPP6wgJ498vJGq7Ce0ihZ8ig==
dependencies:
- "@polkadot/util" "13.4.3"
+ "@polkadot/util" "13.5.4"
"@substrate/ss58-registry" "^1.51.0"
tslib "^2.8.0"
@@ -855,31 +868,31 @@
rxjs "^7.8.1"
tslib "^2.8.0"
-"@polkadot/util-crypto@13.4.3", "@polkadot/util-crypto@^13.2.3":
- version "13.4.3"
- resolved "https://registry.npmjs.org/@polkadot/util-crypto/-/util-crypto-13.4.3.tgz"
- integrity sha512-Ml0mjhKVetMrRCIosmVNMa6lbFPa3fSAeOggf34NsDIIQOKt9FL644iGz1ZSMOnBwN9qk2qHYmcFMTDXX2yKVQ==
+"@polkadot/util-crypto@13.5.4", "@polkadot/util-crypto@^13.2.3":
+ version "13.5.4"
+ resolved "https://registry.npmjs.org/@polkadot/util-crypto/-/util-crypto-13.5.4.tgz"
+ integrity sha512-XkKtiUi6I60DxT0dblGajZsqX4jWTnMpj4Pqxddz61KbpmvyybtAUqgmXOmO/Mob6TgGTutPuFeE7uMNEdFdJw==
dependencies:
"@noble/curves" "^1.3.0"
"@noble/hashes" "^1.3.3"
- "@polkadot/networks" "13.4.3"
- "@polkadot/util" "13.4.3"
+ "@polkadot/networks" "13.5.4"
+ "@polkadot/util" "13.5.4"
"@polkadot/wasm-crypto" "^7.4.1"
"@polkadot/wasm-util" "^7.4.1"
- "@polkadot/x-bigint" "13.4.3"
- "@polkadot/x-randomvalues" "13.4.3"
+ "@polkadot/x-bigint" "13.5.4"
+ "@polkadot/x-randomvalues" "13.5.4"
"@scure/base" "^1.1.7"
tslib "^2.8.0"
-"@polkadot/util@13.4.3", "@polkadot/util@^13.2.3":
- version "13.4.3"
- resolved "https://registry.npmjs.org/@polkadot/util/-/util-13.4.3.tgz"
- integrity sha512-6v2zvg8l7W22XvjYf7qv9tPQdYl2E6aXY94M4TZKsXZxmlS5BoG+A9Aq0+Gw8zBUjupjEmUkA6Y//msO8Zisug==
+"@polkadot/util@13.5.4", "@polkadot/util@^13.2.3":
+ version "13.5.4"
+ resolved "https://registry.npmjs.org/@polkadot/util/-/util-13.5.4.tgz"
+ integrity sha512-w/D7tqfx5a+yHcVBTb+CWGwpJTwcFRNJaVIBxl/MjF3x8JUZCtcKNwklpWJH5HtwaXT1Mt2aBKjoxlNdnd6FYg==
dependencies:
- "@polkadot/x-bigint" "13.4.3"
- "@polkadot/x-global" "13.4.3"
- "@polkadot/x-textdecoder" "13.4.3"
- "@polkadot/x-textencoder" "13.4.3"
+ "@polkadot/x-bigint" "13.5.4"
+ "@polkadot/x-global" "13.5.4"
+ "@polkadot/x-textdecoder" "13.5.4"
+ "@polkadot/x-textencoder" "13.5.4"
"@types/bn.js" "^5.1.6"
bn.js "^5.2.1"
tslib "^2.8.0"
@@ -937,60 +950,60 @@
dependencies:
tslib "^2.7.0"
-"@polkadot/x-bigint@13.4.3", "@polkadot/x-bigint@^13.2.3":
- version "13.4.3"
- resolved "https://registry.npmjs.org/@polkadot/x-bigint/-/x-bigint-13.4.3.tgz"
- integrity sha512-8NbjF5Q+5lflhvDFve58wULjCVcvXa932LKFtI5zL2gx5VDhMgyfkNcYRjHB18Ecl21963JuGzvGVTZNkh/i6g==
+"@polkadot/x-bigint@13.5.4", "@polkadot/x-bigint@^13.2.3":
+ version "13.5.4"
+ resolved "https://registry.npmjs.org/@polkadot/x-bigint/-/x-bigint-13.5.4.tgz"
+ integrity sha512-vA4vjHWDUAnoAxzp1kSQMCzaArdagGXCNlooI2EOZ0pcFnEf4NkKCVjYg8i5L1QOYRAeJjgoKjKwCFBx63vtRw==
dependencies:
- "@polkadot/x-global" "13.4.3"
+ "@polkadot/x-global" "13.5.4"
tslib "^2.8.0"
"@polkadot/x-fetch@^13.2.3":
- version "13.4.3"
- resolved "https://registry.npmjs.org/@polkadot/x-fetch/-/x-fetch-13.4.3.tgz"
- integrity sha512-EwhcwROqWa7mvNTbLVNH71Hbyp5PW5j9lV2UpII5MZzRO95eYwV4oP/xgtTxC+60nC8lrvzAw0JxEHrmNzmtlg==
+ version "13.5.4"
+ resolved "https://registry.npmjs.org/@polkadot/x-fetch/-/x-fetch-13.5.4.tgz"
+ integrity sha512-VVhmfPaQwFVopgtMUCNhodyZXBy9P4wkQwwYWpkQv2KqYOEQVck/Hhq8IVhGdbtPJxCAWsj/EyYTzUIHZ9aBlw==
dependencies:
- "@polkadot/x-global" "13.4.3"
+ "@polkadot/x-global" "13.5.4"
node-fetch "^3.3.2"
tslib "^2.8.0"
-"@polkadot/x-global@13.4.3", "@polkadot/x-global@^13.2.3":
- version "13.4.3"
- resolved "https://registry.npmjs.org/@polkadot/x-global/-/x-global-13.4.3.tgz"
- integrity sha512-6c98kxZdoGRct3ua9Dz6/qz8wb3XFRUkaY+4+RzIgehKMPhu19pGWTrzmbJSyY9FtIpThuWKuDaBEvd5KgSxjA==
+"@polkadot/x-global@13.5.4", "@polkadot/x-global@^13.2.3":
+ version "13.5.4"
+ resolved "https://registry.npmjs.org/@polkadot/x-global/-/x-global-13.5.4.tgz"
+ integrity sha512-oRUdO8/uKOEmLoPUFYgGascE/nyjT2ObRdf7jgwXOd9f+uUHPiE3K/MNAEi9t9sRKs8dbqgyaGWLTRYCDyzMag==
dependencies:
tslib "^2.8.0"
-"@polkadot/x-randomvalues@13.4.3":
- version "13.4.3"
- resolved "https://registry.npmjs.org/@polkadot/x-randomvalues/-/x-randomvalues-13.4.3.tgz"
- integrity sha512-pskXP/S2jROZ6aASExsUFlNp7GbJvQikKogvyvMMCzNIbUYLxpLuquLRa3MOORx2c0SNsENg90cx/zHT+IjPRQ==
+"@polkadot/x-randomvalues@13.5.4":
+ version "13.5.4"
+ resolved "https://registry.npmjs.org/@polkadot/x-randomvalues/-/x-randomvalues-13.5.4.tgz"
+ integrity sha512-jKVEj+wVO83drbFFGGxhHJqwsOZCzyy6HVwQ/M9G6zhNXHrT46OWK+myd3dB4KbHoxWuH03Nvh540vMC3ah8Fw==
dependencies:
- "@polkadot/x-global" "13.4.3"
+ "@polkadot/x-global" "13.5.4"
tslib "^2.8.0"
-"@polkadot/x-textdecoder@13.4.3":
- version "13.4.3"
- resolved "https://registry.npmjs.org/@polkadot/x-textdecoder/-/x-textdecoder-13.4.3.tgz"
- integrity sha512-k7Wg6csAPxfNtpBt3k5yUuPHYmRl/nl7H2OMr40upMjbZXbQ1RJW9Z3GBkLmQczG7NwwfAXHwQE9FYOMUtbuRQ==
+"@polkadot/x-textdecoder@13.5.4":
+ version "13.5.4"
+ resolved "https://registry.npmjs.org/@polkadot/x-textdecoder/-/x-textdecoder-13.5.4.tgz"
+ integrity sha512-+5rWIs+mhvBR2D7+/gWQyKKDoQzyHRIUrygphxdpBsFSvsJkTTGeGXLiD/ls0gTTE31Kb6StQJi1b9h6ywOvfg==
dependencies:
- "@polkadot/x-global" "13.4.3"
+ "@polkadot/x-global" "13.5.4"
tslib "^2.8.0"
-"@polkadot/x-textencoder@13.4.3":
- version "13.4.3"
- resolved "https://registry.npmjs.org/@polkadot/x-textencoder/-/x-textencoder-13.4.3.tgz"
- integrity sha512-byl2LbN1rnEXKmnsCzEDaIjSIHAr+1ciSe2yj3M0K+oWEEcaFZEovJaf/uoyzkcjn+/l8rDv3nget6mPuQ/DSw==
+"@polkadot/x-textencoder@13.5.4":
+ version "13.5.4"
+ resolved "https://registry.npmjs.org/@polkadot/x-textencoder/-/x-textencoder-13.5.4.tgz"
+ integrity sha512-GQ4kVJLtiirjI3NAKCnXCSIRudpTKog5SFPqouImV4X5rSsxnLf2xOqLwgYobdv3SIpTHBA1vy2RpQqUQUF6vw==
dependencies:
- "@polkadot/x-global" "13.4.3"
+ "@polkadot/x-global" "13.5.4"
tslib "^2.8.0"
"@polkadot/x-ws@^13.2.3":
- version "13.4.3"
- resolved "https://registry.npmjs.org/@polkadot/x-ws/-/x-ws-13.4.3.tgz"
- integrity sha512-GS0I6MYLD/xNAAjODZi/pbG7Ba0e/5sbvDIrT01iKH3SPGN+PZoyAsc04t2IOXA6QmPa1OBHnaU3N4K8gGmJ+w==
+ version "13.5.4"
+ resolved "https://registry.npmjs.org/@polkadot/x-ws/-/x-ws-13.5.4.tgz"
+ integrity sha512-tznbRjPnb3QW8v6+7zUoJINL84DW2dHJjwd0rkU0dtwzc9Y92faxz3bgOrCpgC2oVDpyUUg2PsyjokVBQHqLSA==
dependencies:
- "@polkadot/x-global" "13.4.3"
+ "@polkadot/x-global" "13.5.4"
tslib "^2.8.0"
ws "^8.18.0"
@@ -1066,12 +1079,12 @@
"@rollup/rollup-linux-x64-gnu@4.34.8":
version "4.34.8"
- resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.34.8.tgz#5783fc0adcab7dc069692056e8ca8d83709855ce"
+ resolved "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.34.8.tgz"
integrity sha512-8y7ED8gjxITUltTUEJLQdgpbPh1sUQ0kMTmufRF/Ns5tI9TNMNlhWtmPKKHCU0SilX+3MJkZ0zERYYGIVBYHIA==
"@rollup/rollup-linux-x64-musl@4.34.8":
version "4.34.8"
- resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.34.8.tgz#00b6c29b298197a384e3c659910b47943003a678"
+ resolved "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.34.8.tgz"
integrity sha512-SCXcP0ZpGFIe7Ge+McxY5zKxiEI5ra+GT3QRxL0pMMtxPfpyLAKleZODi1zdRHkz5/BhueUrYtYVgubqe9JBNQ==
"@rollup/rollup-win32-arm64-msvc@4.34.8":
@@ -1094,11 +1107,16 @@
resolved "https://registry.npmjs.org/@rx-state/core/-/core-0.1.4.tgz"
integrity sha512-Z+3hjU2xh1HisLxt+W5hlYX/eGSDaXXP+ns82gq/PLZpkXLu0uwcNUh9RLY3Clq4zT+hSsA3vcpIGt6+UAb8rQ==
-"@scure/base@^1.1.1", "@scure/base@^1.1.7", "@scure/base@^1.2.1", "@scure/base@^1.2.4", "@scure/base@^1.2.5", "@scure/base@~1.2.2", "@scure/base@~1.2.4":
+"@scure/base@^1.1.1", "@scure/base@^1.1.7", "@scure/base@^1.2.1", "@scure/base@^1.2.4", "@scure/base@~1.2.2", "@scure/base@~1.2.4":
version "1.2.5"
resolved "https://registry.npmjs.org/@scure/base/-/base-1.2.5.tgz"
integrity sha512-9rE6EOVeIQzt5TSu4v+K523F8u6DhBsoZWPGKlnCshhlDhy0kJzUX4V+tr2dWmzF1GdekvThABoEQBGBQI7xZw==
+"@scure/base@^1.2.6":
+ version "1.2.6"
+ resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.2.6.tgz#ca917184b8231394dd8847509c67a0be522e59f6"
+ integrity sha512-g/nm5FgUa//MCj1gV09zTJTaM6KBAHqLN907YVQqf7zC49+DcO4B1so4ZX07Ef10Twr6nuqYEH9GEggFXA4Fmg==
+
"@scure/bip32@1.6.2", "@scure/bip32@^1.5.0":
version "1.6.2"
resolved "https://registry.npmjs.org/@scure/bip32/-/bip32-1.6.2.tgz"
@@ -1132,9 +1150,9 @@
integrity sha512-t66jwrXA0s5Goq82ZtjagLNd7DPGCNjHeehRlE/gcJmJ+G56C0W+2plqOMRicJ8XGR1/YFnUSEqUFiSNbjGrAA==
"@substrate/connect-known-chains@^1.1.5":
- version "1.9.2"
- resolved "https://registry.npmjs.org/@substrate/connect-known-chains/-/connect-known-chains-1.9.2.tgz"
- integrity sha512-uEmm+rKJQQhhbforvmcg74TsDHKFVBkstjPwblGT1RdHMxUKR7Gq7F8vbkGnr5ce9tMK2Ylil760Z7vtX013hw==
+ version "1.10.3"
+ resolved "https://registry.npmjs.org/@substrate/connect-known-chains/-/connect-known-chains-1.10.3.tgz"
+ integrity sha512-OJEZO1Pagtb6bNE3wCikc2wrmvEU5x7GxFFLqqbz1AJYYxSlrPCGu4N2og5YTExo4IcloNMQYFRkBGue0BKZ4w==
"@substrate/connect@0.8.11":
version "0.8.11"
@@ -1185,9 +1203,9 @@
integrity sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==
"@types/bn.js@^5.1.6":
- version "5.1.6"
- resolved "https://registry.npmjs.org/@types/bn.js/-/bn.js-5.1.6.tgz"
- integrity sha512-Xh8vSwUeMKeYYrj3cX4lGQgFSF/N03r+tv4AiLl1SucqV+uTQpxRcnM8AkXKHwYP9ZPXOYXRr2KPXpVlIvqh9w==
+ version "5.2.0"
+ resolved "https://registry.npmjs.org/@types/bn.js/-/bn.js-5.2.0.tgz"
+ integrity sha512-DLbJ1BPqxvQhIGbeu8VbUC1DiAiahHtAYvA0ZEAa4P31F7IaArc8z3C3BRQdWX4mtLQuABG4yzp76ZrS02Ui1Q==
dependencies:
"@types/node" "*"
@@ -1220,7 +1238,7 @@
resolved "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.10.tgz"
integrity sha512-xPyYSz1cMPnJQhl0CLMH68j3gprKZaTjG3s5Vi+fDgx+uhG9NOXwbVt52eFS8ECyXhyKcjDLCBEqBExKuiZb7Q==
-"@types/node@*", "@types/node@^22.15.18", "@types/node@^22.9.0":
+"@types/node@*":
version "22.15.21"
resolved "https://registry.npmjs.org/@types/node/-/node-22.15.21.tgz"
integrity sha512-EV/37Td6c+MgKAbkcLG6vqZ2zEYHD7bvSrzqqs2RIhbA6w3x+Dqz8MZM3sP6kGTeLrdoOgKZe+Xja7tUB2DNkQ==
@@ -1234,6 +1252,20 @@
dependencies:
undici-types "~6.19.2"
+"@types/node@^22.15.30":
+ version "22.17.0"
+ resolved "https://registry.yarnpkg.com/@types/node/-/node-22.17.0.tgz#e8c9090e957bd4d9860efb323eb92d297347eac7"
+ integrity sha512-bbAKTCqX5aNVryi7qXVMi+OkB3w/OyblodicMbvE38blyAz7GxXf6XYhklokijuPwwVg9sDLKRxt0ZHXQwZVfQ==
+ dependencies:
+ undici-types "~6.21.0"
+
+"@types/node@^24.0.14":
+ version "24.2.0"
+ resolved "https://registry.yarnpkg.com/@types/node/-/node-24.2.0.tgz#cde712f88c5190006d6b069232582ecd1f94a760"
+ integrity sha512-3xyG3pMCq3oYCNg7/ZP+E1ooTaGB4cG8JWRsqqOYQdbWNY4zbaV0Ennrd7stjiJEFZCaybcIgpTjJWHRfBSIDw==
+ dependencies:
+ undici-types "~7.10.0"
+
"@types/normalize-package-data@^2.4.3":
version "2.4.4"
resolved "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz"
@@ -1352,9 +1384,9 @@ binary-extensions@^2.0.0:
integrity sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==
bn.js@^5.2.1:
- version "5.2.1"
- resolved "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz"
- integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==
+ version "5.2.2"
+ resolved "https://registry.npmjs.org/bn.js/-/bn.js-5.2.2.tgz"
+ integrity sha512-v2YAxEmKaBLahNwE1mjp4WON6huMNeuDvagFZW+ASCuA/ku0bXR9hSMw0XpiqMoA3+rmnyck/tPRSFQkoC9Cuw==
brace-expansion@^2.0.1:
version "2.0.1"
@@ -1510,10 +1542,10 @@ color-name@~1.1.4:
resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz"
integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
-commander@^13.1.0:
- version "13.1.0"
- resolved "https://registry.npmjs.org/commander/-/commander-13.1.0.tgz"
- integrity sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==
+commander@^14.0.0:
+ version "14.0.0"
+ resolved "https://registry.yarnpkg.com/commander/-/commander-14.0.0.tgz#f244fc74a92343514e56229f16ef5c5e22ced5e9"
+ integrity sha512-2uM9rYjPvyq39NwLRqaiLtWHyDC1FvryJDa2ATTVims5YAS4PupsEQsDvP14FqhFr0P49CYDugi59xaxJlTXRA==
commander@^4.0.0:
version "4.1.1"
@@ -1748,9 +1780,9 @@ eventemitter3@5.0.1, eventemitter3@^5.0.1:
resolved "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz"
integrity sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==
-execa@^9.5.3:
+execa@^9.6.0:
version "9.6.0"
- resolved "https://registry.npmjs.org/execa/-/execa-9.6.0.tgz"
+ resolved "https://registry.yarnpkg.com/execa/-/execa-9.6.0.tgz#38665530e54e2e018384108322f37f35ae74f3bc"
integrity sha512-jpWzZ1ZhwUmeWRhS7Qv3mhpOhLfwI+uAX4e5fOcXqwMR7EcJ0pj2kV1CVzHVMX/LphnKWD3LObjZCoJ71lKpHw==
dependencies:
"@sindresorhus/merge-streams" "^4.0.0"
@@ -2502,28 +2534,28 @@ pkg-types@^1.3.0:
pathe "^2.0.1"
polkadot-api@^1.9.5:
- version "1.12.0"
- resolved "https://registry.npmjs.org/polkadot-api/-/polkadot-api-1.12.0.tgz"
- integrity sha512-CstKp0ySE3JRVnG4nzl6hDhYLf4Qs/XpVk1xJrypYMqVbTu8FwjBK3l3j4pHhEttVudlEjK2hoVzQ1MdxMLeEg==
+ version "1.15.3"
+ resolved "https://registry.yarnpkg.com/polkadot-api/-/polkadot-api-1.15.3.tgz#c8d02c9d79536669c50d17b2426f9fb905825804"
+ integrity sha512-ikv7+3SvIXE03NBEi3Otn10c5L80TXimAvRnbZKugO0lilE9+uW1JXkMemaP13qlkoH5jrZbvz6xOEcz0ali9Q==
dependencies:
- "@polkadot-api/cli" "0.13.0"
- "@polkadot-api/ink-contracts" "0.3.2"
+ "@polkadot-api/cli" "0.14.5"
+ "@polkadot-api/ink-contracts" "0.3.7"
"@polkadot-api/json-rpc-provider" "0.0.4"
- "@polkadot-api/known-chains" "0.7.6"
+ "@polkadot-api/known-chains" "0.9.3"
"@polkadot-api/logs-provider" "0.0.6"
- "@polkadot-api/metadata-builders" "0.12.1"
- "@polkadot-api/metadata-compatibility" "0.2.3"
- "@polkadot-api/observable-client" "0.11.0"
- "@polkadot-api/pjs-signer" "0.6.8"
+ "@polkadot-api/metadata-builders" "0.13.1"
+ "@polkadot-api/metadata-compatibility" "0.3.2"
+ "@polkadot-api/observable-client" "0.13.4"
+ "@polkadot-api/pjs-signer" "0.6.11"
"@polkadot-api/polkadot-sdk-compat" "2.3.2"
"@polkadot-api/polkadot-signer" "0.1.6"
- "@polkadot-api/signer" "0.2.1"
+ "@polkadot-api/signer" "0.2.4"
"@polkadot-api/sm-provider" "0.1.7"
- "@polkadot-api/smoldot" "0.3.8"
- "@polkadot-api/substrate-bindings" "0.13.0"
- "@polkadot-api/substrate-client" "0.3.0"
- "@polkadot-api/utils" "0.1.2"
- "@polkadot-api/ws-provider" "0.4.0"
+ "@polkadot-api/smoldot" "0.3.10"
+ "@polkadot-api/substrate-bindings" "0.15.1"
+ "@polkadot-api/substrate-client" "0.4.2"
+ "@polkadot-api/utils" "0.2.0"
+ "@polkadot-api/ws-provider" "0.4.1"
"@rx-state/core" "^0.1.4"
possible-typed-array-names@^1.0.0:
@@ -2719,10 +2751,10 @@ smoldot@2.0.26:
dependencies:
ws "^8.8.1"
-smoldot@2.0.34:
- version "2.0.34"
- resolved "https://registry.npmjs.org/smoldot/-/smoldot-2.0.34.tgz"
- integrity sha512-mw9tCbGEhEp0koMqLL0jBEixVY1MIN/xI3pE6ZY1TuOPU+LnYy8FloODVyzkvzQPaBYrETXJdRlmA/+k6g3gow==
+smoldot@2.0.36:
+ version "2.0.36"
+ resolved "https://registry.yarnpkg.com/smoldot/-/smoldot-2.0.36.tgz#3d4216b7fe33130fcf276f691d37f7503485ab78"
+ integrity sha512-0GtHgxOs1VGs+WzpUgTQ52Zg92/q4mnIPEl+smArI4pis6aduQ6ZiXRllbDafsIb18wWYsxaBLNjBkNOB8xBrw==
dependencies:
ws "^8.8.1"
@@ -2955,9 +2987,9 @@ tslib@^2.1.0, tslib@^2.7.0, tslib@^2.8.0:
resolved "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz"
integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==
-tsup@^8.4.0:
+tsup@^8.5.0:
version "8.5.0"
- resolved "https://registry.npmjs.org/tsup/-/tsup-8.5.0.tgz"
+ resolved "https://registry.yarnpkg.com/tsup/-/tsup-8.5.0.tgz#4b1e25b1a8f4e4f89b764207bf37cfe2d7411d31"
integrity sha512-VmBp77lWNQq6PfuMqCHD3xWl22vEoWsKajkF8t+yMBawlUS8JzEI+vOVMeuNZIuMML8qXRizFKi9oD5glKQVcQ==
dependencies:
bundle-require "^5.1.0"
@@ -3003,6 +3035,11 @@ undici-types@~6.21.0:
resolved "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz"
integrity sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==
+undici-types@~7.10.0:
+ version "7.10.0"
+ resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-7.10.0.tgz#4ac2e058ce56b462b056e629cc6a02393d3ff350"
+ integrity sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag==
+
unicorn-magic@^0.1.0:
version "0.1.0"
resolved "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz"
@@ -3171,10 +3208,10 @@ ws@8.18.0:
resolved "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz"
integrity sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==
-ws@^8.18.0, ws@^8.18.1, ws@^8.18.2, ws@^8.8.1:
- version "8.18.2"
- resolved "https://registry.npmjs.org/ws/-/ws-8.18.2.tgz"
- integrity sha512-DMricUmwGZUVr++AEAe2uiVM7UoO9MAVZMDu05UQOaUII0lp+zOzLLU4Xqh/JvTqklB1T4uELaaPBKyjE1r4fQ==
+ws@^8.18.0, ws@^8.18.2, ws@^8.18.3, ws@^8.8.1:
+ version "8.18.3"
+ resolved "https://registry.npmjs.org/ws/-/ws-8.18.3.tgz"
+ integrity sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg==
y18n@^5.0.5:
version "5.0.8"
diff --git a/node/Cargo.toml b/node/Cargo.toml
index 0ee30ab9f3..3696e78f21 100644
--- a/node/Cargo.toml
+++ b/node/Cargo.toml
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
description = "A fresh FRAME-based Substrate node, ready for hacking."
authors = ["Substrate DevHub "]
homepage = "https://substrate.io/"
-edition = "2024"
+edition.workspace = true
license = "Unlicense"
publish = false
repository = "https://github.com/opentensor/subtensor"
@@ -20,91 +20,91 @@ targets = ["x86_64-unknown-linux-gnu"]
name = "node-subtensor"
[dependencies]
-async-trait = { workspace = true }
+async-trait.workspace = true
clap = { workspace = true, features = ["derive"] }
futures = { workspace = true, features = ["thread-pool"] }
-scale-codec = { workspace = true }
serde = { workspace = true, features = ["derive"] }
-hex = { workspace = true }
+hex.workspace = true
# Storage import
-memmap2 = { workspace = true }
-serde_json = { workspace = true }
-
-sc-cli = { workspace = true }
-sp-core = { workspace = true }
-sc-executor = { workspace = true }
-sc-service = { workspace = true }
-sc-telemetry = { workspace = true }
-sc-keystore = { workspace = true }
-sc-transaction-pool = { workspace = true }
-sc-transaction-pool-api = { workspace = true }
-sc-offchain = { workspace = true }
-sc-network = { workspace = true }
-sc-consensus-aura = { workspace = true }
-sp-consensus-aura = { workspace = true }
-sp-consensus = { workspace = true }
-sc-consensus = { workspace = true }
-sc-consensus-grandpa = { workspace = true }
-sc-consensus-grandpa-rpc = { workspace = true }
-sp-consensus-grandpa = { workspace = true }
-sc-chain-spec-derive = { workspace = true }
-sc-chain-spec = { workspace = true }
-sc-consensus-slots = { workspace = true }
-sc-client-api = { workspace = true }
-sp-runtime = { workspace = true }
-sp-io = { workspace = true }
-sp-timestamp = { workspace = true }
+memmap2.workspace = true
+serde_json.workspace = true
+
+sc-cli.workspace = true
+sp-core.workspace = true
+sc-executor.workspace = true
+sc-service.workspace = true
+sc-telemetry.workspace = true
+sc-keystore.workspace = true
+sc-transaction-pool.workspace = true
+sc-transaction-pool-api.workspace = true
+sc-offchain.workspace = true
+sc-network.workspace = true
+sc-consensus-aura.workspace = true
+sp-consensus-aura.workspace = true
+sp-consensus.workspace = true
+sc-consensus.workspace = true
+sc-consensus-grandpa.workspace = true
+sc-consensus-grandpa-rpc.workspace = true
+sp-consensus-grandpa.workspace = true
+sc-chain-spec-derive.workspace = true
+sc-chain-spec.workspace = true
+sc-consensus-slots.workspace = true
+sc-client-api.workspace = true
+sp-runtime.workspace = true
+sp-io.workspace = true
+sp-timestamp.workspace = true
sp-transaction-pool = { workspace = true, features = ["default"] }
-sp-inherents = { workspace = true }
-sp-keyring = { workspace = true }
-sp-offchain = { workspace = true }
-sp-session = { workspace = true }
-frame-metadata-hash-extension = { workspace = true }
-frame-system = { workspace = true }
-pallet-transaction-payment = { workspace = true }
-pallet-commitments = { path = "../pallets/commitments" }
-pallet-drand = { workspace = true }
-sp-crypto-ec-utils = { workspace = true }
-sp-keystore = { workspace = true, default-features = false }
-cumulus-primitives-proof-size-hostfunction = { workspace = true, default-features = false }
+sp-inherents.workspace = true
+sp-keyring.workspace = true
+sp-offchain.workspace = true
+sp-session.workspace = true
+frame-metadata-hash-extension.workspace = true
+frame-system.workspace = true
+pallet-transaction-payment.workspace = true
+pallet-commitments.workspace = true
+pallet-drand.workspace = true
+sp-crypto-ec-utils = { workspace = true, default-features = true, features = [
+ "bls12-381",
+] }
+sp-keystore.workspace = true
+cumulus-primitives-proof-size-hostfunction.workspace = true
# These dependencies are used for the subtensor's RPCs
jsonrpsee = { workspace = true, features = ["server"] }
-sc-rpc = { workspace = true }
-sp-api = { workspace = true }
-sc-rpc-api = { workspace = true }
-sp-blockchain = { workspace = true }
-sp-block-builder = { workspace = true }
-sc-basic-authorship = { workspace = true }
-substrate-frame-rpc-system = { workspace = true }
-pallet-transaction-payment-rpc = { workspace = true }
-frame-system-rpc-runtime-api = { workspace = true }
-pallet-transaction-payment-rpc-runtime-api = { workspace = true }
+sc-rpc.workspace = true
+sp-api.workspace = true
+sc-rpc-api.workspace = true
+sp-blockchain.workspace = true
+sp-block-builder.workspace = true
+sc-basic-authorship.workspace = true
+substrate-frame-rpc-system.workspace = true
+pallet-transaction-payment-rpc.workspace = true
+frame-system-rpc-runtime-api.workspace = true
+pallet-transaction-payment-rpc-runtime-api.workspace = true
# These dependencies are used for runtime benchmarking
-frame-benchmarking = { workspace = true }
-frame-benchmarking-cli = { workspace = true }
+frame-benchmarking.workspace = true
+frame-benchmarking-cli.workspace = true
# Needed for Frontier
-sc-consensus-manual-seal = { workspace = true }
-sc-network-sync = { workspace = true }
-substrate-prometheus-endpoint = { workspace = true }
+sc-consensus-manual-seal.workspace = true
+sc-network-sync.workspace = true
+substrate-prometheus-endpoint.workspace = true
# Frontier
-fc-storage = { workspace = true }
-fc-db = { workspace = true }
-fc-consensus = { workspace = true }
-fc-api = { workspace = true }
-fc-rpc = { workspace = true }
-fc-rpc-core = { workspace = true }
-fp-rpc = { workspace = true }
-fc-aura = { workspace = true }
-fc-mapping-sync = { workspace = true }
-fp-consensus = { workspace = true }
-thiserror = { workspace = true }
-num-traits = { version = "0.2", features = ["std"] }
+fc-storage.workspace = true
+fc-db.workspace = true
+fc-consensus.workspace = true
+fc-api.workspace = true
+fc-rpc = { workspace = true, features = ["rpc-binary-search-estimate"] }
+fc-rpc-core.workspace = true
+fp-rpc.workspace = true
+fc-aura.workspace = true
+fc-mapping-sync.workspace = true
+fp-consensus.workspace = true
+num-traits = { workspace = true, features = ["std"] }
# Local Dependencies
node-subtensor-runtime = { workspace = true, features = ["std"] }
@@ -115,7 +115,7 @@ pallet-subtensor-swap-rpc = { workspace = true, features = ["std"] }
pallet-subtensor-swap-runtime-api = { workspace = true, features = ["std"] }
[build-dependencies]
-substrate-build-script-utils = { workspace = true }
+substrate-build-script-utils.workspace = true
[features]
default = ["rocksdb", "sql", "txpool"]
@@ -126,6 +126,8 @@ rocksdb = [
"fc-db/rocksdb",
"fc-mapping-sync/rocksdb",
"fc-rpc/rocksdb",
+ "frame-benchmarking-cli/rocksdb",
+ "sc-cli/rocksdb",
]
txpool = ["fc-rpc/txpool", "fc-rpc-core/txpool"]
diff --git a/node/src/benchmarking.rs b/node/src/benchmarking.rs
index 1590422c08..df21d5bef4 100644
--- a/node/src/benchmarking.rs
+++ b/node/src/benchmarking.rs
@@ -174,6 +174,6 @@ pub fn inherent_benchmark_data() -> Result {
let timestamp = sp_timestamp::InherentDataProvider::new(d.into());
futures::executor::block_on(timestamp.provide_inherent_data(&mut inherent_data))
- .map_err(|e| format!("creating inherent data: {:?}", e))?;
+ .map_err(|e| format!("creating inherent data: {e:?}"))?;
Ok(inherent_data)
}
diff --git a/node/src/chain_spec/finney.rs b/node/src/chain_spec/finney.rs
index be35c4e901..4b47c29473 100644
--- a/node/src/chain_spec/finney.rs
+++ b/node/src/chain_spec/finney.rs
@@ -21,7 +21,7 @@ pub fn finney_mainnet_config() -> Result {
};
let old_state: ColdkeyHotkeys =
- json::from_slice(&bytes).map_err(|e| format!("Error parsing genesis file: {}", e))?;
+ json::from_slice(&bytes).map_err(|e| format!("Error parsing genesis file: {e}"))?;
let mut processed_stakes: Vec<(
sp_runtime::AccountId32,
diff --git a/node/src/chain_spec/mod.rs b/node/src/chain_spec/mod.rs
index e8efbb1647..733f416e69 100644
--- a/node/src/chain_spec/mod.rs
+++ b/node/src/chain_spec/mod.rs
@@ -38,7 +38,7 @@ pub type ChainSpec = sc_service::GenericChainSpec;
/// Generate a crypto pair from seed.
pub fn get_from_seed(seed: &str) -> ::Public {
- TPublic::Pair::from_string(&format!("//{}", seed), None)
+ TPublic::Pair::from_string(&format!("//{seed}"), None)
.expect("static values are valid; qed")
.public()
}
diff --git a/node/src/command.rs b/node/src/command.rs
index f8f4990d0f..f35664f8b0 100644
--- a/node/src/command.rs
+++ b/node/src/command.rs
@@ -134,8 +134,7 @@ pub fn run() -> sc_cli::Result<()> {
}
Err(err) => {
return Err(format!(
- "Cannot purge `{:?}` database: {:?}",
- db_path, err,
+ "Cannot purge `{db_path:?}` database: {err:?}",
)
.into());
}
diff --git a/node/src/service.rs b/node/src/service.rs
index 2dc9cbd479..ca23ddb03b 100644
--- a/node/src/service.rs
+++ b/node/src/service.rs
@@ -161,7 +161,7 @@ where
std::num::NonZeroU32::new(eth_config.frontier_sql_backend_num_ops_timeout),
storage_override.clone(),
))
- .unwrap_or_else(|err| panic!("failed creating sql backend: {:?}", err));
+ .unwrap_or_else(|err| panic!("failed creating sql backend: {err:?}"));
FrontierBackend::Sql(Arc::new(backend))
}
};
@@ -424,7 +424,7 @@ where
Some(WarpSyncConfig::WithProvider(warp_sync))
};
- let (network, system_rpc_tx, tx_handler_controller, network_starter, sync_service) =
+ let (network, system_rpc_tx, tx_handler_controller, sync_service) =
sc_service::build_network(sc_service::BuildNetworkParams {
config: &config,
net_config,
@@ -453,7 +453,7 @@ where
log::debug!("Offchain worker key generated");
}
Err(e) => {
- log::error!("Failed to create SR25519 key for offchain worker: {:?}", e);
+ log::error!("Failed to create SR25519 key for offchain worker: {e:?}");
}
}
} else {
@@ -632,7 +632,6 @@ where
commands_stream,
)?;
- network_starter.start_network();
log::info!("Manual Seal Ready");
return Ok(task_manager);
}
@@ -729,7 +728,6 @@ where
.spawn_blocking("grandpa-voter", None, grandpa_voter);
}
- network_starter.start_network();
Ok(task_manager)
}
@@ -739,16 +737,12 @@ pub async fn build_full(
sealing: Option,
) -> Result {
match config.network.network_backend {
- Some(sc_network::config::NetworkBackendType::Libp2p) => {
+ sc_network::config::NetworkBackendType::Libp2p => {
new_full::>(config, eth_config, sealing).await
}
- Some(sc_network::config::NetworkBackendType::Litep2p) => {
+ sc_network::config::NetworkBackendType::Litep2p => {
new_full::(config, eth_config, sealing).await
}
- _ => {
- log::debug!("no network backend selected, falling back to libp2p");
- new_full::>(config, eth_config, sealing).await
- }
}
}
diff --git a/pallets/admin-utils/Cargo.toml b/pallets/admin-utils/Cargo.toml
index c0abc67ad2..61cdba4cbf 100644
--- a/pallets/admin-utils/Cargo.toml
+++ b/pallets/admin-utils/Cargo.toml
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
description = "FRAME pallet for extending admin utilities."
authors = ["Bittensor Nucleus Team"]
homepage = "https://bittensor.com"
-edition = "2024"
+edition.workspace = true
license = "Unlicense"
publish = false
repository = "https://github.com/opentensor/subtensor"
@@ -16,37 +16,35 @@ workspace = true
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
-subtensor-macros = { workspace = true }
-codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [
- "derive",
-] }
+subtensor-macros.workspace = true
+codec = { workspace = true, features = ["derive"] }
scale-info = { workspace = true, features = ["derive"] }
frame-benchmarking = { workspace = true, optional = true }
-frame-support = { workspace = true }
-frame-system = { workspace = true }
-sp-runtime = { workspace = true }
-log = { workspace = true }
-pallet-subtensor = { version = "4.0.0-dev", default-features = false, path = "../subtensor" }
-sp-weights = { workspace = true }
-substrate-fixed = { workspace = true }
-pallet-evm-chain-id = { workspace = true }
-pallet-drand = { workspace = true, default-features = false }
-sp-consensus-grandpa = { workspace = true }
-subtensor-swap-interface = { workspace = true }
-subtensor-runtime-common = { workspace = true }
+frame-support.workspace = true
+frame-system.workspace = true
+sp-runtime.workspace = true
+log.workspace = true
+pallet-subtensor.workspace = true
+sp-weights.workspace = true
+substrate-fixed.workspace = true
+pallet-evm-chain-id.workspace = true
+pallet-drand.workspace = true
+sp-consensus-grandpa.workspace = true
+subtensor-swap-interface.workspace = true
+subtensor-runtime-common.workspace = true
[dev-dependencies]
-sp-core = { workspace = true }
-sp-io = { workspace = true }
-sp-tracing = { workspace = true }
-sp-consensus-aura = { workspace = true }
+sp-core.workspace = true
+sp-io.workspace = true
+sp-tracing.workspace = true
+sp-consensus-aura.workspace = true
pallet-balances = { workspace = true, features = ["std"] }
-pallet-scheduler = { workspace = true }
-pallet-grandpa = { workspace = true }
-sp-std = { workspace = true }
-pallet-subtensor-swap = { workspace = true }
-pallet-crowdloan = { workspace = true, default-features = false }
-pallet-preimage = { workspace = true, default-features = false }
+pallet-scheduler.workspace = true
+pallet-grandpa.workspace = true
+sp-std.workspace = true
+pallet-subtensor-swap.workspace = true
+pallet-crowdloan.workspace = true
+pallet-preimage.workspace = true
[features]
default = ["std"]
@@ -76,7 +74,7 @@ std = [
"sp-weights/std",
"substrate-fixed/std",
"subtensor-swap-interface/std",
- "subtensor-runtime-common/std"
+ "subtensor-runtime-common/std",
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
diff --git a/pallets/admin-utils/src/benchmarking.rs b/pallets/admin-utils/src/benchmarking.rs
index 917d9008ba..61df5d55f8 100644
--- a/pallets/admin-utils/src/benchmarking.rs
+++ b/pallets/admin-utils/src/benchmarking.rs
@@ -266,7 +266,7 @@ mod benchmarks {
);
#[extrinsic_call]
- _(RawOrigin::Root, 1u16.into()/*netuid*/, 10u64/*max_burn*/)/*sudo_set_max_burn*/;
+ _(RawOrigin::Root, 1u16.into()/*netuid*/, 10.into()/*max_burn*/)/*sudo_set_max_burn*/;
}
#[benchmark]
@@ -277,7 +277,7 @@ mod benchmarks {
);
#[extrinsic_call]
- _(RawOrigin::Root, 1u16.into()/*netuid*/, 10u64/*min_burn*/)/*sudo_set_min_burn*/;
+ _(RawOrigin::Root, 1u16.into()/*netuid*/, 10.into()/*min_burn*/)/*sudo_set_min_burn*/;
}
#[benchmark]
@@ -335,5 +335,16 @@ mod benchmarks {
_(RawOrigin::Root, 1u16.into()/*netuid*/, true/*enabled*/)/*set_commit_reveal_weights_enabled*/;
}
+ #[benchmark]
+ fn sudo_set_commit_reveal_version() {
+ pallet_subtensor::Pallet::::init_new_network(
+ 1u16.into(), /*netuid*/
+ 1u16, /*sudo_tempo*/
+ );
+
+ #[extrinsic_call]
+ _(RawOrigin::Root, 5u16/*version*/)/*sudo_set_commit_reveal_version()*/;
+ }
+
//impl_benchmark_test_suite!(AdminUtils, crate::mock::new_test_ext(), crate::mock::Test);
}
diff --git a/pallets/admin-utils/src/lib.rs b/pallets/admin-utils/src/lib.rs
index 1be45caaee..a8d0a080b5 100644
--- a/pallets/admin-utils/src/lib.rs
+++ b/pallets/admin-utils/src/lib.rs
@@ -31,7 +31,7 @@ pub mod pallet {
use pallet_subtensor::utils::rate_limiting::TransactionType;
use sp_runtime::BoundedVec;
use substrate_fixed::types::I96F32;
- use subtensor_runtime_common::NetUid;
+ use subtensor_runtime_common::{NetUid, TaoCurrency};
/// The main data structure of the module.
#[pallet::pallet]
@@ -111,7 +111,9 @@ pub mod pallet {
RevealPeriodOutOfBounds,
}
/// Enum for specifying the type of precompile operation.
- #[derive(Encode, Decode, TypeInfo, Clone, PartialEq, Eq, Debug, Copy)]
+ #[derive(
+ Encode, Decode, DecodeWithMemTracking, TypeInfo, Clone, PartialEq, Eq, Debug, Copy,
+ )]
pub enum PrecompileEnum {
/// Enum for balance transfer precompile
BalanceTransfer,
@@ -159,7 +161,7 @@ pub mod pallet {
/// It is only callable by the root account.
/// The extrinsic will call the Aura pallet to change the authorities.
#[pallet::call_index(0)]
- #[pallet::weight(Weight::from_parts(5_062_000, 0)
+ #[pallet::weight(Weight::from_parts(3_071_000, 0)
.saturating_add(::DbWeight::get().reads(0_u64))
.saturating_add(::DbWeight::get().writes(1_u64)))]
pub fn swap_authorities(
@@ -170,7 +172,7 @@ pub mod pallet {
T::Aura::change_authorities(new_authorities.clone());
- log::debug!("Aura authorities changed: {:?}", new_authorities);
+ log::debug!("Aura authorities changed: {new_authorities:?}");
// Return a successful DispatchResultWithPostInfo
Ok(())
@@ -180,13 +182,13 @@ pub mod pallet {
/// It is only callable by the root account.
/// The extrinsic will call the Subtensor pallet to set the default take.
#[pallet::call_index(1)]
- #[pallet::weight(Weight::from_parts(5_831_000, 0)
+ #[pallet::weight(Weight::from_parts(3_590_000, 0)
.saturating_add(::DbWeight::get().reads(0_u64))
.saturating_add(::DbWeight::get().writes(1_u64)))]
pub fn sudo_set_default_take(origin: OriginFor, default_take: u16) -> DispatchResult {
ensure_root(origin)?;
pallet_subtensor::Pallet::::set_max_delegate_take(default_take);
- log::debug!("DefaultTakeSet( default_take: {:?} ) ", default_take);
+ log::debug!("DefaultTakeSet( default_take: {default_take:?} ) ");
Ok(())
}
@@ -198,7 +200,7 @@ pub mod pallet {
pub fn sudo_set_tx_rate_limit(origin: OriginFor, tx_rate_limit: u64) -> DispatchResult {
ensure_root(origin)?;
pallet_subtensor::Pallet::::set_tx_rate_limit(tx_rate_limit);
- log::debug!("TxRateLimitSet( tx_rate_limit: {:?} ) ", tx_rate_limit);
+ log::debug!("TxRateLimitSet( tx_rate_limit: {tx_rate_limit:?} ) ");
Ok(())
}
@@ -206,7 +208,7 @@ pub mod pallet {
/// It is only callable by the root account or subnet owner.
/// The extrinsic will call the Subtensor pallet to set the serving rate limit.
#[pallet::call_index(3)]
- #[pallet::weight(Weight::from_parts(6_682_000, 0)
+ #[pallet::weight(Weight::from_parts(4_470_000, 0)
.saturating_add(::DbWeight::get().reads(0_u64))
.saturating_add(::DbWeight::get().writes(1_u64)))]
pub fn sudo_set_serving_rate_limit(
@@ -217,10 +219,7 @@ pub mod pallet {
pallet_subtensor::Pallet::::ensure_subnet_owner_or_root(origin, netuid)?;
pallet_subtensor::Pallet::::set_serving_rate_limit(netuid, serving_rate_limit);
- log::debug!(
- "ServingRateLimitSet( serving_rate_limit: {:?} ) ",
- serving_rate_limit
- );
+ log::debug!("ServingRateLimitSet( serving_rate_limit: {serving_rate_limit:?} ) ");
Ok(())
}
@@ -228,7 +227,7 @@ pub mod pallet {
/// It is only callable by the root account or subnet owner.
/// The extrinsic will call the Subtensor pallet to set the minimum difficulty.
#[pallet::call_index(4)]
- #[pallet::weight(Weight::from_parts(19_780_000, 0)
+ #[pallet::weight(Weight::from_parts(12_140_000, 0)
.saturating_add(::DbWeight::get().reads(1_u64))
.saturating_add(::DbWeight::get().writes(1_u64)))]
pub fn sudo_set_min_difficulty(
@@ -244,9 +243,7 @@ pub mod pallet {
);
pallet_subtensor::Pallet::::set_min_difficulty(netuid, min_difficulty);
log::debug!(
- "MinDifficultySet( netuid: {:?} min_difficulty: {:?} ) ",
- netuid,
- min_difficulty
+ "MinDifficultySet( netuid: {netuid:?} min_difficulty: {min_difficulty:?} ) "
);
Ok(())
}
@@ -255,7 +252,7 @@ pub mod pallet {
/// It is only callable by the root account or subnet owner.
/// The extrinsic will call the Subtensor pallet to set the maximum difficulty.
#[pallet::call_index(5)]
- #[pallet::weight(Weight::from_parts(16750000, 0)
+ #[pallet::weight(Weight::from_parts(12_840_000, 0)
.saturating_add(::DbWeight::get().reads(1_u64))
.saturating_add(::DbWeight::get().writes(1_u64)))]
pub fn sudo_set_max_difficulty(
@@ -271,9 +268,7 @@ pub mod pallet {
);
pallet_subtensor::Pallet::::set_max_difficulty(netuid, max_difficulty);
log::debug!(
- "MaxDifficultySet( netuid: {:?} max_difficulty: {:?} ) ",
- netuid,
- max_difficulty
+ "MaxDifficultySet( netuid: {netuid:?} max_difficulty: {max_difficulty:?} ) "
);
Ok(())
}
@@ -282,7 +277,7 @@ pub mod pallet {
/// It is only callable by the root account or subnet owner.
/// The extrinsic will call the Subtensor pallet to set the weights version key.
#[pallet::call_index(6)]
- #[pallet::weight(Weight::from_parts(16320000, 0)
+ #[pallet::weight(Weight::from_parts(12_560_000, 0)
.saturating_add(::DbWeight::get().reads(1_u64))
.saturating_add(::DbWeight::get().writes(1_u64)))]
pub fn sudo_set_weights_version_key(
@@ -321,9 +316,7 @@ pub mod pallet {
pallet_subtensor::Pallet::::set_weights_version_key(netuid, weights_version_key);
log::debug!(
- "WeightsVersionKeySet( netuid: {:?} weights_version_key: {:?} ) ",
- netuid,
- weights_version_key
+ "WeightsVersionKeySet( netuid: {netuid:?} weights_version_key: {weights_version_key:?} ) "
);
Ok(())
}
@@ -332,7 +325,7 @@ pub mod pallet {
/// It is only callable by the root account.
/// The extrinsic will call the Subtensor pallet to set the weights set rate limit.
#[pallet::call_index(7)]
- #[pallet::weight(Weight::from_parts(16560000, 0)
+ #[pallet::weight(Weight::from_parts(12_230_000, 0)
.saturating_add(::DbWeight::get().reads(1_u64))
.saturating_add(::DbWeight::get().writes(1_u64)))]
pub fn sudo_set_weights_set_rate_limit(
@@ -351,9 +344,7 @@ pub mod pallet {
weights_set_rate_limit,
);
log::debug!(
- "WeightsSetRateLimitSet( netuid: {:?} weights_set_rate_limit: {:?} ) ",
- netuid,
- weights_set_rate_limit
+ "WeightsSetRateLimitSet( netuid: {netuid:?} weights_set_rate_limit: {weights_set_rate_limit:?} ) "
);
Ok(())
}
@@ -362,7 +353,7 @@ pub mod pallet {
/// It is only callable by the root account, not changeable by the subnet owner.
/// The extrinsic will call the Subtensor pallet to set the adjustment interval.
#[pallet::call_index(8)]
- #[pallet::weight(Weight::from_parts(16570000, 0)
+ #[pallet::weight(Weight::from_parts(12_200_000, 0)
.saturating_add(::DbWeight::get().reads(1_u64))
.saturating_add(::DbWeight::get().writes(1_u64)))]
pub fn sudo_set_adjustment_interval(
@@ -378,9 +369,7 @@ pub mod pallet {
);
pallet_subtensor::Pallet::::set_adjustment_interval(netuid, adjustment_interval);
log::debug!(
- "AdjustmentIntervalSet( netuid: {:?} adjustment_interval: {:?} ) ",
- netuid,
- adjustment_interval
+ "AdjustmentIntervalSet( netuid: {netuid:?} adjustment_interval: {adjustment_interval:?} ) "
);
Ok(())
}
@@ -408,10 +397,7 @@ pub mod pallet {
Error::::SubnetDoesNotExist
);
pallet_subtensor::Pallet::::set_adjustment_alpha(netuid, adjustment_alpha);
- log::debug!(
- "AdjustmentAlphaSet( adjustment_alpha: {:?} ) ",
- adjustment_alpha
- );
+ log::debug!("AdjustmentAlphaSet( adjustment_alpha: {adjustment_alpha:?} ) ");
Ok(())
}
@@ -419,7 +405,7 @@ pub mod pallet {
/// It is only callable by the root account or subnet owner.
/// The extrinsic will call the Subtensor pallet to set the adjustment beta.
#[pallet::call_index(12)]
- #[pallet::weight(Weight::from_parts(19_240_000, 0)
+ #[pallet::weight(Weight::from_parts(12_210_000, 0)
.saturating_add(::DbWeight::get().reads(1_u64))
.saturating_add(::DbWeight::get().writes(1_u64)))]
pub fn sudo_set_max_weight_limit(
@@ -435,9 +421,7 @@ pub mod pallet {
);
pallet_subtensor::Pallet::::set_max_weight_limit(netuid, max_weight_limit);
log::debug!(
- "MaxWeightLimitSet( netuid: {:?} max_weight_limit: {:?} ) ",
- netuid,
- max_weight_limit
+ "MaxWeightLimitSet( netuid: {netuid:?} max_weight_limit: {max_weight_limit:?} ) "
);
Ok(())
}
@@ -446,7 +430,7 @@ pub mod pallet {
/// It is only callable by the root account or subnet owner.
/// The extrinsic will call the Subtensor pallet to set the immunity period.
#[pallet::call_index(13)]
- #[pallet::weight(Weight::from_parts(19_380_000, 0)
+ #[pallet::weight(Weight::from_parts(12_330_000, 0)
.saturating_add(::DbWeight::get().reads(1_u64))
.saturating_add(::DbWeight::get().writes(1_u64)))]
pub fn sudo_set_immunity_period(
@@ -462,9 +446,7 @@ pub mod pallet {
pallet_subtensor::Pallet::::set_immunity_period(netuid, immunity_period);
log::debug!(
- "ImmunityPeriodSet( netuid: {:?} immunity_period: {:?} ) ",
- netuid,
- immunity_period
+ "ImmunityPeriodSet( netuid: {netuid:?} immunity_period: {immunity_period:?} ) "
);
Ok(())
}
@@ -473,7 +455,7 @@ pub mod pallet {
/// It is only callable by the root account or subnet owner.
/// The extrinsic will call the Subtensor pallet to set the minimum allowed weights.
#[pallet::call_index(14)]
- #[pallet::weight(Weight::from_parts(19_770_000, 0)
+ #[pallet::weight(Weight::from_parts(12_200_000, 0)
.saturating_add(::DbWeight::get().reads(1_u64))
.saturating_add(::DbWeight::get().writes(1_u64)))]
pub fn sudo_set_min_allowed_weights(
@@ -489,9 +471,7 @@ pub mod pallet {
);
pallet_subtensor::Pallet::::set_min_allowed_weights(netuid, min_allowed_weights);
log::debug!(
- "MinAllowedWeightSet( netuid: {:?} min_allowed_weights: {:?} ) ",
- netuid,
- min_allowed_weights
+ "MinAllowedWeightSet( netuid: {netuid:?} min_allowed_weights: {min_allowed_weights:?} ) "
);
Ok(())
}
@@ -500,7 +480,7 @@ pub mod pallet {
/// It is only callable by the root account.
/// The extrinsic will call the Subtensor pallet to set the maximum allowed UIDs for a subnet.
#[pallet::call_index(15)]
- #[pallet::weight(Weight::from_parts(23_820_000, 0)
+ #[pallet::weight(Weight::from_parts(15_500_000, 0)
.saturating_add(::DbWeight::get().reads(2_u64))
.saturating_add(::DbWeight::get().writes(1_u64)))]
pub fn sudo_set_max_allowed_uids(
@@ -519,9 +499,7 @@ pub mod pallet {
);
pallet_subtensor::Pallet::::set_max_allowed_uids(netuid, max_allowed_uids);
log::debug!(
- "MaxAllowedUidsSet( netuid: {:?} max_allowed_uids: {:?} ) ",
- netuid,
- max_allowed_uids
+ "MaxAllowedUidsSet( netuid: {netuid:?} max_allowed_uids: {max_allowed_uids:?} ) "
);
Ok(())
}
@@ -530,7 +508,7 @@ pub mod pallet {
/// It is only callable by the root account or subnet owner.
/// The extrinsic will call the Subtensor pallet to set the kappa.
#[pallet::call_index(16)]
- #[pallet::weight(Weight::from_parts(16440000, 0)
+ #[pallet::weight(Weight::from_parts(12_530_000, 0)
.saturating_add(::DbWeight::get().reads(1_u64))
.saturating_add(::DbWeight::get().writes(1_u64)))]
pub fn sudo_set_kappa(origin: OriginFor, netuid: NetUid, kappa: u16) -> DispatchResult {
@@ -541,7 +519,7 @@ pub mod pallet {
Error::::SubnetDoesNotExist
);
pallet_subtensor::Pallet::::set_kappa(netuid, kappa);
- log::debug!("KappaSet( netuid: {:?} kappa: {:?} ) ", netuid, kappa);
+ log::debug!("KappaSet( netuid: {netuid:?} kappa: {kappa:?} ) ");
Ok(())
}
@@ -549,7 +527,7 @@ pub mod pallet {
/// It is only callable by the root account or subnet owner.
/// The extrinsic will call the Subtensor pallet to set the rho.
#[pallet::call_index(17)]
- #[pallet::weight(Weight::from_parts(13770000, 0)
+ #[pallet::weight(Weight::from_parts(10_160_000, 0)
.saturating_add(::DbWeight::get().reads(1_u64))
.saturating_add(::DbWeight::get().writes(1_u64)))]
pub fn sudo_set_rho(origin: OriginFor, netuid: NetUid, rho: u16) -> DispatchResult {
@@ -560,7 +538,7 @@ pub mod pallet {
Error::::SubnetDoesNotExist
);
pallet_subtensor::Pallet::::set_rho(netuid, rho);
- log::debug!("RhoSet( netuid: {:?} rho: {:?} ) ", netuid, rho);
+ log::debug!("RhoSet( netuid: {netuid:?} rho: {rho:?} ) ");
Ok(())
}
@@ -568,7 +546,7 @@ pub mod pallet {
/// It is only callable by the root account or subnet owner.
/// The extrinsic will call the Subtensor pallet to set the activity cutoff.
#[pallet::call_index(18)]
- #[pallet::weight(Weight::from_parts(22_600_000, 0)
+ #[pallet::weight(Weight::from_parts(14_160_000, 0)
.saturating_add(::DbWeight::get().reads(2_u64))
.saturating_add(::DbWeight::get().writes(1_u64)))]
pub fn sudo_set_activity_cutoff(
@@ -590,9 +568,7 @@ pub mod pallet {
pallet_subtensor::Pallet::::set_activity_cutoff(netuid, activity_cutoff);
log::debug!(
- "ActivityCutoffSet( netuid: {:?} activity_cutoff: {:?} ) ",
- netuid,
- activity_cutoff
+ "ActivityCutoffSet( netuid: {netuid:?} activity_cutoff: {activity_cutoff:?} ) "
);
Ok(())
}
@@ -602,7 +578,7 @@ pub mod pallet {
/// The extrinsic will call the Subtensor pallet to set the network registration allowed.
#[pallet::call_index(19)]
#[pallet::weight((
- Weight::from_parts(8_696_000, 0)
+ Weight::from_parts(4_600_000, 0)
.saturating_add(::DbWeight::get().reads(0))
.saturating_add(::DbWeight::get().writes(1)),
DispatchClass::Operational,
@@ -619,8 +595,7 @@ pub mod pallet {
registration_allowed,
);
log::debug!(
- "NetworkRegistrationAllowed( registration_allowed: {:?} ) ",
- registration_allowed
+ "NetworkRegistrationAllowed( registration_allowed: {registration_allowed:?} ) "
);
Ok(())
}
@@ -647,8 +622,7 @@ pub mod pallet {
registration_allowed,
);
log::debug!(
- "NetworkPowRegistrationAllowed( registration_allowed: {:?} ) ",
- registration_allowed
+ "NetworkPowRegistrationAllowed( registration_allowed: {registration_allowed:?} ) "
);
Ok(())
}
@@ -657,7 +631,7 @@ pub mod pallet {
/// It is only callable by the root account.
/// The extrinsic will call the Subtensor pallet to set the target registrations per interval.
#[pallet::call_index(21)]
- #[pallet::weight(Weight::from_parts(16260000, 0)
+ #[pallet::weight(Weight::from_parts(12_400_000, 0)
.saturating_add(::DbWeight::get().reads(1_u64))
.saturating_add(::DbWeight::get().writes(1_u64)))]
pub fn sudo_set_target_registrations_per_interval(
@@ -676,9 +650,7 @@ pub mod pallet {
target_registrations_per_interval,
);
log::debug!(
- "RegistrationPerIntervalSet( netuid: {:?} target_registrations_per_interval: {:?} ) ",
- netuid,
- target_registrations_per_interval
+ "RegistrationPerIntervalSet( netuid: {netuid:?} target_registrations_per_interval: {target_registrations_per_interval:?} ) "
);
Ok(())
}
@@ -687,13 +659,13 @@ pub mod pallet {
/// It is only callable by the root account.
/// The extrinsic will call the Subtensor pallet to set the minimum burn.
#[pallet::call_index(22)]
- #[pallet::weight(Weight::from_parts(19_840_000, 0)
+ #[pallet::weight(Weight::from_parts(12_590_000, 0)
.saturating_add(::DbWeight::get().reads(1_u64))
.saturating_add(::DbWeight::get().writes(1_u64)))]
pub fn sudo_set_min_burn(
origin: OriginFor,
netuid: NetUid,
- min_burn: u64,
+ min_burn: TaoCurrency,
) -> DispatchResult {
ensure_root(origin)?;
@@ -702,11 +674,7 @@ pub mod pallet {
Error::::SubnetDoesNotExist
);
pallet_subtensor::Pallet::::set_min_burn(netuid, min_burn);
- log::debug!(
- "MinBurnSet( netuid: {:?} min_burn: {:?} ) ",
- netuid,
- min_burn
- );
+ log::debug!("MinBurnSet( netuid: {netuid:?} min_burn: {min_burn:?} ) ");
Ok(())
}
@@ -714,13 +682,13 @@ pub mod pallet {
/// It is only callable by the root account or subnet owner.
/// The extrinsic will call the Subtensor pallet to set the maximum burn.
#[pallet::call_index(23)]
- #[pallet::weight(Weight::from_parts(16250000, 0)
+ #[pallet::weight(Weight::from_parts(12_420_000, 0)
.saturating_add(::DbWeight::get().reads(1_u64))
.saturating_add(::DbWeight::get().writes(1_u64)))]
pub fn sudo_set_max_burn(
origin: OriginFor,
netuid: NetUid,
- max_burn: u64,
+ max_burn: TaoCurrency,
) -> DispatchResult {
ensure_root(origin)?;
@@ -729,11 +697,7 @@ pub mod pallet {
Error::::SubnetDoesNotExist
);
pallet_subtensor::Pallet::::set_max_burn(netuid, max_burn);
- log::debug!(
- "MaxBurnSet( netuid: {:?} max_burn: {:?} ) ",
- netuid,
- max_burn
- );
+ log::debug!("MaxBurnSet( netuid: {netuid:?} max_burn: {max_burn:?} ) ");
Ok(())
}
@@ -741,7 +705,7 @@ pub mod pallet {
/// It is only callable by the root account or subnet owner.
/// The extrinsic will call the Subtensor pallet to set the difficulty.
#[pallet::call_index(24)]
- #[pallet::weight(Weight::from_parts(17_040_000, 0)
+ #[pallet::weight(Weight::from_parts(10_520_000, 0)
.saturating_add(::DbWeight::get().reads(1_u64))
.saturating_add(::DbWeight::get().writes(1_u64)))]
pub fn sudo_set_difficulty(
@@ -755,11 +719,7 @@ pub mod pallet {
Error::::SubnetDoesNotExist
);
pallet_subtensor::Pallet::::set_difficulty(netuid, difficulty);
- log::debug!(
- "DifficultySet( netuid: {:?} difficulty: {:?} ) ",
- netuid,
- difficulty
- );
+ log::debug!("DifficultySet( netuid: {netuid:?} difficulty: {difficulty:?} ) ");
Ok(())
}
@@ -767,7 +727,7 @@ pub mod pallet {
/// It is only callable by the root account.
/// The extrinsic will call the Subtensor pallet to set the maximum allowed validators.
#[pallet::call_index(25)]
- #[pallet::weight(Weight::from_parts(25_210_000, 0)
+ #[pallet::weight(Weight::from_parts(13_860_000, 0)
.saturating_add(::DbWeight::get().reads(2_u64))
.saturating_add(::DbWeight::get().writes(1_u64)))]
pub fn sudo_set_max_allowed_validators(
@@ -791,9 +751,7 @@ pub mod pallet {
max_allowed_validators,
);
log::debug!(
- "MaxAllowedValidatorsSet( netuid: {:?} max_allowed_validators: {:?} ) ",
- netuid,
- max_allowed_validators
+ "MaxAllowedValidatorsSet( netuid: {netuid:?} max_allowed_validators: {max_allowed_validators:?} ) "
);
Ok(())
}
@@ -802,7 +760,7 @@ pub mod pallet {
/// It is only callable by the root account or subnet owner.
/// The extrinsic will call the Subtensor pallet to set the bonds moving average.
#[pallet::call_index(26)]
- #[pallet::weight(Weight::from_parts(16880000, 0)
+ #[pallet::weight(Weight::from_parts(12_450_000, 0)
.saturating_add(::DbWeight::get().reads(1_u64))
.saturating_add(::DbWeight::get().writes(1_u64)))]
pub fn sudo_set_bonds_moving_average(
@@ -825,9 +783,7 @@ pub mod pallet {
);
pallet_subtensor::Pallet::::set_bonds_moving_average(netuid, bonds_moving_average);
log::debug!(
- "BondsMovingAverageSet( netuid: {:?} bonds_moving_average: {:?} ) ",
- netuid,
- bonds_moving_average
+ "BondsMovingAverageSet( netuid: {netuid:?} bonds_moving_average: {bonds_moving_average:?} ) "
);
Ok(())
}
@@ -836,7 +792,7 @@ pub mod pallet {
/// It is only callable by the root account or subnet owner.
/// The extrinsic will call the Subtensor pallet to set the bonds penalty.
#[pallet::call_index(60)]
- #[pallet::weight(Weight::from_parts(20_030_000, 0)
+ #[pallet::weight(Weight::from_parts(12_940_000, 0)
.saturating_add(::DbWeight::get().reads(1_u64))
.saturating_add(::DbWeight::get().writes(1_u64)))]
pub fn sudo_set_bonds_penalty(
@@ -851,11 +807,7 @@ pub mod pallet {
Error::::SubnetDoesNotExist
);
pallet_subtensor::Pallet::::set_bonds_penalty(netuid, bonds_penalty);
- log::debug!(
- "BondsPenalty( netuid: {:?} bonds_penalty: {:?} ) ",
- netuid,
- bonds_penalty
- );
+ log::debug!("BondsPenalty( netuid: {netuid:?} bonds_penalty: {bonds_penalty:?} ) ");
Ok(())
}
@@ -863,7 +815,7 @@ pub mod pallet {
/// It is only callable by the root account.
/// The extrinsic will call the Subtensor pallet to set the maximum registrations per block.
#[pallet::call_index(27)]
- #[pallet::weight(Weight::from_parts(19_680_000, 0)
+ #[pallet::weight(Weight::from_parts(12_180_000, 0)
.saturating_add(::DbWeight::get().reads(1_u64))
.saturating_add(::DbWeight::get().writes(1_u64)))]
pub fn sudo_set_max_registrations_per_block(
@@ -882,9 +834,7 @@ pub mod pallet {
max_registrations_per_block,
);
log::debug!(
- "MaxRegistrationsPerBlock( netuid: {:?} max_registrations_per_block: {:?} ) ",
- netuid,
- max_registrations_per_block
+ "MaxRegistrationsPerBlock( netuid: {netuid:?} max_registrations_per_block: {max_registrations_per_block:?} ) "
);
Ok(())
}
@@ -905,10 +855,7 @@ pub mod pallet {
) -> DispatchResult {
ensure_root(origin)?;
pallet_subtensor::Pallet::::set_subnet_owner_cut(subnet_owner_cut);
- log::debug!(
- "SubnetOwnerCut( subnet_owner_cut: {:?} ) ",
- subnet_owner_cut
- );
+ log::debug!("SubnetOwnerCut( subnet_owner_cut: {subnet_owner_cut:?} ) ");
Ok(())
}
@@ -928,7 +875,7 @@ pub mod pallet {
) -> DispatchResult {
ensure_root(origin)?;
pallet_subtensor::Pallet::::set_network_rate_limit(rate_limit);
- log::debug!("NetworkRateLimit( rate_limit: {:?} ) ", rate_limit);
+ log::debug!("NetworkRateLimit( rate_limit: {rate_limit:?} ) ");
Ok(())
}
@@ -936,7 +883,7 @@ pub mod pallet {
/// It is only callable by the root account.
/// The extrinsic will call the Subtensor pallet to set the tempo.
#[pallet::call_index(30)]
- #[pallet::weight(Weight::from_parts(16690000, 0)
+ #[pallet::weight(Weight::from_parts(12_310_000, 0)
.saturating_add(::DbWeight::get().reads(1_u64))
.saturating_add(::DbWeight::get().writes(1_u64)))]
pub fn sudo_set_tempo(origin: OriginFor, netuid: NetUid, tempo: u16) -> DispatchResult {
@@ -946,7 +893,7 @@ pub mod pallet {
Error::::SubnetDoesNotExist
);
pallet_subtensor::Pallet::::set_tempo(netuid, tempo);
- log::debug!("TempoSet( netuid: {:?} tempo: {:?} ) ", netuid, tempo);
+ log::debug!("TempoSet( netuid: {netuid:?} tempo: {tempo:?} ) ");
Ok(())
}
@@ -957,7 +904,7 @@ pub mod pallet {
#[pallet::weight((0, DispatchClass::Operational, Pays::No))]
pub fn sudo_set_total_issuance(
origin: OriginFor,
- total_issuance: u64,
+ total_issuance: TaoCurrency,
) -> DispatchResult {
ensure_root(origin)?;
@@ -984,7 +931,7 @@ pub mod pallet {
pallet_subtensor::Pallet::::set_network_immunity_period(immunity_period);
- log::debug!("NetworkImmunityPeriod( period: {:?} ) ", immunity_period);
+ log::debug!("NetworkImmunityPeriod( period: {immunity_period:?} ) ");
Ok(())
}
@@ -1001,13 +948,13 @@ pub mod pallet {
))]
pub fn sudo_set_network_min_lock_cost(
origin: OriginFor,
- lock_cost: u64,
+ lock_cost: TaoCurrency,
) -> DispatchResult {
ensure_root(origin)?;
pallet_subtensor::Pallet::::set_network_min_lock(lock_cost);
- log::debug!("NetworkMinLockCost( lock_cost: {:?} ) ", lock_cost);
+ log::debug!("NetworkMinLockCost( lock_cost: {lock_cost:?} ) ");
Ok(())
}
@@ -1045,7 +992,7 @@ pub mod pallet {
pallet_subtensor::Pallet::::set_lock_reduction_interval(interval);
- log::debug!("NetworkLockReductionInterval( interval: {:?} ) ", interval);
+ log::debug!("NetworkLockReductionInterval( interval: {interval:?} ) ");
Ok(())
}
@@ -1058,7 +1005,7 @@ pub mod pallet {
pub fn sudo_set_rao_recycled(
origin: OriginFor,
netuid: NetUid,
- rao_recycled: u64,
+ rao_recycled: TaoCurrency,
) -> DispatchResult {
ensure_root(origin)?;
ensure!(
@@ -1092,7 +1039,7 @@ pub mod pallet {
) -> DispatchResult {
ensure_root(origin)?;
let prev_min_stake = pallet_subtensor::Pallet::::get_nominator_min_required_stake();
- log::trace!("Setting minimum stake to: {}", min_stake);
+ log::trace!("Setting minimum stake to: {min_stake}");
pallet_subtensor::Pallet::::set_nominator_min_required_stake(min_stake);
if min_stake > prev_min_stake {
log::trace!("Clearing small nominations if possible");
@@ -1114,8 +1061,7 @@ pub mod pallet {
ensure_root(origin)?;
pallet_subtensor::Pallet::::set_tx_delegate_take_rate_limit(tx_rate_limit);
log::debug!(
- "TxRateLimitDelegateTakeSet( tx_delegate_take_rate_limit: {:?} ) ",
- tx_rate_limit
+ "TxRateLimitDelegateTakeSet( tx_delegate_take_rate_limit: {tx_rate_limit:?} ) "
);
Ok(())
}
@@ -1128,7 +1074,7 @@ pub mod pallet {
pub fn sudo_set_min_delegate_take(origin: OriginFor, take: u16) -> DispatchResult {
ensure_root(origin)?;
pallet_subtensor::Pallet::::set_min_delegate_take(take);
- log::debug!("TxMinDelegateTakeSet( tx_min_delegate_take: {:?} ) ", take);
+ log::debug!("TxMinDelegateTakeSet( tx_min_delegate_take: {take:?} ) ");
Ok(())
}
@@ -1156,7 +1102,7 @@ pub mod pallet {
/// It is only callable by the root account or subnet owner.
/// The extrinsic will call the Subtensor pallet to set the value.
#[pallet::call_index(49)]
- #[pallet::weight(Weight::from_parts(19_480_000, 0)
+ #[pallet::weight(Weight::from_parts(12_180_000, 0)
.saturating_add(::DbWeight::get().reads(1_u64))
.saturating_add(::DbWeight::get().writes(1_u64)))]
pub fn sudo_set_commit_reveal_weights_enabled(
@@ -1172,7 +1118,7 @@ pub mod pallet {
);
pallet_subtensor::Pallet::::set_commit_reveal_weights_enabled(netuid, enabled);
- log::debug!("ToggleSetWeightsCommitReveal( netuid: {:?} ) ", netuid);
+ log::debug!("ToggleSetWeightsCommitReveal( netuid: {netuid:?} ) ");
Ok(())
}
@@ -1194,11 +1140,7 @@ pub mod pallet {
) -> DispatchResult {
pallet_subtensor::Pallet::::ensure_subnet_owner_or_root(origin, netuid)?;
pallet_subtensor::Pallet::::set_liquid_alpha_enabled(netuid, enabled);
- log::debug!(
- "LiquidAlphaEnableToggled( netuid: {:?}, Enabled: {:?} ) ",
- netuid,
- enabled
- );
+ log::debug!("LiquidAlphaEnableToggled( netuid: {netuid:?}, Enabled: {enabled:?} ) ");
Ok(())
}
@@ -1300,7 +1242,7 @@ pub mod pallet {
pallet_subtensor::Pallet::::set_coldkey_swap_schedule_duration(duration);
// Log the change
- log::trace!("ColdkeySwapScheduleDurationSet( duration: {:?} )", duration);
+ log::trace!("ColdkeySwapScheduleDurationSet( duration: {duration:?} )");
Ok(())
}
@@ -1332,10 +1274,7 @@ pub mod pallet {
pallet_subtensor::Pallet::::set_dissolve_network_schedule_duration(duration);
// Log the change
- log::trace!(
- "DissolveNetworkScheduleDurationSet( duration: {:?} )",
- duration
- );
+ log::trace!("DissolveNetworkScheduleDurationSet( duration: {duration:?} )");
Ok(())
}
@@ -1357,7 +1296,7 @@ pub mod pallet {
/// # Weight
/// Weight is handled by the `#[pallet::weight]` attribute.
#[pallet::call_index(57)]
- #[pallet::weight(Weight::from_parts(17160000, 0)
+ #[pallet::weight(Weight::from_parts(12_360_000, 0)
.saturating_add(::DbWeight::get().reads(1_u64))
.saturating_add(::DbWeight::get().writes(1_u64)))]
pub fn sudo_set_commit_reveal_weights_interval(
@@ -1379,11 +1318,7 @@ pub mod pallet {
);
pallet_subtensor::Pallet::::set_reveal_period(netuid, interval);
- log::debug!(
- "SetWeightCommitInterval( netuid: {:?}, interval: {:?} ) ",
- netuid,
- interval
- );
+ log::debug!("SetWeightCommitInterval( netuid: {netuid:?}, interval: {interval:?} ) ");
Ok(())
}
@@ -1426,7 +1361,7 @@ pub mod pallet {
/// No change should be signaled while any change is pending. Returns an error if a change
/// is already pending.
#[pallet::call_index(59)]
- #[pallet::weight(Weight::from_parts(9_060_000, 0)
+ #[pallet::weight(Weight::from_parts(6_228_000, 0)
.saturating_add(::DbWeight::get().reads(1_u64))
.saturating_add(::DbWeight::get().writes(1_u64)))]
pub fn schedule_grandpa_change(
@@ -1507,7 +1442,7 @@ pub mod pallet {
ensure_root(origin)?;
pallet_subtensor::SubnetMovingAlpha::::set(alpha);
- log::debug!("SubnetMovingAlphaSet( alpha: {:?} )", alpha);
+ log::debug!("SubnetMovingAlphaSet( alpha: {alpha:?} )");
Ok(())
}
@@ -1533,11 +1468,7 @@ pub mod pallet {
pallet_subtensor::Pallet::::ensure_subnet_owner(origin.clone(), netuid)?;
pallet_subtensor::Pallet::::set_subnet_owner_hotkey(netuid, &hotkey);
- log::debug!(
- "SubnetOwnerHotkeySet( netuid: {:?}, hotkey: {:?} )",
- netuid,
- hotkey
- );
+ log::debug!("SubnetOwnerHotkeySet( netuid: {netuid:?}, hotkey: {hotkey:?} )");
Ok(())
}
@@ -1563,9 +1494,7 @@ pub mod pallet {
pallet_subtensor::EMAPriceHalvingBlocks::::set(netuid, ema_halving);
log::debug!(
- "EMAPriceHalvingBlocks( netuid: {:?}, ema_halving: {:?} )",
- netuid,
- ema_halving
+ "EMAPriceHalvingBlocks( netuid: {netuid:?}, ema_halving: {ema_halving:?} )"
);
Ok(())
}
@@ -1607,11 +1536,7 @@ pub mod pallet {
pallet_subtensor::Pallet::::set_alpha_sigmoid_steepness(netuid, steepness);
- log::debug!(
- "AlphaSigmoidSteepnessSet( netuid: {:?}, steepness: {:?} )",
- netuid,
- steepness
- );
+ log::debug!("AlphaSigmoidSteepnessSet( netuid: {netuid:?}, steepness: {steepness:?} )");
Ok(())
}
@@ -1635,11 +1560,7 @@ pub mod pallet {
pallet_subtensor::Pallet::::set_yuma3_enabled(netuid, enabled);
Self::deposit_event(Event::Yuma3EnableToggled { netuid, enabled });
- log::debug!(
- "Yuma3EnableToggled( netuid: {:?}, Enabled: {:?} ) ",
- netuid,
- enabled
- );
+ log::debug!("Yuma3EnableToggled( netuid: {netuid:?}, Enabled: {enabled:?} ) ");
Ok(())
}
@@ -1663,11 +1584,7 @@ pub mod pallet {
pallet_subtensor::Pallet::::set_bonds_reset(netuid, enabled);
Self::deposit_event(Event::BondsResetToggled { netuid, enabled });
- log::debug!(
- "BondsResetToggled( netuid: {:?} bonds_reset: {:?} ) ",
- netuid,
- enabled
- );
+ log::debug!("BondsResetToggled( netuid: {netuid:?} bonds_reset: {enabled:?} ) ");
Ok(())
}
@@ -1734,12 +1651,28 @@ pub mod pallet {
pallet_subtensor::SubtokenEnabled::::set(netuid, subtoken_enabled);
log::debug!(
- "SubtokenEnabled( netuid: {:?}, subtoken_enabled: {:?} )",
- netuid,
- subtoken_enabled
+ "SubtokenEnabled( netuid: {netuid:?}, subtoken_enabled: {subtoken_enabled:?} )"
);
Ok(())
}
+
+ /// Sets the commit-reveal weights version for all subnets
+ #[pallet::call_index(71)]
+ #[pallet::weight((
+ Weight::from_parts(3_940_000, 0)
+ .saturating_add(::DbWeight::get().writes(1))
+ .saturating_add(::DbWeight::get().reads(0_u64)),
+ DispatchClass::Operational,
+ Pays::No
+ ))]
+ pub fn sudo_set_commit_reveal_version(
+ origin: OriginFor,
+ version: u16,
+ ) -> DispatchResult {
+ ensure_root(origin)?;
+ pallet_subtensor::Pallet::::set_commit_reveal_weights_version(version);
+ Ok(())
+ }
}
}
diff --git a/pallets/admin-utils/src/tests/mock.rs b/pallets/admin-utils/src/tests/mock.rs
index 8ab39e50cf..35934bc846 100644
--- a/pallets/admin-utils/src/tests/mock.rs
+++ b/pallets/admin-utils/src/tests/mock.rs
@@ -387,6 +387,7 @@ impl pallet_scheduler::Config for Test {
type WeightInfo = pallet_scheduler::weights::SubstrateWeight;
type OriginPrivilegeCmp = OriginPrivilegeCmp;
type Preimages = ();
+ type BlockNumberProvider = System;
}
impl pallet_evm_chain_id::Config for Test {}
@@ -516,10 +517,7 @@ pub fn register_ok_neuron(
);
assert_ok!(result);
log::info!(
- "Register ok neuron: netuid: {:?}, coldkey: {:?}, hotkey: {:?}",
- netuid,
- hotkey_account_id,
- coldkey_account_id
+ "Register ok neuron: netuid: {netuid:?}, coldkey: {hotkey_account_id:?}, hotkey: {coldkey_account_id:?}"
);
}
diff --git a/pallets/admin-utils/src/tests/mod.rs b/pallets/admin-utils/src/tests/mod.rs
index 51f2f7364c..754befc805 100644
--- a/pallets/admin-utils/src/tests/mod.rs
+++ b/pallets/admin-utils/src/tests/mod.rs
@@ -11,7 +11,7 @@ use pallet_subtensor::Event;
use sp_consensus_grandpa::AuthorityId as GrandpaId;
use sp_core::{Get, Pair, U256, ed25519};
use substrate_fixed::types::I96F32;
-use subtensor_runtime_common::NetUid;
+use subtensor_runtime_common::{Currency, NetUid, TaoCurrency};
use crate::Error;
use crate::pallet::PrecompileEnable;
@@ -426,7 +426,7 @@ fn test_sudo_set_max_weight_limit() {
#[test]
fn test_sudo_set_issuance() {
new_test_ext().execute_with(|| {
- let to_be_set: u64 = 10;
+ let to_be_set = TaoCurrency::from(10);
assert_eq!(
AdminUtils::sudo_set_total_issuance(
<::RuntimeOrigin>::signed(U256::from(0)),
@@ -894,9 +894,9 @@ fn test_sudo_set_bonds_penalty() {
fn test_sudo_set_rao_recycled() {
new_test_ext().execute_with(|| {
let netuid = NetUid::from(1);
- let to_be_set: u64 = 10;
+ let to_be_set = TaoCurrency::from(10);
add_network(netuid, 10);
- let init_value: u64 = SubtensorModule::get_rao_recycled(netuid);
+ let init_value = SubtensorModule::get_rao_recycled(netuid);
// Need to run from genesis block
run_to_block(1);
@@ -1035,7 +1035,7 @@ mod sudo_set_nominator_min_required_stake {
let default_min_stake = pallet_subtensor::DefaultMinStake::::get();
assert_eq!(
SubtensorModule::get_nominator_min_required_stake(),
- 10 * default_min_stake / 1_000_000
+ 10 * default_min_stake.to_u64() / 1_000_000
);
assert_ok!(AdminUtils::sudo_set_nominator_min_required_stake(
@@ -1044,7 +1044,7 @@ mod sudo_set_nominator_min_required_stake {
));
assert_eq!(
SubtensorModule::get_nominator_min_required_stake(),
- 5 * default_min_stake / 1_000_000
+ 5 * default_min_stake.to_u64() / 1_000_000
);
});
}
@@ -1060,7 +1060,7 @@ mod sudo_set_nominator_min_required_stake {
));
assert_eq!(
SubtensorModule::get_nominator_min_required_stake(),
- to_be_set * default_min_stake / 1_000_000
+ to_be_set * default_min_stake.to_u64() / 1_000_000
);
});
}
@@ -1268,11 +1268,7 @@ fn test_sudo_get_set_alpha() {
let (grabbed_alpha_low, grabbed_alpha_high): (u16, u16) =
SubtensorModule::get_alpha_values(netuid);
- log::info!(
- "alpha_low: {:?} alpha_high: {:?}",
- grabbed_alpha_low,
- grabbed_alpha_high
- );
+ log::info!("alpha_low: {grabbed_alpha_low:?} alpha_high: {grabbed_alpha_high:?}");
assert_eq!(grabbed_alpha_low, alpha_low);
assert_eq!(grabbed_alpha_high, alpha_high);
@@ -1656,7 +1652,7 @@ fn test_sets_a_lower_value_clears_small_nominations() {
));
assert_eq!(
SubtensorModule::get_nominator_min_required_stake(),
- initial_nominator_min_required_stake * default_min_stake / 1_000_000_u64
+ initial_nominator_min_required_stake * default_min_stake.to_u64() / 1_000_000
);
// Stake to the hotkey as staker_coldkey
@@ -1674,7 +1670,7 @@ fn test_sets_a_lower_value_clears_small_nominations() {
));
assert_eq!(
SubtensorModule::get_nominator_min_required_stake(),
- nominator_min_required_stake_0 * default_min_stake / 1_000_000_u64
+ nominator_min_required_stake_0 * default_min_stake.to_u64() / 1_000_000
);
// Check this nomination is not cleared
@@ -1692,7 +1688,7 @@ fn test_sets_a_lower_value_clears_small_nominations() {
));
assert_eq!(
SubtensorModule::get_nominator_min_required_stake(),
- nominator_min_required_stake_1 * default_min_stake / 1_000_000_u64
+ nominator_min_required_stake_1 * default_min_stake.to_u64() / 1_000_000
);
// Check this nomination is cleared
@@ -1934,3 +1930,24 @@ fn test_sudo_set_yuma3_enabled() {
assert_eq!(SubtensorModule::get_yuma3_enabled(netuid), !to_be_set);
});
}
+
+#[test]
+fn test_sudo_set_commit_reveal_version() {
+ new_test_ext().execute_with(|| {
+ add_network(NetUid::from(1), 10);
+
+ let to_be_set: u16 = 5;
+ let init_value: u16 = SubtensorModule::get_commit_reveal_weights_version();
+
+ assert_ok!(AdminUtils::sudo_set_commit_reveal_version(
+ <::RuntimeOrigin>::root(),
+ to_be_set
+ ));
+
+ assert!(init_value != to_be_set);
+ assert_eq!(
+ SubtensorModule::get_commit_reveal_weights_version(),
+ to_be_set
+ );
+ });
+}
diff --git a/pallets/collective/Cargo.toml b/pallets/collective/Cargo.toml
index 11ab2a9cb3..015d6ab709 100644
--- a/pallets/collective/Cargo.toml
+++ b/pallets/collective/Cargo.toml
@@ -2,7 +2,7 @@
name = "pallet-collective"
version = "4.0.0-dev"
authors = ["Parity Technologies , Opentensor Technologies"]
-edition = "2024"
+edition.workspace = true
license = "Apache-2.0"
homepage = "https://bittensor.com"
repository = "https://github.com/opentensor/subtensor"
@@ -17,18 +17,16 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
subtensor-macros.workspace = true
-codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = [
- "derive",
-] }
-log = { workspace = true }
+codec = { workspace = true, features = ["derive"] }
+log.workspace = true
scale-info = { workspace = true, features = ["derive"] }
frame-benchmarking = { workspace = true, optional = true }
-frame-support = { workspace = true }
-frame-system = { workspace = true }
-sp-core = { workspace = true }
-sp-io = { workspace = true }
-sp-runtime = { workspace = true }
-sp-std = { workspace = true }
+frame-support.workspace = true
+frame-system.workspace = true
+sp-core.workspace = true
+sp-io.workspace = true
+sp-runtime.workspace = true
+sp-std.workspace = true
[features]
default = ["std"]
@@ -53,5 +51,5 @@ runtime-benchmarks = [
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
- "sp-runtime/try-runtime"
+ "sp-runtime/try-runtime",
]
diff --git a/pallets/collective/src/lib.rs b/pallets/collective/src/lib.rs
index baea090307..4a3aea5a30 100644
--- a/pallets/collective/src/lib.rs
+++ b/pallets/collective/src/lib.rs
@@ -126,7 +126,17 @@ impl DefaultVote for MoreThanMajorityThenPrimeDefaultVote {
}
/// Origin for the collective module.
-#[derive(PartialEq, Eq, Clone, RuntimeDebug, Encode, Decode, TypeInfo, MaxEncodedLen)]
+#[derive(
+ PartialEq,
+ Eq,
+ Clone,
+ RuntimeDebug,
+ Encode,
+ Decode,
+ DecodeWithMemTracking,
+ TypeInfo,
+ MaxEncodedLen,
+)]
#[scale_info(skip_type_params(I))]
#[codec(mel_bound(AccountId: MaxEncodedLen))]
pub enum RawOrigin {
diff --git a/pallets/commitments/Cargo.toml b/pallets/commitments/Cargo.toml
index efc1a216db..bedc0d945c 100644
--- a/pallets/commitments/Cargo.toml
+++ b/pallets/commitments/Cargo.toml
@@ -4,7 +4,7 @@ version = "4.0.0-dev"
description = "Add the ability to commit generic hashed data for network participants."
authors = ["Bittensor Nucleus Team"]
homepage = "https://bittensor.com"
-edition = "2024"
+edition.workspace = true
license = "Unlicense"
publish = false
repository = "https://github.com/opentensor/subtensor"
@@ -17,35 +17,32 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
subtensor-macros.workspace = true
-codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [
- "derive",
- "max-encoded-len",
-] }
+codec = { workspace = true, features = ["derive", "max-encoded-len"] }
scale-info = { workspace = true, features = ["derive"] }
frame-benchmarking = { workspace = true, optional = true }
-frame-support = { workspace = true }
-frame-system = { workspace = true }
-sp-runtime = { workspace = true }
-sp-std = { workspace = true }
-enumflags2 = { workspace = true }
+frame-support.workspace = true
+frame-system.workspace = true
+sp-runtime.workspace = true
+sp-std.workspace = true
+enumflags2.workspace = true
-pallet-drand = { path = "../drand", default-features = false }
-tle = { workspace = true, default-features = false }
-ark-serialize = { workspace = true, default-features = false }
-w3f-bls = { workspace = true, default-features = false }
-rand_chacha = { workspace = true }
-hex = { workspace = true }
-sha2 = { workspace = true }
+pallet-drand.workspace = true
+tle.workspace = true
+ark-serialize = { workspace = true, features = ["derive"] }
+w3f-bls.workspace = true
+rand_chacha.workspace = true
+hex.workspace = true
+sha2.workspace = true
-log = { workspace = true }
+log.workspace = true
-pallet-subtensor = { path = "../subtensor", default-features = false }
-subtensor-runtime-common = { workspace = true }
+pallet-subtensor.workspace = true
+subtensor-runtime-common.workspace = true
[dev-dependencies]
-sp-core = { workspace = true }
-sp-io = { workspace = true }
-pallet-balances = { workspace = true }
+sp-core.workspace = true
+sp-io.workspace = true
+pallet-balances.workspace = true
[features]
default = ["std"]
@@ -79,7 +76,7 @@ runtime-benchmarks = [
"sp-runtime/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-drand/runtime-benchmarks",
- "pallet-subtensor/runtime-benchmarks"
+ "pallet-subtensor/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
@@ -87,5 +84,5 @@ try-runtime = [
"pallet-balances/try-runtime",
"sp-runtime/try-runtime",
"pallet-drand/try-runtime",
- "pallet-subtensor/try-runtime"
+ "pallet-subtensor/try-runtime",
]
diff --git a/pallets/commitments/src/lib.rs b/pallets/commitments/src/lib.rs
index c42d7a3413..12356da08d 100644
--- a/pallets/commitments/src/lib.rs
+++ b/pallets/commitments/src/lib.rs
@@ -205,7 +205,7 @@ pub mod pallet {
/// Set the commitment for a given netuid
#[pallet::call_index(0)]
#[pallet::weight((
- Weight::from_parts(34_140_000, 0)
+ Weight::from_parts(25_070_000, 0)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(4_u64)),
DispatchClass::Operational,
@@ -343,7 +343,7 @@ pub mod pallet {
/// Sudo-set MaxSpace
#[pallet::call_index(2)]
#[pallet::weight((
- Weight::from_parts(2_965_000, 0)
+ Weight::from_parts(1_660_000, 0)
.saturating_add(T::DbWeight::get().reads(0_u64))
.saturating_add(T::DbWeight::get().writes(1_u64)),
DispatchClass::Operational,
@@ -360,11 +360,7 @@ pub mod pallet {
impl Hooks> for Pallet {
fn on_initialize(n: BlockNumberFor) -> Weight {
if let Err(e) = Self::reveal_timelocked_commitments() {
- log::debug!(
- "Failed to unveil matured commitments on block {:?}: {:?}",
- n,
- e
- );
+ log::debug!("Failed to unveil matured commitments on block {n:?}: {e:?}");
}
Weight::from_parts(0, 0)
}
@@ -445,9 +441,7 @@ impl Pallet {
)
.map_err(|e| {
log::warn!(
- "Failed to deserialize drand signature for {:?}: {:?}",
- who,
- e
+ "Failed to deserialize drand signature for {who:?}: {e:?}"
)
})
.ok();
@@ -460,11 +454,7 @@ impl Pallet {
let reader = &mut &encrypted[..];
let commit = TLECiphertext::::deserialize_compressed(reader)
.map_err(|e| {
- log::warn!(
- "Failed to deserialize TLECiphertext for {:?}: {:?}",
- who,
- e
- )
+ log::warn!("Failed to deserialize TLECiphertext for {who:?}: {e:?}")
})
.ok();
@@ -476,13 +466,13 @@ impl Pallet {
let decrypted_bytes: Vec =
tld::(commit, sig)
.map_err(|e| {
- log::warn!("Failed to decrypt timelock for {:?}: {:?}", who, e)
+ log::warn!("Failed to decrypt timelock for {who:?}: {e:?}")
})
.ok()
.unwrap_or_default();
if decrypted_bytes.is_empty() {
- log::warn!("Bytes were decrypted for {:?} but they are empty", who);
+ log::warn!("Bytes were decrypted for {who:?} but they are empty");
continue;
}
diff --git a/pallets/commitments/src/tests.rs b/pallets/commitments/src/tests.rs
index 431d5e521b..6866ebdeec 100644
--- a/pallets/commitments/src/tests.rs
+++ b/pallets/commitments/src/tests.rs
@@ -43,7 +43,7 @@ fn manual_data_type_info() {
.variants
.iter()
.find(|v| v.name == variant_name)
- .unwrap_or_else(|| panic!("Expected to find variant {}", variant_name));
+ .unwrap_or_else(|| panic!("Expected to find variant {variant_name}"));
let encoded = data.encode();
assert_eq!(encoded[0], variant.index);
@@ -72,15 +72,13 @@ fn manual_data_type_info() {
assert_eq!(
encoded.len() as u32 - 1, // Subtract variant byte
expected_len,
- "Encoded length mismatch for variant {}",
- variant_name
+ "Encoded length mismatch for variant {variant_name}"
);
} else {
assert_eq!(
encoded.len() as u32 - 1,
0,
- "Expected no fields for {}",
- variant_name
+ "Expected no fields for {variant_name}"
);
}
} else {
@@ -1551,7 +1549,7 @@ fn revealed_commitments_keeps_only_10_items() {
let mut fields = Vec::with_capacity(TOTAL_TLES);
for i in 0..TOTAL_TLES {
- let plaintext = format!("TLE #{}", i).into_bytes();
+ let plaintext = format!("TLE #{i}").into_bytes();
let ciphertext = produce_ciphertext(&plaintext, reveal_round);
let timelock = Data::TimelockEncrypted {
encrypted: ciphertext,
@@ -1594,7 +1592,7 @@ fn revealed_commitments_keeps_only_10_items() {
// We expect them to be TLE #2..TLE #11
let expected_index = idx + 2; // since we dropped #0 and #1
- let expected_str = format!("TLE #{}", expected_index);
+ let expected_str = format!("TLE #{expected_index}");
assert_eq!(revealed_str, expected_str, "Check which TLE is kept");
// Also check it was revealed at block 2
@@ -1619,7 +1617,7 @@ fn revealed_commitments_keeps_only_10_newest_with_individual_single_field_commit
for i in 0..12 {
System::::set_block_number(i as u64 + 1);
- let plaintext = format!("TLE #{}", i).into_bytes();
+ let plaintext = format!("TLE #{i}").into_bytes();
let ciphertext = produce_ciphertext(&plaintext, reveal_round);
let new_timelock = Data::TimelockEncrypted {
@@ -1644,8 +1642,7 @@ fn revealed_commitments_keeps_only_10_newest_with_individual_single_field_commit
assert_eq!(
revealed.len(),
expected_count,
- "At iteration {}, we keep at most 10 reveals",
- i
+ "At iteration {i}, we keep at most 10 reveals"
);
}
@@ -1662,19 +1659,17 @@ fn revealed_commitments_keeps_only_10_newest_with_individual_single_field_commit
let revealed_str =
sp_std::str::from_utf8(revealed_bytes).expect("Should be valid UTF-8");
let expected_i = idx + 2; // i=0 => "TLE #2", i=1 => "TLE #3", etc.
- let expected_str = format!("TLE #{}", expected_i);
+ let expected_str = format!("TLE #{expected_i}");
assert_eq!(
revealed_str, expected_str,
- "Revealed data #{} should match the truncated TLE #{}",
- idx, expected_i
+ "Revealed data #{idx} should match the truncated TLE #{expected_i}"
);
let expected_reveal_block = expected_i as u64 + 1;
assert_eq!(
*reveal_block, expected_reveal_block,
- "Check which block TLE #{} was revealed in",
- expected_i
+ "Check which block TLE #{expected_i} was revealed in"
);
}
});
diff --git a/pallets/commitments/src/types.rs b/pallets/commitments/src/types.rs
index 543eb08cd1..0467fee8f3 100644
--- a/pallets/commitments/src/types.rs
+++ b/pallets/commitments/src/types.rs
@@ -15,7 +15,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-use codec::{Codec, Decode, Encode, MaxEncodedLen};
+use codec::{Codec, Decode, DecodeWithMemTracking, Encode, MaxEncodedLen};
use frame_support::{
BoundedVec, CloneNoBound, PartialEqNoBound, RuntimeDebugNoBound,
traits::{ConstU32, Get},
@@ -38,7 +38,7 @@ use subtensor_macros::freeze_struct;
/// - A timelock-encrypted blob with a reveal round
/// - A reset flag (`ResetBondsFlag`)
/// Can also be `None`.
-#[derive(Clone, Eq, PartialEq, RuntimeDebug, MaxEncodedLen)]
+#[derive(Clone, Eq, PartialEq, RuntimeDebug, DecodeWithMemTracking, MaxEncodedLen)]
pub enum Data {
/// No data here.
None,
@@ -362,9 +362,17 @@ impl Default for Data {
}
}
-#[freeze_struct("25c84048dcc90813")]
+#[freeze_struct("5ca4adbb4d2a2b20")]
#[derive(
- CloneNoBound, Encode, Decode, Eq, MaxEncodedLen, PartialEqNoBound, RuntimeDebugNoBound, TypeInfo,
+ CloneNoBound,
+ Encode,
+ Decode,
+ DecodeWithMemTracking,
+ Eq,
+ MaxEncodedLen,
+ PartialEqNoBound,
+ RuntimeDebugNoBound,
+ TypeInfo,
)]
#[codec(mel_bound())]
#[derive(frame_support::DefaultNoBound)]
diff --git a/pallets/crowdloan/Cargo.toml b/pallets/crowdloan/Cargo.toml
index e8d582fa44..dcde4504f4 100644
--- a/pallets/crowdloan/Cargo.toml
+++ b/pallets/crowdloan/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "pallet-crowdloan"
version = "0.1.0"
-edition = "2024"
+edition.workspace = true
authors = ["Bittensor Nucleus Team"]
license = "Apache-2.0"
homepage = "https://bittensor.com"
@@ -21,13 +21,13 @@ frame-support.workspace = true
frame-system.workspace = true
sp-runtime.workspace = true
sp-std.workspace = true
-log = { workspace = true }
+log.workspace = true
[dev-dependencies]
-pallet-balances = { default-features = true, workspace = true }
-pallet-preimage = { default-features = true, workspace = true }
-sp-core = { default-features = true, workspace = true }
-sp-io = { default-features = true, workspace = true }
+pallet-balances = { workspace = true, default-features = true }
+pallet-preimage = { workspace = true, default-features = true }
+sp-core = { workspace = true, default-features = true }
+sp-io = { workspace = true, default-features = true }
[features]
default = ["std"]
diff --git a/pallets/crowdloan/README.md b/pallets/crowdloan/README.md
index 3d67fee33a..9977c782c3 100644
--- a/pallets/crowdloan/README.md
+++ b/pallets/crowdloan/README.md
@@ -1,5 +1,7 @@
# Crowdloan Pallet
+## Overview
+
A pallet that enables the creation and management of generic crowdloans for transferring funds and executing an arbitrary call.
Users of this pallet can create a crowdloan by providing a deposit, a cap, an end block, an optional target address and an optional call.
@@ -10,10 +12,38 @@ Once the crowdloan is finalized, the funds will be transferred to the target add
If the crowdloan fails to reach the cap, the creator can decide to refund all contributors and dissolve the crowdloan. The initial deposit will be refunded.
-## Overview
+*The call or target address provided when creating the crowdloan is guaranteed to never change. Only the minimum contribution, end block and cap can be updated from the crowdloan creator.*
## Interface
-## Dispatchable Functions
+- `create`: Create a crowdloan that will raise funds up to a maximum cap and if successful, will transfer funds to the target address if provided and/or dispatch the call (using creator origin). The initial deposit will be transfered to the crowdloan account and will be refunded in case the crowdloan fails to raise the cap. Additionally, the creator will pay for the execution of the call.
+
+- `contribute`: Contribute to an active crowdloan. The contribution will be transfered to the crowdloan account and will be refunded if the crowdloan fails to raise the cap. If the contribution would raise the amount above the cap, the contribution will be set to the amount that is left to be raised.
+
+- `withdraw`: Withdraw a contribution from an active (not yet finalized or dissolved) crowdloan. Only contributions over the deposit can be withdrawn by the creator.
+
+- `refund`: Try to refund all contributors (excluding the creator) up to the limit defined by a runtime parameter *RefundContributorsLimit* (currently set to 5). If the limit is reached, the call will stop and the crowdloan will be marked as partially refunded. It may be needed to dispatch this call multiple times to refund all contributors.
+
+The following functions are only callable by the creator of the crowdloan:
+
+- `finalize`: Finalize a successful crowdloan. The call will transfer the raised amount to the target address if it was provided when the crowdloan was created and dispatch the call that was provided using the creator origin.
+
+- `dissolve`: Dissolve a crowdloan. The crowdloan will be removed from the storage. All contributions must have been refunded before the crowdloan can be dissolved (except the creator's one).
+
+- `update_min_contribution`: Update the minimum contribution of a non-finalized crowdloan.
+
+- `update_end`: Update the end block of a non-finalized crowdloan.
+
+- `update_cap`: Update the cap of a non-finalized crowdloan.
+
+## Integration with subnet leasing (from the subtensor pallet)
+
+The `crowdloan` pallet can be used to create a crowdloan that will be used to register a new leased network through a crowdloan using the `register_leased_network` extrinsic from the `subtensor` pallet as a call parameter to the crowdloan pallet `create` extrinsic. A new subnet will be registered paying the lock cost using the crowdloan funds and a proxy will be created for the beneficiary to operate the subnet.
+
+When active, the lease will distribute dividends to the contributors according to their contribution to the crowdloan and the lease can be operated by the beneficiary using the proxy created `SubnetLeaseBeneficiary`.
+
+If the lease is perpetual, the lease will never be terminated and emissions will continue to be distributed to the contributors.
+
+If the lease has an end block, the lease can be terminated when end block has passed and the subnet ownership will be transferred to the beneficiary.
License: Apache-2.0
diff --git a/pallets/crowdloan/src/mock.rs b/pallets/crowdloan/src/mock.rs
index 78cf15717c..7f4281b538 100644
--- a/pallets/crowdloan/src/mock.rs
+++ b/pallets/crowdloan/src/mock.rs
@@ -38,6 +38,7 @@ pub(crate) fn new_test_ext() -> sp_io::TestExternalities {
(U256::from(4), 10),
(U256::from(5), 3),
],
+ dev_accounts: None,
}
.assimilate_storage(&mut t)
.expect("Expected to not panic");
@@ -242,6 +243,7 @@ impl TestState {
.iter()
.map(|(who, balance)| (*who, *balance))
.collect::>(),
+ dev_accounts: None,
}
.assimilate_storage(&mut t)
.unwrap();
diff --git a/pallets/drand/Cargo.toml b/pallets/drand/Cargo.toml
index 3f4b5e4c33..c6a0705627 100644
--- a/pallets/drand/Cargo.toml
+++ b/pallets/drand/Cargo.toml
@@ -4,7 +4,7 @@ description = "FRAME pallet for briding to drand."
authors = ["Tony Riemer "]
version = "0.0.1"
license = "MIT-0"
-edition = "2024"
+edition.workspace = true
homepage = "https://www.idealabs.network"
publish = false
@@ -12,44 +12,40 @@ publish = false
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
-codec = { workspace = true, default-features = false, features = [
- "derive",
-] }
-scale-info = { workspace = true, default-features = false, features = [
- "derive",
-] }
-serde = { workspace = true, features = ["derive"], default-features = false }
-serde_json = { workspace = true, default-features = false }
-log = { workspace = true, default-features = false }
-hex = { workspace = true, features = ["serde"], default-features = false }
-sha2 = { workspace = true }
-anyhow = { workspace = true }
+codec = { workspace = true, features = ["derive"] }
+scale-info = { workspace = true, features = ["derive"] }
+serde = { workspace = true, features = ["derive"] }
+serde_json.workspace = true
+log.workspace = true
+hex = { workspace = true, features = ["serde"] }
+sha2.workspace = true
+anyhow.workspace = true
# frame deps
-frame-benchmarking = { workspace = true, default-features = false, optional = true }
-frame-support = { workspace = true, default-features = false }
-frame-system = { workspace = true, default-features = false }
-sp-core = { workspace = true, default-features = false }
-sp-io = { workspace = true, default-features = false}
-sp-runtime = { workspace = true, default-features = false}
+frame-benchmarking = { workspace = true, optional = true }
+frame-support.workspace = true
+frame-system.workspace = true
+sp-core.workspace = true
+sp-io.workspace = true
+sp-runtime.workspace = true
# arkworks dependencies
-sp-ark-bls12-381 = { workspace = true, default-features = false }
-ark-bls12-381 = { workspace = true, features = ["curve"], default-features = false }
-ark-serialize = { workspace = true, features = [ "derive" ], default-features = false }
-ark-ff = { workspace = true, default-features = false }
-ark-ec = { workspace = true, default-features = false }
-ark-std = { workspace = true, default-features = false }
-ark-crypto-primitives = { workspace = true, default-features = false, features = [ "r1cs", "snark" ] }
-ark-scale = { workspace = true, default-features = false, features = ["hazmat"] }
-w3f-bls = { workspace = true, default-features = false }
-sp-keyring = { workspace = true, default-features = false }
+sp-ark-bls12-381.workspace = true
+ark-bls12-381 = { workspace = true, features = ["curve"] }
+ark-serialize = { workspace = true, features = ["derive"] }
+ark-ff.workspace = true
+ark-ec.workspace = true
+ark-std.workspace = true
+ark-crypto-primitives = { workspace = true, features = ["r1cs", "snark"] }
+ark-scale = { workspace = true, features = ["hazmat"] }
+w3f-bls.workspace = true
+sp-keyring.workspace = true
subtensor-macros.workspace = true
-tle = { workspace = true, default-features = false }
+tle.workspace = true
[dev-dependencies]
-sp-keystore = { workspace = true, default-features = false }
+sp-keystore.workspace = true
[features]
-default = ["std"]
+default = []
std = [
"codec/std",
"log/std",
@@ -76,6 +72,7 @@ std = [
"ark-scale/std",
"w3f-bls/std",
"tle/std",
+ "anyhow/std",
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
diff --git a/pallets/drand/src/benchmarking.rs b/pallets/drand/src/benchmarking.rs
index 0abf59a478..799b9d16b2 100644
--- a/pallets/drand/src/benchmarking.rs
+++ b/pallets/drand/src/benchmarking.rs
@@ -79,5 +79,15 @@ mod benchmarks {
assert_eq!(Pulses::::get(p.round), Some(p));
}
+ #[benchmark]
+ fn set_oldest_stored_round() {
+ let oldest_stored_round: u64 = 10;
+
+ #[extrinsic_call]
+ set_oldest_stored_round(RawOrigin::Root, oldest_stored_round);
+
+ assert_eq!(OldestStoredRound::::get(), oldest_stored_round);
+ }
+
impl_benchmark_test_suite!(Drand, crate::mock::new_test_ext(), crate::mock::Test);
}
diff --git a/pallets/drand/src/lib.rs b/pallets/drand/src/lib.rs
index d82f39581a..9a0e3c04a4 100644
--- a/pallets/drand/src/lib.rs
+++ b/pallets/drand/src/lib.rs
@@ -58,6 +58,7 @@ use sp_runtime::{
};
pub mod bls12_381;
+pub mod migrations;
pub mod types;
pub mod utils;
pub mod verifier;
@@ -91,6 +92,8 @@ pub const QUICKNET_CHAIN_HASH: &str =
const CHAIN_HASH: &str = QUICKNET_CHAIN_HASH;
pub const MAX_PULSES_TO_FETCH: u64 = 50;
+pub const MAX_KEPT_PULSES: u64 = 216_000; // 1 week
+pub const MAX_REMOVED_PULSES: u64 = 100;
/// Defines application identifier for crypto keys of this module.
///
@@ -212,12 +215,24 @@ pub mod pallet {
}
}
+ /// Define a maximum length for the migration key
+ type MigrationKeyMaxLen = ConstU32<128>;
+
+ /// Storage for migration run status
+ #[pallet::storage]
+ pub type HasMigrationRun =
+ StorageMap<_, Identity, BoundedVec, bool, ValueQuery>;
+
/// map round number to pulse
#[pallet::storage]
pub type Pulses = StorageMap<_, Blake2_128Concat, RoundNumber, Pulse, OptionQuery>;
#[pallet::storage]
- pub(super) type LastStoredRound = StorageValue<_, RoundNumber, ValueQuery>;
+ pub type LastStoredRound = StorageValue<_, RoundNumber, ValueQuery>;
+
+ /// oldest stored round
+ #[pallet::storage]
+ pub type OldestStoredRound = StorageValue<_, RoundNumber, ValueQuery>;
/// Defines the block when next unsigned transaction will be accepted.
///
@@ -230,11 +245,12 @@ pub mod pallet {
#[pallet::event]
#[pallet::generate_deposit(pub(super) fn deposit_event)]
pub enum Event {
+ /// Beacon Configuration has changed.
BeaconConfigChanged,
/// Successfully set a new pulse(s).
- NewPulse {
- rounds: Vec,
- },
+ NewPulse { rounds: Vec },
+ /// Oldest Stored Round has been set.
+ SetOldestStoredRound(u64),
}
#[pallet::error]
@@ -256,11 +272,19 @@ pub mod pallet {
#[pallet::hooks]
impl Hooks> for Pallet {
fn offchain_worker(block_number: BlockNumberFor) {
- log::debug!("Drand OCW working on block: {:?}", block_number);
+ log::debug!("Drand OCW working on block: {block_number:?}");
if let Err(e) = Self::fetch_drand_pulse_and_send_unsigned(block_number) {
- log::debug!("Drand: Failed to fetch pulse from drand. {:?}", e);
+ log::debug!("Drand: Failed to fetch pulse from drand. {e:?}");
}
}
+ fn on_runtime_upgrade() -> frame_support::weights::Weight {
+ /*let weight = */
+ frame_support::weights::Weight::from_parts(0, 0) /*;*/
+
+ //weight = weight.saturating_add(migrations::migrate_set_oldest_round::());
+
+ //weight
+ }
}
#[pallet::validate_unsigned]
@@ -307,9 +331,9 @@ pub mod pallet {
impl Pallet {
/// Verify and write a pulse from the beacon into the runtime
#[pallet::call_index(0)]
- #[pallet::weight(Weight::from_parts(5_708_000_000, 0)
- .saturating_add(T::DbWeight::get().reads(2_u64))
- .saturating_add(T::DbWeight::get().writes(3_u64)))]
+ #[pallet::weight(Weight::from_parts(4_294_000_000, 0)
+ .saturating_add(T::DbWeight::get().reads(3_u64))
+ .saturating_add(T::DbWeight::get().writes(4_u64)))]
pub fn write_pulse(
origin: OriginFor,
pulses_payload: PulsesPayload>,
@@ -321,6 +345,10 @@ pub mod pallet {
let mut last_stored_round = LastStoredRound::::get();
let mut new_rounds = Vec::new();
+ let oldest_stored_round = OldestStoredRound::::get();
+ let is_first_storage = last_stored_round == 0 && oldest_stored_round == 0;
+ let mut first_new_round: Option = None;
+
for pulse in &pulses_payload.pulses {
let is_verified = T::Verifier::verify(config.clone(), pulse.clone())
.map_err(|_| Error::::PulseVerificationError)?;
@@ -339,12 +367,25 @@ pub mod pallet {
// Collect the new round
new_rounds.push(pulse.round);
+
+ // Set the first new round if this is the initial storage
+ if is_first_storage && first_new_round.is_none() {
+ first_new_round = Some(pulse.round);
+ }
}
}
// Update LastStoredRound storage
LastStoredRound::::put(last_stored_round);
+ // Set OldestStoredRound if this was the first storage
+ if let Some(first_round) = first_new_round {
+ OldestStoredRound::::put(first_round);
+ }
+
+ // Prune old pulses
+ Self::prune_old_pulses(last_stored_round);
+
// Update the next unsigned block number
let current_block = frame_system::Pallet::::block_number();
>::put(current_block);
@@ -363,7 +404,7 @@ pub mod pallet {
/// * `origin`: the root user
/// * `config`: the beacon configuration
#[pallet::call_index(1)]
- #[pallet::weight(Weight::from_parts(9_878_000, 0)
+ #[pallet::weight(Weight::from_parts(5_450_000, 0)
.saturating_add(T::DbWeight::get().reads(0_u64))
.saturating_add(T::DbWeight::get().writes(2_u64)))]
pub fn set_beacon_config(
@@ -381,6 +422,18 @@ pub mod pallet {
Self::deposit_event(Event::BeaconConfigChanged {});
Ok(())
}
+
+ /// allows the root user to set the oldest stored round
+ #[pallet::call_index(2)]
+ #[pallet::weight(Weight::from_parts(3_350_000, 0)
+ .saturating_add(T::DbWeight::get().reads(0_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64)))]
+ pub fn set_oldest_stored_round(origin: OriginFor, oldest_round: u64) -> DispatchResult {
+ ensure_root(origin)?;
+ OldestStoredRound::::put(oldest_round);
+ Self::deposit_event(Event::SetOldestStoredRound(oldest_round));
+ Ok(())
+ }
}
}
@@ -462,12 +515,12 @@ impl Pallet {
}
fn fetch_drand_by_round(round: RoundNumber) -> Result {
- let relative_path = format!("/{}/public/{}", CHAIN_HASH, round);
+ let relative_path = format!("/{CHAIN_HASH}/public/{round}");
Self::fetch_and_decode_from_any_endpoint(&relative_path)
}
fn fetch_drand_latest() -> Result {
- let relative_path = format!("/{}/public/latest", CHAIN_HASH);
+ let relative_path = format!("/{CHAIN_HASH}/public/latest");
Self::fetch_and_decode_from_any_endpoint(&relative_path)
}
@@ -477,7 +530,7 @@ impl Pallet {
) -> Result {
let uris: Vec = ENDPOINTS
.iter()
- .map(|e| format!("{}{}", e, relative_path))
+ .map(|e| format!("{e}{relative_path}"))
.collect();
let deadline = sp_io::offchain::timestamp().add(
sp_runtime::offchain::Duration::from_millis(T::HttpFetchTimeout::get()),
@@ -494,7 +547,7 @@ impl Pallet {
pending_requests.push((uri.clone(), pending_req));
}
Err(_) => {
- log::warn!("Drand: HTTP IO Error on endpoint {}", uri);
+ log::warn!("Drand: HTTP IO Error on endpoint {uri}");
}
}
}
@@ -543,7 +596,7 @@ impl Pallet {
}
}
Ok(Err(e)) => {
- log::warn!("Drand: HTTP error from {}: {:?}", uri, e);
+ log::warn!("Drand: HTTP error from {uri}: {e:?}");
}
Err(pending_req) => {
still_pending = true;
@@ -628,6 +681,24 @@ impl Pallet {
.propagate(true)
.build()
}
+
+ fn prune_old_pulses(last_stored_round: RoundNumber) {
+ let mut oldest = OldestStoredRound::::get();
+ if oldest == 0 {
+ return;
+ }
+
+ let mut removed: u64 = 0;
+ while last_stored_round.saturating_sub(oldest).saturating_add(1) > MAX_KEPT_PULSES
+ && removed < MAX_REMOVED_PULSES
+ {
+ Pulses::::remove(oldest);
+ oldest = oldest.saturating_add(1);
+ removed = removed.saturating_add(1);
+ }
+
+ OldestStoredRound::::put(oldest);
+ }
}
/// construct a message (e.g. signed by drand)
diff --git a/pallets/drand/src/migrations/migrate_prune_old_pulses.rs b/pallets/drand/src/migrations/migrate_prune_old_pulses.rs
new file mode 100644
index 0000000000..0a6697f6fd
--- /dev/null
+++ b/pallets/drand/src/migrations/migrate_prune_old_pulses.rs
@@ -0,0 +1,63 @@
+use crate::*;
+use frame_support::{traits::Get, weights::Weight};
+use log;
+
+pub fn migrate_prune_old_pulses() -> Weight {
+ let migration_name = BoundedVec::truncate_from(b"migrate_prune_old_pulses".to_vec());
+
+ // Initialize the weight with one read operation.
+ let mut weight = T::DbWeight::get().reads(1);
+
+ // Check if the migration has already run
+ if HasMigrationRun::::get(&migration_name) {
+ log::info!(
+ "Migration '{:?}' has already run. Skipping.",
+ String::from_utf8_lossy(&migration_name)
+ );
+ return weight;
+ }
+ log::info!(
+ "Running migration '{}'",
+ String::from_utf8_lossy(&migration_name)
+ );
+
+ // Collect all round numbers
+ let mut rounds: Vec